@zippendo/sdk 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (831) hide show
  1. package/README.md +11 -0
  2. package/dist/apis/AddressesApi.d.ts +12 -1
  3. package/dist/apis/AddressesApi.js +16 -2
  4. package/dist/apis/BillingApi.d.ts +1 -1
  5. package/dist/apis/BillingApi.js +1 -1
  6. package/dist/apis/BrandsApi.d.ts +1 -1
  7. package/dist/apis/BrandsApi.js +1 -1
  8. package/dist/apis/CarrierCatalogApi.d.ts +1 -1
  9. package/dist/apis/CarrierCatalogApi.js +1 -1
  10. package/dist/apis/CarriersApi.d.ts +12 -1
  11. package/dist/apis/CarriersApi.js +16 -2
  12. package/dist/apis/OrdersApi.d.ts +11 -1
  13. package/dist/apis/OrdersApi.js +13 -2
  14. package/dist/apis/OrgsApi.d.ts +1 -1
  15. package/dist/apis/OrgsApi.js +1 -1
  16. package/dist/apis/QuotesApi.d.ts +1 -1
  17. package/dist/apis/QuotesApi.js +1 -1
  18. package/dist/apis/RulesApi.d.ts +12 -1
  19. package/dist/apis/RulesApi.js +16 -2
  20. package/dist/apis/ShipmentsApi.d.ts +11 -1
  21. package/dist/apis/ShipmentsApi.js +13 -2
  22. package/dist/apis/SystemApi.d.ts +1 -1
  23. package/dist/apis/SystemApi.js +1 -1
  24. package/dist/apis/TokensApi.d.ts +1 -1
  25. package/dist/apis/TokensApi.js +1 -1
  26. package/dist/apis/WebhooksApi.d.ts +12 -1
  27. package/dist/apis/WebhooksApi.js +16 -2
  28. package/dist/esm/apis/AddressesApi.d.ts +12 -1
  29. package/dist/esm/apis/AddressesApi.js +15 -1
  30. package/dist/esm/apis/BillingApi.d.ts +1 -1
  31. package/dist/esm/apis/BillingApi.js +1 -1
  32. package/dist/esm/apis/BrandsApi.d.ts +1 -1
  33. package/dist/esm/apis/BrandsApi.js +1 -1
  34. package/dist/esm/apis/CarrierCatalogApi.d.ts +1 -1
  35. package/dist/esm/apis/CarrierCatalogApi.js +1 -1
  36. package/dist/esm/apis/CarriersApi.d.ts +12 -1
  37. package/dist/esm/apis/CarriersApi.js +15 -1
  38. package/dist/esm/apis/OrdersApi.d.ts +11 -1
  39. package/dist/esm/apis/OrdersApi.js +12 -1
  40. package/dist/esm/apis/OrgsApi.d.ts +1 -1
  41. package/dist/esm/apis/OrgsApi.js +1 -1
  42. package/dist/esm/apis/QuotesApi.d.ts +1 -1
  43. package/dist/esm/apis/QuotesApi.js +1 -1
  44. package/dist/esm/apis/RulesApi.d.ts +12 -1
  45. package/dist/esm/apis/RulesApi.js +15 -1
  46. package/dist/esm/apis/ShipmentsApi.d.ts +11 -1
  47. package/dist/esm/apis/ShipmentsApi.js +12 -1
  48. package/dist/esm/apis/SystemApi.d.ts +1 -1
  49. package/dist/esm/apis/SystemApi.js +1 -1
  50. package/dist/esm/apis/TokensApi.d.ts +1 -1
  51. package/dist/esm/apis/TokensApi.js +1 -1
  52. package/dist/esm/apis/WebhooksApi.d.ts +12 -1
  53. package/dist/esm/apis/WebhooksApi.js +15 -1
  54. package/dist/esm/models/BatchSendShipments200Response.d.ts +1 -1
  55. package/dist/esm/models/BatchSendShipments200Response.js +1 -1
  56. package/dist/esm/models/BatchSendShipments200ResponseResultsInner.d.ts +7 -1
  57. package/dist/esm/models/BatchSendShipments200ResponseResultsInner.js +8 -2
  58. package/dist/esm/models/BatchSendShipments200ResponseSummary.d.ts +1 -1
  59. package/dist/esm/models/BatchSendShipments200ResponseSummary.js +1 -1
  60. package/dist/esm/models/BatchSendShipmentsRequest.d.ts +1 -1
  61. package/dist/esm/models/BatchSendShipmentsRequest.js +1 -1
  62. package/dist/esm/models/BatchSplitShipment201Response.d.ts +1 -1
  63. package/dist/esm/models/BatchSplitShipment201Response.js +1 -1
  64. package/dist/esm/models/BatchSplitShipmentRequest.d.ts +1 -1
  65. package/dist/esm/models/BatchSplitShipmentRequest.js +1 -1
  66. package/dist/esm/models/BatchSplitShipmentRequestShipmentsInner.d.ts +1 -1
  67. package/dist/esm/models/BatchSplitShipmentRequestShipmentsInner.js +1 -1
  68. package/dist/esm/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.d.ts +1 -1
  69. package/dist/esm/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.js +1 -1
  70. package/dist/esm/models/CheckBrandSlug200Response.d.ts +1 -1
  71. package/dist/esm/models/CheckBrandSlug200Response.js +1 -1
  72. package/dist/esm/models/ConnectCarrierRequest.d.ts +7 -1
  73. package/dist/esm/models/ConnectCarrierRequest.js +3 -1
  74. package/dist/esm/models/CreateAddressRequest.d.ts +7 -1
  75. package/dist/esm/models/CreateAddressRequest.js +3 -1
  76. package/dist/esm/models/CreateApiToken201Response.d.ts +1 -1
  77. package/dist/esm/models/CreateApiToken201Response.js +1 -1
  78. package/dist/esm/models/CreateApiTokenRequest.d.ts +1 -1
  79. package/dist/esm/models/CreateApiTokenRequest.js +1 -1
  80. package/dist/esm/models/CreateOrder201Response.d.ts +1 -1
  81. package/dist/esm/models/CreateOrder201Response.js +1 -1
  82. package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.d.ts +1 -1
  83. package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.js +1 -1
  84. package/dist/esm/models/CreateOrder201ResponseShippingAddress.d.ts +1 -1
  85. package/dist/esm/models/CreateOrder201ResponseShippingAddress.js +1 -1
  86. package/dist/esm/models/CreateOrderRequest.d.ts +1 -1
  87. package/dist/esm/models/CreateOrderRequest.js +1 -1
  88. package/dist/esm/models/CreateOrderRequestOrderLinesInner.d.ts +1 -1
  89. package/dist/esm/models/CreateOrderRequestOrderLinesInner.js +1 -1
  90. package/dist/esm/models/CreateOrderRequestShippingAddress.d.ts +1 -1
  91. package/dist/esm/models/CreateOrderRequestShippingAddress.js +1 -1
  92. package/dist/esm/models/CreateOrgBrandRequest.d.ts +1 -1
  93. package/dist/esm/models/CreateOrgBrandRequest.js +1 -1
  94. package/dist/esm/models/CreateOrgWebhook201Response.d.ts +7 -1
  95. package/dist/esm/models/CreateOrgWebhook201Response.js +5 -1
  96. package/dist/esm/models/CreateOrgWebhookRequest.d.ts +7 -1
  97. package/dist/esm/models/CreateOrgWebhookRequest.js +3 -1
  98. package/dist/esm/models/CreateShipment201Response.d.ts +1 -1
  99. package/dist/esm/models/CreateShipment201Response.js +1 -1
  100. package/dist/esm/models/CreateShipment201ResponseActivitiesInner.d.ts +1 -1
  101. package/dist/esm/models/CreateShipment201ResponseActivitiesInner.js +1 -1
  102. package/dist/esm/models/CreateShipment201ResponseDocumentsInner.d.ts +1 -1
  103. package/dist/esm/models/CreateShipment201ResponseDocumentsInner.js +1 -1
  104. package/dist/esm/models/CreateShipment201ResponseErrorsInner.d.ts +1 -1
  105. package/dist/esm/models/CreateShipment201ResponseErrorsInner.js +1 -1
  106. package/dist/esm/models/CreateShipment201ResponseLogsInner.d.ts +1 -1
  107. package/dist/esm/models/CreateShipment201ResponseLogsInner.js +1 -1
  108. package/dist/esm/models/CreateShipment201ResponseParcelsInner.d.ts +1 -1
  109. package/dist/esm/models/CreateShipment201ResponseParcelsInner.js +1 -1
  110. package/dist/esm/models/CreateShipment201ResponseParcelsInnerDimensions.d.ts +1 -1
  111. package/dist/esm/models/CreateShipment201ResponseParcelsInnerDimensions.js +1 -1
  112. package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +1 -1
  113. package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +1 -1
  114. package/dist/esm/models/CreateShipment201ResponsePartiesInner.d.ts +1 -1
  115. package/dist/esm/models/CreateShipment201ResponsePartiesInner.js +1 -1
  116. package/dist/esm/models/CreateShipment201ResponsePartiesInnerAttributesInner.d.ts +1 -1
  117. package/dist/esm/models/CreateShipment201ResponsePartiesInnerAttributesInner.js +1 -1
  118. package/dist/esm/models/CreateShipment201ResponsePickupDetails.d.ts +1 -1
  119. package/dist/esm/models/CreateShipment201ResponsePickupDetails.js +1 -1
  120. package/dist/esm/models/CreateShipment201ResponseShippingRule.d.ts +1 -1
  121. package/dist/esm/models/CreateShipment201ResponseShippingRule.js +1 -1
  122. package/dist/esm/models/CreateShipment201ResponseTracking.d.ts +1 -1
  123. package/dist/esm/models/CreateShipment201ResponseTracking.js +1 -1
  124. package/dist/esm/models/CreateShipmentRequest.d.ts +1 -1
  125. package/dist/esm/models/CreateShipmentRequest.js +1 -1
  126. package/dist/esm/models/CreateShipmentRequestCarrierSettings.d.ts +1 -1
  127. package/dist/esm/models/CreateShipmentRequestCarrierSettings.js +1 -1
  128. package/dist/esm/models/CreateShipmentRequestParcelsInner.d.ts +1 -1
  129. package/dist/esm/models/CreateShipmentRequestParcelsInner.js +1 -1
  130. package/dist/esm/models/CreateShipmentRequestParcelsInnerDimensions.d.ts +1 -1
  131. package/dist/esm/models/CreateShipmentRequestParcelsInnerDimensions.js +1 -1
  132. package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +1 -1
  133. package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +1 -1
  134. package/dist/esm/models/CreateShipmentRequestPartiesInner.d.ts +1 -1
  135. package/dist/esm/models/CreateShipmentRequestPartiesInner.js +1 -1
  136. package/dist/esm/models/CreateShipmentRequestPartiesInnerAttributesInner.d.ts +1 -1
  137. package/dist/esm/models/CreateShipmentRequestPartiesInnerAttributesInner.js +1 -1
  138. package/dist/esm/models/CreateShipmentRequestPickupDetails.d.ts +1 -1
  139. package/dist/esm/models/CreateShipmentRequestPickupDetails.js +1 -1
  140. package/dist/esm/models/CreateShippingQuote200Response.d.ts +1 -1
  141. package/dist/esm/models/CreateShippingQuote200Response.js +1 -1
  142. package/dist/esm/models/CreateShippingQuote200ResponseRatesInner.d.ts +1 -1
  143. package/dist/esm/models/CreateShippingQuote200ResponseRatesInner.js +1 -1
  144. package/dist/esm/models/CreateShippingQuote400Response.d.ts +1 -1
  145. package/dist/esm/models/CreateShippingQuote400Response.js +1 -1
  146. package/dist/esm/models/CreateShippingQuote404Response.d.ts +1 -1
  147. package/dist/esm/models/CreateShippingQuote404Response.js +1 -1
  148. package/dist/esm/models/CreateShippingQuoteRequest.d.ts +1 -1
  149. package/dist/esm/models/CreateShippingQuoteRequest.js +1 -1
  150. package/dist/esm/models/CreateShippingQuoteRequestDestination.d.ts +1 -1
  151. package/dist/esm/models/CreateShippingQuoteRequestDestination.js +1 -1
  152. package/dist/esm/models/CreateShippingQuoteRequestItemsInner.d.ts +1 -1
  153. package/dist/esm/models/CreateShippingQuoteRequestItemsInner.js +1 -1
  154. package/dist/esm/models/CreateShippingRule201Response.d.ts +7 -1
  155. package/dist/esm/models/CreateShippingRule201Response.js +5 -1
  156. package/dist/esm/models/CreateShippingRuleRequest.d.ts +7 -1
  157. package/dist/esm/models/CreateShippingRuleRequest.js +3 -1
  158. package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersValue.d.ts +1 -1
  159. package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersValue.js +1 -1
  160. package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersValueAnyOf.d.ts +1 -1
  161. package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersValueAnyOf.js +1 -1
  162. package/dist/esm/models/CreateShippingRuleRequestConditionsInner.d.ts +1 -1
  163. package/dist/esm/models/CreateShippingRuleRequestConditionsInner.js +1 -1
  164. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf.d.ts +1 -1
  165. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf.js +1 -1
  166. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf1.d.ts +1 -1
  167. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf1.js +1 -1
  168. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf2.d.ts +1 -1
  169. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf2.js +1 -1
  170. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf3.d.ts +1 -1
  171. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf3.js +1 -1
  172. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf4.d.ts +1 -1
  173. package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf4.js +1 -1
  174. package/dist/esm/models/DeleteOrgWebhook200Response.d.ts +1 -1
  175. package/dist/esm/models/DeleteOrgWebhook200Response.js +1 -1
  176. package/dist/esm/models/DeleteShippingRule200Response.d.ts +1 -1
  177. package/dist/esm/models/DeleteShippingRule200Response.js +1 -1
  178. package/dist/esm/models/GetBillingUsage200Response.d.ts +8 -1
  179. package/dist/esm/models/GetBillingUsage200Response.js +4 -1
  180. package/dist/esm/models/GetBillingUsage200ResponseAddOnsInner.d.ts +2 -1
  181. package/dist/esm/models/GetBillingUsage200ResponseAddOnsInner.js +3 -2
  182. package/dist/esm/models/GetBillingUsage200ResponseCurrentPeriod.d.ts +1 -1
  183. package/dist/esm/models/GetBillingUsage200ResponseCurrentPeriod.js +1 -1
  184. package/dist/esm/models/GetBillingUsage200ResponseLimits.d.ts +1 -1
  185. package/dist/esm/models/GetBillingUsage200ResponseLimits.js +1 -1
  186. package/dist/esm/models/GetBillingUsage200ResponseLimitsTeamMembers.d.ts +1 -1
  187. package/dist/esm/models/GetBillingUsage200ResponseLimitsTeamMembers.js +1 -1
  188. package/dist/esm/models/GetBillingUsage200ResponseShipments.d.ts +1 -1
  189. package/dist/esm/models/GetBillingUsage200ResponseShipments.js +1 -1
  190. package/dist/esm/models/GetBillingUsage200ResponseZippyMessages.d.ts +38 -0
  191. package/dist/esm/models/GetBillingUsage200ResponseZippyMessages.js +47 -0
  192. package/dist/esm/models/GetOrder200Response.d.ts +1 -1
  193. package/dist/esm/models/GetOrder200Response.js +1 -1
  194. package/dist/esm/models/GetOrder200ResponseShipmentsInner.d.ts +1 -1
  195. package/dist/esm/models/GetOrder200ResponseShipmentsInner.js +1 -1
  196. package/dist/esm/models/GetOrder200ResponseShippingRule.d.ts +1 -1
  197. package/dist/esm/models/GetOrder200ResponseShippingRule.js +1 -1
  198. package/dist/esm/models/GetOrg200Response.d.ts +1 -1
  199. package/dist/esm/models/GetOrg200Response.js +1 -1
  200. package/dist/esm/models/GetOrg200ResponseCount.d.ts +1 -1
  201. package/dist/esm/models/GetOrg200ResponseCount.js +1 -1
  202. package/dist/esm/models/GetOrgBranding200Response.d.ts +1 -1
  203. package/dist/esm/models/GetOrgBranding200Response.js +1 -1
  204. package/dist/esm/models/HealthCheck200Response.d.ts +1 -1
  205. package/dist/esm/models/HealthCheck200Response.js +1 -1
  206. package/dist/esm/models/ListAddresses200Response.d.ts +1 -1
  207. package/dist/esm/models/ListAddresses200Response.js +1 -1
  208. package/dist/esm/models/ListAddresses200ResponseDataInner.d.ts +7 -1
  209. package/dist/esm/models/ListAddresses200ResponseDataInner.js +5 -1
  210. package/dist/esm/models/ListApiTokens200Response.d.ts +1 -1
  211. package/dist/esm/models/ListApiTokens200Response.js +1 -1
  212. package/dist/esm/models/ListApiTokens200ResponseDataInner.d.ts +1 -1
  213. package/dist/esm/models/ListApiTokens200ResponseDataInner.js +1 -1
  214. package/dist/esm/models/ListApiTokens200ResponseDataInnerCreatedBy.d.ts +1 -1
  215. package/dist/esm/models/ListApiTokens200ResponseDataInnerCreatedBy.js +1 -1
  216. package/dist/esm/models/ListApiTokens401Response.d.ts +7 -1
  217. package/dist/esm/models/ListApiTokens401Response.js +8 -2
  218. package/dist/esm/models/ListAvailableCarriers200ResponseInner.d.ts +1 -1
  219. package/dist/esm/models/ListAvailableCarriers200ResponseInner.js +1 -1
  220. package/dist/esm/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.d.ts +1 -1
  221. package/dist/esm/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.js +1 -1
  222. package/dist/esm/models/ListCarrierProductServicePoints200ResponseInner.d.ts +1 -1
  223. package/dist/esm/models/ListCarrierProductServicePoints200ResponseInner.js +1 -1
  224. package/dist/esm/models/ListCarrierProductServicePoints200ResponseInnerAddress.d.ts +1 -1
  225. package/dist/esm/models/ListCarrierProductServicePoints200ResponseInnerAddress.js +1 -1
  226. package/dist/esm/models/ListCarrierProductServicePointsRequest.d.ts +1 -1
  227. package/dist/esm/models/ListCarrierProductServicePointsRequest.js +1 -1
  228. package/dist/esm/models/ListCarrierProducts200ResponseInner.d.ts +1 -1
  229. package/dist/esm/models/ListCarrierProducts200ResponseInner.js +1 -1
  230. package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.d.ts +1 -1
  231. package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.js +1 -1
  232. package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.d.ts +1 -1
  233. package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.js +1 -1
  234. package/dist/esm/models/ListCarrierProducts200ResponseInnerServicesInner.d.ts +1 -1
  235. package/dist/esm/models/ListCarrierProducts200ResponseInnerServicesInner.js +1 -1
  236. package/dist/esm/models/ListCarrierProducts200ResponseInnerWeightLimits.d.ts +1 -1
  237. package/dist/esm/models/ListCarrierProducts200ResponseInnerWeightLimits.js +1 -1
  238. package/dist/esm/models/ListCarriers200Response.d.ts +1 -1
  239. package/dist/esm/models/ListCarriers200Response.js +1 -1
  240. package/dist/esm/models/ListCarriers200ResponseDataInner.d.ts +7 -1
  241. package/dist/esm/models/ListCarriers200ResponseDataInner.js +5 -1
  242. package/dist/esm/models/ListCarriers200ResponseDataInnerConfigValue.d.ts +1 -1
  243. package/dist/esm/models/ListCarriers200ResponseDataInnerConfigValue.js +1 -1
  244. package/dist/esm/models/ListOrders200Response.d.ts +1 -1
  245. package/dist/esm/models/ListOrders200Response.js +1 -1
  246. package/dist/esm/models/ListOrders200ResponseDataInner.d.ts +1 -1
  247. package/dist/esm/models/ListOrders200ResponseDataInner.js +1 -1
  248. package/dist/esm/models/ListOrders200ResponseDataInnerOrderChannel.d.ts +1 -1
  249. package/dist/esm/models/ListOrders200ResponseDataInnerOrderChannel.js +1 -1
  250. package/dist/esm/models/ListOrgBrands200Response.d.ts +1 -1
  251. package/dist/esm/models/ListOrgBrands200Response.js +1 -1
  252. package/dist/esm/models/ListOrgBrands200ResponseDataInner.d.ts +1 -1
  253. package/dist/esm/models/ListOrgBrands200ResponseDataInner.js +1 -1
  254. package/dist/esm/models/ListOrgWebhookDeliveries200Response.d.ts +1 -1
  255. package/dist/esm/models/ListOrgWebhookDeliveries200Response.js +1 -1
  256. package/dist/esm/models/ListOrgWebhookDeliveries200ResponseDataInner.d.ts +1 -1
  257. package/dist/esm/models/ListOrgWebhookDeliveries200ResponseDataInner.js +1 -1
  258. package/dist/esm/models/ListOrgWebhooks200Response.d.ts +1 -1
  259. package/dist/esm/models/ListOrgWebhooks200Response.js +1 -1
  260. package/dist/esm/models/ListOrgWebhooks200ResponseDataInner.d.ts +7 -1
  261. package/dist/esm/models/ListOrgWebhooks200ResponseDataInner.js +5 -1
  262. package/dist/esm/models/ListShipments200Response.d.ts +1 -1
  263. package/dist/esm/models/ListShipments200Response.js +1 -1
  264. package/dist/esm/models/ListShipments200ResponseDataInner.d.ts +1 -1
  265. package/dist/esm/models/ListShipments200ResponseDataInner.js +1 -1
  266. package/dist/esm/models/ListShipments200ResponseDataInnerAddress.d.ts +7 -1
  267. package/dist/esm/models/ListShipments200ResponseDataInnerAddress.js +5 -1
  268. package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettings.d.ts +1 -1
  269. package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettings.js +1 -1
  270. package/dist/esm/models/ListShippingRules200Response.d.ts +1 -1
  271. package/dist/esm/models/ListShippingRules200Response.js +1 -1
  272. package/dist/esm/models/ListShippingRules200ResponseDataInner.d.ts +7 -1
  273. package/dist/esm/models/ListShippingRules200ResponseDataInner.js +5 -1
  274. package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersValue.d.ts +1 -1
  275. package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersValue.js +1 -1
  276. package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOf.d.ts +1 -1
  277. package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOf.js +1 -1
  278. package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOfCoordinatesInner.d.ts +1 -1
  279. package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOfCoordinatesInner.js +1 -1
  280. package/dist/esm/models/ListShippingRules200ResponseDataInnerCarrier.d.ts +7 -1
  281. package/dist/esm/models/ListShippingRules200ResponseDataInnerCarrier.js +5 -1
  282. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInner.d.ts +1 -1
  283. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInner.js +1 -1
  284. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.d.ts +1 -1
  285. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.js +1 -1
  286. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.d.ts +1 -1
  287. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.js +1 -1
  288. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.d.ts +1 -1
  289. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.js +1 -1
  290. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.d.ts +1 -1
  291. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.js +1 -1
  292. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.d.ts +1 -1
  293. package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.js +1 -1
  294. package/dist/esm/models/ListShippingRules200ResponseDataInnerLabelPrinter.d.ts +1 -1
  295. package/dist/esm/models/ListShippingRules200ResponseDataInnerLabelPrinter.js +1 -1
  296. package/dist/esm/models/ListShippingRules200ResponseDataInnerReturnShippingRule.d.ts +1 -1
  297. package/dist/esm/models/ListShippingRules200ResponseDataInnerReturnShippingRule.js +1 -1
  298. package/dist/esm/models/RevokeApiToken200Response.d.ts +1 -1
  299. package/dist/esm/models/RevokeApiToken200Response.js +1 -1
  300. package/dist/esm/models/SendShipment422Response.d.ts +7 -1
  301. package/dist/esm/models/SendShipment422Response.js +8 -2
  302. package/dist/esm/models/SendShipment422ResponseErrorsInner.d.ts +1 -1
  303. package/dist/esm/models/SendShipment422ResponseErrorsInner.js +1 -1
  304. package/dist/esm/models/SplitShipment201Response.d.ts +1 -1
  305. package/dist/esm/models/SplitShipment201Response.js +1 -1
  306. package/dist/esm/models/SplitShipmentParcel200Response.d.ts +1 -1
  307. package/dist/esm/models/SplitShipmentParcel200Response.js +1 -1
  308. package/dist/esm/models/SplitShipmentParcelRequest.d.ts +1 -1
  309. package/dist/esm/models/SplitShipmentParcelRequest.js +1 -1
  310. package/dist/esm/models/SplitShipmentParcelRequestParcelsInner.d.ts +1 -1
  311. package/dist/esm/models/SplitShipmentParcelRequestParcelsInner.js +1 -1
  312. package/dist/esm/models/SplitShipmentRequest.d.ts +1 -1
  313. package/dist/esm/models/SplitShipmentRequest.js +1 -1
  314. package/dist/esm/models/TestOrgWebhook200Response.d.ts +1 -1
  315. package/dist/esm/models/TestOrgWebhook200Response.js +1 -1
  316. package/dist/esm/models/TrackShipment200Response.d.ts +1 -1
  317. package/dist/esm/models/TrackShipment200Response.js +1 -1
  318. package/dist/esm/models/TrackShipment200ResponseEventsInner.d.ts +1 -1
  319. package/dist/esm/models/TrackShipment200ResponseEventsInner.js +1 -1
  320. package/dist/esm/models/UpdateAddressRequest.d.ts +7 -1
  321. package/dist/esm/models/UpdateAddressRequest.js +3 -1
  322. package/dist/esm/models/UpdateApiTokenRequest.d.ts +1 -1
  323. package/dist/esm/models/UpdateApiTokenRequest.js +1 -1
  324. package/dist/esm/models/UpdateCarrierRequest.d.ts +7 -1
  325. package/dist/esm/models/UpdateCarrierRequest.js +3 -1
  326. package/dist/esm/models/UpdateOrderRequest.d.ts +1 -1
  327. package/dist/esm/models/UpdateOrderRequest.js +1 -1
  328. package/dist/esm/models/UpdateOrg200Response.d.ts +1 -1
  329. package/dist/esm/models/UpdateOrg200Response.js +1 -1
  330. package/dist/esm/models/UpdateOrgBrandRequest.d.ts +1 -1
  331. package/dist/esm/models/UpdateOrgBrandRequest.js +1 -1
  332. package/dist/esm/models/UpdateOrgBrandingRequest.d.ts +1 -1
  333. package/dist/esm/models/UpdateOrgBrandingRequest.js +1 -1
  334. package/dist/esm/models/UpdateOrgRequest.d.ts +1 -1
  335. package/dist/esm/models/UpdateOrgRequest.js +1 -1
  336. package/dist/esm/models/UpdateOrgWebhookRequest.d.ts +7 -1
  337. package/dist/esm/models/UpdateOrgWebhookRequest.js +3 -1
  338. package/dist/esm/models/UpdateShipmentRequest.d.ts +1 -1
  339. package/dist/esm/models/UpdateShipmentRequest.js +1 -1
  340. package/dist/esm/models/UpdateShippingRuleRequest.d.ts +7 -1
  341. package/dist/esm/models/UpdateShippingRuleRequest.js +3 -1
  342. package/dist/esm/models/VerifyApiToken200Response.d.ts +1 -1
  343. package/dist/esm/models/VerifyApiToken200Response.js +1 -1
  344. package/dist/esm/models/VerifyApiTokenRequest.d.ts +1 -1
  345. package/dist/esm/models/VerifyApiTokenRequest.js +1 -1
  346. package/dist/esm/models/index.d.ts +1 -0
  347. package/dist/esm/models/index.js +1 -0
  348. package/dist/esm/runtime.d.ts +1 -1
  349. package/dist/esm/runtime.js +1 -1
  350. package/dist/models/BatchSendShipments200Response.d.ts +1 -1
  351. package/dist/models/BatchSendShipments200Response.js +1 -1
  352. package/dist/models/BatchSendShipments200ResponseResultsInner.d.ts +7 -1
  353. package/dist/models/BatchSendShipments200ResponseResultsInner.js +8 -2
  354. package/dist/models/BatchSendShipments200ResponseSummary.d.ts +1 -1
  355. package/dist/models/BatchSendShipments200ResponseSummary.js +1 -1
  356. package/dist/models/BatchSendShipmentsRequest.d.ts +1 -1
  357. package/dist/models/BatchSendShipmentsRequest.js +1 -1
  358. package/dist/models/BatchSplitShipment201Response.d.ts +1 -1
  359. package/dist/models/BatchSplitShipment201Response.js +1 -1
  360. package/dist/models/BatchSplitShipmentRequest.d.ts +1 -1
  361. package/dist/models/BatchSplitShipmentRequest.js +1 -1
  362. package/dist/models/BatchSplitShipmentRequestShipmentsInner.d.ts +1 -1
  363. package/dist/models/BatchSplitShipmentRequestShipmentsInner.js +1 -1
  364. package/dist/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.d.ts +1 -1
  365. package/dist/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.js +1 -1
  366. package/dist/models/CheckBrandSlug200Response.d.ts +1 -1
  367. package/dist/models/CheckBrandSlug200Response.js +1 -1
  368. package/dist/models/ConnectCarrierRequest.d.ts +7 -1
  369. package/dist/models/ConnectCarrierRequest.js +3 -1
  370. package/dist/models/CreateAddressRequest.d.ts +7 -1
  371. package/dist/models/CreateAddressRequest.js +3 -1
  372. package/dist/models/CreateApiToken201Response.d.ts +1 -1
  373. package/dist/models/CreateApiToken201Response.js +1 -1
  374. package/dist/models/CreateApiTokenRequest.d.ts +1 -1
  375. package/dist/models/CreateApiTokenRequest.js +1 -1
  376. package/dist/models/CreateOrder201Response.d.ts +1 -1
  377. package/dist/models/CreateOrder201Response.js +1 -1
  378. package/dist/models/CreateOrder201ResponseOrderLinesInner.d.ts +1 -1
  379. package/dist/models/CreateOrder201ResponseOrderLinesInner.js +1 -1
  380. package/dist/models/CreateOrder201ResponseShippingAddress.d.ts +1 -1
  381. package/dist/models/CreateOrder201ResponseShippingAddress.js +1 -1
  382. package/dist/models/CreateOrderRequest.d.ts +1 -1
  383. package/dist/models/CreateOrderRequest.js +1 -1
  384. package/dist/models/CreateOrderRequestOrderLinesInner.d.ts +1 -1
  385. package/dist/models/CreateOrderRequestOrderLinesInner.js +1 -1
  386. package/dist/models/CreateOrderRequestShippingAddress.d.ts +1 -1
  387. package/dist/models/CreateOrderRequestShippingAddress.js +1 -1
  388. package/dist/models/CreateOrgBrandRequest.d.ts +1 -1
  389. package/dist/models/CreateOrgBrandRequest.js +1 -1
  390. package/dist/models/CreateOrgWebhook201Response.d.ts +7 -1
  391. package/dist/models/CreateOrgWebhook201Response.js +5 -1
  392. package/dist/models/CreateOrgWebhookRequest.d.ts +7 -1
  393. package/dist/models/CreateOrgWebhookRequest.js +3 -1
  394. package/dist/models/CreateShipment201Response.d.ts +1 -1
  395. package/dist/models/CreateShipment201Response.js +1 -1
  396. package/dist/models/CreateShipment201ResponseActivitiesInner.d.ts +1 -1
  397. package/dist/models/CreateShipment201ResponseActivitiesInner.js +1 -1
  398. package/dist/models/CreateShipment201ResponseDocumentsInner.d.ts +1 -1
  399. package/dist/models/CreateShipment201ResponseDocumentsInner.js +1 -1
  400. package/dist/models/CreateShipment201ResponseErrorsInner.d.ts +1 -1
  401. package/dist/models/CreateShipment201ResponseErrorsInner.js +1 -1
  402. package/dist/models/CreateShipment201ResponseLogsInner.d.ts +1 -1
  403. package/dist/models/CreateShipment201ResponseLogsInner.js +1 -1
  404. package/dist/models/CreateShipment201ResponseParcelsInner.d.ts +1 -1
  405. package/dist/models/CreateShipment201ResponseParcelsInner.js +1 -1
  406. package/dist/models/CreateShipment201ResponseParcelsInnerDimensions.d.ts +1 -1
  407. package/dist/models/CreateShipment201ResponseParcelsInnerDimensions.js +1 -1
  408. package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +1 -1
  409. package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +1 -1
  410. package/dist/models/CreateShipment201ResponsePartiesInner.d.ts +1 -1
  411. package/dist/models/CreateShipment201ResponsePartiesInner.js +1 -1
  412. package/dist/models/CreateShipment201ResponsePartiesInnerAttributesInner.d.ts +1 -1
  413. package/dist/models/CreateShipment201ResponsePartiesInnerAttributesInner.js +1 -1
  414. package/dist/models/CreateShipment201ResponsePickupDetails.d.ts +1 -1
  415. package/dist/models/CreateShipment201ResponsePickupDetails.js +1 -1
  416. package/dist/models/CreateShipment201ResponseShippingRule.d.ts +1 -1
  417. package/dist/models/CreateShipment201ResponseShippingRule.js +1 -1
  418. package/dist/models/CreateShipment201ResponseTracking.d.ts +1 -1
  419. package/dist/models/CreateShipment201ResponseTracking.js +1 -1
  420. package/dist/models/CreateShipmentRequest.d.ts +1 -1
  421. package/dist/models/CreateShipmentRequest.js +1 -1
  422. package/dist/models/CreateShipmentRequestCarrierSettings.d.ts +1 -1
  423. package/dist/models/CreateShipmentRequestCarrierSettings.js +1 -1
  424. package/dist/models/CreateShipmentRequestParcelsInner.d.ts +1 -1
  425. package/dist/models/CreateShipmentRequestParcelsInner.js +1 -1
  426. package/dist/models/CreateShipmentRequestParcelsInnerDimensions.d.ts +1 -1
  427. package/dist/models/CreateShipmentRequestParcelsInnerDimensions.js +1 -1
  428. package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +1 -1
  429. package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +1 -1
  430. package/dist/models/CreateShipmentRequestPartiesInner.d.ts +1 -1
  431. package/dist/models/CreateShipmentRequestPartiesInner.js +1 -1
  432. package/dist/models/CreateShipmentRequestPartiesInnerAttributesInner.d.ts +1 -1
  433. package/dist/models/CreateShipmentRequestPartiesInnerAttributesInner.js +1 -1
  434. package/dist/models/CreateShipmentRequestPickupDetails.d.ts +1 -1
  435. package/dist/models/CreateShipmentRequestPickupDetails.js +1 -1
  436. package/dist/models/CreateShippingQuote200Response.d.ts +1 -1
  437. package/dist/models/CreateShippingQuote200Response.js +1 -1
  438. package/dist/models/CreateShippingQuote200ResponseRatesInner.d.ts +1 -1
  439. package/dist/models/CreateShippingQuote200ResponseRatesInner.js +1 -1
  440. package/dist/models/CreateShippingQuote400Response.d.ts +1 -1
  441. package/dist/models/CreateShippingQuote400Response.js +1 -1
  442. package/dist/models/CreateShippingQuote404Response.d.ts +1 -1
  443. package/dist/models/CreateShippingQuote404Response.js +1 -1
  444. package/dist/models/CreateShippingQuoteRequest.d.ts +1 -1
  445. package/dist/models/CreateShippingQuoteRequest.js +1 -1
  446. package/dist/models/CreateShippingQuoteRequestDestination.d.ts +1 -1
  447. package/dist/models/CreateShippingQuoteRequestDestination.js +1 -1
  448. package/dist/models/CreateShippingQuoteRequestItemsInner.d.ts +1 -1
  449. package/dist/models/CreateShippingQuoteRequestItemsInner.js +1 -1
  450. package/dist/models/CreateShippingRule201Response.d.ts +7 -1
  451. package/dist/models/CreateShippingRule201Response.js +5 -1
  452. package/dist/models/CreateShippingRuleRequest.d.ts +7 -1
  453. package/dist/models/CreateShippingRuleRequest.js +3 -1
  454. package/dist/models/CreateShippingRuleRequestAdditionalParametersValue.d.ts +1 -1
  455. package/dist/models/CreateShippingRuleRequestAdditionalParametersValue.js +1 -1
  456. package/dist/models/CreateShippingRuleRequestAdditionalParametersValueAnyOf.d.ts +1 -1
  457. package/dist/models/CreateShippingRuleRequestAdditionalParametersValueAnyOf.js +1 -1
  458. package/dist/models/CreateShippingRuleRequestConditionsInner.d.ts +1 -1
  459. package/dist/models/CreateShippingRuleRequestConditionsInner.js +1 -1
  460. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf.d.ts +1 -1
  461. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf.js +1 -1
  462. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf1.d.ts +1 -1
  463. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf1.js +1 -1
  464. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf2.d.ts +1 -1
  465. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf2.js +1 -1
  466. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf3.d.ts +1 -1
  467. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf3.js +1 -1
  468. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf4.d.ts +1 -1
  469. package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf4.js +1 -1
  470. package/dist/models/DeleteOrgWebhook200Response.d.ts +1 -1
  471. package/dist/models/DeleteOrgWebhook200Response.js +1 -1
  472. package/dist/models/DeleteShippingRule200Response.d.ts +1 -1
  473. package/dist/models/DeleteShippingRule200Response.js +1 -1
  474. package/dist/models/GetBillingUsage200Response.d.ts +8 -1
  475. package/dist/models/GetBillingUsage200Response.js +4 -1
  476. package/dist/models/GetBillingUsage200ResponseAddOnsInner.d.ts +2 -1
  477. package/dist/models/GetBillingUsage200ResponseAddOnsInner.js +3 -2
  478. package/dist/models/GetBillingUsage200ResponseCurrentPeriod.d.ts +1 -1
  479. package/dist/models/GetBillingUsage200ResponseCurrentPeriod.js +1 -1
  480. package/dist/models/GetBillingUsage200ResponseLimits.d.ts +1 -1
  481. package/dist/models/GetBillingUsage200ResponseLimits.js +1 -1
  482. package/dist/models/GetBillingUsage200ResponseLimitsTeamMembers.d.ts +1 -1
  483. package/dist/models/GetBillingUsage200ResponseLimitsTeamMembers.js +1 -1
  484. package/dist/models/GetBillingUsage200ResponseShipments.d.ts +1 -1
  485. package/dist/models/GetBillingUsage200ResponseShipments.js +1 -1
  486. package/dist/models/GetBillingUsage200ResponseZippyMessages.d.ts +38 -0
  487. package/dist/models/GetBillingUsage200ResponseZippyMessages.js +54 -0
  488. package/dist/models/GetOrder200Response.d.ts +1 -1
  489. package/dist/models/GetOrder200Response.js +1 -1
  490. package/dist/models/GetOrder200ResponseShipmentsInner.d.ts +1 -1
  491. package/dist/models/GetOrder200ResponseShipmentsInner.js +1 -1
  492. package/dist/models/GetOrder200ResponseShippingRule.d.ts +1 -1
  493. package/dist/models/GetOrder200ResponseShippingRule.js +1 -1
  494. package/dist/models/GetOrg200Response.d.ts +1 -1
  495. package/dist/models/GetOrg200Response.js +1 -1
  496. package/dist/models/GetOrg200ResponseCount.d.ts +1 -1
  497. package/dist/models/GetOrg200ResponseCount.js +1 -1
  498. package/dist/models/GetOrgBranding200Response.d.ts +1 -1
  499. package/dist/models/GetOrgBranding200Response.js +1 -1
  500. package/dist/models/HealthCheck200Response.d.ts +1 -1
  501. package/dist/models/HealthCheck200Response.js +1 -1
  502. package/dist/models/ListAddresses200Response.d.ts +1 -1
  503. package/dist/models/ListAddresses200Response.js +1 -1
  504. package/dist/models/ListAddresses200ResponseDataInner.d.ts +7 -1
  505. package/dist/models/ListAddresses200ResponseDataInner.js +5 -1
  506. package/dist/models/ListApiTokens200Response.d.ts +1 -1
  507. package/dist/models/ListApiTokens200Response.js +1 -1
  508. package/dist/models/ListApiTokens200ResponseDataInner.d.ts +1 -1
  509. package/dist/models/ListApiTokens200ResponseDataInner.js +1 -1
  510. package/dist/models/ListApiTokens200ResponseDataInnerCreatedBy.d.ts +1 -1
  511. package/dist/models/ListApiTokens200ResponseDataInnerCreatedBy.js +1 -1
  512. package/dist/models/ListApiTokens401Response.d.ts +7 -1
  513. package/dist/models/ListApiTokens401Response.js +8 -2
  514. package/dist/models/ListAvailableCarriers200ResponseInner.d.ts +1 -1
  515. package/dist/models/ListAvailableCarriers200ResponseInner.js +1 -1
  516. package/dist/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.d.ts +1 -1
  517. package/dist/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.js +1 -1
  518. package/dist/models/ListCarrierProductServicePoints200ResponseInner.d.ts +1 -1
  519. package/dist/models/ListCarrierProductServicePoints200ResponseInner.js +1 -1
  520. package/dist/models/ListCarrierProductServicePoints200ResponseInnerAddress.d.ts +1 -1
  521. package/dist/models/ListCarrierProductServicePoints200ResponseInnerAddress.js +1 -1
  522. package/dist/models/ListCarrierProductServicePointsRequest.d.ts +1 -1
  523. package/dist/models/ListCarrierProductServicePointsRequest.js +1 -1
  524. package/dist/models/ListCarrierProducts200ResponseInner.d.ts +1 -1
  525. package/dist/models/ListCarrierProducts200ResponseInner.js +1 -1
  526. package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.d.ts +1 -1
  527. package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.js +1 -1
  528. package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.d.ts +1 -1
  529. package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.js +1 -1
  530. package/dist/models/ListCarrierProducts200ResponseInnerServicesInner.d.ts +1 -1
  531. package/dist/models/ListCarrierProducts200ResponseInnerServicesInner.js +1 -1
  532. package/dist/models/ListCarrierProducts200ResponseInnerWeightLimits.d.ts +1 -1
  533. package/dist/models/ListCarrierProducts200ResponseInnerWeightLimits.js +1 -1
  534. package/dist/models/ListCarriers200Response.d.ts +1 -1
  535. package/dist/models/ListCarriers200Response.js +1 -1
  536. package/dist/models/ListCarriers200ResponseDataInner.d.ts +7 -1
  537. package/dist/models/ListCarriers200ResponseDataInner.js +5 -1
  538. package/dist/models/ListCarriers200ResponseDataInnerConfigValue.d.ts +1 -1
  539. package/dist/models/ListCarriers200ResponseDataInnerConfigValue.js +1 -1
  540. package/dist/models/ListOrders200Response.d.ts +1 -1
  541. package/dist/models/ListOrders200Response.js +1 -1
  542. package/dist/models/ListOrders200ResponseDataInner.d.ts +1 -1
  543. package/dist/models/ListOrders200ResponseDataInner.js +1 -1
  544. package/dist/models/ListOrders200ResponseDataInnerOrderChannel.d.ts +1 -1
  545. package/dist/models/ListOrders200ResponseDataInnerOrderChannel.js +1 -1
  546. package/dist/models/ListOrgBrands200Response.d.ts +1 -1
  547. package/dist/models/ListOrgBrands200Response.js +1 -1
  548. package/dist/models/ListOrgBrands200ResponseDataInner.d.ts +1 -1
  549. package/dist/models/ListOrgBrands200ResponseDataInner.js +1 -1
  550. package/dist/models/ListOrgWebhookDeliveries200Response.d.ts +1 -1
  551. package/dist/models/ListOrgWebhookDeliveries200Response.js +1 -1
  552. package/dist/models/ListOrgWebhookDeliveries200ResponseDataInner.d.ts +1 -1
  553. package/dist/models/ListOrgWebhookDeliveries200ResponseDataInner.js +1 -1
  554. package/dist/models/ListOrgWebhooks200Response.d.ts +1 -1
  555. package/dist/models/ListOrgWebhooks200Response.js +1 -1
  556. package/dist/models/ListOrgWebhooks200ResponseDataInner.d.ts +7 -1
  557. package/dist/models/ListOrgWebhooks200ResponseDataInner.js +5 -1
  558. package/dist/models/ListShipments200Response.d.ts +1 -1
  559. package/dist/models/ListShipments200Response.js +1 -1
  560. package/dist/models/ListShipments200ResponseDataInner.d.ts +1 -1
  561. package/dist/models/ListShipments200ResponseDataInner.js +1 -1
  562. package/dist/models/ListShipments200ResponseDataInnerAddress.d.ts +7 -1
  563. package/dist/models/ListShipments200ResponseDataInnerAddress.js +5 -1
  564. package/dist/models/ListShipments200ResponseDataInnerCarrierSettings.d.ts +1 -1
  565. package/dist/models/ListShipments200ResponseDataInnerCarrierSettings.js +1 -1
  566. package/dist/models/ListShippingRules200Response.d.ts +1 -1
  567. package/dist/models/ListShippingRules200Response.js +1 -1
  568. package/dist/models/ListShippingRules200ResponseDataInner.d.ts +7 -1
  569. package/dist/models/ListShippingRules200ResponseDataInner.js +5 -1
  570. package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersValue.d.ts +1 -1
  571. package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersValue.js +1 -1
  572. package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOf.d.ts +1 -1
  573. package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOf.js +1 -1
  574. package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOfCoordinatesInner.d.ts +1 -1
  575. package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOfCoordinatesInner.js +1 -1
  576. package/dist/models/ListShippingRules200ResponseDataInnerCarrier.d.ts +7 -1
  577. package/dist/models/ListShippingRules200ResponseDataInnerCarrier.js +5 -1
  578. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInner.d.ts +1 -1
  579. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInner.js +1 -1
  580. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.d.ts +1 -1
  581. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.js +1 -1
  582. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.d.ts +1 -1
  583. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.js +1 -1
  584. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.d.ts +1 -1
  585. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.js +1 -1
  586. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.d.ts +1 -1
  587. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.js +1 -1
  588. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.d.ts +1 -1
  589. package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.js +1 -1
  590. package/dist/models/ListShippingRules200ResponseDataInnerLabelPrinter.d.ts +1 -1
  591. package/dist/models/ListShippingRules200ResponseDataInnerLabelPrinter.js +1 -1
  592. package/dist/models/ListShippingRules200ResponseDataInnerReturnShippingRule.d.ts +1 -1
  593. package/dist/models/ListShippingRules200ResponseDataInnerReturnShippingRule.js +1 -1
  594. package/dist/models/RevokeApiToken200Response.d.ts +1 -1
  595. package/dist/models/RevokeApiToken200Response.js +1 -1
  596. package/dist/models/SendShipment422Response.d.ts +7 -1
  597. package/dist/models/SendShipment422Response.js +8 -2
  598. package/dist/models/SendShipment422ResponseErrorsInner.d.ts +1 -1
  599. package/dist/models/SendShipment422ResponseErrorsInner.js +1 -1
  600. package/dist/models/SplitShipment201Response.d.ts +1 -1
  601. package/dist/models/SplitShipment201Response.js +1 -1
  602. package/dist/models/SplitShipmentParcel200Response.d.ts +1 -1
  603. package/dist/models/SplitShipmentParcel200Response.js +1 -1
  604. package/dist/models/SplitShipmentParcelRequest.d.ts +1 -1
  605. package/dist/models/SplitShipmentParcelRequest.js +1 -1
  606. package/dist/models/SplitShipmentParcelRequestParcelsInner.d.ts +1 -1
  607. package/dist/models/SplitShipmentParcelRequestParcelsInner.js +1 -1
  608. package/dist/models/SplitShipmentRequest.d.ts +1 -1
  609. package/dist/models/SplitShipmentRequest.js +1 -1
  610. package/dist/models/TestOrgWebhook200Response.d.ts +1 -1
  611. package/dist/models/TestOrgWebhook200Response.js +1 -1
  612. package/dist/models/TrackShipment200Response.d.ts +1 -1
  613. package/dist/models/TrackShipment200Response.js +1 -1
  614. package/dist/models/TrackShipment200ResponseEventsInner.d.ts +1 -1
  615. package/dist/models/TrackShipment200ResponseEventsInner.js +1 -1
  616. package/dist/models/UpdateAddressRequest.d.ts +7 -1
  617. package/dist/models/UpdateAddressRequest.js +3 -1
  618. package/dist/models/UpdateApiTokenRequest.d.ts +1 -1
  619. package/dist/models/UpdateApiTokenRequest.js +1 -1
  620. package/dist/models/UpdateCarrierRequest.d.ts +7 -1
  621. package/dist/models/UpdateCarrierRequest.js +3 -1
  622. package/dist/models/UpdateOrderRequest.d.ts +1 -1
  623. package/dist/models/UpdateOrderRequest.js +1 -1
  624. package/dist/models/UpdateOrg200Response.d.ts +1 -1
  625. package/dist/models/UpdateOrg200Response.js +1 -1
  626. package/dist/models/UpdateOrgBrandRequest.d.ts +1 -1
  627. package/dist/models/UpdateOrgBrandRequest.js +1 -1
  628. package/dist/models/UpdateOrgBrandingRequest.d.ts +1 -1
  629. package/dist/models/UpdateOrgBrandingRequest.js +1 -1
  630. package/dist/models/UpdateOrgRequest.d.ts +1 -1
  631. package/dist/models/UpdateOrgRequest.js +1 -1
  632. package/dist/models/UpdateOrgWebhookRequest.d.ts +7 -1
  633. package/dist/models/UpdateOrgWebhookRequest.js +3 -1
  634. package/dist/models/UpdateShipmentRequest.d.ts +1 -1
  635. package/dist/models/UpdateShipmentRequest.js +1 -1
  636. package/dist/models/UpdateShippingRuleRequest.d.ts +7 -1
  637. package/dist/models/UpdateShippingRuleRequest.js +3 -1
  638. package/dist/models/VerifyApiToken200Response.d.ts +1 -1
  639. package/dist/models/VerifyApiToken200Response.js +1 -1
  640. package/dist/models/VerifyApiTokenRequest.d.ts +1 -1
  641. package/dist/models/VerifyApiTokenRequest.js +1 -1
  642. package/dist/models/index.d.ts +1 -0
  643. package/dist/models/index.js +1 -0
  644. package/dist/runtime.d.ts +1 -1
  645. package/dist/runtime.js +1 -1
  646. package/docs/AddressesApi.md +8 -1
  647. package/docs/CarriersApi.md +7 -1
  648. package/docs/ConnectCarrierRequest.md +2 -0
  649. package/docs/CreateAddressRequest.md +2 -0
  650. package/docs/CreateOrgWebhook201Response.md +2 -0
  651. package/docs/CreateOrgWebhookRequest.md +2 -0
  652. package/docs/CreateShippingRule201Response.md +2 -0
  653. package/docs/CreateShippingRuleRequest.md +2 -0
  654. package/docs/GetBillingUsage200Response.md +2 -0
  655. package/docs/GetBillingUsage200ResponseZippyMessages.md +37 -0
  656. package/docs/ListAddresses200ResponseDataInner.md +2 -0
  657. package/docs/ListCarriers200ResponseDataInner.md +2 -0
  658. package/docs/ListOrgWebhooks200ResponseDataInner.md +2 -0
  659. package/docs/ListShipments200ResponseDataInnerAddress.md +2 -0
  660. package/docs/ListShippingRules200ResponseDataInner.md +2 -0
  661. package/docs/ListShippingRules200ResponseDataInnerCarrier.md +2 -0
  662. package/docs/OrdersApi.md +4 -1
  663. package/docs/RulesApi.md +8 -1
  664. package/docs/ShipmentsApi.md +4 -1
  665. package/docs/UpdateAddressRequest.md +2 -0
  666. package/docs/UpdateCarrierRequest.md +2 -0
  667. package/docs/UpdateOrgWebhookRequest.md +2 -0
  668. package/docs/UpdateShippingRuleRequest.md +2 -0
  669. package/docs/WebhooksApi.md +8 -1
  670. package/package.json +1 -1
  671. package/src/apis/AddressesApi.ts +20 -1
  672. package/src/apis/BillingApi.ts +1 -1
  673. package/src/apis/BrandsApi.ts +1 -1
  674. package/src/apis/CarrierCatalogApi.ts +1 -1
  675. package/src/apis/CarriersApi.ts +21 -1
  676. package/src/apis/OrdersApi.ts +15 -1
  677. package/src/apis/OrgsApi.ts +1 -1
  678. package/src/apis/QuotesApi.ts +1 -1
  679. package/src/apis/RulesApi.ts +21 -1
  680. package/src/apis/ShipmentsApi.ts +15 -1
  681. package/src/apis/SystemApi.ts +1 -1
  682. package/src/apis/TokensApi.ts +1 -1
  683. package/src/apis/WebhooksApi.ts +21 -1
  684. package/src/models/BatchSendShipments200Response.ts +1 -1
  685. package/src/models/BatchSendShipments200ResponseResultsInner.ts +8 -2
  686. package/src/models/BatchSendShipments200ResponseSummary.ts +1 -1
  687. package/src/models/BatchSendShipmentsRequest.ts +1 -1
  688. package/src/models/BatchSplitShipment201Response.ts +1 -1
  689. package/src/models/BatchSplitShipmentRequest.ts +1 -1
  690. package/src/models/BatchSplitShipmentRequestShipmentsInner.ts +1 -1
  691. package/src/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.ts +1 -1
  692. package/src/models/CheckBrandSlug200Response.ts +1 -1
  693. package/src/models/ConnectCarrierRequest.ts +9 -1
  694. package/src/models/CreateAddressRequest.ts +9 -1
  695. package/src/models/CreateApiToken201Response.ts +1 -1
  696. package/src/models/CreateApiTokenRequest.ts +1 -1
  697. package/src/models/CreateOrder201Response.ts +1 -1
  698. package/src/models/CreateOrder201ResponseOrderLinesInner.ts +1 -1
  699. package/src/models/CreateOrder201ResponseShippingAddress.ts +1 -1
  700. package/src/models/CreateOrderRequest.ts +1 -1
  701. package/src/models/CreateOrderRequestOrderLinesInner.ts +1 -1
  702. package/src/models/CreateOrderRequestShippingAddress.ts +1 -1
  703. package/src/models/CreateOrgBrandRequest.ts +1 -1
  704. package/src/models/CreateOrgWebhook201Response.ts +10 -1
  705. package/src/models/CreateOrgWebhookRequest.ts +9 -1
  706. package/src/models/CreateShipment201Response.ts +1 -1
  707. package/src/models/CreateShipment201ResponseActivitiesInner.ts +1 -1
  708. package/src/models/CreateShipment201ResponseDocumentsInner.ts +1 -1
  709. package/src/models/CreateShipment201ResponseErrorsInner.ts +1 -1
  710. package/src/models/CreateShipment201ResponseLogsInner.ts +1 -1
  711. package/src/models/CreateShipment201ResponseParcelsInner.ts +1 -1
  712. package/src/models/CreateShipment201ResponseParcelsInnerDimensions.ts +1 -1
  713. package/src/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.ts +1 -1
  714. package/src/models/CreateShipment201ResponsePartiesInner.ts +1 -1
  715. package/src/models/CreateShipment201ResponsePartiesInnerAttributesInner.ts +1 -1
  716. package/src/models/CreateShipment201ResponsePickupDetails.ts +1 -1
  717. package/src/models/CreateShipment201ResponseShippingRule.ts +1 -1
  718. package/src/models/CreateShipment201ResponseTracking.ts +1 -1
  719. package/src/models/CreateShipmentRequest.ts +1 -1
  720. package/src/models/CreateShipmentRequestCarrierSettings.ts +1 -1
  721. package/src/models/CreateShipmentRequestParcelsInner.ts +1 -1
  722. package/src/models/CreateShipmentRequestParcelsInnerDimensions.ts +1 -1
  723. package/src/models/CreateShipmentRequestParcelsInnerOrderLinesInner.ts +1 -1
  724. package/src/models/CreateShipmentRequestPartiesInner.ts +1 -1
  725. package/src/models/CreateShipmentRequestPartiesInnerAttributesInner.ts +1 -1
  726. package/src/models/CreateShipmentRequestPickupDetails.ts +1 -1
  727. package/src/models/CreateShippingQuote200Response.ts +1 -1
  728. package/src/models/CreateShippingQuote200ResponseRatesInner.ts +1 -1
  729. package/src/models/CreateShippingQuote400Response.ts +1 -1
  730. package/src/models/CreateShippingQuote404Response.ts +1 -1
  731. package/src/models/CreateShippingQuoteRequest.ts +1 -1
  732. package/src/models/CreateShippingQuoteRequestDestination.ts +1 -1
  733. package/src/models/CreateShippingQuoteRequestItemsInner.ts +1 -1
  734. package/src/models/CreateShippingRule201Response.ts +10 -1
  735. package/src/models/CreateShippingRuleRequest.ts +9 -1
  736. package/src/models/CreateShippingRuleRequestAdditionalParametersValue.ts +1 -1
  737. package/src/models/CreateShippingRuleRequestAdditionalParametersValueAnyOf.ts +1 -1
  738. package/src/models/CreateShippingRuleRequestConditionsInner.ts +1 -1
  739. package/src/models/CreateShippingRuleRequestConditionsInnerOneOf.ts +1 -1
  740. package/src/models/CreateShippingRuleRequestConditionsInnerOneOf1.ts +1 -1
  741. package/src/models/CreateShippingRuleRequestConditionsInnerOneOf2.ts +1 -1
  742. package/src/models/CreateShippingRuleRequestConditionsInnerOneOf3.ts +1 -1
  743. package/src/models/CreateShippingRuleRequestConditionsInnerOneOf4.ts +1 -1
  744. package/src/models/DeleteOrgWebhook200Response.ts +1 -1
  745. package/src/models/DeleteShippingRule200Response.ts +1 -1
  746. package/src/models/GetBillingUsage200Response.ts +16 -1
  747. package/src/models/GetBillingUsage200ResponseAddOnsInner.ts +3 -2
  748. package/src/models/GetBillingUsage200ResponseCurrentPeriod.ts +1 -1
  749. package/src/models/GetBillingUsage200ResponseLimits.ts +1 -1
  750. package/src/models/GetBillingUsage200ResponseLimitsTeamMembers.ts +1 -1
  751. package/src/models/GetBillingUsage200ResponseShipments.ts +1 -1
  752. package/src/models/GetBillingUsage200ResponseZippyMessages.ts +75 -0
  753. package/src/models/GetOrder200Response.ts +1 -1
  754. package/src/models/GetOrder200ResponseShipmentsInner.ts +1 -1
  755. package/src/models/GetOrder200ResponseShippingRule.ts +1 -1
  756. package/src/models/GetOrg200Response.ts +1 -1
  757. package/src/models/GetOrg200ResponseCount.ts +1 -1
  758. package/src/models/GetOrgBranding200Response.ts +1 -1
  759. package/src/models/HealthCheck200Response.ts +1 -1
  760. package/src/models/ListAddresses200Response.ts +1 -1
  761. package/src/models/ListAddresses200ResponseDataInner.ts +10 -1
  762. package/src/models/ListApiTokens200Response.ts +1 -1
  763. package/src/models/ListApiTokens200ResponseDataInner.ts +1 -1
  764. package/src/models/ListApiTokens200ResponseDataInnerCreatedBy.ts +1 -1
  765. package/src/models/ListApiTokens401Response.ts +8 -2
  766. package/src/models/ListAvailableCarriers200ResponseInner.ts +1 -1
  767. package/src/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.ts +1 -1
  768. package/src/models/ListCarrierProductServicePoints200ResponseInner.ts +1 -1
  769. package/src/models/ListCarrierProductServicePoints200ResponseInnerAddress.ts +1 -1
  770. package/src/models/ListCarrierProductServicePointsRequest.ts +1 -1
  771. package/src/models/ListCarrierProducts200ResponseInner.ts +1 -1
  772. package/src/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.ts +1 -1
  773. package/src/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.ts +1 -1
  774. package/src/models/ListCarrierProducts200ResponseInnerServicesInner.ts +1 -1
  775. package/src/models/ListCarrierProducts200ResponseInnerWeightLimits.ts +1 -1
  776. package/src/models/ListCarriers200Response.ts +1 -1
  777. package/src/models/ListCarriers200ResponseDataInner.ts +10 -1
  778. package/src/models/ListCarriers200ResponseDataInnerConfigValue.ts +1 -1
  779. package/src/models/ListOrders200Response.ts +1 -1
  780. package/src/models/ListOrders200ResponseDataInner.ts +1 -1
  781. package/src/models/ListOrders200ResponseDataInnerOrderChannel.ts +1 -1
  782. package/src/models/ListOrgBrands200Response.ts +1 -1
  783. package/src/models/ListOrgBrands200ResponseDataInner.ts +1 -1
  784. package/src/models/ListOrgWebhookDeliveries200Response.ts +1 -1
  785. package/src/models/ListOrgWebhookDeliveries200ResponseDataInner.ts +1 -1
  786. package/src/models/ListOrgWebhooks200Response.ts +1 -1
  787. package/src/models/ListOrgWebhooks200ResponseDataInner.ts +10 -1
  788. package/src/models/ListShipments200Response.ts +1 -1
  789. package/src/models/ListShipments200ResponseDataInner.ts +1 -1
  790. package/src/models/ListShipments200ResponseDataInnerAddress.ts +10 -1
  791. package/src/models/ListShipments200ResponseDataInnerCarrierSettings.ts +1 -1
  792. package/src/models/ListShippingRules200Response.ts +1 -1
  793. package/src/models/ListShippingRules200ResponseDataInner.ts +10 -1
  794. package/src/models/ListShippingRules200ResponseDataInnerAdditionalParametersValue.ts +1 -1
  795. package/src/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOf.ts +1 -1
  796. package/src/models/ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOfCoordinatesInner.ts +1 -1
  797. package/src/models/ListShippingRules200ResponseDataInnerCarrier.ts +10 -1
  798. package/src/models/ListShippingRules200ResponseDataInnerConditionsInner.ts +1 -1
  799. package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.ts +1 -1
  800. package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.ts +1 -1
  801. package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.ts +1 -1
  802. package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.ts +1 -1
  803. package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.ts +1 -1
  804. package/src/models/ListShippingRules200ResponseDataInnerLabelPrinter.ts +1 -1
  805. package/src/models/ListShippingRules200ResponseDataInnerReturnShippingRule.ts +1 -1
  806. package/src/models/RevokeApiToken200Response.ts +1 -1
  807. package/src/models/SendShipment422Response.ts +8 -2
  808. package/src/models/SendShipment422ResponseErrorsInner.ts +1 -1
  809. package/src/models/SplitShipment201Response.ts +1 -1
  810. package/src/models/SplitShipmentParcel200Response.ts +1 -1
  811. package/src/models/SplitShipmentParcelRequest.ts +1 -1
  812. package/src/models/SplitShipmentParcelRequestParcelsInner.ts +1 -1
  813. package/src/models/SplitShipmentRequest.ts +1 -1
  814. package/src/models/TestOrgWebhook200Response.ts +1 -1
  815. package/src/models/TrackShipment200Response.ts +1 -1
  816. package/src/models/TrackShipment200ResponseEventsInner.ts +1 -1
  817. package/src/models/UpdateAddressRequest.ts +9 -1
  818. package/src/models/UpdateApiTokenRequest.ts +1 -1
  819. package/src/models/UpdateCarrierRequest.ts +9 -1
  820. package/src/models/UpdateOrderRequest.ts +1 -1
  821. package/src/models/UpdateOrg200Response.ts +1 -1
  822. package/src/models/UpdateOrgBrandRequest.ts +1 -1
  823. package/src/models/UpdateOrgBrandingRequest.ts +1 -1
  824. package/src/models/UpdateOrgRequest.ts +1 -1
  825. package/src/models/UpdateOrgWebhookRequest.ts +9 -1
  826. package/src/models/UpdateShipmentRequest.ts +1 -1
  827. package/src/models/UpdateShippingRuleRequest.ts +9 -1
  828. package/src/models/VerifyApiToken200Response.ts +1 -1
  829. package/src/models/VerifyApiTokenRequest.ts +1 -1
  830. package/src/models/index.ts +1 -0
  831. package/src/runtime.ts +1 -1
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { GetBillingUsage200ResponseZippyMessages } from './GetBillingUsage200ResponseZippyMessages';
17
+ import {
18
+ GetBillingUsage200ResponseZippyMessagesFromJSON,
19
+ GetBillingUsage200ResponseZippyMessagesFromJSONTyped,
20
+ GetBillingUsage200ResponseZippyMessagesToJSON,
21
+ GetBillingUsage200ResponseZippyMessagesToJSONTyped,
22
+ } from './GetBillingUsage200ResponseZippyMessages';
16
23
  import type { GetBillingUsage200ResponseAddOnsInner } from './GetBillingUsage200ResponseAddOnsInner';
17
24
  import {
18
25
  GetBillingUsage200ResponseAddOnsInnerFromJSON,
@@ -72,6 +79,12 @@ export interface GetBillingUsage200Response {
72
79
  * @memberof GetBillingUsage200Response
73
80
  */
74
81
  addOns: Array<GetBillingUsage200ResponseAddOnsInner>;
82
+ /**
83
+ *
84
+ * @type {GetBillingUsage200ResponseZippyMessages}
85
+ * @memberof GetBillingUsage200Response
86
+ */
87
+ zippyMessages?: GetBillingUsage200ResponseZippyMessages;
75
88
  }
76
89
 
77
90
  /**
@@ -99,6 +112,7 @@ export function GetBillingUsage200ResponseFromJSONTyped(json: any, ignoreDiscrim
99
112
  'shipments': GetBillingUsage200ResponseShipmentsFromJSON(json['shipments']),
100
113
  'limits': GetBillingUsage200ResponseLimitsFromJSON(json['limits']),
101
114
  'addOns': ((json['addOns'] as Array<any>).map(GetBillingUsage200ResponseAddOnsInnerFromJSON)),
115
+ 'zippyMessages': json['zippyMessages'] == null ? undefined : GetBillingUsage200ResponseZippyMessagesFromJSON(json['zippyMessages']),
102
116
  };
103
117
  }
104
118
 
@@ -117,6 +131,7 @@ export function GetBillingUsage200ResponseToJSONTyped(value?: GetBillingUsage200
117
131
  'shipments': GetBillingUsage200ResponseShipmentsToJSON(value['shipments']),
118
132
  'limits': GetBillingUsage200ResponseLimitsToJSON(value['limits']),
119
133
  'addOns': ((value['addOns'] as Array<any>).map(GetBillingUsage200ResponseAddOnsInnerToJSON)),
134
+ 'zippyMessages': GetBillingUsage200ResponseZippyMessagesToJSON(value['zippyMessages']),
120
135
  };
121
136
  }
122
137
 
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -51,7 +51,8 @@ export interface GetBillingUsage200ResponseAddOnsInner {
51
51
  */
52
52
  export const GetBillingUsage200ResponseAddOnsInnerTypeEnum = {
53
53
  ExtraCarrier: 'extra_carrier',
54
- ExtraChannel: 'extra_channel'
54
+ ExtraChannel: 'extra_channel',
55
+ Zippy: 'zippy'
55
56
  } as const;
56
57
  export type GetBillingUsage200ResponseAddOnsInnerTypeEnum = typeof GetBillingUsage200ResponseAddOnsInnerTypeEnum[keyof typeof GetBillingUsage200ResponseAddOnsInnerTypeEnum];
57
58
 
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Zippendo Public API
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@zippendo.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * Zippy AI message usage this period (present when Zippy access is enabled)
18
+ * @export
19
+ * @interface GetBillingUsage200ResponseZippyMessages
20
+ */
21
+ export interface GetBillingUsage200ResponseZippyMessages {
22
+ /**
23
+ * Zippy messages used this period
24
+ * @type {number}
25
+ * @memberof GetBillingUsage200ResponseZippyMessages
26
+ */
27
+ used: number;
28
+ /**
29
+ * Zippy message charges so far, in øre
30
+ * @type {number}
31
+ * @memberof GetBillingUsage200ResponseZippyMessages
32
+ */
33
+ charges: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the GetBillingUsage200ResponseZippyMessages interface.
38
+ */
39
+ export function instanceOfGetBillingUsage200ResponseZippyMessages(value: object): value is GetBillingUsage200ResponseZippyMessages {
40
+ if (!('used' in value) || value['used'] === undefined) return false;
41
+ if (!('charges' in value) || value['charges'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function GetBillingUsage200ResponseZippyMessagesFromJSON(json: any): GetBillingUsage200ResponseZippyMessages {
46
+ return GetBillingUsage200ResponseZippyMessagesFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function GetBillingUsage200ResponseZippyMessagesFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBillingUsage200ResponseZippyMessages {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'used': json['used'],
56
+ 'charges': json['charges'],
57
+ };
58
+ }
59
+
60
+ export function GetBillingUsage200ResponseZippyMessagesToJSON(json: any): GetBillingUsage200ResponseZippyMessages {
61
+ return GetBillingUsage200ResponseZippyMessagesToJSONTyped(json, false);
62
+ }
63
+
64
+ export function GetBillingUsage200ResponseZippyMessagesToJSONTyped(value?: GetBillingUsage200ResponseZippyMessages | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'used': value['used'],
72
+ 'charges': value['charges'],
73
+ };
74
+ }
75
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Zippendo Public API
5
- * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
5
+ * Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. List endpoints additionally take a `?brandScope=own|shared|both` parameter to narrow further within whichever brand context already applies. `own` returns only rows assigned to that brand, and requires a brand context — a brand-bound token, a resolved brand session, or the `X-Zippendo-Brand` header above — otherwise `400`. `shared` returns only the organization-wide rows (equivalent to filtering `brandId=none`). The default, `both`, keeps the existing behaviour: a brand context sees its own rows plus the organization-wide ones. Set `X-Zippendo-Brand-Scope` as a client default to apply the same choice to every request instead of repeating the query parameter on each call — an explicit `brandScope` query parameter always wins over the header, and a blank header value is ignored. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0
8
8
  * Contact: support@zippendo.com
@@ -103,6 +103,12 @@ export interface ListAddresses200ResponseDataInner {
103
103
  * @memberof ListAddresses200ResponseDataInner
104
104
  */
105
105
  orgId: string;
106
+ /**
107
+ * Brand this record belongs to, or null when it is organization-wide
108
+ * @type {string}
109
+ * @memberof ListAddresses200ResponseDataInner
110
+ */
111
+ brandId: string | null;
106
112
  /**
107
113
  * Creation timestamp (ISO 8601)
108
114
  * @type {string}
@@ -146,6 +152,7 @@ export function instanceOfListAddresses200ResponseDataInner(value: object): valu
146
152
  if (!('email' in value) || value['email'] === undefined) return false;
147
153
  if (!('addressTypes' in value) || value['addressTypes'] === undefined) return false;
148
154
  if (!('orgId' in value) || value['orgId'] === undefined) return false;
155
+ if (!('brandId' in value) || value['brandId'] === undefined) return false;
149
156
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
150
157
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
151
158
  return true;
@@ -175,6 +182,7 @@ export function ListAddresses200ResponseDataInnerFromJSONTyped(json: any, ignore
175
182
  'customs': json['customs'] === undefined ? undefined : json['customs'] === null ? null : json['customs'],
176
183
  'addressTypes': json['addressTypes'],
177
184
  'orgId': json['orgId'],
185
+ 'brandId': json['brandId'],
178
186
  'createdAt': json['createdAt'],
179
187
  'updatedAt': json['updatedAt'],
180
188
  };
@@ -205,6 +213,7 @@ export function ListAddresses200ResponseDataInnerToJSONTyped(value?: ListAddress
205
213
  'customs': value['customs'],
206
214
  'addressTypes': value['addressTypes'],
207
215
  'orgId': value['orgId'],
216
+ 'brandId': value['brandId'],
208
217
  'createdAt': value['createdAt'],
209
218
  'updatedAt': value['updatedAt'],
210
219
  };