Created
February 22, 2018 22:36
-
-
Save felzan/4a5aad88cd3ce430706a58289b56ff76 to your computer and use it in GitHub Desktop.
mktp-swagger.01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger":"2.0", | |
"info":{ | |
"version":"0.0.1", | |
"title":"marketplace" | |
}, | |
"host":"example.com", | |
"basePath":"/mktplace/v1", | |
"schemes":[ | |
"http" | |
], | |
"paths":{ | |
"/CabifyCode":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/CabifyCodeDTO" | |
} | |
} | |
} | |
} | |
}, | |
"/accessCodes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"code", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/AccessCode" | |
} | |
} | |
} | |
} | |
}, | |
"/addUnityItemToProdCat":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityItemProductCategoryXref" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/addUnityToGroup":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityGroupTreeXref" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/address/address":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"cep", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Address" | |
} | |
} | |
} | |
} | |
}, | |
"/address/cities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Address" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/address/citiesOrdered":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Address" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/address/neighborhood":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"city", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Address" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/address/states":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/StateDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/campaigns":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Campaign" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/campaigns/{id}/coupons":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Coupon" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Coupon" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Coupon" | |
} | |
} | |
} | |
} | |
}, | |
"/campaigns/{id}/coupons/{idCoupon}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idCoupon", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Coupon" | |
} | |
} | |
} | |
} | |
}, | |
"/checkin":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/contentTypes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ContentType" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ContentType" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ContentType" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/contentTypes/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/address":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"cep", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Address" | |
} | |
} | |
} | |
} | |
}, | |
"/core/cities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Address" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/core/neighborhood":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"city", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Address" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/core/orders":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"placeLabel", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
} | |
} | |
}, | |
"/core/orders/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
} | |
} | |
}, | |
"/core/orders/{id}/history":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderStatusLog" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/core/orders/{id}/status":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/deliveryCeps":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryCEP" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryCEP" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/deliveryCeps/{idDeliveryCEP}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDeliveryCEP", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/deliveryNeighborhoods":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/deliveryNeighborhoods/{idDeliveryNeighborhood}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDeliveryNeighborhood", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDeliveryNeighborhood", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/deliveryCeps":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryCEP" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/deliveryNeighborhoods":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/operatingHourGroups":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityOperatingHourGroup" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/operatingHourGroups/{idOperatingHourGroup}":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idOperatingHourGroup", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityOperatingHourGroup" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idOperatingHourGroup", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/orders":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"date", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"hoursBack", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"status", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/paymentMethods":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffPaymentMethod" | |
} | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/shifts":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityShift" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{idUnity}/shifts/{idShift}":{ | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idShift", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityShift" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idShift", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{id}/estimatedTimes":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{id}/forceClosed":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{id}/medias":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
} | |
} | |
}, | |
"/core/unities/{id}/opened":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/coupons":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"eTag", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
"eTag":{ | |
"type":"string" | |
} | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Coupon" | |
} | |
} | |
}, | |
"304":{ | |
"description":"Not Modified", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/deleteUnityItemFromProdCat/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/devices":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Device" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Device" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Device" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/devices/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Device" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/discounts":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"CnpjUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idMarketplace", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityDiscount" | |
} | |
}, | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/BffUnityDiscount" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/discounts/{idDiscount}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDiscount", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityDiscount" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDiscount", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/exception":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/factTypes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/FactType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/facts":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"active", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"factTypeId", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/FactsResp" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/batches":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFact", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Batch" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Batch" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Batch" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/batches/{idBatch}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idBatch", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/eventSections":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFact", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/EventSection" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/EventSection" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/EventSection" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/eventSections/{idEventSection}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idEventSection", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/soldTickets":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFact", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/TicketSold" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/tickets":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFact", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Ticket" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Ticket" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Ticket" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/tickets/{idTicket}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idTicket", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{idFact}/unities/{idUnity}":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFact", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFact", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/facts/{id}/unities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/features":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Feature" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/food/unities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"cep", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"city", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"distance", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lat", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lon", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"neighborhood", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"orderType", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/groupTreeTypes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/GroupTreeType" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/GroupTreeType" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/GroupTreeType" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/groupTreeTypes/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/groupTrees":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"city", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"onlyActiveUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"parentId", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityId", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/GroupTree" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/GroupTree" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/groupTrees/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/GroupTree" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/groupTrees/{id}/unities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"ETag", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
}, | |
"304":{ | |
"description":"Not Modified", | |
"headers":{ | |
"ETag":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/homeTypes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/HomeType" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/HomeType" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/HomeType" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/homeTypes/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/homes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"homeTypeName", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"inside", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/HomesResp" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Home" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Home" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/homes/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Home" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/importProducts":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"fileName", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"hasExtension", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"400":{ | |
"description":"Bad Request", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/indoorMap":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/IndoorMap" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/IndoorMap" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/IndoorMap" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/indoorMap/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/indoorMapLuc":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/IndoorMapLuc" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/integration/eventProducts":{ | |
"get":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idEvent", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/EventProductDTO" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/integration/getMarketplaces":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Marketplace" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/integration/getUnity":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/integration/getUnityItems":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/integration/getUnityOrders":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"date", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"hoursBack", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"status", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/integration/integrationSystem":{ | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/IntegrationSystem" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityIntegrationResponse" | |
} | |
} | |
} | |
} | |
}, | |
"/integration/setOrderStatus":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/setUnityEstimatedTimes":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/setUnityOpened":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/updateMerchantMktPlace":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/BffMerchantManagerPayload" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/updateUnityBegin/{authKey}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"authKey", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/updateUnityCommit/{authKey}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"authKey", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/updateUnityDeliveryFees/{authKey}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"authKey", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityDTO" | |
} | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/updateUnityItems/{authKey}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"authKey", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityDTO" | |
} | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/integration/updateUnityProductCategories/{authKey}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"authKey", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityDTO" | |
} | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/login":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"cnpj", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"marketplace", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"unity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"userSessionToken", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/LoginUnity" | |
} | |
} | |
} | |
} | |
}, | |
"/m/facts":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/FactsResp" | |
} | |
} | |
} | |
} | |
}, | |
"/m/facts/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
} | |
} | |
}, | |
"/m/matchDays":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MatchDayItemDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/m/movies":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/MoviesResp" | |
} | |
} | |
} | |
} | |
}, | |
"/m/movies/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Movie" | |
} | |
} | |
} | |
} | |
}, | |
"/m/newsNotifications":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"city", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/NewsNotification" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/marketplace/{id}/indoorMap":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/BffIndoorMap" | |
} | |
} | |
} | |
} | |
}, | |
"/marketplaces/{id}/subscriptionPlan":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/SubscriptionPlan" | |
} | |
} | |
} | |
} | |
}, | |
"/marketplaces/{id}/subscriptions":{ | |
"get":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"object" | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/CustomerInfo_2" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/CreateAndAcceptSubscriptionResponse" | |
} | |
}, | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/CreateAndAcceptSubscriptionResponse" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/marketplaces/{id}/users/{idUser}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUser", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUser", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/matchDayItens/{idMarketplace}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMarketplace", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MatchDayItemDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/matchDays":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MatchDay" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/MatchDay" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/MatchDay" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/matchDays/{idMatchDayItem}/matchDayItems/{idMatchDayItem}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMatchDayItem", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/matchDays/{idMatchDay}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMatchDay", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/MatchDay" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMatchDay", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/matchDays/{idMatchDay}/matchDayItems":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMatchDay", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MatchDayItem" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/MatchDayItem" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/MatchDayItem" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/matchDays/{idMatchDay}/matchDayItems/{idMatchDayItem}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMatchDayItem", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/MatchDayItem" | |
} | |
} | |
} | |
} | |
}, | |
"/me/fidelityStamps":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffFidelity" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/me/orders":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/me/unities/{idUnity}/fidelityStamps":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/BffFidelity" | |
} | |
} | |
} | |
} | |
}, | |
"/me/vouchers":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"eTag", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
"eTag":{ | |
"type":"string" | |
} | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
}, | |
"304":{ | |
"description":"Not Modified", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/menus":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idOrderType", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/modular/unities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"distance", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lat", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lon", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"orderType", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityModularDTO" | |
} | |
} | |
}, | |
"400":{ | |
"description":"Bad Request", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/movieSessions":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/MovieSession" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/MovieSession" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/movieSessions/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/movies":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"active", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/MoviesResp" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Movie" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Movie" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/movies/{idMovie}/medias/{idMedia}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMedia", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idMovie", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/movies/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Movie" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/movies/{id}/medias":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
} | |
} | |
}, | |
"/newsNotifications":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"active", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/NewsNotification" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/NewsNotification" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/NewsNotification" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/newsNotifications/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/NewsNotification" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/nfe/link/{paymentId}":{ | |
"get":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"paymentId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/orderAudit":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"boolean", | |
"name":"grouped", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"hoursBack", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idOrder", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"offset", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"type", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderAuditLogDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/orderAudit/{idAuditOrder}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idAuditOrder", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/OrderAuditLog" | |
} | |
} | |
} | |
} | |
}, | |
"/orders":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"eTag", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"placeLabel", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
"eTag":{ | |
"type":"string" | |
} | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
}, | |
"304":{ | |
"description":"Not Modified", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"User-Agent", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/BffOrder" | |
} | |
} | |
} | |
} | |
}, | |
"/orders/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
} | |
} | |
}, | |
"/orders/{id}/history":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderStatusLog" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/orders/{id}/orderItems":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderItem" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/OrderItem" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/orders/{id}/status":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/orders/{orderId}/orderItems":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/OrderItem" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/orders/{orderId}/orderItems/{orderItemId}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"orderItemId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/orders/{orderId}/payments":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"orderId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/ordersmonitor":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"dateBegin", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"dateEnd", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"hoursBack", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"id4all", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idMarketplace", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idOrder", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idTransaction4all", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"offset", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"opened", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"status", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderMonitorDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/ordersmonitor/{idOrder}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idOrder", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/OrderDTO" | |
} | |
} | |
} | |
} | |
}, | |
"/parkingAudit":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"boolean", | |
"name":"grouped", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"hoursBack", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"offset", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingAuditLog" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/parkingAudit/{idAuditParking}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idAuditParking", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/ParkingAuditLog" | |
} | |
} | |
} | |
} | |
}, | |
"/parkingBuildings":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingBuilding" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingBuilding" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingBuilding" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/parkingBuildings/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/parkingDiscountRule":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingDiscountRule" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/parkingDiscountRule/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/ParkingDiscountRule" | |
} | |
} | |
} | |
} | |
}, | |
"/parkingFloors":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingFloor" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingFloor" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingFloor" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/parkingFloors/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/parkingRegions":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingRegion" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingRegion" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingRegion" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/parkingRegions/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/parkingSpaces":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingSpace" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingSpace" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ParkingSpace" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/parkingSpaces/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/paymentMethods":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/PaymentMethod" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/paymentMethods/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/PaymentMethod" | |
} | |
} | |
} | |
} | |
}, | |
"/payments":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Payment" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Payment" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/payments/{paymentId}":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"paymentId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Payment" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"paymentId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/productCategories":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"onlyActiveUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityId", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ProductCategory" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ProductCategory" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ProductCategory" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/productCategories/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/ProductCategory" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/productCategories/{id}/unityItems":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/professionals":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUser", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Professional" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Professional" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Professional" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/professionals/{idProfessional}/shifts":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfessional", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"mode", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ProfessionalShiftString" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfessional", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ProfessionalShiftString" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/professionals/{idProfessional}/shifts/{idShift}":{ | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfessional", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idShift", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ProfessionalShiftString" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idShift", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
} | |
}, | |
"/professionals/{idProfessional}/unityItems":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfessional", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/professionals/{idProfessional}/unityItems/{idUnityItem}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfessional", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnityItem", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfessional", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnityItem", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
} | |
}, | |
"/professionals/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Professional" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/profiles":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Profile" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Profile" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Profile" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/profiles/{idProfile}/features/{idFeature}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFeature", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idProfile", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFeature", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idProfile", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/profiles/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Profile" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/push/{id}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/pushNotifications":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/PushNotification" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/PushNotification" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/PushNotification" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/pushNotifications/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/redeemCoupon":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/BffRedem" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/redis-status":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/reports":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/vnd.ms-excel" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"cnpj", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"hours", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
"Content-Disposition":{ | |
"type":"string" | |
} | |
}, | |
"schema":{ | |
"type":"object" | |
} | |
} | |
} | |
} | |
}, | |
"/reports/paymentReport":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ReportModuleRequestDTO" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ReportModuleResponseDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/rpc/registerStamp":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/BffFidelityStamp" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/BffFidelity" | |
} | |
}, | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/schedules":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Scheduling" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/schedules/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Scheduling" | |
} | |
} | |
} | |
} | |
}, | |
"/schedules/{id}/history":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/SchedulingStatusLog" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/schedules/{id}/status":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Scheduling" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/search":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Search" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffSearchMobile" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/search/fees":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/BffSearchFee" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
} | |
} | |
}, | |
"/sectionTypes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/SectionType" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionType" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionType" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/sectionTypes/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Section" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Section" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{idScreenConfig}/contents/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/actions":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionAction" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/actions/{idAction}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idAction", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/banners":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/SectionBanner" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionBanner" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/contents":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/SectionScreenConfig" | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionContent" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/contents/{idEntity}/entity":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idEntity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/infos":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionInfo" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/infos/{idInfo}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idInfo", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/screenConfigs":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/SectionScreenConfig" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionScreenConfig" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/SectionScreenConfig" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/sections/{id}/screenConfigs/{idConfig}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idConfig", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/facts":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"withUnity", | |
"in":"query", | |
"required":false, | |
"default":"false" | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/groupTrees":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"type", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/GroupTreeDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/maps":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ShoppingIndoorMapLevel" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/movies":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Movie" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/movies/{idMovie}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMovie", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/MovieShoppingDTO" | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/notifications":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"since", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"sinceId", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ShoppingNotification" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/operatingHours":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"type", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MarketplaceOperatingHour" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/unities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"groupTreeType", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idGroupTree", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityShoppingDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/shopping/unities/{idUnity}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityShoppingUniqueDTO" | |
} | |
} | |
} | |
} | |
}, | |
"/status":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/supportedCities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"city", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/BffSupportedCities" | |
} | |
} | |
} | |
} | |
}, | |
"/tickets/{idTicket}/vouchers":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idTicket", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idTicket", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/TicketVoucher" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/token/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/transportTickets/{idTicket}/vouchers":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/TicketVoucher" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"banner", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"cep", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"city", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"cnpj", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"distance", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lat", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"limit", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lon", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"neighborhood", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"onlyActiveUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"state", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityTypeId", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/ordercheck":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lat", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lon", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/promotions":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lat", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"number", | |
"name":"lon", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityWithPromoDTO" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/vouchers/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/deliveryCeps":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryCEP" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryCEP" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryCEP" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/deliveryCeps/{idDeliveryCEP}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDeliveryCEP", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryCEP" | |
} | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDeliveryCEP", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/deliveryNeighborhoods":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/deliveryNeighborhoods/{idDeliveryNeighborhood}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDeliveryNeighborhood", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryNeighborhood" | |
} | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idDeliveryNeighborhood", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/facts":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"boolean", | |
"name":"active", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"factTypeId", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/FactsResp" | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/facts/{idPromo}":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idPromo", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idPromo", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/merchantKeys":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityMerchantKey" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityMerchantKey" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/merchantKeys/{idUnityMerchantKey}":{ | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnityMerchantKey", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityMerchantKey" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnityMerchantKey", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/movies":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityMoviesResp" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityMovie" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityMovie" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/movies/{idMovie}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMovie", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityMovie" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMovie", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/movies/{idMovie}/medias":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMovie", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/movies/{idMovie}/medias/{idMedia}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMedia", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idMovie", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/movies/{idMovie}/sessions":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityMovieSession" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/movies/{idMovie}/sessions/{idSession}":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idSession", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityMovieSession" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idSession", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/orderActions":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderAction" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/OrderAction" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/OrderAction" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/orderActions/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/OrderAction" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/orders":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"date", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"hoursBack", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"status", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Order" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/paymentMethods":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/PaymentMethod" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffPaymentMethod" | |
} | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/productCategories":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ProductCategory" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/promotions":{ | |
"get":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityPromotion" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityPromotion" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/promotions/{idPromotion}":{ | |
"get":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idPromotion", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityPromotion" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idPromotion", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityPromotion" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idPromotion", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/shifts":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"mode", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityShift" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityShift" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/shifts/{idShift}":{ | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idShift", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityShift" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idShift", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/tokens":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityToken" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityToken" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityToken" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/tokens/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{idUnity}/vouchers":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"style", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/caches":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/campaigns":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Campaign" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Campaign" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/campaigns/{idCampaign}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idCampaign", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Campaign" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Campaign" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idCampaign", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/estimatedTimes":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/fidelities":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Fidelity" | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Fidelity" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/fidelities/{idFidelity}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFidelity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Fidelity" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Fidelity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idFidelity", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/forceClosed":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/medias":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/opened":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/professionals":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Professional" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/schedules":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"date", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"mode", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"status", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/BffWebSchedule" | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"User-Agent", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Scheduling" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/schedules/{idSchedule}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idSchedule", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/users":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/User" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{id}/users/{idUser}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUser", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUser", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/groupTrees/{groupTreeId}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"groupTreeId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/medias/{idMedia}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMedia", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/unityItems":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"unityId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityItemType", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/unityItems/{unityItemId}/medias":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"unityItemId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Media" | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/unityItems/{unityItemId}/medias/{idMedia}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idMedia", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityItemId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/unityItems/{unityItemId}/productCategories":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"unityItemId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ProductCategory" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/unityItems/{unityItemId}/productCategories/{prodCatId}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"prodCatId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityItemId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/unityItems/{unityItemId}/productCategories/{prodCatId}/positions":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"prodCatId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"unityItemId", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityItemProductCategoryXref" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unities/{unityId}/unityItemsPromotions":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"unityId", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unitiesMerchant":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"cnpj", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unitsTime":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnitTime" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/unityIndication":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityIndication" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityIndication" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unityIndication/{idUnityIndication}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnityIndication", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityIndication" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnityIndication", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"boolean" | |
} | |
} | |
} | |
} | |
}, | |
"/unityItems":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unityItems/{idUnityItemModifier}/unityItemModifiers":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityItemModifier" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unityItems/{idUnityItem}/unityItemModifiers":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnityItem", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItemModifier" | |
} | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnityItem", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityItemModifier" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unityItems/{idUnityItem}/unityItemModifiers/{idUnityItemModifier}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnityItemModifier", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unityItems/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unityOperatingHourGroups":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/unityTypes":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityType" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityType" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/UnityType" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/unityTypes/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/users":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"username", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/User" | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/User" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/User" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/users/{idUser}/profiles/{idProfile}":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfile", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUser", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idProfile", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idUser", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/users/{id}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/User" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/vouchers":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"sessionToken", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"transactionId", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/vouchers/{id}":{ | |
"delete":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"id", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/vouchers/{uuid}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"uuid", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
} | |
} | |
}, | |
"/vouchers/{uuid}/status":{ | |
"put":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"uuid", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/vouchersterms":{ | |
"get":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idUnity", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"idVoucherTerms", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"$ref":"#/definitions/VoucherTermsDTO" | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/VoucherTerms" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
}, | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/VoucherTerms" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
} | |
}, | |
"/vouchersterms/terms":{ | |
"put":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/VoucherTermsUrl" | |
} | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/vouchersterms/terms/{idVoucherTermsUrl}":{ | |
"delete":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idVoucherTermsUrl", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/vouchersterms/{idVoucherTerms}":{ | |
"post":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idVoucherTerms", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/VoucherTermsUrl" | |
} | |
} | |
], | |
"responses":{ | |
"201":{ | |
"description":"Created", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"integer" | |
} | |
} | |
} | |
}, | |
"delete":{ | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"integer", | |
"name":"idVoucherTerms", | |
"in":"path", | |
"required":true | |
} | |
], | |
"responses":{ | |
"204":{ | |
"description":"No Content", | |
"headers":{ | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
} | |
} | |
} | |
} | |
}, | |
"/wps/ticket/payments":{ | |
"post":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"barcode", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"type":"integer", | |
"name":"discount_id", | |
"in":"query", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/WpsTicketPayment" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/wps/ticket/{barcode}":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"barcode", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
}, | |
{ | |
"type":"string", | |
"name":"deviceUuid", | |
"in":"query", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/wps/ticket/{barcode}/payments":{ | |
"post":{ | |
"description":"Método deprecated. Deletar após versão do android e ios subirem em prod.\n Utilizar método com o path \"ticket/payments\"", | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"barcode", | |
"in":"path", | |
"required":true | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/WpsTicketPayment" | |
} | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
}, | |
"500":{ | |
"description":"Internal Server Error", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
}, | |
"deprecated":true | |
} | |
}, | |
"/xablau":{ | |
"get":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
{ | |
"type":"string", | |
"name":"Authorization", | |
"in":"header", | |
"required":true | |
} | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
}, | |
"schema":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
}, | |
"/{var}":{ | |
"options":{ | |
"consumes":[ | |
], | |
"produces":[ | |
"application/json" | |
], | |
"parameters":[ | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"headers":{ | |
} | |
} | |
} | |
} | |
} | |
}, | |
"definitions":{ | |
"AccessCode":{ | |
"properties":{ | |
"code":{ | |
"type":"string" | |
}, | |
"expirationTimestamp":{ | |
"type":"object" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"used":{ | |
"type":"boolean" | |
}, | |
"usedTimestamp":{ | |
"type":"object" | |
} | |
} | |
}, | |
"Address":{ | |
"properties":{ | |
"address":{ | |
"type":"string" | |
}, | |
"cep":{ | |
"type":"string" | |
}, | |
"city":{ | |
"type":"string" | |
}, | |
"complement":{ | |
"type":"string" | |
}, | |
"neighborhood":{ | |
"type":"string" | |
}, | |
"place":{ | |
"type":"string" | |
}, | |
"uf":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Availability":{ | |
"properties":{ | |
"blockedShifts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ShiftString" | |
} | |
}, | |
"day":{ | |
"type":"string" | |
}, | |
"shifts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ShiftString" | |
} | |
} | |
} | |
}, | |
"Batch":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"eventSections":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/EventSection" | |
} | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idFact":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"sellingDateEnd":{ | |
"type":"string" | |
}, | |
"sellingDateStart":{ | |
"type":"string" | |
}, | |
"tickets":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Ticket" | |
} | |
} | |
} | |
}, | |
"BffFidelity":{ | |
"properties":{ | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"maxStamp":{ | |
"type":"integer" | |
}, | |
"stampCount":{ | |
"type":"integer" | |
}, | |
"stampThumb":{ | |
"type":"string" | |
}, | |
"terms":{ | |
"type":"string" | |
}, | |
"winningDesc":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffFidelityStamp":{ | |
"properties":{ | |
"amount":{ | |
"type":"integer" | |
}, | |
"cnpj":{ | |
"type":"string" | |
}, | |
"customerId":{ | |
"type":"string" | |
}, | |
"idtransaction4all":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffIndoorMap":{ | |
"properties":{ | |
"height":{ | |
"type":"integer" | |
}, | |
"levels":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffIndoorMapLevel" | |
} | |
}, | |
"width":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"BffIndoorMapLevel":{ | |
"properties":{ | |
"id":{ | |
"type":"string" | |
}, | |
"locations":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffIndoorMapLuc" | |
} | |
}, | |
"map":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffIndoorMapLuc":{ | |
"properties":{ | |
"about":{ | |
"type":"string" | |
}, | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"x":{ | |
"type":"number" | |
}, | |
"y":{ | |
"type":"number" | |
} | |
} | |
}, | |
"BffMerchantManagerAddress":{ | |
"properties":{ | |
"addressLine":{ | |
"type":"string" | |
}, | |
"addressOptional":{ | |
"type":"string" | |
}, | |
"city":{ | |
"type":"string" | |
}, | |
"district":{ | |
"type":"string" | |
}, | |
"number":{ | |
"type":"string" | |
}, | |
"state":{ | |
"type":"string" | |
}, | |
"type":{ | |
"type":"string" | |
}, | |
"zipCode":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffMerchantManagerEstablishment":{ | |
"properties":{ | |
"code":{ | |
"type":"string" | |
}, | |
"createdDate":{ | |
"type":"object" | |
}, | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"status":{ | |
"type":"boolean" | |
}, | |
"updatedDate":{ | |
"type":"object" | |
} | |
} | |
}, | |
"BffMerchantManagerMarketplace":{ | |
"properties":{ | |
"code":{ | |
"type":"string" | |
}, | |
"createdDate":{ | |
"type":"string" | |
}, | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"status":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"BffMerchantManagerPayload":{ | |
"properties":{ | |
"merchant":{ | |
"$ref":"#/definitions/BffMerchantManagerUnity" | |
}, | |
"returnCode":{ | |
"type":"string" | |
}, | |
"returnMessage":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffMerchantManagerUnity":{ | |
"properties":{ | |
"address":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffMerchantManagerAddress" | |
} | |
}, | |
"companyName":{ | |
"type":"string" | |
}, | |
"document":{ | |
"type":"string" | |
}, | |
"documentType":{ | |
"type":"string" | |
}, | |
"establishment":{ | |
"$ref":"#/definitions/BffMerchantManagerEstablishment" | |
}, | |
"marketplaces":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffMerchantManagerMarketplace" | |
} | |
}, | |
"tradeName":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffOrder":{ | |
"properties":{ | |
"estimatedTimestamp":{ | |
"type":"object" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idTokPdv":{ | |
"type":"integer" | |
}, | |
"voucher":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
}, | |
"BffPaymentMethod":{ | |
"properties":{ | |
"brandId":{ | |
"type":"integer" | |
}, | |
"paymentMethodId":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"BffRedem":{ | |
"properties":{ | |
"amount":{ | |
"type":"integer" | |
}, | |
"uuidCampaign":{ | |
"type":"string" | |
}, | |
"uuidCoupon":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffSchedules":{ | |
"properties":{ | |
"idProfessional":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"schedules":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Scheduling" | |
} | |
}, | |
"shifts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ProfessionalShiftString" | |
} | |
}, | |
"thumb":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffSearchFee":{ | |
"properties":{ | |
"cep":{ | |
"type":"string" | |
}, | |
"city":{ | |
"type":"string" | |
}, | |
"fee":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"neighborhood":{ | |
"type":"string" | |
}, | |
"uf":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffSearchMobile":{ | |
"properties":{ | |
"groupTreeType":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idParent":{ | |
"type":"integer" | |
}, | |
"idUnityType":{ | |
"type":"integer" | |
}, | |
"logo":{ | |
"type":"string" | |
}, | |
"subType":{ | |
"type":"integer" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"type":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffSupportedCities":{ | |
"properties":{ | |
"citySupported":{ | |
"type":"boolean" | |
}, | |
"supportedCities":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/SupportedCity" | |
} | |
} | |
} | |
}, | |
"BffUnityCampaign":{ | |
"properties":{ | |
"address":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"media":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"BffUnityDiscount":{ | |
"properties":{ | |
"cnpjUnity":{ | |
"type":"string" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"discountType":{ | |
"type":"string" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"BffWebSchedule":{ | |
"properties":{ | |
"date":{ | |
"type":"string" | |
}, | |
"schedules":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/BffSchedules" | |
} | |
}, | |
"shifts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityShift" | |
} | |
} | |
} | |
}, | |
"Brand":{ | |
"properties":{ | |
"codename":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
} | |
} | |
}, | |
"CabifyCodeDTO":{ | |
"properties":{ | |
"code":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Campaign":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"couponClaimed":{ | |
"type":"integer" | |
}, | |
"couponLimit":{ | |
"type":"integer" | |
}, | |
"dateBeginClaim":{ | |
"type":"string" | |
}, | |
"dateBeginRedeem":{ | |
"type":"string" | |
}, | |
"dateEndClaim":{ | |
"type":"string" | |
}, | |
"dateEndRedeem":{ | |
"type":"string" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idCampaignDiscountType":{ | |
"type":"integer" | |
}, | |
"idDiscountType":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"longDesc":{ | |
"type":"string" | |
}, | |
"originalPrice":{ | |
"type":"integer" | |
}, | |
"shortDesc":{ | |
"type":"string" | |
}, | |
"terms":{ | |
"type":"string" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"unity":{ | |
"$ref":"#/definitions/BffUnityCampaign" | |
}, | |
"uuid":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Chronology":{ | |
"properties":{ | |
"dateTimeMillis":{ | |
"type":"integer" | |
}, | |
"zone":{ | |
"$ref":"#/definitions/DateTimeZone" | |
} | |
} | |
}, | |
"Content":{ | |
"properties":{ | |
"actions":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/SectionAction" | |
} | |
}, | |
"events":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Fact" | |
} | |
}, | |
"facts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Fact" | |
} | |
}, | |
"groupTrees":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/GroupTree" | |
} | |
}, | |
"infos":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/SectionInfo" | |
} | |
}, | |
"marketplaceWorkHours":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MarketplaceOperatingHour" | |
} | |
}, | |
"movies":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Movie" | |
} | |
}, | |
"moviesWithSession":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MoviesWithSession" | |
} | |
}, | |
"promos":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Fact" | |
} | |
}, | |
"shoppingGroupTrees":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/GroupTreeDTO" | |
} | |
}, | |
"unities":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Unity" | |
} | |
}, | |
"warnings":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
} | |
}, | |
"ContentType":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Coupon":{ | |
"properties":{ | |
"campaign":{ | |
"$ref":"#/definitions/Campaign" | |
}, | |
"campaignUnityAddress":{ | |
"type":"string" | |
}, | |
"campaignUnityMedia":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"campaignUnityName":{ | |
"type":"string" | |
}, | |
"customer4all":{ | |
"$ref":"#/definitions/Customer4all" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idCampaign":{ | |
"type":"integer" | |
}, | |
"redeemed":{ | |
"type":"boolean" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"timestampRedeem":{ | |
"type":"object" | |
}, | |
"uuid":{ | |
"type":"string" | |
} | |
} | |
}, | |
"CreateAndAcceptSubscriptionResponse":{ | |
"properties":{ | |
"datetime":{ | |
"type":"string" | |
}, | |
"error":{ | |
"$ref":"#/definitions/ErrorResp" | |
}, | |
"status":{ | |
"type":"integer" | |
}, | |
"subscriptionId":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Customer4all":{ | |
"properties":{ | |
"cpf":{ | |
"type":"string" | |
}, | |
"emailAddress":{ | |
"type":"string" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"phoneNumber":{ | |
"type":"string" | |
} | |
} | |
}, | |
"CustomerInfo":{ | |
"properties":{ | |
"cardId":{ | |
"type":"string" | |
}, | |
"paymentMode":{ | |
"type":"integer" | |
}, | |
"pin":{ | |
"type":"string" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
} | |
} | |
}, | |
"CustomerInfo_2":{ | |
"properties":{ | |
"cardId":{ | |
"type":"string" | |
}, | |
"fullName":{ | |
"type":"string" | |
}, | |
"paymentMode":{ | |
"type":"integer" | |
}, | |
"phoneNumber":{ | |
"type":"string" | |
}, | |
"pin":{ | |
"type":"string" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
} | |
} | |
}, | |
"DateTimeField":{ | |
"properties":{ | |
"asShortText":{ | |
"type":"string" | |
}, | |
"asText":{ | |
"type":"string" | |
}, | |
"difference":{ | |
"type":"integer" | |
}, | |
"differenceAsLong":{ | |
"type":"integer" | |
}, | |
"durationField":{ | |
"$ref":"#/definitions/DurationField" | |
}, | |
"leap":{ | |
"type":"boolean" | |
}, | |
"leapAmount":{ | |
"type":"integer" | |
}, | |
"leapDurationField":{ | |
"$ref":"#/definitions/DurationField" | |
}, | |
"lenient":{ | |
"type":"boolean" | |
}, | |
"maximumShortTextLength":{ | |
"type":"integer" | |
}, | |
"maximumTextLength":{ | |
"type":"integer" | |
}, | |
"maximumValue":{ | |
"type":"integer" | |
}, | |
"minimumValue":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"rangeDurationField":{ | |
"$ref":"#/definitions/DurationField" | |
}, | |
"supported":{ | |
"type":"boolean" | |
}, | |
"type":{ | |
"$ref":"#/definitions/DateTimeFieldType" | |
} | |
} | |
}, | |
"DateTimeFieldType":{ | |
"properties":{ | |
"durationType":{ | |
"$ref":"#/definitions/DurationFieldType" | |
}, | |
"field":{ | |
"$ref":"#/definitions/DateTimeField" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"rangeDurationType":{ | |
"$ref":"#/definitions/DurationFieldType" | |
}, | |
"supported":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"DateTimeFieldType_2":{ | |
"properties":{ | |
"durationType":{ | |
"$ref":"#/definitions/DurationFieldType" | |
}, | |
"field":{ | |
"$ref":"#/definitions/DateTimeField" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"rangeDurationType":{ | |
"$ref":"#/definitions/DurationFieldType" | |
}, | |
"supported":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"DateTimeField_2":{ | |
"properties":{ | |
"asShortText":{ | |
"type":"string" | |
}, | |
"asText":{ | |
"type":"string" | |
}, | |
"difference":{ | |
"type":"integer" | |
}, | |
"differenceAsLong":{ | |
"type":"integer" | |
}, | |
"durationField":{ | |
"$ref":"#/definitions/DurationField" | |
}, | |
"leap":{ | |
"type":"boolean" | |
}, | |
"leapAmount":{ | |
"type":"integer" | |
}, | |
"leapDurationField":{ | |
"$ref":"#/definitions/DurationField" | |
}, | |
"lenient":{ | |
"type":"boolean" | |
}, | |
"maximumShortTextLength":{ | |
"type":"integer" | |
}, | |
"maximumTextLength":{ | |
"type":"integer" | |
}, | |
"maximumValue":{ | |
"type":"integer" | |
}, | |
"minimumValue":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"rangeDurationField":{ | |
"$ref":"#/definitions/DurationField" | |
}, | |
"supported":{ | |
"type":"boolean" | |
}, | |
"type":{ | |
"$ref":"#/definitions/DateTimeFieldType" | |
} | |
} | |
}, | |
"DateTimeZone":{ | |
"properties":{ | |
"fixed":{ | |
"type":"boolean" | |
}, | |
"iD":{ | |
"type":"string" | |
}, | |
"localDateTimeGap":{ | |
"type":"boolean" | |
}, | |
"millisKeepLocal":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"nameKey":{ | |
"type":"string" | |
}, | |
"offset":{ | |
"type":"integer" | |
}, | |
"offsetFromLocal":{ | |
"type":"integer" | |
}, | |
"shortName":{ | |
"type":"string" | |
}, | |
"standardOffset":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"DeliveryCEP":{ | |
"properties":{ | |
"blocked":{ | |
"type":"boolean" | |
}, | |
"cep":{ | |
"type":"string" | |
}, | |
"deliveryFee":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"DeliveryCepDTO":{ | |
"properties":{ | |
"blocked":{ | |
"type":"boolean" | |
}, | |
"cep":{ | |
"type":"string" | |
}, | |
"deliveryFee":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"DeliveryNeighborhood":{ | |
"properties":{ | |
"blocked":{ | |
"type":"boolean" | |
}, | |
"city":{ | |
"type":"string" | |
}, | |
"deliveryFee":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"neighborhood":{ | |
"type":"string" | |
}, | |
"uf":{ | |
"type":"string" | |
} | |
} | |
}, | |
"DeliveryNeighborhoodDTO":{ | |
"properties":{ | |
"blocked":{ | |
"type":"boolean" | |
}, | |
"city":{ | |
"type":"string" | |
}, | |
"deliveryFee":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"neighborhood":{ | |
"type":"string" | |
}, | |
"uf":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Device":{ | |
"properties":{ | |
"appBuild":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"latitude":{ | |
"type":"number" | |
}, | |
"longitude":{ | |
"type":"number" | |
}, | |
"model":{ | |
"type":"string" | |
}, | |
"os":{ | |
"type":"integer" | |
}, | |
"osVersion":{ | |
"type":"string" | |
}, | |
"pushToken":{ | |
"type":"string" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
}, | |
"timestmap":{ | |
"type":"object" | |
}, | |
"type":{ | |
"type":"string" | |
}, | |
"uuid":{ | |
"type":"string" | |
} | |
} | |
}, | |
"DurationField":{ | |
"properties":{ | |
"difference":{ | |
"type":"integer" | |
}, | |
"differenceAsLong":{ | |
"type":"integer" | |
}, | |
"millis":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"precise":{ | |
"type":"boolean" | |
}, | |
"supported":{ | |
"type":"boolean" | |
}, | |
"type":{ | |
"$ref":"#/definitions/DurationFieldType" | |
}, | |
"unitMillis":{ | |
"type":"integer" | |
}, | |
"value":{ | |
"type":"integer" | |
}, | |
"valueAsLong":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"DurationFieldType":{ | |
"properties":{ | |
"field":{ | |
"$ref":"#/definitions/DurationField" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"supported":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"ErrorResp":{ | |
"properties":{ | |
"code":{ | |
"type":"string" | |
}, | |
"message":{ | |
"type":"string" | |
} | |
} | |
}, | |
"EventProductDTO":{ | |
"properties":{ | |
"idEvent":{ | |
"type":"integer" | |
}, | |
"idUnityItems":{ | |
"type":"array", | |
"items":{ | |
"type":"integer" | |
} | |
} | |
} | |
}, | |
"EventSection":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idFact":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"tickets":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Ticket" | |
} | |
} | |
} | |
}, | |
"Fact":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"address":{ | |
"type":"string" | |
}, | |
"batches":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Batch" | |
} | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"factTypeId":{ | |
"type":"integer" | |
}, | |
"hasVoucher":{ | |
"type":"boolean" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"labelLink":{ | |
"type":"string" | |
}, | |
"position":{ | |
"type":"integer" | |
}, | |
"qrRead":{ | |
"type":"boolean" | |
}, | |
"season":{ | |
"type":"boolean" | |
}, | |
"subtitle":{ | |
"type":"string" | |
}, | |
"terms":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"timestampBegin":{ | |
"type":"object" | |
}, | |
"timestampBeginStr":{ | |
"type":"string" | |
}, | |
"timestampEnd":{ | |
"type":"object" | |
}, | |
"timestampEndStr":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"unities":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Unity" | |
} | |
}, | |
"urlLink":{ | |
"type":"string" | |
} | |
} | |
}, | |
"FactType":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"FactsResp":{ | |
"properties":{ | |
"facts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Fact" | |
} | |
} | |
} | |
}, | |
"Feature":{ | |
"properties":{ | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Fidelity":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"intervalStamp":{ | |
"type":"integer" | |
}, | |
"minimumAmount":{ | |
"type":"integer" | |
}, | |
"terms":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"totalStamp":{ | |
"type":"integer" | |
}, | |
"winningDesc":{ | |
"type":"string" | |
} | |
} | |
}, | |
"FidelityShort":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"winningDesc":{ | |
"type":"string" | |
} | |
} | |
}, | |
"GroupTree":{ | |
"properties":{ | |
"children":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/GroupTree" | |
} | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"groupTreeTypeName":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idGroupTreeType":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"parentId":{ | |
"type":"integer" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"unities":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Unity" | |
} | |
} | |
} | |
}, | |
"GroupTreeDTO":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"parentId":{ | |
"type":"integer" | |
}, | |
"thumb":{ | |
"type":"string" | |
} | |
} | |
}, | |
"GroupTreeType":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Home":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"baseUrlImages":{ | |
"type":"string" | |
}, | |
"daysOfWeek":{ | |
"type":"string" | |
}, | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idHomeType":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"inside":{ | |
"type":"boolean" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"sections":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Section" | |
} | |
}, | |
"timeBegin":{ | |
"type":"object" | |
}, | |
"timeEnd":{ | |
"type":"object" | |
} | |
} | |
}, | |
"HomeType":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"HomesResp":{ | |
"properties":{ | |
"homes":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Home" | |
} | |
} | |
} | |
}, | |
"IndoorMap":{ | |
"properties":{ | |
"height":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"levels":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/IndoorMapLevel" | |
} | |
}, | |
"width":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"IndoorMapLevel":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idIndoorMap":{ | |
"type":"integer" | |
}, | |
"idMarketPlace":{ | |
"type":"integer" | |
}, | |
"locations":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/IndoorMapLuc" | |
} | |
}, | |
"map":{ | |
"type":"string" | |
}, | |
"tag":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"IndoorMapLuc":{ | |
"properties":{ | |
"about":{ | |
"type":"string" | |
}, | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idIndoorMapLevel":{ | |
"type":"integer" | |
}, | |
"idMarketPlace":{ | |
"type":"integer" | |
}, | |
"luc":{ | |
"type":"string" | |
}, | |
"pointX":{ | |
"type":"number" | |
}, | |
"pointY":{ | |
"type":"number" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"IntegrationSystem":{ | |
"properties":{ | |
"integrationSystem":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"LocalTime":{ | |
"properties":{ | |
"after":{ | |
"type":"boolean" | |
}, | |
"before":{ | |
"type":"boolean" | |
}, | |
"chronology":{ | |
"$ref":"#/definitions/Chronology" | |
}, | |
"equal":{ | |
"type":"boolean" | |
}, | |
"field":{ | |
"$ref":"#/definitions/DateTimeField" | |
}, | |
"fieldType":{ | |
"$ref":"#/definitions/DateTimeFieldType" | |
}, | |
"fieldTypes":{ | |
"$ref":"#/definitions/DateTimeFieldType_2" | |
}, | |
"fields":{ | |
"$ref":"#/definitions/DateTimeField_2" | |
}, | |
"hourOfDay":{ | |
"type":"integer" | |
}, | |
"millisOfDay":{ | |
"type":"integer" | |
}, | |
"millisOfSecond":{ | |
"type":"integer" | |
}, | |
"minuteOfHour":{ | |
"type":"integer" | |
}, | |
"secondOfMinute":{ | |
"type":"integer" | |
}, | |
"supported":{ | |
"type":"boolean" | |
}, | |
"value":{ | |
"type":"integer" | |
}, | |
"values":{ | |
"$ref":"#/definitions/[" | |
} | |
} | |
}, | |
"LoginUnity":{ | |
"properties":{ | |
"merchantKey":{ | |
"type":"string" | |
}, | |
"token":{ | |
"$ref":"#/definitions/Token" | |
}, | |
"unity":{ | |
"$ref":"#/definitions/Unity" | |
}, | |
"user":{ | |
"$ref":"#/definitions/UserLoginUnity" | |
} | |
} | |
}, | |
"Marketplace":{ | |
"properties":{ | |
"androidMinVersionGastronomyModule":{ | |
"type":"integer" | |
}, | |
"codename":{ | |
"type":"string" | |
}, | |
"document":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"iosMinVersionGastronomyModule":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"subscriptionMerchantKey":{ | |
"type":"string" | |
}, | |
"wpsKey":{ | |
"type":"string" | |
}, | |
"wpsMerchantKey":{ | |
"type":"string" | |
}, | |
"wpsUrl":{ | |
"type":"string" | |
} | |
} | |
}, | |
"MarketplaceOperatingHour":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"position":{ | |
"type":"integer" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"MatchDay":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"approved":{ | |
"type":"boolean" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"timestampBegin":{ | |
"type":"object" | |
}, | |
"timestampEnd":{ | |
"type":"object" | |
} | |
} | |
}, | |
"MatchDayItem":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMatchDay":{ | |
"type":"integer" | |
}, | |
"idUnityItem":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"MatchDayItemDTO":{ | |
"properties":{ | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"latitude":{ | |
"type":"number" | |
}, | |
"longitude":{ | |
"type":"number" | |
}, | |
"product":{ | |
"$ref":"#/definitions/MatchDayProductDTO" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"totalSaled":{ | |
"type":"integer" | |
}, | |
"unityAddress":{ | |
"type":"string" | |
}, | |
"unityName":{ | |
"type":"string" | |
} | |
} | |
}, | |
"MatchDayProductDTO":{ | |
"properties":{ | |
"description":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"originalPrice":{ | |
"type":"integer" | |
}, | |
"price":{ | |
"type":"integer" | |
}, | |
"thumb":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Media":{ | |
"properties":{ | |
"contentType":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMediaContext":{ | |
"type":"integer" | |
}, | |
"idMediaType":{ | |
"type":"integer" | |
}, | |
"mediaContextName":{ | |
"type":"string" | |
}, | |
"mediaTypeName":{ | |
"type":"string" | |
}, | |
"value":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Movie":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"ageClassification":{ | |
"type":"integer" | |
}, | |
"cast":{ | |
"type":"string" | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"director":{ | |
"type":"string" | |
}, | |
"duration":{ | |
"type":"object" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"genre":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"media":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"movieSessions":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MovieSession" | |
} | |
}, | |
"sessions":{ | |
"type":"string" | |
}, | |
"sinopsis":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"youtube":{ | |
"type":"string" | |
} | |
} | |
}, | |
"MovieRoomShoppingDTO":{ | |
"properties":{ | |
"dimension":{ | |
"type":"string" | |
}, | |
"language":{ | |
"type":"string" | |
}, | |
"room":{ | |
"type":"integer" | |
}, | |
"sessions":{ | |
"type":"string" | |
}, | |
"subtitled":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"MovieSession":{ | |
"properties":{ | |
"availableTickets":{ | |
"type":"integer" | |
}, | |
"dimension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"language":{ | |
"type":"string" | |
}, | |
"movieId":{ | |
"type":"integer" | |
}, | |
"price":{ | |
"type":"number" | |
}, | |
"room":{ | |
"type":"string" | |
}, | |
"sessionDatetime":{ | |
"type":"object" | |
}, | |
"sessionDatetimeStr":{ | |
"type":"string" | |
}, | |
"subtitled":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"MovieSessionShoppingDTO":{ | |
"properties":{ | |
"rooms":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MovieRoomShoppingDTO" | |
} | |
}, | |
"sessionTitle":{ | |
"type":"string" | |
} | |
} | |
}, | |
"MovieShoppingDTO":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"ageClassification":{ | |
"type":"integer" | |
}, | |
"cast":{ | |
"type":"string" | |
}, | |
"director":{ | |
"type":"string" | |
}, | |
"duration":{ | |
"type":"string" | |
}, | |
"genre":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"movieSessions":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/MovieSessionShoppingDTO" | |
} | |
}, | |
"sinopsis":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"youtube":{ | |
"type":"string" | |
} | |
} | |
}, | |
"MoviesResp":{ | |
"properties":{ | |
"movies":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Movie" | |
} | |
} | |
} | |
}, | |
"MoviesWithSession":{ | |
"properties":{ | |
"ageClassification":{ | |
"type":"integer" | |
}, | |
"availableTickets":{ | |
"type":"integer" | |
}, | |
"cast":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"director":{ | |
"type":"string" | |
}, | |
"duration":{ | |
"type":"object" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"language":{ | |
"type":"string" | |
}, | |
"price":{ | |
"type":"number" | |
}, | |
"room":{ | |
"type":"string" | |
}, | |
"sessionDatetime":{ | |
"type":"object" | |
}, | |
"sinopsis":{ | |
"type":"string" | |
}, | |
"subtitled":{ | |
"type":"boolean" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"youtube":{ | |
"type":"string" | |
} | |
} | |
}, | |
"NewsNotification":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"dateTimeExpiration":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idSupportedCity":{ | |
"type":"integer" | |
}, | |
"src":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"OperatingHourGroupShift":{ | |
"properties":{ | |
"begin":{ | |
"type":"object" | |
}, | |
"end":{ | |
"type":"object" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnityOperatingHourGroup":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"Order":{ | |
"properties":{ | |
"accessCode":{ | |
"type":"string" | |
}, | |
"brand":{ | |
"$ref":"#/definitions/Brand" | |
}, | |
"change":{ | |
"type":"integer" | |
}, | |
"customer":{ | |
"$ref":"#/definitions/Customer4all" | |
}, | |
"customerInfo":{ | |
"$ref":"#/definitions/CustomerInfo" | |
}, | |
"deliveryFee":{ | |
"type":"integer" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"estimatedTimestamp":{ | |
"type":"object" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idDevice":{ | |
"type":"integer" | |
}, | |
"idFact":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idOrderType":{ | |
"type":"integer" | |
}, | |
"idTokPdv":{ | |
"type":"integer" | |
}, | |
"idTransaction4all":{ | |
"type":"string" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"idUnityReceived":{ | |
"type":"integer" | |
}, | |
"observation":{ | |
"type":"string" | |
}, | |
"orderAddress":{ | |
"$ref":"#/definitions/OrderAddress" | |
}, | |
"orderItems":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderItem" | |
} | |
}, | |
"orderStatusLog":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderStatusLog" | |
} | |
}, | |
"paymentMethod":{ | |
"$ref":"#/definitions/PaymentMethod" | |
}, | |
"paymentStatus":{ | |
"type":"integer" | |
}, | |
"pdvOrderId":{ | |
"type":"string" | |
}, | |
"placeLabel":{ | |
"type":"string" | |
}, | |
"productTotal":{ | |
"type":"integer" | |
}, | |
"status":{ | |
"type":"integer" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"tips":{ | |
"type":"integer" | |
}, | |
"total":{ | |
"type":"integer" | |
}, | |
"unity":{ | |
"$ref":"#/definitions/Unity" | |
}, | |
"voucher":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
}, | |
"OrderAction":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idOrderType":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"idleMinutes":{ | |
"type":"integer" | |
}, | |
"statusFrom":{ | |
"type":"integer" | |
}, | |
"statusTo":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"OrderAddress":{ | |
"properties":{ | |
"cep":{ | |
"type":"string" | |
}, | |
"city":{ | |
"type":"string" | |
}, | |
"complement":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idOrder":{ | |
"type":"integer" | |
}, | |
"neighborhood":{ | |
"type":"string" | |
}, | |
"number":{ | |
"type":"string" | |
}, | |
"reference":{ | |
"type":"string" | |
}, | |
"street":{ | |
"type":"string" | |
}, | |
"uf":{ | |
"type":"string" | |
} | |
} | |
}, | |
"OrderAuditLog":{ | |
"properties":{ | |
"errorCode":{ | |
"type":"string", | |
"enum":[ | |
"FAILED_CONTA4ALL_PAYMENT", | |
"FAILED_INTEGRATION_PAYMENT", | |
"FAILED_INTEGRATION_READING", | |
"INCORRECT_DELIVERY_FEE", | |
"INVALID_ACCESS_CODE", | |
"ORDER_ALREADY_PAID", | |
"ORDER_NOT_FOUND", | |
"ORDER_TOTAL_INCONSISTENT", | |
"UNITY_ALREADY_CLOSED", | |
"UNITY_NOT_INTEGRATED" | |
] | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idOrder":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"log":{ | |
"type":"string" | |
}, | |
"placeLabel":{ | |
"type":"string" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"type":{ | |
"type":"integer" | |
}, | |
"uuid":{ | |
"type":"string" | |
} | |
} | |
}, | |
"OrderAuditLogDTO":{ | |
"properties":{ | |
"errorCode":{ | |
"type":"string", | |
"enum":[ | |
"FAILED_CONTA4ALL_PAYMENT", | |
"FAILED_INTEGRATION_PAYMENT", | |
"FAILED_INTEGRATION_READING", | |
"INCORRECT_DELIVERY_FEE", | |
"INVALID_ACCESS_CODE", | |
"ORDER_ALREADY_PAID", | |
"ORDER_NOT_FOUND", | |
"ORDER_TOTAL_INCONSISTENT", | |
"UNITY_ALREADY_CLOSED", | |
"UNITY_NOT_INTEGRATED" | |
] | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idOrder":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"log":{ | |
"type":"array", | |
"items":{ | |
"type":"string" | |
} | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"type":{ | |
"type":"integer" | |
}, | |
"uuid":{ | |
"type":"string" | |
} | |
} | |
}, | |
"OrderDTO":{ | |
"properties":{ | |
"customer":{ | |
"$ref":"#/definitions/Customer4all" | |
}, | |
"customerInfo":{ | |
"$ref":"#/definitions/CustomerInfo" | |
}, | |
"deliveryFee":{ | |
"type":"integer" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idDevice":{ | |
"type":"integer" | |
}, | |
"idFact":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idOrderType":{ | |
"type":"integer" | |
}, | |
"idTokPdv":{ | |
"type":"integer" | |
}, | |
"idTransaction4all":{ | |
"type":"string" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"idUnityReceived":{ | |
"type":"integer" | |
}, | |
"observation":{ | |
"type":"string" | |
}, | |
"orderAddress":{ | |
"$ref":"#/definitions/OrderAddress" | |
}, | |
"orderItems":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderItem" | |
} | |
}, | |
"orderStatusLog":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderStatusLog" | |
} | |
}, | |
"paymentStatus":{ | |
"type":"integer" | |
}, | |
"placeLabel":{ | |
"type":"string" | |
}, | |
"productTotal":{ | |
"type":"integer" | |
}, | |
"status":{ | |
"type":"integer" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"total":{ | |
"type":"integer" | |
}, | |
"unity":{ | |
"$ref":"#/definitions/Unity" | |
}, | |
"voucher":{ | |
"$ref":"#/definitions/Voucher" | |
} | |
} | |
}, | |
"OrderItem":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idDevice":{ | |
"type":"integer" | |
}, | |
"idExternal":{ | |
"type":"string" | |
}, | |
"idFact":{ | |
"type":"integer" | |
}, | |
"idOrder":{ | |
"type":"integer" | |
}, | |
"idOrderItem":{ | |
"type":"integer" | |
}, | |
"idUnityItem":{ | |
"type":"integer" | |
}, | |
"itemPrice":{ | |
"type":"integer" | |
}, | |
"observation":{ | |
"type":"string" | |
}, | |
"parentId":{ | |
"type":"integer" | |
}, | |
"price":{ | |
"type":"integer" | |
}, | |
"quantity":{ | |
"type":"number" | |
}, | |
"subItems":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OrderItem" | |
} | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"total":{ | |
"type":"integer" | |
}, | |
"unityItem":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
}, | |
"OrderMonitorDTO":{ | |
"properties":{ | |
"clientId4all":{ | |
"type":"string" | |
}, | |
"clientName":{ | |
"type":"string" | |
}, | |
"clientPhoneNumber":{ | |
"type":"string" | |
}, | |
"deliveryFee":{ | |
"type":"integer" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"idOrder":{ | |
"type":"integer" | |
}, | |
"idTransaction4all":{ | |
"type":"string" | |
}, | |
"idUunity":{ | |
"type":"integer" | |
}, | |
"lastChangeTimestamp":{ | |
"type":"object" | |
}, | |
"marketplace":{ | |
"type":"string" | |
}, | |
"opened":{ | |
"type":"integer" | |
}, | |
"orderType":{ | |
"type":"string" | |
}, | |
"productTotal":{ | |
"type":"integer" | |
}, | |
"products":{ | |
"type":"object" | |
}, | |
"status":{ | |
"type":"integer" | |
}, | |
"statusName":{ | |
"type":"string" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"total":{ | |
"type":"integer" | |
}, | |
"unityName":{ | |
"type":"string" | |
} | |
} | |
}, | |
"OrderStatusLog":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idOrder":{ | |
"type":"integer" | |
}, | |
"idOrderSource":{ | |
"type":"integer" | |
}, | |
"idOrderStatus":{ | |
"type":"integer" | |
}, | |
"timestampCreation":{ | |
"type":"object" | |
} | |
} | |
}, | |
"ParkingAuditLog":{ | |
"properties":{ | |
"errorCode":{ | |
"type":"string", | |
"enum":[ | |
"COMUNICATION_FAILED", | |
"PAYMENT_FAILED", | |
"TICKET_ALREADY_PAID" | |
] | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"log":{ | |
"type":"string" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"uuid":{ | |
"type":"string" | |
} | |
} | |
}, | |
"ParkingBuilding":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"parkingFloors":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingFloor" | |
} | |
} | |
} | |
}, | |
"ParkingDiscountRule":{ | |
"properties":{ | |
"alwaysApply":{ | |
"type":"boolean" | |
}, | |
"dateBeginExpenditure":{ | |
"type":"object" | |
}, | |
"dateBeginPromotional":{ | |
"type":"object" | |
}, | |
"dateEndExpenditure":{ | |
"type":"object" | |
}, | |
"dateEndPromotional":{ | |
"type":"object" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idDiscountType":{ | |
"type":"integer" | |
}, | |
"message":{ | |
"type":"string" | |
}, | |
"minimunValue":{ | |
"type":"number" | |
}, | |
"parkingExemption":{ | |
"$ref":"#/definitions/ParkingExemption" | |
} | |
} | |
}, | |
"ParkingExemption":{ | |
"properties":{ | |
"cpf":{ | |
"type":"string" | |
}, | |
"dateBirthday":{ | |
"type":"object" | |
}, | |
"email":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"phoneNumber":{ | |
"type":"string" | |
} | |
} | |
}, | |
"ParkingFloor":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idBuilding":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"parkingRegions":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingRegion" | |
} | |
} | |
} | |
}, | |
"ParkingRegion":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idFloor":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"parkingSpaces":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ParkingSpace" | |
} | |
} | |
} | |
}, | |
"ParkingSpace":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idRegion":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Payment":{ | |
"properties":{ | |
"customerInfo":{ | |
"$ref":"#/definitions/CustomerInfo" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idTransaction4all":{ | |
"type":"string" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"paymentStatus":{ | |
"type":"integer" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"total":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"PaymentMethod":{ | |
"properties":{ | |
"brands":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Brand" | |
} | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Point":{ | |
"properties":{ | |
"x":{ | |
"type":"number" | |
}, | |
"y":{ | |
"type":"number" | |
} | |
} | |
}, | |
"ProductCategory":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"children":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ProductCategory" | |
} | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idExternal":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"parentId":{ | |
"type":"integer" | |
}, | |
"position":{ | |
"type":"integer" | |
}, | |
"productCategoryTypeId":{ | |
"type":"integer" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"unityId":{ | |
"type":"integer" | |
}, | |
"unityItems":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
}, | |
"ProductCategoryDTO":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"id":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"productCategoryTypeId":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"Professional":{ | |
"properties":{ | |
"availabilty":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Availability" | |
} | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"email":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"firstName":{ | |
"type":"string" | |
}, | |
"idProfessional":{ | |
"type":"integer" | |
}, | |
"idUser":{ | |
"type":"integer" | |
}, | |
"lastName":{ | |
"type":"string" | |
}, | |
"phone":{ | |
"type":"string" | |
}, | |
"rg":{ | |
"type":"string" | |
}, | |
"services":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"username":{ | |
"type":"string" | |
} | |
} | |
}, | |
"ProfessionalShiftString":{ | |
"properties":{ | |
"dayOfWeek":{ | |
"type":"string" | |
}, | |
"endAt":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idProfessional":{ | |
"type":"integer" | |
}, | |
"startAt":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Profile":{ | |
"properties":{ | |
"features":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Feature" | |
} | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"PushNotification":{ | |
"properties":{ | |
"body":{ | |
"type":"string" | |
}, | |
"datetime":{ | |
"type":"object" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"array", | |
"items":{ | |
"type":"string" | |
} | |
}, | |
"idFact":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"immediate":{ | |
"type":"boolean" | |
}, | |
"inside":{ | |
"type":"boolean" | |
}, | |
"os":{ | |
"type":"integer" | |
}, | |
"sent":{ | |
"type":"boolean" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"type":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"ReportFilterDTO":{ | |
"properties":{ | |
"brands":{ | |
"type":"array", | |
"items":{ | |
"type":"integer" | |
} | |
}, | |
"orderTypes":{ | |
"type":"array", | |
"items":{ | |
"type":"integer" | |
} | |
}, | |
"paymentMethods":{ | |
"type":"array", | |
"items":{ | |
"type":"integer" | |
} | |
}, | |
"search":{ | |
"type":"string" | |
}, | |
"status":{ | |
"type":"array", | |
"items":{ | |
"type":"integer" | |
} | |
}, | |
"timestamp":{ | |
"$ref":"#/definitions/ReportTimestampFilterDTO" | |
} | |
} | |
}, | |
"ReportModuleRequestDTO":{ | |
"properties":{ | |
"after":{ | |
"type":"integer" | |
}, | |
"count":{ | |
"type":"integer" | |
}, | |
"filters":{ | |
"$ref":"#/definitions/ReportFilterDTO" | |
}, | |
"idsMerchantManager":{ | |
"type":"array", | |
"items":{ | |
"type":"integer" | |
} | |
} | |
} | |
}, | |
"ReportModuleResponseDTO":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idBrand":{ | |
"type":"integer" | |
}, | |
"idPaymentMethod":{ | |
"type":"integer" | |
}, | |
"orderType":{ | |
"type":"integer" | |
}, | |
"status":{ | |
"type":"integer" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"totalOrder":{ | |
"type":"integer" | |
}, | |
"unityName":{ | |
"type":"string" | |
} | |
} | |
}, | |
"ReportTimestampFilterDTO":{ | |
"properties":{ | |
"begin":{ | |
"type":"object" | |
}, | |
"end":{ | |
"type":"object" | |
} | |
} | |
}, | |
"Scheduling":{ | |
"properties":{ | |
"date":{ | |
"type":"string" | |
}, | |
"dayOfWeek":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idDevice":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idProfessional":{ | |
"type":"integer" | |
}, | |
"idSchedulingType":{ | |
"type":"integer" | |
}, | |
"idStatus":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"idUnityItem":{ | |
"type":"integer" | |
}, | |
"professional":{ | |
"$ref":"#/definitions/Professional" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
}, | |
"timeBegin":{ | |
"type":"string" | |
}, | |
"timeBeginLocalTime":{ | |
"$ref":"#/definitions/LocalTime" | |
}, | |
"timeEnd":{ | |
"type":"string" | |
}, | |
"timeEndLocalTime":{ | |
"$ref":"#/definitions/LocalTime" | |
}, | |
"unity":{ | |
"$ref":"#/definitions/Unity" | |
}, | |
"unityItem":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
}, | |
"SchedulingStatusLog":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idScheduling":{ | |
"type":"integer" | |
}, | |
"idSchedulingStatus":{ | |
"type":"integer" | |
}, | |
"timestampCreation":{ | |
"type":"object" | |
} | |
} | |
}, | |
"Search":{ | |
"properties":{ | |
"query":{ | |
"type":"string" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Section":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"banner":{ | |
"$ref":"#/definitions/SectionBanner" | |
}, | |
"content":{ | |
"$ref":"#/definitions/Content" | |
}, | |
"daysOfWeek":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idHome":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"inside":{ | |
"type":"boolean" | |
}, | |
"position":{ | |
"type":"integer" | |
}, | |
"screenConfig":{ | |
"$ref":"#/definitions/SectionScreenConfig" | |
}, | |
"sectionType":{ | |
"type":"string" | |
}, | |
"sectionTypeId":{ | |
"type":"integer" | |
}, | |
"timeBegin":{ | |
"type":"object" | |
}, | |
"timeEnd":{ | |
"type":"object" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"SectionAction":{ | |
"properties":{ | |
"action":{ | |
"type":"string" | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idSection":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
} | |
} | |
}, | |
"SectionBanner":{ | |
"properties":{ | |
"fact":{ | |
"$ref":"#/definitions/Fact" | |
}, | |
"idFact":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idSection":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"SectionContent":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idEntity":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idSection":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"SectionInfo":{ | |
"properties":{ | |
"contentType":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idSection":{ | |
"type":"integer" | |
}, | |
"text":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"SectionScreenConfig":{ | |
"properties":{ | |
"allContent":{ | |
"type":"boolean" | |
}, | |
"colorBg":{ | |
"type":"string" | |
}, | |
"colorFont":{ | |
"type":"string" | |
}, | |
"columns":{ | |
"type":"integer" | |
}, | |
"contentTypeName":{ | |
"type":"string" | |
}, | |
"elevation":{ | |
"type":"integer" | |
}, | |
"height":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idContentType":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idSection":{ | |
"type":"integer" | |
}, | |
"parkingLocalization":{ | |
"type":"boolean" | |
}, | |
"parkingPayment":{ | |
"type":"boolean" | |
}, | |
"seeMore":{ | |
"type":"boolean" | |
}, | |
"seeMoreLink":{ | |
"type":"string" | |
}, | |
"seeMoreTitle":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"width":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"SectionType":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"ShiftString":{ | |
"properties":{ | |
"endAt":{ | |
"type":"string" | |
}, | |
"startAt":{ | |
"type":"string" | |
} | |
} | |
}, | |
"ShoppingIndoorMapLevel":{ | |
"properties":{ | |
"floor":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"lucs":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ShoppingLuc" | |
} | |
}, | |
"map":{ | |
"type":"string" | |
}, | |
"shortTitle":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"ShoppingLuc":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"point":{ | |
"$ref":"#/definitions/Point" | |
}, | |
"polygon":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Point" | |
} | |
}, | |
"ref":{ | |
"$ref":"#/definitions/BffSearchMobile" | |
} | |
} | |
}, | |
"ShoppingNotification":{ | |
"properties":{ | |
"actionTime":{ | |
"type":"string" | |
}, | |
"deepLink":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"image":{ | |
"type":"string" | |
}, | |
"message":{ | |
"type":"string" | |
}, | |
"oneSignalId":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"url":{ | |
"type":"string" | |
} | |
} | |
}, | |
"StateDTO":{ | |
"properties":{ | |
"initials":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"SubscriptionPlan":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"intervalType":{ | |
"type":"integer" | |
}, | |
"intervalValue":{ | |
"type":"integer" | |
}, | |
"merchantKey":{ | |
"type":"string" | |
}, | |
"paymentTolerence":{ | |
"type":"integer" | |
}, | |
"recurrenceCount":{ | |
"type":"integer" | |
}, | |
"recurringAmount":{ | |
"type":"integer" | |
}, | |
"upFrontAmount":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"SupportedCity":{ | |
"properties":{ | |
"children":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/SupportedCity" | |
} | |
}, | |
"city":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idParent":{ | |
"type":"integer" | |
}, | |
"state":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Ticket":{ | |
"properties":{ | |
"batch":{ | |
"$ref":"#/definitions/Batch" | |
}, | |
"eventSection":{ | |
"$ref":"#/definitions/EventSection" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idBatch":{ | |
"type":"integer" | |
}, | |
"idEventSection":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"price":{ | |
"type":"integer" | |
}, | |
"ticketLimit":{ | |
"type":"integer" | |
}, | |
"ticketSold":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"TicketSold":{ | |
"properties":{ | |
"amount":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idTicket":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"timestamp":{ | |
"type":"object" | |
} | |
} | |
}, | |
"TicketVoucher":{ | |
"properties":{ | |
"amount":{ | |
"type":"integer" | |
}, | |
"customerInfo":{ | |
"$ref":"#/definitions/CustomerInfo" | |
}, | |
"idTicket":{ | |
"type":"integer" | |
}, | |
"numberOfTickets":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"Token":{ | |
"properties":{ | |
"accessToken":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUser":{ | |
"type":"integer" | |
}, | |
"timestampExpiration":{ | |
"type":"object" | |
} | |
} | |
}, | |
"UnitTime":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Unity":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"address":{ | |
"type":"string" | |
}, | |
"authKeyAll4Mobile":{ | |
"type":"string" | |
}, | |
"children":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityShort" | |
} | |
}, | |
"cnpj":{ | |
"type":"string" | |
}, | |
"codename":{ | |
"type":"string" | |
}, | |
"deliveryEstimatedIdUnitTime":{ | |
"type":"integer" | |
}, | |
"deliveryEstimatedTime":{ | |
"type":"integer" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"discount":{ | |
"type":"integer" | |
}, | |
"discountType":{ | |
"type":"string" | |
}, | |
"distance":{ | |
"type":"number" | |
}, | |
"eventEnabled":{ | |
"type":"boolean" | |
}, | |
"facebookUrl":{ | |
"type":"string" | |
}, | |
"favorite":{ | |
"type":"boolean" | |
}, | |
"fidelity":{ | |
"$ref":"#/definitions/Fidelity" | |
}, | |
"forceClosed":{ | |
"type":"boolean" | |
}, | |
"fourPayEnabled":{ | |
"type":"boolean" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idIndoorMapLuc":{ | |
"type":"integer" | |
}, | |
"idIntegrationSystem":{ | |
"type":"integer" | |
}, | |
"idParent":{ | |
"type":"integer" | |
}, | |
"idStoreAll4Mobile":{ | |
"type":"string" | |
}, | |
"idStoreIntegrationSystem":{ | |
"type":"string" | |
}, | |
"idSupportedCity":{ | |
"type":"integer" | |
}, | |
"idUnityType":{ | |
"type":"integer" | |
}, | |
"immediateScheduling":{ | |
"type":"boolean" | |
}, | |
"indoorMapLuc":{ | |
"$ref":"#/definitions/IndoorMapLuc" | |
}, | |
"instagramUrl":{ | |
"type":"string" | |
}, | |
"keywords":{ | |
"type":"string" | |
}, | |
"latitude":{ | |
"type":"number" | |
}, | |
"longitude":{ | |
"type":"number" | |
}, | |
"marketplaces":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Marketplace" | |
} | |
}, | |
"media":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"merchantKey":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"nfeBackup":{ | |
"type":"boolean" | |
}, | |
"opened":{ | |
"type":"boolean" | |
}, | |
"orderCheckEnabled":{ | |
"type":"boolean" | |
}, | |
"orderDeliveryEnabled":{ | |
"type":"boolean" | |
}, | |
"orderEnabled":{ | |
"type":"boolean" | |
}, | |
"orderInStoreEnabled":{ | |
"type":"boolean" | |
}, | |
"orderShortDeliveryEnabled":{ | |
"type":"boolean" | |
}, | |
"orderShortTakeAwayEnabled":{ | |
"type":"boolean" | |
}, | |
"orderTakeAwayEnabled":{ | |
"type":"boolean" | |
}, | |
"orderVoucherEnabled":{ | |
"type":"boolean" | |
}, | |
"paymentMethods":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/PaymentMethod" | |
} | |
}, | |
"phoneNumber":{ | |
"type":"string" | |
}, | |
"portalUnicoIntegrated":{ | |
"type":"boolean" | |
}, | |
"portalUnicoIntegratedTimestamp":{ | |
"type":"object" | |
}, | |
"schedulingEnabled":{ | |
"type":"boolean" | |
}, | |
"shifts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityShift" | |
} | |
}, | |
"siteUrl":{ | |
"type":"string" | |
}, | |
"soon":{ | |
"type":"boolean" | |
}, | |
"splitVoucher":{ | |
"type":"boolean" | |
}, | |
"tableBookingEnabled":{ | |
"type":"boolean" | |
}, | |
"takeAwayEstimatedIdUnitTime":{ | |
"type":"integer" | |
}, | |
"takeAwayEstimatedTime":{ | |
"type":"integer" | |
}, | |
"twitterUrl":{ | |
"type":"string" | |
}, | |
"unityMerchantEstablishmentId":{ | |
"type":"integer" | |
}, | |
"unityOperatingHourGroups":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityOperatingHourGroup" | |
} | |
}, | |
"unityTypeName":{ | |
"type":"string" | |
}, | |
"voucherTerms":{ | |
"$ref":"#/definitions/VoucherTermsDTO" | |
}, | |
"waitListEnabled":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"UnityDTO":{ | |
"properties":{ | |
"authKeyAll4Mobile":{ | |
"type":"string" | |
}, | |
"deliveryCeps":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryCepDTO" | |
} | |
}, | |
"deliveryNeighborhoods":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/DeliveryNeighborhoodDTO" | |
} | |
}, | |
"idStoreAll4Mobile":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"productCategories":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/ProductCategoryDTO" | |
} | |
}, | |
"unityItems":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItemDTO" | |
} | |
} | |
} | |
}, | |
"UnityDiscount":{ | |
"properties":{ | |
"discount":{ | |
"type":"integer" | |
}, | |
"discountType":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"UnityGroupTreeXref":{ | |
"properties":{ | |
"groupTreeId":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"unityId":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"UnityIndication":{ | |
"properties":{ | |
"city":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"phoneNumber":{ | |
"type":"string" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"uf":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityIntegrationResponse":{ | |
"properties":{ | |
"storeId":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityItem":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"barcode":{ | |
"type":"string" | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"duration":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idExternal":{ | |
"type":"string" | |
}, | |
"idUnityItemType":{ | |
"type":"integer" | |
}, | |
"media":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"originalPrice":{ | |
"type":"integer" | |
}, | |
"position":{ | |
"type":"integer" | |
}, | |
"price":{ | |
"type":"integer" | |
}, | |
"special":{ | |
"type":"boolean" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"unityId":{ | |
"type":"integer" | |
}, | |
"unityItemModifiers":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItemModifier" | |
} | |
} | |
} | |
}, | |
"UnityItemDTO":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"string" | |
}, | |
"idProductCategory":{ | |
"type":"array", | |
"items":{ | |
"type":"string" | |
} | |
}, | |
"idUnityItemType":{ | |
"type":"integer" | |
}, | |
"price":{ | |
"type":"integer" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"unityId":{ | |
"type":"string" | |
}, | |
"unityItemModifiers":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItemModifierDTO" | |
} | |
} | |
} | |
}, | |
"UnityItemModifier":{ | |
"properties":{ | |
"contentType":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idProductCategory":{ | |
"type":"integer" | |
}, | |
"idUnityItem":{ | |
"type":"integer" | |
}, | |
"idUnityItemModifierPriceType":{ | |
"type":"integer" | |
}, | |
"maxQuantity":{ | |
"type":"integer" | |
}, | |
"minQuantity":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"position":{ | |
"type":"integer" | |
}, | |
"productCategory":{ | |
"$ref":"#/definitions/ProductCategory" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"unityItems":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityItem" | |
} | |
} | |
} | |
}, | |
"UnityItemModifierDTO":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idProductCategory":{ | |
"type":"string" | |
}, | |
"idUnityItem":{ | |
"type":"string" | |
}, | |
"idUnityItemModifierPriceType":{ | |
"type":"integer" | |
}, | |
"maxQuantity":{ | |
"type":"integer" | |
}, | |
"minQuantity":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"position":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"UnityItemProductCategoryXref":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idMarketplace":{ | |
"type":"integer" | |
}, | |
"position":{ | |
"type":"integer" | |
}, | |
"productCategoryId":{ | |
"type":"integer" | |
}, | |
"unityItemId":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"UnityMerchantKey":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idOrderType":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"merchantKey":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityModularDTO":{ | |
"properties":{ | |
"categories":{ | |
"type":"string" | |
}, | |
"deliveryEstimatedIdUnitTime":{ | |
"type":"integer" | |
}, | |
"deliveryEstimatedTime":{ | |
"type":"integer" | |
}, | |
"distance":{ | |
"type":"number" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"logo":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"opened":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"UnityMovie":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"ageClassification":{ | |
"type":"integer" | |
}, | |
"cast":{ | |
"type":"string" | |
}, | |
"contentType":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"director":{ | |
"type":"string" | |
}, | |
"duration":{ | |
"type":"object" | |
}, | |
"extension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"media":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"sinopsis":{ | |
"type":"string" | |
}, | |
"thumb":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"unityMovieSessions":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityMovieSession" | |
} | |
}, | |
"youtube":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityMovieSession":{ | |
"properties":{ | |
"availableTickets":{ | |
"type":"integer" | |
}, | |
"dimension":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"language":{ | |
"type":"string" | |
}, | |
"movieId":{ | |
"type":"integer" | |
}, | |
"price":{ | |
"type":"number" | |
}, | |
"room":{ | |
"type":"string" | |
}, | |
"sessionDatetime":{ | |
"type":"object" | |
}, | |
"subtitled":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"UnityMoviesResp":{ | |
"properties":{ | |
"unityMovies":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityMovie" | |
} | |
} | |
} | |
}, | |
"UnityOperatingHourGroup":{ | |
"properties":{ | |
"daysOfWeek":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idOrderType":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"shifts":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/OperatingHourGroupShift" | |
} | |
} | |
} | |
}, | |
"UnityPromotion":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"dateBegin":{ | |
"type":"object" | |
}, | |
"dateEnd":{ | |
"type":"object" | |
}, | |
"daysOfWeek":{ | |
"type":"integer" | |
}, | |
"feeDiscount":{ | |
"type":"integer" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"itemDiscount":{ | |
"type":"integer" | |
}, | |
"timestampCreation":{ | |
"type":"object" | |
}, | |
"type":{ | |
"type":"integer" | |
} | |
} | |
}, | |
"UnityShift":{ | |
"properties":{ | |
"dayOfWeek":{ | |
"type":"string" | |
}, | |
"endAt":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"startAt":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityShoppingDTO":{ | |
"properties":{ | |
"categories":{ | |
"type":"string" | |
}, | |
"floor":{ | |
"type":"string" | |
}, | |
"fourPayEnabled":{ | |
"type":"boolean" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"logo":{ | |
"type":"string" | |
}, | |
"luc":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"orderDeliveryEnabled":{ | |
"type":"boolean" | |
}, | |
"orderEnabled":{ | |
"type":"boolean" | |
}, | |
"orderShortDeliveryEnabled":{ | |
"type":"boolean" | |
}, | |
"orderShortTakeawayEnabled":{ | |
"type":"boolean" | |
}, | |
"orderTakeawayEnabled":{ | |
"type":"boolean" | |
}, | |
"orderVoucherEnabled":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"UnityShoppingUniqueDTO":{ | |
"properties":{ | |
"address":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"eventEnabled":{ | |
"type":"boolean" | |
}, | |
"floor":{ | |
"type":"string" | |
}, | |
"forceClosed":{ | |
"type":"boolean" | |
}, | |
"fourPayEnabled":{ | |
"type":"boolean" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idIndoorMapLuc":{ | |
"type":"integer" | |
}, | |
"idParent":{ | |
"type":"integer" | |
}, | |
"idUnityType":{ | |
"type":"integer" | |
}, | |
"luc":{ | |
"type":"string" | |
}, | |
"media":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"opened":{ | |
"type":"boolean" | |
}, | |
"orderCheckEnabled":{ | |
"type":"boolean" | |
}, | |
"orderDeliveryEnabled":{ | |
"type":"boolean" | |
}, | |
"orderEnabled":{ | |
"type":"boolean" | |
}, | |
"orderInStoreEnabled":{ | |
"type":"boolean" | |
}, | |
"orderShortDeliveryEnabled":{ | |
"type":"boolean" | |
}, | |
"orderShortTakeAwayEnabled":{ | |
"type":"boolean" | |
}, | |
"orderTakeAwayEnabled":{ | |
"type":"boolean" | |
}, | |
"orderVoucherEnabled":{ | |
"type":"boolean" | |
}, | |
"phoneNumber":{ | |
"type":"string" | |
}, | |
"soon":{ | |
"type":"boolean" | |
}, | |
"tableBookingEnabled":{ | |
"type":"boolean" | |
}, | |
"unityOperatingHourGroups":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/UnityOperatingHourGroup" | |
} | |
}, | |
"unityTypeName":{ | |
"type":"string" | |
}, | |
"waitListEnabled":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"UnityShort":{ | |
"properties":{ | |
"address":{ | |
"type":"string" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityToken":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"createdAt":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"lastUsedAt":{ | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"token":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityType":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UnityWithPromoDTO":{ | |
"properties":{ | |
"active":{ | |
"type":"boolean" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"distance":{ | |
"type":"number" | |
}, | |
"fact":{ | |
"$ref":"#/definitions/Fact" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"media":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Media" | |
} | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"User":{ | |
"properties":{ | |
"email":{ | |
"type":"string" | |
}, | |
"firstName":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"lastName":{ | |
"type":"string" | |
}, | |
"password":{ | |
"type":"string" | |
}, | |
"profiles":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/Profile" | |
} | |
}, | |
"username":{ | |
"type":"string" | |
} | |
} | |
}, | |
"UserLoginUnity":{ | |
"properties":{ | |
"firstName":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"lastName":{ | |
"type":"string" | |
}, | |
"profiles":{ | |
"type":"array", | |
"items":{ | |
"type":"integer" | |
} | |
}, | |
"username":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Voucher":{ | |
"properties":{ | |
"customer4all":{ | |
"$ref":"#/definitions/Customer4all" | |
}, | |
"desc":{ | |
"type":"string" | |
}, | |
"expires":{ | |
"type":"boolean" | |
}, | |
"fact":{ | |
"$ref":"#/definitions/Fact" | |
}, | |
"fidelity":{ | |
"$ref":"#/definitions/FidelityShort" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"id4all":{ | |
"type":"string" | |
}, | |
"idTransaction4all":{ | |
"type":"string" | |
}, | |
"idUserEmailReader":{ | |
"type":"string" | |
}, | |
"idVoucherStatus":{ | |
"type":"integer" | |
}, | |
"idVoucherType":{ | |
"type":"integer" | |
}, | |
"order":{ | |
"$ref":"#/definitions/Order" | |
}, | |
"phoneNumber":{ | |
"type":"string" | |
}, | |
"sessionToken":{ | |
"type":"string" | |
}, | |
"ticket":{ | |
"$ref":"#/definitions/Ticket" | |
}, | |
"timestamp":{ | |
"type":"object" | |
}, | |
"timestampExpiration":{ | |
"type":"object" | |
}, | |
"timestampUsed":{ | |
"type":"object" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"unity":{ | |
"$ref":"#/definitions/Unity" | |
}, | |
"uuid":{ | |
"type":"string" | |
} | |
} | |
}, | |
"VoucherTerms":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"VoucherTermsDTO":{ | |
"properties":{ | |
"desc":{ | |
"type":"string" | |
}, | |
"id":{ | |
"type":"integer" | |
}, | |
"idUnity":{ | |
"type":"integer" | |
}, | |
"terms":{ | |
"type":"array", | |
"items":{ | |
"$ref":"#/definitions/VoucherTermsUrl" | |
} | |
}, | |
"title":{ | |
"type":"string" | |
} | |
} | |
}, | |
"VoucherTermsUrl":{ | |
"properties":{ | |
"id":{ | |
"type":"integer" | |
}, | |
"idVoucherTerms":{ | |
"type":"integer" | |
}, | |
"title":{ | |
"type":"string" | |
}, | |
"url":{ | |
"type":"string" | |
} | |
} | |
}, | |
"WpsTicketPayment":{ | |
"properties":{ | |
"amount":{ | |
"type":"integer" | |
}, | |
"customerInfo":{ | |
"$ref":"#/definitions/CustomerInfo" | |
}, | |
"deviceUuid":{ | |
"type":"string" | |
}, | |
"merchantKey":{ | |
"type":"string" | |
}, | |
"merchantMetaId":{ | |
"type":"string" | |
}, | |
"waitForTransaction":{ | |
"type":"boolean" | |
} | |
} | |
}, | |
"[":{ | |
"properties":{ | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment