@51eat/sdk 0.0.79 → 2.0.0

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 (1259) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +3 -0
  4. package/dist/cjs/Client.js +9 -4
  5. package/dist/cjs/api/resources/business/client/Client.d.ts +3 -9
  6. package/dist/cjs/api/resources/business/client/Client.js +29 -39
  7. package/dist/cjs/api/resources/business/resources/auth/client/Client.d.ts +1 -2
  8. package/dist/cjs/api/resources/business/resources/auth/client/Client.js +4 -8
  9. package/dist/cjs/api/resources/business/resources/auth/client/requests/index.d.ts +0 -1
  10. package/dist/cjs/api/resources/business/resources/businesses/client/Client.d.ts +10 -1
  11. package/dist/cjs/api/resources/business/resources/businesses/client/Client.js +12 -1
  12. package/dist/cjs/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.ts +2 -4
  13. package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +1 -0
  14. package/dist/cjs/api/resources/business/resources/claims/client/Client.d.ts +4 -0
  15. package/dist/cjs/api/resources/business/resources/claims/client/Client.js +12 -0
  16. package/dist/cjs/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.ts +2 -2
  17. package/dist/cjs/api/resources/business/resources/commerce/client/Client.d.ts +18 -0
  18. package/dist/cjs/api/resources/business/resources/commerce/client/Client.js +26 -0
  19. package/dist/cjs/api/resources/business/resources/commerce/exports.d.ts +3 -0
  20. package/dist/cjs/api/resources/business/resources/commerce/exports.js +22 -0
  21. package/dist/cjs/api/resources/business/resources/commerce/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/business/resources/commerce/index.js +18 -0
  23. package/dist/cjs/api/resources/business/resources/commerce/resources/index.d.ts +8 -0
  24. package/dist/cjs/api/resources/business/resources/commerce/resources/index.js +47 -0
  25. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.d.ts +28 -0
  26. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.js +114 -0
  27. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/exports.d.ts +2 -0
  28. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/exports.js +21 -0
  29. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.ts +4 -0
  30. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.d.ts +1 -0
  31. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.js +17 -0
  32. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/Client.d.ts +186 -0
  33. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/Client.js +619 -0
  34. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.d.ts +29 -0
  35. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.js +12 -0
  36. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.ts +10 -0
  37. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.d.ts +13 -0
  38. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.ts +15 -0
  39. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.d.ts +13 -0
  40. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/MarkReadyOrdersRequest.d.ts +13 -0
  41. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/PickUpOrderRequest.d.ts +18 -0
  42. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.d.ts +45 -0
  43. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.js +16 -0
  44. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/index.d.ts +8 -0
  45. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/index.js +7 -0
  46. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/exports.d.ts +2 -0
  47. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/exports.js +21 -0
  48. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/CancelOrdersResponse.d.ts +4 -0
  49. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/GetOrdersResponse.d.ts +4 -0
  50. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/KeepPaymentOrdersResponse.d.ts +4 -0
  51. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.d.ts +7 -0
  52. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.js +10 -0
  53. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersResponse.d.ts +39 -0
  54. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.d.ts +4 -0
  55. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.d.ts +4 -0
  56. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.d.ts +4 -0
  57. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/RefundOrdersResponse.d.ts +4 -0
  58. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/index.d.ts +9 -0
  59. package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/index.js +25 -0
  60. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/Client.d.ts +56 -0
  61. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/Client.js +214 -0
  62. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.d.ts +19 -0
  63. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/ListStockRequest.d.ts +12 -0
  64. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/index.d.ts +2 -0
  65. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/exports.d.ts +2 -0
  66. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/exports.js +21 -0
  67. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/AdjustStockResponse.d.ts +4 -0
  68. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/ListStockResponse.d.ts +39 -0
  69. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/index.d.ts +2 -0
  70. package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/index.js +18 -0
  71. package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +4 -1
  72. package/dist/cjs/api/resources/business/resources/events/client/Client.js +4 -1
  73. package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.d.ts +0 -1
  74. package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.ts +0 -1
  75. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +1 -1
  76. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +1 -1
  77. package/dist/cjs/api/resources/business/resources/index.d.ts +1 -8
  78. package/dist/cjs/api/resources/business/resources/index.js +2 -9
  79. package/dist/cjs/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts +2 -2
  80. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.d.ts +1 -1
  81. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.js +1 -1
  82. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +2 -4
  83. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts +3 -6
  84. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.d.ts +0 -1
  85. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.js +0 -3
  86. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +2 -4
  87. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +15 -4
  88. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +13 -2
  89. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.ts +12 -0
  90. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.ts +16 -0
  91. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.d.ts +2 -2
  92. package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/Client.d.ts +6 -2
  93. package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/Client.js +6 -2
  94. package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.d.ts +48 -7
  95. package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.js +98 -7
  96. package/dist/cjs/api/resources/business/resources/stripeConnect/types/ConnectStripeConnectResponse.d.ts +12 -0
  97. package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.d.ts +1 -0
  98. package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.js +1 -0
  99. package/dist/cjs/api/resources/commerce/client/Client.d.ts +18 -0
  100. package/dist/cjs/api/resources/commerce/client/Client.js +26 -0
  101. package/dist/cjs/api/resources/commerce/exports.d.ts +3 -0
  102. package/dist/cjs/api/resources/commerce/exports.js +22 -0
  103. package/dist/cjs/api/resources/commerce/index.d.ts +2 -0
  104. package/dist/cjs/api/resources/commerce/index.js +18 -0
  105. package/dist/cjs/api/resources/commerce/resources/carts/client/Client.d.ts +99 -0
  106. package/dist/cjs/api/resources/commerce/resources/carts/client/Client.js +327 -0
  107. package/dist/cjs/api/resources/commerce/resources/carts/client/requests/GetCurrentCartsRequest.d.ts +10 -0
  108. package/dist/cjs/api/resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.d.ts +14 -0
  109. package/dist/cjs/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.d.ts +23 -0
  110. package/dist/cjs/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.js +12 -0
  111. package/dist/cjs/api/resources/commerce/resources/carts/client/requests/UpdateCartRequest.d.ts +24 -0
  112. package/dist/cjs/api/resources/commerce/resources/carts/client/requests/index.d.ts +4 -0
  113. package/dist/cjs/api/resources/commerce/resources/carts/client/requests/index.js +5 -0
  114. package/dist/cjs/api/resources/commerce/resources/carts/exports.d.ts +3 -0
  115. package/dist/cjs/api/resources/commerce/resources/carts/exports.js +22 -0
  116. package/dist/cjs/api/resources/commerce/resources/carts/resources/index.d.ts +3 -0
  117. package/dist/cjs/api/resources/commerce/resources/carts/resources/index.js +42 -0
  118. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/Client.d.ts +72 -0
  119. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/Client.js +257 -0
  120. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.d.ts +15 -0
  121. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.d.ts +17 -0
  122. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.d.ts +13 -0
  123. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/index.d.ts +3 -0
  124. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/exports.d.ts +2 -0
  125. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/exports.js +21 -0
  126. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.d.ts +4 -0
  127. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.d.ts +4 -0
  128. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.d.ts +4 -0
  129. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/index.d.ts +3 -0
  130. package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/index.js +19 -0
  131. package/dist/cjs/api/resources/commerce/resources/carts/types/GetCurrentCartsResponse.d.ts +4 -0
  132. package/dist/cjs/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.ts +4 -0
  133. package/dist/cjs/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.ts +4 -0
  134. package/dist/cjs/api/resources/commerce/resources/carts/types/index.d.ts +3 -0
  135. package/dist/cjs/api/resources/commerce/resources/carts/types/index.js +19 -0
  136. package/dist/cjs/api/resources/commerce/resources/checkout/client/Client.d.ts +91 -0
  137. package/dist/cjs/api/resources/commerce/resources/checkout/client/Client.js +267 -0
  138. package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/PayRequest.d.ts +22 -0
  139. package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/QuoteCheckoutRequest.d.ts +10 -0
  140. package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.d.ts +15 -0
  141. package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/index.d.ts +3 -0
  142. package/dist/cjs/api/resources/commerce/resources/checkout/exports.d.ts +2 -0
  143. package/dist/cjs/api/resources/commerce/resources/checkout/exports.js +21 -0
  144. package/dist/cjs/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.ts +4 -0
  145. package/dist/cjs/api/resources/commerce/resources/checkout/types/index.d.ts +1 -0
  146. package/dist/cjs/api/resources/commerce/resources/checkout/types/index.js +17 -0
  147. package/dist/cjs/api/resources/commerce/resources/index.d.ts +9 -0
  148. package/dist/cjs/api/resources/commerce/resources/index.js +48 -0
  149. package/dist/cjs/api/resources/commerce/resources/orders/client/Client.d.ts +47 -0
  150. package/dist/cjs/api/resources/commerce/resources/orders/client/Client.js +180 -0
  151. package/dist/cjs/api/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.ts +12 -0
  152. package/dist/cjs/api/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.ts +8 -0
  153. package/dist/cjs/api/resources/commerce/resources/orders/client/requests/index.d.ts +2 -0
  154. package/dist/cjs/api/resources/commerce/resources/orders/exports.d.ts +2 -0
  155. package/dist/cjs/api/resources/commerce/resources/orders/exports.js +21 -0
  156. package/dist/cjs/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.ts +4 -0
  157. package/dist/cjs/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.ts +39 -0
  158. package/dist/cjs/api/resources/commerce/resources/orders/types/index.d.ts +2 -0
  159. package/dist/cjs/api/resources/commerce/resources/orders/types/index.js +18 -0
  160. package/dist/cjs/api/resources/customer/client/Client.d.ts +4 -11
  161. package/dist/cjs/api/resources/customer/client/Client.js +9 -19
  162. package/dist/cjs/api/resources/customer/client/requests/SearchCustomerRequest.d.ts +9 -22
  163. package/dist/cjs/api/resources/customer/resources/auth/client/Client.d.ts +4 -4
  164. package/dist/cjs/api/resources/customer/resources/auth/client/Client.js +7 -10
  165. package/dist/cjs/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.ts +2 -0
  166. package/dist/cjs/api/resources/customer/resources/auth/client/requests/index.d.ts +0 -1
  167. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.d.ts +6 -0
  168. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.js +8 -0
  169. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +1 -0
  170. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +10 -1
  171. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +10 -1
  172. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.ts +2 -4
  173. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.ts +2 -4
  174. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.ts +2 -4
  175. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +2 -4
  176. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.ts +2 -4
  177. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.d.ts +1 -0
  178. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.js +1 -0
  179. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.ts +2 -4
  180. package/dist/cjs/api/resources/customer/resources/catalog/client/Client.d.ts +107 -0
  181. package/dist/cjs/api/resources/customer/resources/catalog/client/Client.js +387 -0
  182. package/dist/cjs/api/resources/customer/resources/catalog/client/requests/GetProductCatalogRequest.d.ts +18 -0
  183. package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListCategoriesCatalogRequest.d.ts +15 -0
  184. package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListLocationsCatalogRequest.d.ts +10 -0
  185. package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListPickupSlotsCatalogRequest.d.ts +14 -0
  186. package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListProductsCatalogRequest.d.ts +19 -0
  187. package/dist/cjs/api/resources/customer/resources/catalog/client/requests/index.d.ts +5 -0
  188. package/dist/cjs/api/resources/customer/resources/catalog/exports.d.ts +2 -0
  189. package/dist/cjs/api/resources/customer/resources/catalog/exports.js +21 -0
  190. package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.d.ts +5 -0
  191. package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.js +8 -0
  192. package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogResponse.d.ts +4 -0
  193. package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.d.ts +5 -0
  194. package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.js +8 -0
  195. package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogResponse.d.ts +4 -0
  196. package/dist/cjs/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.ts +4 -0
  197. package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.d.ts +5 -0
  198. package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.js +8 -0
  199. package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogResponse.d.ts +39 -0
  200. package/dist/cjs/api/resources/customer/resources/catalog/types/index.d.ts +7 -0
  201. package/dist/cjs/api/resources/customer/resources/catalog/types/index.js +23 -0
  202. package/dist/cjs/api/resources/customer/resources/discovery/client/Client.d.ts +2 -5
  203. package/dist/cjs/api/resources/customer/resources/discovery/client/Client.js +2 -5
  204. package/dist/cjs/api/resources/customer/resources/discovery/client/requests/CategoryBusinessesDiscoveryRequest.d.ts +4 -8
  205. package/dist/cjs/api/resources/customer/resources/discovery/client/requests/FeedDiscoveryRequest.d.ts +4 -9
  206. package/dist/cjs/api/resources/customer/resources/events/client/Client.d.ts +1 -4
  207. package/dist/cjs/api/resources/customer/resources/events/client/Client.js +3 -6
  208. package/dist/cjs/api/resources/customer/resources/events/client/requests/FeedEventsRequest.d.ts +5 -12
  209. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +7 -1
  210. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +11 -1
  211. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.ts +2 -0
  212. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +5 -8
  213. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +3 -2
  214. package/dist/cjs/api/resources/customer/resources/explore/client/Client.d.ts +1 -2
  215. package/dist/cjs/api/resources/customer/resources/explore/client/Client.js +1 -2
  216. package/dist/cjs/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.ts +3 -7
  217. package/dist/cjs/api/resources/customer/resources/index.d.ts +3 -6
  218. package/dist/cjs/api/resources/customer/resources/index.js +4 -7
  219. package/dist/cjs/api/resources/customer/resources/me/client/Client.d.ts +1 -3
  220. package/dist/cjs/api/resources/customer/resources/me/client/Client.js +2 -4
  221. package/dist/cjs/api/resources/customer/resources/me/client/requests/RsvpsMeRequest.d.ts +5 -9
  222. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.ts +16 -0
  223. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.js +54 -0
  224. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.d.ts +4 -0
  225. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.ts +1 -0
  226. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.js +1 -0
  227. package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/client/requests/ListTicketOrdersRequest.d.ts +2 -4
  228. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/client/requests/ListTicketsRequest.d.ts +2 -4
  229. package/dist/cjs/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.d.ts +6 -0
  230. package/dist/cjs/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.js +9 -0
  231. package/dist/cjs/api/resources/customer/resources/me/types/index.d.ts +1 -0
  232. package/dist/cjs/api/resources/customer/resources/me/types/index.js +1 -0
  233. package/dist/cjs/api/resources/customer/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts +2 -2
  234. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.ts +1 -1
  235. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.js +1 -1
  236. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +2 -4
  237. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts +3 -6
  238. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/Client.d.ts +3 -4
  239. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/Client.js +2 -5
  240. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.d.ts +22 -0
  241. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.js +12 -0
  242. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +2 -4
  243. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/index.d.ts +1 -1
  244. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/index.js +3 -0
  245. package/dist/cjs/api/resources/customer/resources/stands/client/Client.d.ts +9 -94
  246. package/dist/cjs/api/resources/customer/resources/stands/client/Client.js +11 -314
  247. package/dist/cjs/api/resources/customer/resources/stands/client/requests/NoticeStandsRequest.d.ts +10 -0
  248. package/dist/cjs/api/resources/customer/resources/stands/client/requests/index.d.ts +1 -6
  249. package/dist/cjs/api/resources/customer/resources/stands/types/NoticeStandsResponse.d.ts +4 -0
  250. package/dist/cjs/api/resources/customer/resources/stands/types/index.d.ts +1 -5
  251. package/dist/cjs/api/resources/customer/resources/stands/types/index.js +1 -5
  252. package/dist/cjs/api/resources/index.d.ts +1 -0
  253. package/dist/cjs/api/resources/index.js +2 -1
  254. package/dist/cjs/api/types/Address.d.ts +2 -2
  255. package/dist/cjs/api/types/Allergen.d.ts +10 -0
  256. package/dist/cjs/api/types/BusinessAllergen.d.ts +2 -2
  257. package/dist/cjs/api/types/BusinessBulletin.d.ts +6 -6
  258. package/dist/cjs/api/types/BusinessCommerceLocation.d.ts +22 -0
  259. package/dist/cjs/api/types/BusinessCommerceLocation.js +12 -0
  260. package/dist/cjs/api/types/BusinessCommerceOrder.d.ts +150 -0
  261. package/dist/cjs/api/types/BusinessCommerceOrder.js +37 -0
  262. package/dist/cjs/api/types/BusinessCommerceOrderSummary.d.ts +79 -0
  263. package/dist/cjs/api/types/BusinessCommerceOrderSummary.js +37 -0
  264. package/dist/cjs/api/types/BusinessCommerceRefund.d.ts +31 -0
  265. package/dist/cjs/api/types/BusinessCommerceStockLevel.d.ts +18 -0
  266. package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
  267. package/dist/cjs/api/types/BusinessEvent.d.ts +16 -17
  268. package/dist/cjs/api/types/BusinessEventRsvp.d.ts +3 -3
  269. package/dist/cjs/api/types/BusinessEventTicketType.d.ts +11 -11
  270. package/dist/cjs/api/types/BusinessHoursResource.d.ts +3 -2
  271. package/dist/cjs/api/types/BusinessList.d.ts +2 -2
  272. package/dist/cjs/api/types/BusinessListItem.d.ts +1 -1
  273. package/dist/cjs/api/types/BusinessMe.d.ts +11 -0
  274. package/dist/cjs/api/types/BusinessMenu.d.ts +4 -3
  275. package/dist/cjs/api/types/BusinessMenuGroup.d.ts +4 -3
  276. package/dist/cjs/api/types/BusinessMenuItem.d.ts +27 -8
  277. package/dist/cjs/api/types/BusinessMenuItemModifier.d.ts +3 -3
  278. package/dist/cjs/api/types/BusinessMenuItemVariation.d.ts +4 -4
  279. package/dist/cjs/api/types/BusinessStripeConnection.d.ts +15 -15
  280. package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +2 -2
  281. package/dist/cjs/api/types/BuyerOrder.d.ts +145 -0
  282. package/dist/cjs/api/types/BuyerOrder.js +40 -0
  283. package/dist/cjs/api/types/Cart.d.ts +140 -0
  284. package/dist/cjs/api/types/Cart.js +35 -0
  285. package/dist/cjs/api/types/CartQuote.d.ts +41 -0
  286. package/dist/cjs/api/types/CartQuote.js +22 -0
  287. package/dist/cjs/api/types/CatalogLocation.d.ts +116 -0
  288. package/dist/cjs/api/types/CatalogLocation.js +11 -0
  289. package/dist/cjs/api/types/CatalogPickupSlots.d.ts +18 -0
  290. package/dist/cjs/api/types/CatalogProduct.d.ts +125 -0
  291. package/dist/cjs/api/types/CatalogProduct.js +40 -0
  292. package/dist/cjs/api/types/ConflictErrorBody.d.ts +9 -1
  293. package/dist/cjs/api/types/ConflictErrorBody.js +8 -0
  294. package/dist/cjs/api/types/Conversation.d.ts +1 -1
  295. package/dist/cjs/api/types/CustomerBulletin.d.ts +1 -1
  296. package/dist/cjs/api/types/CustomerBusinessProfile.d.ts +5 -1
  297. package/dist/cjs/api/types/CustomerComment.d.ts +2 -2
  298. package/dist/cjs/api/types/CustomerDiscoveryAllergen.d.ts +2 -2
  299. package/dist/cjs/api/types/CustomerEvent.d.ts +1 -1
  300. package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
  301. package/dist/cjs/api/types/CustomerEventTicketType.d.ts +2 -2
  302. package/dist/cjs/api/types/CustomerMenuItemModifier.d.ts +1 -1
  303. package/dist/cjs/api/types/CustomerUser.d.ts +13 -0
  304. package/dist/cjs/api/types/ExploreResponse.d.ts +5 -0
  305. package/dist/cjs/api/types/Image.d.ts +21 -0
  306. package/dist/cjs/api/types/Message.d.ts +0 -1
  307. package/dist/cjs/api/types/OrderItemResource.d.ts +4 -4
  308. package/dist/cjs/api/types/OrderResource.d.ts +5 -0
  309. package/dist/cjs/api/types/PayResult.d.ts +40 -0
  310. package/dist/cjs/api/types/PayResult.js +14 -0
  311. package/dist/cjs/api/types/ProductCategoryResource.d.ts +8 -0
  312. package/dist/cjs/api/types/ShippingAccountResource.d.ts +5 -5
  313. package/dist/cjs/api/types/StandNotice.d.ts +20 -0
  314. package/dist/cjs/api/types/Transaction.d.ts +2 -2
  315. package/dist/cjs/api/types/index.d.ts +16 -12
  316. package/dist/cjs/api/types/index.js +16 -12
  317. package/dist/cjs/version.d.ts +1 -1
  318. package/dist/cjs/version.js +1 -1
  319. package/dist/esm/BaseClient.mjs +2 -2
  320. package/dist/esm/Client.d.mts +3 -0
  321. package/dist/esm/Client.mjs +5 -0
  322. package/dist/esm/api/resources/business/client/Client.d.mts +3 -9
  323. package/dist/esm/api/resources/business/client/Client.mjs +5 -15
  324. package/dist/esm/api/resources/business/resources/auth/client/Client.d.mts +1 -2
  325. package/dist/esm/api/resources/business/resources/auth/client/Client.mjs +4 -8
  326. package/dist/esm/api/resources/business/resources/auth/client/requests/index.d.mts +0 -1
  327. package/dist/esm/api/resources/business/resources/businesses/client/Client.d.mts +10 -1
  328. package/dist/esm/api/resources/business/resources/businesses/client/Client.mjs +12 -1
  329. package/dist/esm/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.mts +2 -4
  330. package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +1 -0
  331. package/dist/esm/api/resources/business/resources/claims/client/Client.d.mts +4 -0
  332. package/dist/esm/api/resources/business/resources/claims/client/Client.mjs +12 -0
  333. package/dist/esm/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.mts +2 -2
  334. package/dist/esm/api/resources/business/resources/commerce/client/Client.d.mts +18 -0
  335. package/dist/esm/api/resources/business/resources/commerce/client/Client.mjs +22 -0
  336. package/dist/esm/api/resources/business/resources/commerce/exports.d.mts +3 -0
  337. package/dist/esm/api/resources/business/resources/commerce/exports.mjs +4 -0
  338. package/dist/esm/api/resources/business/resources/commerce/index.d.mts +2 -0
  339. package/dist/esm/api/resources/business/resources/commerce/index.mjs +2 -0
  340. package/dist/esm/api/resources/business/resources/commerce/resources/index.d.mts +8 -0
  341. package/dist/esm/api/resources/business/resources/commerce/resources/index.mjs +8 -0
  342. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.d.mts +28 -0
  343. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.mjs +77 -0
  344. package/dist/esm/api/resources/business/resources/commerce/resources/locations/exports.d.mts +2 -0
  345. package/dist/esm/api/resources/business/resources/commerce/resources/locations/exports.mjs +3 -0
  346. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.mts +4 -0
  347. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.d.mts +1 -0
  348. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.mjs +1 -0
  349. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/Client.d.mts +186 -0
  350. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/Client.mjs +582 -0
  351. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.d.mts +29 -0
  352. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.mjs +9 -0
  353. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.mts +10 -0
  354. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.d.mts +13 -0
  355. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.mts +15 -0
  356. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.d.mts +13 -0
  357. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/MarkReadyOrdersRequest.d.mts +13 -0
  358. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/PickUpOrderRequest.d.mts +18 -0
  359. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.d.mts +45 -0
  360. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.mjs +13 -0
  361. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/index.d.mts +8 -0
  362. package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/index.mjs +2 -0
  363. package/dist/esm/api/resources/business/resources/commerce/resources/orders/exports.d.mts +2 -0
  364. package/dist/esm/api/resources/business/resources/commerce/resources/orders/exports.mjs +3 -0
  365. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/CancelOrdersResponse.d.mts +4 -0
  366. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/GetOrdersResponse.d.mts +4 -0
  367. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/KeepPaymentOrdersResponse.d.mts +4 -0
  368. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.d.mts +7 -0
  369. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.mjs +7 -0
  370. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersResponse.d.mts +39 -0
  371. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.d.mts +4 -0
  372. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.d.mts +4 -0
  373. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.d.mts +4 -0
  374. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/RefundOrdersResponse.d.mts +4 -0
  375. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/index.d.mts +9 -0
  376. package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/index.mjs +9 -0
  377. package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/Client.d.mts +56 -0
  378. package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/Client.mjs +177 -0
  379. package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.d.mts +19 -0
  380. package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/ListStockRequest.d.mts +12 -0
  381. package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/index.d.mts +2 -0
  382. package/dist/esm/api/resources/business/resources/commerce/resources/stock/exports.d.mts +2 -0
  383. package/dist/esm/api/resources/business/resources/commerce/resources/stock/exports.mjs +3 -0
  384. package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/AdjustStockResponse.d.mts +4 -0
  385. package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/ListStockResponse.d.mts +39 -0
  386. package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/index.d.mts +2 -0
  387. package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/index.mjs +2 -0
  388. package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +4 -1
  389. package/dist/esm/api/resources/business/resources/events/client/Client.mjs +4 -1
  390. package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.d.mts +0 -1
  391. package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.mts +0 -1
  392. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +1 -1
  393. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +1 -1
  394. package/dist/esm/api/resources/business/resources/index.d.mts +1 -8
  395. package/dist/esm/api/resources/business/resources/index.mjs +1 -8
  396. package/dist/esm/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts +2 -2
  397. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.d.mts +1 -1
  398. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.mjs +1 -1
  399. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +2 -4
  400. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts +3 -6
  401. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.d.mts +0 -1
  402. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.mjs +0 -3
  403. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +2 -4
  404. package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +15 -4
  405. package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +13 -2
  406. package/dist/esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.mts +12 -0
  407. package/dist/esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.mts +16 -0
  408. package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.d.mts +2 -2
  409. package/dist/esm/api/resources/business/resources/shipping/resources/account/client/Client.d.mts +6 -2
  410. package/dist/esm/api/resources/business/resources/shipping/resources/account/client/Client.mjs +6 -2
  411. package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.d.mts +48 -7
  412. package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.mjs +98 -7
  413. package/dist/esm/api/resources/business/resources/stripeConnect/types/ConnectStripeConnectResponse.d.mts +12 -0
  414. package/dist/esm/api/resources/business/resources/stripeConnect/types/index.d.mts +1 -0
  415. package/dist/esm/api/resources/business/resources/stripeConnect/types/index.mjs +1 -0
  416. package/dist/esm/api/resources/commerce/client/Client.d.mts +18 -0
  417. package/dist/esm/api/resources/commerce/client/Client.mjs +22 -0
  418. package/dist/esm/api/resources/commerce/exports.d.mts +3 -0
  419. package/dist/esm/api/resources/commerce/exports.mjs +4 -0
  420. package/dist/esm/api/resources/commerce/index.d.mts +2 -0
  421. package/dist/esm/api/resources/commerce/index.mjs +2 -0
  422. package/dist/esm/api/resources/commerce/resources/carts/client/Client.d.mts +99 -0
  423. package/dist/esm/api/resources/commerce/resources/carts/client/Client.mjs +290 -0
  424. package/dist/esm/api/resources/commerce/resources/carts/client/requests/GetCurrentCartsRequest.d.mts +10 -0
  425. package/dist/esm/api/resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.d.mts +14 -0
  426. package/dist/esm/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.d.mts +23 -0
  427. package/dist/esm/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.mjs +9 -0
  428. package/dist/esm/api/resources/commerce/resources/carts/client/requests/UpdateCartRequest.d.mts +24 -0
  429. package/dist/esm/api/resources/commerce/resources/carts/client/requests/index.d.mts +4 -0
  430. package/dist/esm/api/resources/commerce/resources/carts/client/requests/index.mjs +1 -0
  431. package/dist/esm/api/resources/commerce/resources/carts/exports.d.mts +3 -0
  432. package/dist/esm/api/resources/commerce/resources/carts/exports.mjs +4 -0
  433. package/dist/esm/api/resources/commerce/resources/carts/resources/index.d.mts +3 -0
  434. package/dist/esm/api/resources/commerce/resources/carts/resources/index.mjs +3 -0
  435. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/Client.d.mts +72 -0
  436. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/Client.mjs +220 -0
  437. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.d.mts +15 -0
  438. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.d.mts +17 -0
  439. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.d.mts +13 -0
  440. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/index.d.mts +3 -0
  441. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/exports.d.mts +2 -0
  442. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/exports.mjs +3 -0
  443. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.d.mts +4 -0
  444. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.d.mts +4 -0
  445. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.d.mts +4 -0
  446. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/index.d.mts +3 -0
  447. package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/index.mjs +3 -0
  448. package/dist/esm/api/resources/commerce/resources/carts/types/GetCurrentCartsResponse.d.mts +4 -0
  449. package/dist/esm/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.mts +4 -0
  450. package/dist/esm/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.mts +4 -0
  451. package/dist/esm/api/resources/commerce/resources/carts/types/index.d.mts +3 -0
  452. package/dist/esm/api/resources/commerce/resources/carts/types/index.mjs +3 -0
  453. package/dist/esm/api/resources/commerce/resources/checkout/client/Client.d.mts +91 -0
  454. package/dist/esm/api/resources/commerce/resources/checkout/client/Client.mjs +230 -0
  455. package/dist/esm/api/resources/commerce/resources/checkout/client/requests/PayRequest.d.mts +22 -0
  456. package/dist/esm/api/resources/commerce/resources/checkout/client/requests/QuoteCheckoutRequest.d.mts +10 -0
  457. package/dist/esm/api/resources/commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.d.mts +15 -0
  458. package/dist/esm/api/resources/commerce/resources/checkout/client/requests/index.d.mts +3 -0
  459. package/dist/esm/api/resources/commerce/resources/checkout/exports.d.mts +2 -0
  460. package/dist/esm/api/resources/commerce/resources/checkout/exports.mjs +3 -0
  461. package/dist/esm/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.mts +4 -0
  462. package/dist/esm/api/resources/commerce/resources/checkout/types/index.d.mts +1 -0
  463. package/dist/esm/api/resources/commerce/resources/checkout/types/index.mjs +1 -0
  464. package/dist/esm/api/resources/commerce/resources/index.d.mts +9 -0
  465. package/dist/esm/api/resources/commerce/resources/index.mjs +9 -0
  466. package/dist/esm/api/resources/commerce/resources/orders/client/Client.d.mts +47 -0
  467. package/dist/esm/api/resources/commerce/resources/orders/client/Client.mjs +143 -0
  468. package/dist/esm/api/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.mts +12 -0
  469. package/dist/esm/api/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.mts +8 -0
  470. package/dist/esm/api/resources/commerce/resources/orders/client/requests/index.d.mts +2 -0
  471. package/dist/esm/api/resources/commerce/resources/orders/client/requests/index.mjs +1 -0
  472. package/dist/esm/api/resources/commerce/resources/orders/exports.d.mts +2 -0
  473. package/dist/esm/api/resources/commerce/resources/orders/exports.mjs +3 -0
  474. package/dist/esm/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.mts +4 -0
  475. package/dist/esm/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.mts +39 -0
  476. package/dist/esm/api/resources/commerce/resources/orders/types/index.d.mts +2 -0
  477. package/dist/esm/api/resources/commerce/resources/orders/types/index.mjs +2 -0
  478. package/dist/esm/api/resources/customer/client/Client.d.mts +4 -11
  479. package/dist/esm/api/resources/customer/client/Client.mjs +7 -17
  480. package/dist/esm/api/resources/customer/client/requests/SearchCustomerRequest.d.mts +9 -22
  481. package/dist/esm/api/resources/customer/resources/auth/client/Client.d.mts +4 -4
  482. package/dist/esm/api/resources/customer/resources/auth/client/Client.mjs +7 -10
  483. package/dist/esm/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.mts +2 -0
  484. package/dist/esm/api/resources/customer/resources/auth/client/requests/index.d.mts +0 -1
  485. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.d.mts +6 -0
  486. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.mjs +8 -0
  487. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +1 -0
  488. package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +10 -1
  489. package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +10 -1
  490. package/dist/esm/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.mts +2 -4
  491. package/dist/esm/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.mts +2 -4
  492. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.mts +2 -4
  493. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +2 -4
  494. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.mts +2 -4
  495. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.d.mts +1 -0
  496. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.mjs +1 -0
  497. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.mts +2 -4
  498. package/dist/esm/api/resources/customer/resources/catalog/client/Client.d.mts +107 -0
  499. package/dist/esm/api/resources/customer/resources/catalog/client/Client.mjs +350 -0
  500. package/dist/esm/api/resources/customer/resources/catalog/client/requests/GetProductCatalogRequest.d.mts +18 -0
  501. package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListCategoriesCatalogRequest.d.mts +15 -0
  502. package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListLocationsCatalogRequest.d.mts +10 -0
  503. package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListPickupSlotsCatalogRequest.d.mts +14 -0
  504. package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListProductsCatalogRequest.d.mts +19 -0
  505. package/dist/esm/api/resources/customer/resources/catalog/client/requests/index.d.mts +5 -0
  506. package/dist/esm/api/resources/customer/resources/catalog/client/requests/index.mjs +1 -0
  507. package/dist/esm/api/resources/customer/resources/catalog/exports.d.mts +2 -0
  508. package/dist/esm/api/resources/customer/resources/catalog/exports.mjs +3 -0
  509. package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.d.mts +5 -0
  510. package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.mjs +5 -0
  511. package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogResponse.d.mts +4 -0
  512. package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.d.mts +5 -0
  513. package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.mjs +5 -0
  514. package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogResponse.d.mts +4 -0
  515. package/dist/esm/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.mts +4 -0
  516. package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.d.mts +5 -0
  517. package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.mjs +5 -0
  518. package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogResponse.d.mts +39 -0
  519. package/dist/esm/api/resources/customer/resources/catalog/types/index.d.mts +7 -0
  520. package/dist/esm/api/resources/customer/resources/catalog/types/index.mjs +7 -0
  521. package/dist/esm/api/resources/customer/resources/discovery/client/Client.d.mts +2 -5
  522. package/dist/esm/api/resources/customer/resources/discovery/client/Client.mjs +2 -5
  523. package/dist/esm/api/resources/customer/resources/discovery/client/requests/CategoryBusinessesDiscoveryRequest.d.mts +4 -8
  524. package/dist/esm/api/resources/customer/resources/discovery/client/requests/FeedDiscoveryRequest.d.mts +4 -9
  525. package/dist/esm/api/resources/customer/resources/events/client/Client.d.mts +1 -4
  526. package/dist/esm/api/resources/customer/resources/events/client/Client.mjs +3 -6
  527. package/dist/esm/api/resources/customer/resources/events/client/requests/FeedEventsRequest.d.mts +5 -12
  528. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +7 -1
  529. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +11 -1
  530. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.mts +2 -0
  531. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +5 -8
  532. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +3 -2
  533. package/dist/esm/api/resources/customer/resources/explore/client/Client.d.mts +1 -2
  534. package/dist/esm/api/resources/customer/resources/explore/client/Client.mjs +1 -2
  535. package/dist/esm/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.mts +3 -7
  536. package/dist/esm/api/resources/customer/resources/index.d.mts +3 -6
  537. package/dist/esm/api/resources/customer/resources/index.mjs +3 -6
  538. package/dist/esm/api/resources/customer/resources/me/client/Client.d.mts +1 -3
  539. package/dist/esm/api/resources/customer/resources/me/client/Client.mjs +2 -4
  540. package/dist/esm/api/resources/customer/resources/me/client/requests/RsvpsMeRequest.d.mts +5 -9
  541. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.mts +16 -0
  542. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.mjs +54 -0
  543. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.d.mts +4 -0
  544. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.mts +1 -0
  545. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.mjs +1 -0
  546. package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/client/requests/ListTicketOrdersRequest.d.mts +2 -4
  547. package/dist/esm/api/resources/customer/resources/me/resources/tickets/client/requests/ListTicketsRequest.d.mts +2 -4
  548. package/dist/esm/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.d.mts +6 -0
  549. package/dist/esm/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.mjs +6 -0
  550. package/dist/esm/api/resources/customer/resources/me/types/index.d.mts +1 -0
  551. package/dist/esm/api/resources/customer/resources/me/types/index.mjs +1 -0
  552. package/dist/esm/api/resources/customer/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts +2 -2
  553. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.mts +1 -1
  554. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.mjs +1 -1
  555. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +2 -4
  556. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts +3 -6
  557. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/Client.d.mts +3 -4
  558. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/Client.mjs +2 -5
  559. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.d.mts +22 -0
  560. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.mjs +9 -0
  561. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +2 -4
  562. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/index.d.mts +1 -1
  563. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/index.mjs +1 -1
  564. package/dist/esm/api/resources/customer/resources/stands/client/Client.d.mts +9 -94
  565. package/dist/esm/api/resources/customer/resources/stands/client/Client.mjs +12 -315
  566. package/dist/esm/api/resources/customer/resources/stands/client/requests/NoticeStandsRequest.d.mts +10 -0
  567. package/dist/esm/api/resources/customer/resources/stands/client/requests/index.d.mts +1 -6
  568. package/dist/esm/api/resources/customer/resources/stands/types/NoticeStandsResponse.d.mts +4 -0
  569. package/dist/esm/api/resources/customer/resources/stands/types/index.d.mts +1 -5
  570. package/dist/esm/api/resources/customer/resources/stands/types/index.mjs +1 -5
  571. package/dist/esm/api/resources/index.d.mts +1 -0
  572. package/dist/esm/api/resources/index.mjs +1 -0
  573. package/dist/esm/api/types/Address.d.mts +2 -2
  574. package/dist/esm/api/types/Allergen.d.mts +10 -0
  575. package/dist/esm/api/types/BusinessAllergen.d.mts +2 -2
  576. package/dist/esm/api/types/BusinessBulletin.d.mts +6 -6
  577. package/dist/esm/api/types/BusinessCommerceLocation.d.mts +22 -0
  578. package/dist/esm/api/types/BusinessCommerceLocation.mjs +9 -0
  579. package/dist/esm/api/types/BusinessCommerceOrder.d.mts +150 -0
  580. package/dist/esm/api/types/BusinessCommerceOrder.mjs +34 -0
  581. package/dist/esm/api/types/BusinessCommerceOrderSummary.d.mts +79 -0
  582. package/dist/esm/api/types/BusinessCommerceOrderSummary.mjs +34 -0
  583. package/dist/esm/api/types/BusinessCommerceRefund.d.mts +31 -0
  584. package/dist/esm/api/types/BusinessCommerceStockLevel.d.mts +18 -0
  585. package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
  586. package/dist/esm/api/types/BusinessEvent.d.mts +16 -17
  587. package/dist/esm/api/types/BusinessEventRsvp.d.mts +3 -3
  588. package/dist/esm/api/types/BusinessEventTicketType.d.mts +11 -11
  589. package/dist/esm/api/types/BusinessHoursResource.d.mts +3 -2
  590. package/dist/esm/api/types/BusinessList.d.mts +2 -2
  591. package/dist/esm/api/types/BusinessListItem.d.mts +1 -1
  592. package/dist/esm/api/types/BusinessMe.d.mts +11 -0
  593. package/dist/esm/api/types/BusinessMenu.d.mts +4 -3
  594. package/dist/esm/api/types/BusinessMenuGroup.d.mts +4 -3
  595. package/dist/esm/api/types/BusinessMenuItem.d.mts +27 -8
  596. package/dist/esm/api/types/BusinessMenuItemModifier.d.mts +3 -3
  597. package/dist/esm/api/types/BusinessMenuItemVariation.d.mts +4 -4
  598. package/dist/esm/api/types/BusinessStripeConnection.d.mts +15 -15
  599. package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +2 -2
  600. package/dist/esm/api/types/BuyerOrder.d.mts +145 -0
  601. package/dist/esm/api/types/BuyerOrder.mjs +37 -0
  602. package/dist/esm/api/types/Cart.d.mts +140 -0
  603. package/dist/esm/api/types/Cart.mjs +32 -0
  604. package/dist/esm/api/types/CartQuote.d.mts +41 -0
  605. package/dist/esm/api/types/CartQuote.mjs +19 -0
  606. package/dist/esm/api/types/CatalogLocation.d.mts +116 -0
  607. package/dist/esm/api/types/CatalogLocation.mjs +8 -0
  608. package/dist/esm/api/types/CatalogPickupSlots.d.mts +18 -0
  609. package/dist/esm/api/types/CatalogProduct.d.mts +125 -0
  610. package/dist/esm/api/types/CatalogProduct.mjs +37 -0
  611. package/dist/esm/api/types/ConflictErrorBody.d.mts +9 -1
  612. package/dist/esm/api/types/ConflictErrorBody.mjs +7 -1
  613. package/dist/esm/api/types/Conversation.d.mts +1 -1
  614. package/dist/esm/api/types/CustomerBulletin.d.mts +1 -1
  615. package/dist/esm/api/types/CustomerBusinessProfile.d.mts +5 -1
  616. package/dist/esm/api/types/CustomerComment.d.mts +2 -2
  617. package/dist/esm/api/types/CustomerDiscoveryAllergen.d.mts +2 -2
  618. package/dist/esm/api/types/CustomerEvent.d.mts +1 -1
  619. package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
  620. package/dist/esm/api/types/CustomerEventTicketType.d.mts +2 -2
  621. package/dist/esm/api/types/CustomerMenuItemModifier.d.mts +1 -1
  622. package/dist/esm/api/types/CustomerUser.d.mts +13 -0
  623. package/dist/esm/api/types/ExploreResponse.d.mts +5 -0
  624. package/dist/esm/api/types/Image.d.mts +21 -0
  625. package/dist/esm/api/types/Message.d.mts +0 -1
  626. package/dist/esm/api/types/OrderItemResource.d.mts +4 -4
  627. package/dist/esm/api/types/OrderResource.d.mts +5 -0
  628. package/dist/esm/api/types/PayResult.d.mts +40 -0
  629. package/dist/esm/api/types/PayResult.mjs +11 -0
  630. package/dist/esm/api/types/ProductCategoryResource.d.mts +8 -0
  631. package/dist/esm/api/types/ShippingAccountResource.d.mts +5 -5
  632. package/dist/esm/api/types/StandNotice.d.mts +20 -0
  633. package/dist/esm/api/types/Transaction.d.mts +2 -2
  634. package/dist/esm/api/types/index.d.mts +16 -12
  635. package/dist/esm/api/types/index.mjs +16 -12
  636. package/dist/esm/version.d.mts +1 -1
  637. package/dist/esm/version.mjs +1 -1
  638. package/package.json +106 -117
  639. package/reference.md +1653 -1895
  640. package/dist/cjs/api/resources/business/resources/auth/client/requests/LogoutAuthRequest.d.ts +0 -7
  641. package/dist/cjs/api/resources/business/resources/priceLists/client/Client.d.ts +0 -53
  642. package/dist/cjs/api/resources/business/resources/priceLists/client/Client.js +0 -222
  643. package/dist/cjs/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.ts +0 -10
  644. package/dist/cjs/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.ts +0 -9
  645. package/dist/cjs/api/resources/business/resources/priceLists/client/requests/index.d.ts +0 -2
  646. package/dist/cjs/api/resources/business/resources/priceLists/exports.d.ts +0 -2
  647. package/dist/cjs/api/resources/business/resources/priceLists/exports.js +0 -21
  648. package/dist/cjs/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.ts +0 -4
  649. package/dist/cjs/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.ts +0 -4
  650. package/dist/cjs/api/resources/business/resources/priceLists/types/index.d.ts +0 -2
  651. package/dist/cjs/api/resources/business/resources/priceLists/types/index.js +0 -18
  652. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.ts +0 -16
  653. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.ts +0 -12
  654. package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +0 -96
  655. package/dist/cjs/api/resources/business/resources/products/client/Client.js +0 -373
  656. package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.ts +0 -10
  657. package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.d.ts +0 -10
  658. package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +0 -16
  659. package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +0 -19
  660. package/dist/cjs/api/resources/business/resources/products/client/requests/index.d.ts +0 -4
  661. package/dist/cjs/api/resources/business/resources/products/exports.d.ts +0 -3
  662. package/dist/cjs/api/resources/business/resources/products/exports.js +0 -22
  663. package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.d.ts +0 -47
  664. package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.js +0 -185
  665. package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -11
  666. package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.ts +0 -9
  667. package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.ts +0 -9
  668. package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/index.d.ts +0 -3
  669. package/dist/cjs/api/resources/business/resources/products/resources/images/exports.d.ts +0 -2
  670. package/dist/cjs/api/resources/business/resources/products/resources/images/exports.js +0 -21
  671. package/dist/cjs/api/resources/business/resources/products/resources/images/index.d.ts +0 -1
  672. package/dist/cjs/api/resources/business/resources/products/resources/images/index.js +0 -17
  673. package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +0 -8
  674. package/dist/cjs/api/resources/business/resources/products/resources/index.js +0 -47
  675. package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.d.ts +0 -28
  676. package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.js +0 -117
  677. package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.ts +0 -10
  678. package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/requests/index.d.ts +0 -1
  679. package/dist/cjs/api/resources/business/resources/products/resources/inventory/exports.d.ts +0 -2
  680. package/dist/cjs/api/resources/business/resources/products/resources/inventory/exports.js +0 -21
  681. package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.ts +0 -4
  682. package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.d.ts +0 -1
  683. package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.js +0 -17
  684. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +0 -72
  685. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +0 -273
  686. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.ts +0 -10
  687. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.ts +0 -33
  688. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.js +0 -17
  689. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.ts +0 -33
  690. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.js +0 -17
  691. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.d.ts +0 -3
  692. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.js +0 -7
  693. package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.d.ts +0 -3
  694. package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.js +0 -22
  695. package/dist/cjs/api/resources/business/resources/products/resources/variants/index.d.ts +0 -3
  696. package/dist/cjs/api/resources/business/resources/products/resources/variants/index.js +0 -19
  697. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.ts +0 -47
  698. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.js +0 -185
  699. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -11
  700. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.ts +0 -9
  701. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.ts +0 -9
  702. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/index.d.ts +0 -3
  703. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/exports.d.ts +0 -2
  704. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/exports.js +0 -21
  705. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/index.d.ts +0 -1
  706. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/index.js +0 -17
  707. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.d.ts +0 -8
  708. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.js +0 -47
  709. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.ts +0 -60
  710. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.js +0 -244
  711. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.ts +0 -14
  712. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.ts +0 -9
  713. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.ts +0 -15
  714. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.ts +0 -3
  715. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.ts +0 -2
  716. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/exports.js +0 -21
  717. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.ts +0 -4
  718. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.ts +0 -4
  719. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.ts +0 -2
  720. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.js +0 -18
  721. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.ts +0 -32
  722. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.js +0 -137
  723. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.ts +0 -1
  724. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/index.js +0 -17
  725. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.ts +0 -21
  726. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.ts +0 -1
  727. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.ts +0 -2
  728. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/exports.js +0 -21
  729. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.ts +0 -4
  730. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.ts +0 -1
  731. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.js +0 -17
  732. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.ts +0 -4
  733. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.ts +0 -4
  734. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.d.ts +0 -2
  735. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.js +0 -18
  736. package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.d.ts +0 -4
  737. package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.d.ts +0 -4
  738. package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.d.ts +0 -4
  739. package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.d.ts +0 -4
  740. package/dist/cjs/api/resources/business/resources/products/types/index.d.ts +0 -4
  741. package/dist/cjs/api/resources/business/resources/products/types/index.js +0 -20
  742. package/dist/cjs/api/resources/business/resources/taxCodes/client/Client.d.ts +0 -27
  743. package/dist/cjs/api/resources/business/resources/taxCodes/client/Client.js +0 -111
  744. package/dist/cjs/api/resources/business/resources/taxCodes/exports.d.ts +0 -2
  745. package/dist/cjs/api/resources/business/resources/taxCodes/exports.js +0 -21
  746. package/dist/cjs/api/resources/business/resources/taxCodes/types/ListTaxCodesResponse.d.ts +0 -4
  747. package/dist/cjs/api/resources/business/resources/taxCodes/types/index.d.ts +0 -1
  748. package/dist/cjs/api/resources/business/resources/taxCodes/types/index.js +0 -17
  749. package/dist/cjs/api/resources/customer/resources/auth/client/requests/LogoutAuthRequest.d.ts +0 -7
  750. package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +0 -261
  751. package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +0 -853
  752. package/dist/cjs/api/resources/customer/resources/cart/client/index.d.ts +0 -1
  753. package/dist/cjs/api/resources/customer/resources/cart/client/index.js +0 -17
  754. package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.ts +0 -16
  755. package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.ts +0 -15
  756. package/dist/cjs/api/resources/customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.d.ts +0 -13
  757. package/dist/cjs/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.ts +0 -10
  758. package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.ts +0 -10
  759. package/dist/cjs/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.ts +0 -10
  760. package/dist/cjs/api/resources/customer/resources/cart/client/requests/ListShippingOptionsCartRequest.d.ts +0 -10
  761. package/dist/cjs/api/resources/customer/resources/cart/client/requests/RefreshCartPaymentRequest.d.ts +0 -12
  762. package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.ts +0 -10
  763. package/dist/cjs/api/resources/customer/resources/cart/client/requests/SelectShippingRateRequest.d.ts +0 -12
  764. package/dist/cjs/api/resources/customer/resources/cart/client/requests/ShippingAddressRequest.d.ts +0 -27
  765. package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.ts +0 -12
  766. package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +0 -12
  767. package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.js +0 -2
  768. package/dist/cjs/api/resources/customer/resources/cart/exports.d.ts +0 -2
  769. package/dist/cjs/api/resources/customer/resources/cart/exports.js +0 -21
  770. package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.d.ts +0 -4
  771. package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.ts +0 -4
  772. package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +0 -17
  773. package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.js +0 -10
  774. package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.d.ts +0 -4
  775. package/dist/cjs/api/resources/customer/resources/cart/types/ListShippingOptionsCartResponse.d.ts +0 -18
  776. package/dist/cjs/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.d.ts +0 -18
  777. package/dist/cjs/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.js +0 -10
  778. package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.ts +0 -4
  779. package/dist/cjs/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.ts +0 -4
  780. package/dist/cjs/api/resources/customer/resources/cart/types/SetFulfillmentCartResponse.d.ts +0 -4
  781. package/dist/cjs/api/resources/customer/resources/cart/types/SetShippingAddressCartResponse.d.ts +0 -4
  782. package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.ts +0 -4
  783. package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +0 -11
  784. package/dist/cjs/api/resources/customer/resources/cart/types/index.js +0 -27
  785. package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.d.ts +0 -17
  786. package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +0 -53
  787. package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +0 -221
  788. package/dist/cjs/api/resources/customer/resources/shop/client/index.d.ts +0 -1
  789. package/dist/cjs/api/resources/customer/resources/shop/client/index.js +0 -17
  790. package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +0 -13
  791. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +0 -10
  792. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +0 -11
  793. package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.d.ts +0 -3
  794. package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.js +0 -2
  795. package/dist/cjs/api/resources/customer/resources/shop/exports.d.ts +0 -2
  796. package/dist/cjs/api/resources/customer/resources/shop/exports.js +0 -21
  797. package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +0 -4
  798. package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +0 -10
  799. package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.js +0 -3
  800. package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +0 -4
  801. package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.js +0 -3
  802. package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +0 -3
  803. package/dist/cjs/api/resources/customer/resources/shop/types/index.js +0 -19
  804. package/dist/cjs/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.ts +0 -16
  805. package/dist/cjs/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.js +0 -3
  806. package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.ts +0 -15
  807. package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.js +0 -3
  808. package/dist/cjs/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.d.ts +0 -10
  809. package/dist/cjs/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.js +0 -3
  810. package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.ts +0 -10
  811. package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.js +0 -3
  812. package/dist/cjs/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.d.ts +0 -10
  813. package/dist/cjs/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.js +0 -3
  814. package/dist/cjs/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.d.ts +0 -10
  815. package/dist/cjs/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.js +0 -3
  816. package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.ts +0 -4
  817. package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.js +0 -3
  818. package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.ts +0 -4
  819. package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.js +0 -3
  820. package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.ts +0 -16
  821. package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.js +0 -10
  822. package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.ts +0 -4
  823. package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.js +0 -3
  824. package/dist/cjs/api/resources/customer/resources/stands/types/ScanStandsResponse.d.ts +0 -4
  825. package/dist/cjs/api/resources/customer/resources/stands/types/ScanStandsResponse.js +0 -3
  826. package/dist/cjs/api/types/AddCartItemRequest.d.ts +0 -9
  827. package/dist/cjs/api/types/AddCartItemRequest.js +0 -3
  828. package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.ts +0 -23
  829. package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.js +0 -3
  830. package/dist/cjs/api/types/CartResource.d.ts +0 -50
  831. package/dist/cjs/api/types/CartResource.js +0 -3
  832. package/dist/cjs/api/types/CheckoutRequest.d.ts +0 -5
  833. package/dist/cjs/api/types/CheckoutRequest.js +0 -3
  834. package/dist/cjs/api/types/FulfillmentType.d.ts +0 -6
  835. package/dist/cjs/api/types/FulfillmentType.js +0 -9
  836. package/dist/cjs/api/types/InventoryLevelResource.d.ts +0 -7
  837. package/dist/cjs/api/types/InventoryLevelResource.js +0 -3
  838. package/dist/cjs/api/types/PriceListResource.d.ts +0 -8
  839. package/dist/cjs/api/types/PriceListResource.js +0 -3
  840. package/dist/cjs/api/types/PriceResource.d.ts +0 -10
  841. package/dist/cjs/api/types/PriceResource.js +0 -3
  842. package/dist/cjs/api/types/ProductResource.d.ts +0 -21
  843. package/dist/cjs/api/types/ProductResource.js +0 -3
  844. package/dist/cjs/api/types/StandShop.d.ts +0 -24
  845. package/dist/cjs/api/types/StandShop.js +0 -3
  846. package/dist/cjs/api/types/TaxCode.d.ts +0 -21
  847. package/dist/cjs/api/types/TaxCode.js +0 -15
  848. package/dist/cjs/api/types/VariantResource.d.ts +0 -14
  849. package/dist/cjs/api/types/VariantResource.js +0 -3
  850. package/dist/esm/api/resources/business/resources/auth/client/requests/LogoutAuthRequest.d.mts +0 -7
  851. package/dist/esm/api/resources/business/resources/priceLists/client/Client.d.mts +0 -53
  852. package/dist/esm/api/resources/business/resources/priceLists/client/Client.mjs +0 -185
  853. package/dist/esm/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.mts +0 -10
  854. package/dist/esm/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.mts +0 -9
  855. package/dist/esm/api/resources/business/resources/priceLists/client/requests/index.d.mts +0 -2
  856. package/dist/esm/api/resources/business/resources/priceLists/exports.d.mts +0 -2
  857. package/dist/esm/api/resources/business/resources/priceLists/exports.mjs +0 -3
  858. package/dist/esm/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.mts +0 -4
  859. package/dist/esm/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.mts +0 -4
  860. package/dist/esm/api/resources/business/resources/priceLists/types/index.d.mts +0 -2
  861. package/dist/esm/api/resources/business/resources/priceLists/types/index.mjs +0 -2
  862. package/dist/esm/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.mts +0 -16
  863. package/dist/esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.mts +0 -12
  864. package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +0 -96
  865. package/dist/esm/api/resources/business/resources/products/client/Client.mjs +0 -336
  866. package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.mts +0 -10
  867. package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.d.mts +0 -10
  868. package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +0 -16
  869. package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +0 -19
  870. package/dist/esm/api/resources/business/resources/products/client/requests/index.d.mts +0 -4
  871. package/dist/esm/api/resources/business/resources/products/exports.d.mts +0 -3
  872. package/dist/esm/api/resources/business/resources/products/exports.mjs +0 -4
  873. package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.d.mts +0 -47
  874. package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.mjs +0 -148
  875. package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -11
  876. package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.mts +0 -9
  877. package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.mts +0 -9
  878. package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/index.d.mts +0 -3
  879. package/dist/esm/api/resources/business/resources/products/resources/images/exports.d.mts +0 -2
  880. package/dist/esm/api/resources/business/resources/products/resources/images/exports.mjs +0 -3
  881. package/dist/esm/api/resources/business/resources/products/resources/images/index.d.mts +0 -1
  882. package/dist/esm/api/resources/business/resources/products/resources/images/index.mjs +0 -1
  883. package/dist/esm/api/resources/business/resources/products/resources/index.d.mts +0 -8
  884. package/dist/esm/api/resources/business/resources/products/resources/index.mjs +0 -8
  885. package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.d.mts +0 -28
  886. package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.mjs +0 -80
  887. package/dist/esm/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.mts +0 -10
  888. package/dist/esm/api/resources/business/resources/products/resources/inventory/client/requests/index.d.mts +0 -1
  889. package/dist/esm/api/resources/business/resources/products/resources/inventory/exports.d.mts +0 -2
  890. package/dist/esm/api/resources/business/resources/products/resources/inventory/exports.mjs +0 -3
  891. package/dist/esm/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.mts +0 -4
  892. package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.d.mts +0 -1
  893. package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.mjs +0 -1
  894. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +0 -72
  895. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +0 -236
  896. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.mts +0 -10
  897. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.mts +0 -33
  898. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.mjs +0 -14
  899. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.mts +0 -33
  900. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.mjs +0 -14
  901. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.d.mts +0 -3
  902. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.mjs +0 -2
  903. package/dist/esm/api/resources/business/resources/products/resources/variants/exports.d.mts +0 -3
  904. package/dist/esm/api/resources/business/resources/products/resources/variants/exports.mjs +0 -4
  905. package/dist/esm/api/resources/business/resources/products/resources/variants/index.d.mts +0 -3
  906. package/dist/esm/api/resources/business/resources/products/resources/variants/index.mjs +0 -3
  907. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.mts +0 -47
  908. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.mjs +0 -148
  909. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -11
  910. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.mts +0 -9
  911. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.mts +0 -9
  912. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/index.d.mts +0 -3
  913. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/exports.d.mts +0 -2
  914. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/exports.mjs +0 -3
  915. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/index.d.mts +0 -1
  916. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/index.mjs +0 -1
  917. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.d.mts +0 -8
  918. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.mjs +0 -8
  919. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.mts +0 -60
  920. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.mjs +0 -207
  921. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.mts +0 -14
  922. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.mts +0 -9
  923. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.mts +0 -15
  924. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.mts +0 -3
  925. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.mts +0 -2
  926. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/exports.mjs +0 -3
  927. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.mts +0 -4
  928. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.mts +0 -4
  929. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.mts +0 -2
  930. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.mjs +0 -2
  931. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.mts +0 -32
  932. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.mjs +0 -100
  933. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.mts +0 -1
  934. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.mjs +0 -1
  935. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.mts +0 -21
  936. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.mts +0 -1
  937. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.mts +0 -2
  938. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/exports.mjs +0 -3
  939. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.mts +0 -4
  940. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.mts +0 -1
  941. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.mjs +0 -1
  942. package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.mts +0 -4
  943. package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.mts +0 -4
  944. package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.d.mts +0 -2
  945. package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.mjs +0 -2
  946. package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.d.mts +0 -4
  947. package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.d.mts +0 -4
  948. package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.d.mts +0 -4
  949. package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.d.mts +0 -4
  950. package/dist/esm/api/resources/business/resources/products/types/index.d.mts +0 -4
  951. package/dist/esm/api/resources/business/resources/products/types/index.mjs +0 -4
  952. package/dist/esm/api/resources/business/resources/taxCodes/client/Client.d.mts +0 -27
  953. package/dist/esm/api/resources/business/resources/taxCodes/client/Client.mjs +0 -74
  954. package/dist/esm/api/resources/business/resources/taxCodes/exports.d.mts +0 -2
  955. package/dist/esm/api/resources/business/resources/taxCodes/exports.mjs +0 -3
  956. package/dist/esm/api/resources/business/resources/taxCodes/types/ListTaxCodesResponse.d.mts +0 -4
  957. package/dist/esm/api/resources/business/resources/taxCodes/types/index.d.mts +0 -1
  958. package/dist/esm/api/resources/business/resources/taxCodes/types/index.mjs +0 -1
  959. package/dist/esm/api/resources/customer/resources/auth/client/requests/LogoutAuthRequest.d.mts +0 -7
  960. package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +0 -261
  961. package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +0 -816
  962. package/dist/esm/api/resources/customer/resources/cart/client/index.d.mts +0 -1
  963. package/dist/esm/api/resources/customer/resources/cart/client/index.mjs +0 -1
  964. package/dist/esm/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.mts +0 -16
  965. package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.mts +0 -15
  966. package/dist/esm/api/resources/customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.d.mts +0 -13
  967. package/dist/esm/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.mts +0 -10
  968. package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.mts +0 -10
  969. package/dist/esm/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.mts +0 -10
  970. package/dist/esm/api/resources/customer/resources/cart/client/requests/ListShippingOptionsCartRequest.d.mts +0 -10
  971. package/dist/esm/api/resources/customer/resources/cart/client/requests/RefreshCartPaymentRequest.d.mts +0 -12
  972. package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.mts +0 -10
  973. package/dist/esm/api/resources/customer/resources/cart/client/requests/SelectShippingRateRequest.d.mts +0 -12
  974. package/dist/esm/api/resources/customer/resources/cart/client/requests/ShippingAddressRequest.d.mts +0 -27
  975. package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.mts +0 -12
  976. package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +0 -12
  977. package/dist/esm/api/resources/customer/resources/cart/exports.d.mts +0 -2
  978. package/dist/esm/api/resources/customer/resources/cart/exports.mjs +0 -3
  979. package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.d.mts +0 -4
  980. package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.mts +0 -4
  981. package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +0 -17
  982. package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.mjs +0 -7
  983. package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.d.mts +0 -4
  984. package/dist/esm/api/resources/customer/resources/cart/types/ListShippingOptionsCartResponse.d.mts +0 -18
  985. package/dist/esm/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.d.mts +0 -18
  986. package/dist/esm/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.mjs +0 -7
  987. package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.mts +0 -4
  988. package/dist/esm/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.mts +0 -4
  989. package/dist/esm/api/resources/customer/resources/cart/types/SetFulfillmentCartResponse.d.mts +0 -4
  990. package/dist/esm/api/resources/customer/resources/cart/types/SetShippingAddressCartResponse.d.mts +0 -4
  991. package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.mts +0 -4
  992. package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +0 -11
  993. package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +0 -11
  994. package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.d.mts +0 -17
  995. package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +0 -53
  996. package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +0 -184
  997. package/dist/esm/api/resources/customer/resources/shop/client/index.d.mts +0 -1
  998. package/dist/esm/api/resources/customer/resources/shop/client/index.mjs +0 -1
  999. package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +0 -13
  1000. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +0 -10
  1001. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +0 -11
  1002. package/dist/esm/api/resources/customer/resources/shop/client/requests/index.d.mts +0 -3
  1003. package/dist/esm/api/resources/customer/resources/shop/exports.d.mts +0 -2
  1004. package/dist/esm/api/resources/customer/resources/shop/exports.mjs +0 -3
  1005. package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +0 -4
  1006. package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +0 -10
  1007. package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.mjs +0 -2
  1008. package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +0 -4
  1009. package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.mjs +0 -2
  1010. package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +0 -3
  1011. package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +0 -3
  1012. package/dist/esm/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.mts +0 -16
  1013. package/dist/esm/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.mjs +0 -2
  1014. package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.mts +0 -15
  1015. package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.mjs +0 -2
  1016. package/dist/esm/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.d.mts +0 -10
  1017. package/dist/esm/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.mjs +0 -2
  1018. package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.mts +0 -10
  1019. package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.mjs +0 -2
  1020. package/dist/esm/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.d.mts +0 -10
  1021. package/dist/esm/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.mjs +0 -2
  1022. package/dist/esm/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.d.mts +0 -10
  1023. package/dist/esm/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.mjs +0 -2
  1024. package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.mts +0 -4
  1025. package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.mjs +0 -2
  1026. package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.mts +0 -4
  1027. package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.mjs +0 -2
  1028. package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.mts +0 -16
  1029. package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.mjs +0 -7
  1030. package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.mts +0 -4
  1031. package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.mjs +0 -2
  1032. package/dist/esm/api/resources/customer/resources/stands/types/ScanStandsResponse.d.mts +0 -4
  1033. package/dist/esm/api/resources/customer/resources/stands/types/ScanStandsResponse.mjs +0 -2
  1034. package/dist/esm/api/types/AddCartItemRequest.d.mts +0 -9
  1035. package/dist/esm/api/types/AddCartItemRequest.mjs +0 -2
  1036. package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.mts +0 -23
  1037. package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.mjs +0 -2
  1038. package/dist/esm/api/types/CartResource.d.mts +0 -50
  1039. package/dist/esm/api/types/CartResource.mjs +0 -2
  1040. package/dist/esm/api/types/CheckoutRequest.d.mts +0 -5
  1041. package/dist/esm/api/types/CheckoutRequest.mjs +0 -2
  1042. package/dist/esm/api/types/FulfillmentType.d.mts +0 -6
  1043. package/dist/esm/api/types/FulfillmentType.mjs +0 -6
  1044. package/dist/esm/api/types/InventoryLevelResource.d.mts +0 -7
  1045. package/dist/esm/api/types/InventoryLevelResource.mjs +0 -2
  1046. package/dist/esm/api/types/PriceListResource.d.mts +0 -8
  1047. package/dist/esm/api/types/PriceListResource.mjs +0 -2
  1048. package/dist/esm/api/types/PriceResource.d.mts +0 -10
  1049. package/dist/esm/api/types/PriceResource.mjs +0 -2
  1050. package/dist/esm/api/types/ProductResource.d.mts +0 -21
  1051. package/dist/esm/api/types/ProductResource.mjs +0 -2
  1052. package/dist/esm/api/types/StandShop.d.mts +0 -24
  1053. package/dist/esm/api/types/StandShop.mjs +0 -2
  1054. package/dist/esm/api/types/TaxCode.d.mts +0 -21
  1055. package/dist/esm/api/types/TaxCode.mjs +0 -12
  1056. package/dist/esm/api/types/VariantResource.d.mts +0 -14
  1057. package/dist/esm/api/types/VariantResource.mjs +0 -2
  1058. /package/dist/cjs/api/resources/business/resources/{taxCodes → commerce}/client/index.d.ts +0 -0
  1059. /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests → commerce/client}/index.js +0 -0
  1060. /package/dist/{esm/api/resources/business/resources/priceLists/client/requests/index.mjs → cjs/api/resources/business/resources/commerce/resources/locations/client/index.d.ts} +0 -0
  1061. /package/dist/cjs/api/resources/business/resources/{products/client/requests → commerce/resources/locations/client}/index.js +0 -0
  1062. /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.d.ts +0 -0
  1063. /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.js +0 -0
  1064. /package/dist/cjs/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.js → commerce/resources/locations/types/ListLocationsResponse.js} +0 -0
  1065. /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.d.ts +0 -0
  1066. /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.js +0 -0
  1067. /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.js → commerce/resources/orders/client/requests/GetOrdersRequest.js} +0 -0
  1068. /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.js → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.js} +0 -0
  1069. /package/dist/cjs/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.js → commerce/resources/orders/client/requests/ListOrdersRequest.js} +0 -0
  1070. /package/dist/cjs/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.js → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.js} +0 -0
  1071. /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.js → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.js} +0 -0
  1072. /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.js → commerce/resources/orders/client/requests/PickUpOrderRequest.js} +0 -0
  1073. /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.d.ts +0 -0
  1074. /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.js +0 -0
  1075. /package/dist/cjs/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.js → commerce/resources/orders/types/CancelOrdersResponse.js} +0 -0
  1076. /package/dist/cjs/api/resources/business/resources/{products/client/requests/GetProductsRequest.js → commerce/resources/orders/types/GetOrdersResponse.js} +0 -0
  1077. /package/dist/cjs/api/resources/business/resources/{products/client/requests/StoreProductRequest.js → commerce/resources/orders/types/KeepPaymentOrdersResponse.js} +0 -0
  1078. /package/dist/cjs/api/resources/business/resources/{products/client/requests/UpdateProductRequest.js → commerce/resources/orders/types/ListOrdersResponse.js} +0 -0
  1079. /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/orders/types/MarkNoShowOrdersResponse.js} +0 -0
  1080. /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/orders/types/MarkPickedUpOrdersResponse.js} +0 -0
  1081. /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.js → commerce/resources/orders/types/MarkReadyOrdersResponse.js} +0 -0
  1082. /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.js → commerce/resources/orders/types/RefundOrdersResponse.js} +0 -0
  1083. /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/stock}/client/index.d.ts +0 -0
  1084. /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/stock}/client/index.js +0 -0
  1085. /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.js → commerce/resources/stock/client/requests/AdjustLocationStockRequest.js} +0 -0
  1086. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.js → commerce/resources/stock/client/requests/ListStockRequest.js} +0 -0
  1087. /package/dist/cjs/api/resources/business/resources/{products/resources/images → commerce/resources/stock}/client/requests/index.js +0 -0
  1088. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.d.ts +0 -0
  1089. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.js +0 -0
  1090. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/stock/types/AdjustStockResponse.js} +0 -0
  1091. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/stock/types/ListStockResponse.js} +0 -0
  1092. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.js → productOrders/client/requests/PurchaseLabelRequest.js} +0 -0
  1093. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.js → productOrders/client/requests/StoreTrackingRequest.js} +0 -0
  1094. /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.js → stripeConnect/types/ConnectStripeConnectResponse.js} +0 -0
  1095. /package/dist/{esm/api/resources/business/resources/products/client/requests/index.mjs → cjs/api/resources/commerce/client/index.d.ts} +0 -0
  1096. /package/dist/cjs/api/resources/{business/resources/products/resources/inventory/client/requests → commerce/client}/index.js +0 -0
  1097. /package/dist/cjs/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.d.ts +0 -0
  1098. /package/dist/cjs/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.js +0 -0
  1099. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.js → commerce/resources/carts/client/requests/GetCurrentCartsRequest.js} +0 -0
  1100. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.js → commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.js} +0 -0
  1101. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.js → commerce/resources/carts/client/requests/UpdateCartRequest.js} +0 -0
  1102. /package/dist/cjs/api/resources/{business/resources/products → commerce/resources/carts}/index.d.ts +0 -0
  1103. /package/dist/cjs/api/resources/{business/resources/products → commerce/resources/carts}/index.js +0 -0
  1104. /package/dist/cjs/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.d.ts +0 -0
  1105. /package/dist/cjs/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.js +0 -0
  1106. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.js → commerce/resources/carts/resources/lines/client/requests/CartLineRequest.js} +0 -0
  1107. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.js → commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.js} +0 -0
  1108. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/types/CreateVariantsResponse.js → commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.js} +0 -0
  1109. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/carts/resources/lines}/client/requests/index.js +0 -0
  1110. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.d.ts +0 -0
  1111. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.js +0 -0
  1112. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/types/UpdateVariantsResponse.js → commerce/resources/carts/resources/lines/types/AddLinesResponse.js} +0 -0
  1113. /package/dist/cjs/api/resources/{business/resources/products/types/CreateProductsResponse.js → commerce/resources/carts/resources/lines/types/ChangeLinesResponse.js} +0 -0
  1114. /package/dist/cjs/api/resources/{business/resources/products/types/GetProductsResponse.js → commerce/resources/carts/resources/lines/types/RemoveLinesResponse.js} +0 -0
  1115. /package/dist/cjs/api/resources/{business/resources/products/types/ListProductsResponse.js → commerce/resources/carts/types/GetCurrentCartsResponse.js} +0 -0
  1116. /package/dist/cjs/api/resources/{business/resources/products/types/UpdateProductsResponse.js → commerce/resources/carts/types/OpenCartsResponse.js} +0 -0
  1117. /package/dist/cjs/api/resources/{business/resources/taxCodes/types/ListTaxCodesResponse.js → commerce/resources/carts/types/UpdateCurrentCartsResponse.js} +0 -0
  1118. /package/dist/cjs/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.d.ts +0 -0
  1119. /package/dist/cjs/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.js +0 -0
  1120. /package/dist/cjs/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.js → commerce/resources/checkout/client/requests/PayRequest.js} +0 -0
  1121. /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.js → commerce/resources/checkout/client/requests/QuoteCheckoutRequest.js} +0 -0
  1122. /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.js → commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.js} +0 -0
  1123. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → commerce/resources/checkout}/client/requests/index.js +0 -0
  1124. /package/dist/cjs/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.d.ts +0 -0
  1125. /package/dist/cjs/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.js +0 -0
  1126. /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.js → commerce/resources/checkout/types/QuoteCheckoutResponse.js} +0 -0
  1127. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.d.ts +0 -0
  1128. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.js +0 -0
  1129. /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.js → commerce/resources/orders/client/requests/GetOrdersRequest.js} +0 -0
  1130. /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.js → commerce/resources/orders/client/requests/ListOrdersRequest.js} +0 -0
  1131. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/orders}/client/requests/index.js +0 -0
  1132. /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/orders}/index.d.ts +0 -0
  1133. /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/orders}/index.js +0 -0
  1134. /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/GetCartRequest.js → commerce/resources/orders/types/GetOrdersResponse.js} +0 -0
  1135. /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.js → commerce/resources/orders/types/ListOrdersResponse.js} +0 -0
  1136. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.d.ts +0 -0
  1137. /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.js +0 -0
  1138. /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/RefreshCartPaymentRequest.js → catalog/client/requests/GetProductCatalogRequest.js} +0 -0
  1139. /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/RemoveItemCartRequest.js → catalog/client/requests/ListCategoriesCatalogRequest.js} +0 -0
  1140. /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/SelectShippingRateRequest.js → catalog/client/requests/ListLocationsCatalogRequest.js} +0 -0
  1141. /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/ShippingAddressRequest.js → catalog/client/requests/ListPickupSlotsCatalogRequest.js} +0 -0
  1142. /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/UpdateCartItemRequest.js → catalog/client/requests/ListProductsCatalogRequest.js} +0 -0
  1143. /package/dist/cjs/api/resources/{business/resources/taxCodes/client → customer/resources/catalog/client/requests}/index.js +0 -0
  1144. /package/dist/cjs/api/resources/customer/resources/{shop → catalog}/index.d.ts +0 -0
  1145. /package/dist/cjs/api/resources/customer/resources/{shop → catalog}/index.js +0 -0
  1146. /package/dist/cjs/api/resources/customer/resources/{cart/types/AddItemCartResponse.js → catalog/types/GetProductCatalogResponse.js} +0 -0
  1147. /package/dist/cjs/api/resources/customer/resources/{cart/types/CheckoutCartResponse.js → catalog/types/ListCategoriesCatalogResponse.js} +0 -0
  1148. /package/dist/cjs/api/resources/customer/resources/{cart/types/GetCartResponse.js → catalog/types/ListLocationsCatalogResponse.js} +0 -0
  1149. /package/dist/cjs/api/resources/customer/resources/{cart/types/ListShippingOptionsCartResponse.js → catalog/types/ListProductsCatalogResponse.js} +0 -0
  1150. /package/dist/cjs/api/resources/customer/resources/{cart/types/RemoveItemCartResponse.js → me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.js} +0 -0
  1151. /package/dist/cjs/api/resources/customer/resources/{cart/types/SelectShippingOptionCartResponse.js → stands/client/requests/NoticeStandsRequest.js} +0 -0
  1152. /package/dist/cjs/api/resources/customer/resources/{cart/types/SetFulfillmentCartResponse.js → stands/types/NoticeStandsResponse.js} +0 -0
  1153. /package/dist/cjs/api/{resources/customer/resources/cart/types/SetShippingAddressCartResponse.js → types/Allergen.js} +0 -0
  1154. /package/dist/cjs/api/{resources/customer/resources/cart/types/UpdateItemCartResponse.js → types/BusinessCommerceRefund.js} +0 -0
  1155. /package/dist/cjs/api/{resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.js → types/BusinessCommerceStockLevel.js} +0 -0
  1156. /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/GetProductShopRequest.js → types/CatalogPickupSlots.js} +0 -0
  1157. /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.js → types/Image.js} +0 -0
  1158. /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/ListProductsShopRequest.js → types/ProductCategoryResource.js} +0 -0
  1159. /package/dist/cjs/api/{resources/customer/resources/shop/types/GetProductShopResponse.js → types/StandNotice.js} +0 -0
  1160. /package/dist/esm/api/resources/business/resources/{taxCodes → commerce}/client/index.d.mts +0 -0
  1161. /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests → commerce/client}/index.mjs +0 -0
  1162. /package/dist/esm/api/resources/business/resources/{products/resources/inventory/client/requests/index.mjs → commerce/resources/locations/client/index.d.mts} +0 -0
  1163. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests → commerce/resources/locations/client}/index.mjs +0 -0
  1164. /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.d.mts +0 -0
  1165. /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.mjs +0 -0
  1166. /package/dist/esm/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.mjs → commerce/resources/locations/types/ListLocationsResponse.mjs} +0 -0
  1167. /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.d.mts +0 -0
  1168. /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.mjs +0 -0
  1169. /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.mjs → commerce/resources/orders/client/requests/GetOrdersRequest.mjs} +0 -0
  1170. /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.mjs → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.mjs} +0 -0
  1171. /package/dist/esm/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.mjs → commerce/resources/orders/client/requests/ListOrdersRequest.mjs} +0 -0
  1172. /package/dist/esm/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.mjs → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.mjs} +0 -0
  1173. /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.mjs → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.mjs} +0 -0
  1174. /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.mjs → commerce/resources/orders/client/requests/PickUpOrderRequest.mjs} +0 -0
  1175. /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.d.mts +0 -0
  1176. /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.mjs +0 -0
  1177. /package/dist/esm/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.mjs → commerce/resources/orders/types/CancelOrdersResponse.mjs} +0 -0
  1178. /package/dist/esm/api/resources/business/resources/{products/client/requests/GetProductsRequest.mjs → commerce/resources/orders/types/GetOrdersResponse.mjs} +0 -0
  1179. /package/dist/esm/api/resources/business/resources/{products/client/requests/StoreProductRequest.mjs → commerce/resources/orders/types/KeepPaymentOrdersResponse.mjs} +0 -0
  1180. /package/dist/esm/api/resources/business/resources/{products/client/requests/UpdateProductRequest.mjs → commerce/resources/orders/types/ListOrdersResponse.mjs} +0 -0
  1181. /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/orders/types/MarkNoShowOrdersResponse.mjs} +0 -0
  1182. /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/orders/types/MarkPickedUpOrdersResponse.mjs} +0 -0
  1183. /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.mjs → commerce/resources/orders/types/MarkReadyOrdersResponse.mjs} +0 -0
  1184. /package/dist/esm/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.mjs → commerce/resources/orders/types/RefundOrdersResponse.mjs} +0 -0
  1185. /package/dist/esm/api/resources/business/resources/{products → commerce/resources/stock}/client/index.d.mts +0 -0
  1186. /package/dist/esm/api/resources/business/resources/{products → commerce/resources/stock}/client/index.mjs +0 -0
  1187. /package/dist/esm/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.mjs → commerce/resources/stock/client/requests/AdjustLocationStockRequest.mjs} +0 -0
  1188. /package/dist/esm/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.mjs → commerce/resources/stock/client/requests/ListStockRequest.mjs} +0 -0
  1189. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/client/requests/index.mjs +0 -0
  1190. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.d.mts +0 -0
  1191. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.mjs +0 -0
  1192. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/stock/types/AdjustStockResponse.mjs} +0 -0
  1193. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/stock/types/ListStockResponse.mjs} +0 -0
  1194. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.mjs → productOrders/client/requests/PurchaseLabelRequest.mjs} +0 -0
  1195. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.mjs → productOrders/client/requests/StoreTrackingRequest.mjs} +0 -0
  1196. /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.mjs → stripeConnect/types/ConnectStripeConnectResponse.mjs} +0 -0
  1197. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/index.mjs → commerce/client/index.d.mts} +0 -0
  1198. /package/dist/esm/api/resources/{business/resources/taxCodes → commerce}/client/index.mjs +0 -0
  1199. /package/dist/esm/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.d.mts +0 -0
  1200. /package/dist/esm/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.mjs +0 -0
  1201. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.mjs → commerce/resources/carts/client/requests/GetCurrentCartsRequest.mjs} +0 -0
  1202. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.mjs → commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.mjs} +0 -0
  1203. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.mjs → commerce/resources/carts/client/requests/UpdateCartRequest.mjs} +0 -0
  1204. /package/dist/esm/api/resources/{business/resources/products → commerce/resources/carts}/index.d.mts +0 -0
  1205. /package/dist/esm/api/resources/{business/resources/products → commerce/resources/carts}/index.mjs +0 -0
  1206. /package/dist/esm/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.d.mts +0 -0
  1207. /package/dist/esm/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.mjs +0 -0
  1208. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.mjs → commerce/resources/carts/resources/lines/client/requests/CartLineRequest.mjs} +0 -0
  1209. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.mjs → commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.mjs} +0 -0
  1210. /package/dist/esm/api/resources/{business/resources/products/resources/variants/types/CreateVariantsResponse.mjs → commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.mjs} +0 -0
  1211. /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/carts/resources/lines}/client/requests/index.mjs +0 -0
  1212. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.d.mts +0 -0
  1213. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.mjs +0 -0
  1214. /package/dist/esm/api/resources/{business/resources/products/resources/variants/types/UpdateVariantsResponse.mjs → commerce/resources/carts/resources/lines/types/AddLinesResponse.mjs} +0 -0
  1215. /package/dist/esm/api/resources/{business/resources/products/types/CreateProductsResponse.mjs → commerce/resources/carts/resources/lines/types/ChangeLinesResponse.mjs} +0 -0
  1216. /package/dist/esm/api/resources/{business/resources/products/types/GetProductsResponse.mjs → commerce/resources/carts/resources/lines/types/RemoveLinesResponse.mjs} +0 -0
  1217. /package/dist/esm/api/resources/{business/resources/products/types/ListProductsResponse.mjs → commerce/resources/carts/types/GetCurrentCartsResponse.mjs} +0 -0
  1218. /package/dist/esm/api/resources/{business/resources/products/types/UpdateProductsResponse.mjs → commerce/resources/carts/types/OpenCartsResponse.mjs} +0 -0
  1219. /package/dist/esm/api/resources/{business/resources/taxCodes/types/ListTaxCodesResponse.mjs → commerce/resources/carts/types/UpdateCurrentCartsResponse.mjs} +0 -0
  1220. /package/dist/esm/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.d.mts +0 -0
  1221. /package/dist/esm/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.mjs +0 -0
  1222. /package/dist/esm/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.mjs → commerce/resources/checkout/client/requests/PayRequest.mjs} +0 -0
  1223. /package/dist/esm/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.mjs → commerce/resources/checkout/client/requests/QuoteCheckoutRequest.mjs} +0 -0
  1224. /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.mjs → commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.mjs} +0 -0
  1225. /package/dist/esm/api/resources/{customer/resources/shop → commerce/resources/checkout}/client/requests/index.mjs +0 -0
  1226. /package/dist/esm/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.d.mts +0 -0
  1227. /package/dist/esm/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.mjs +0 -0
  1228. /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.mjs → commerce/resources/checkout/types/QuoteCheckoutResponse.mjs} +0 -0
  1229. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.d.mts +0 -0
  1230. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.mjs +0 -0
  1231. /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.mjs → commerce/resources/orders/client/requests/GetOrdersRequest.mjs} +0 -0
  1232. /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.mjs → commerce/resources/orders/client/requests/ListOrdersRequest.mjs} +0 -0
  1233. /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/orders}/index.d.mts +0 -0
  1234. /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/orders}/index.mjs +0 -0
  1235. /package/dist/esm/api/resources/{customer/resources/cart/client/requests/GetCartRequest.mjs → commerce/resources/orders/types/GetOrdersResponse.mjs} +0 -0
  1236. /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.mjs → commerce/resources/orders/types/ListOrdersResponse.mjs} +0 -0
  1237. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.d.mts +0 -0
  1238. /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.mjs +0 -0
  1239. /package/dist/esm/api/resources/customer/resources/{cart/client/requests/RefreshCartPaymentRequest.mjs → catalog/client/requests/GetProductCatalogRequest.mjs} +0 -0
  1240. /package/dist/esm/api/resources/customer/resources/{cart/client/requests/RemoveItemCartRequest.mjs → catalog/client/requests/ListCategoriesCatalogRequest.mjs} +0 -0
  1241. /package/dist/esm/api/resources/customer/resources/{cart/client/requests/SelectShippingRateRequest.mjs → catalog/client/requests/ListLocationsCatalogRequest.mjs} +0 -0
  1242. /package/dist/esm/api/resources/customer/resources/{cart/client/requests/ShippingAddressRequest.mjs → catalog/client/requests/ListPickupSlotsCatalogRequest.mjs} +0 -0
  1243. /package/dist/esm/api/resources/customer/resources/{cart/client/requests/UpdateCartItemRequest.mjs → catalog/client/requests/ListProductsCatalogRequest.mjs} +0 -0
  1244. /package/dist/esm/api/resources/customer/resources/{shop → catalog}/index.d.mts +0 -0
  1245. /package/dist/esm/api/resources/customer/resources/{shop → catalog}/index.mjs +0 -0
  1246. /package/dist/esm/api/resources/customer/resources/{cart/types/AddItemCartResponse.mjs → catalog/types/GetProductCatalogResponse.mjs} +0 -0
  1247. /package/dist/esm/api/resources/customer/resources/{cart/types/CheckoutCartResponse.mjs → catalog/types/ListCategoriesCatalogResponse.mjs} +0 -0
  1248. /package/dist/esm/api/resources/customer/resources/{cart/types/GetCartResponse.mjs → catalog/types/ListLocationsCatalogResponse.mjs} +0 -0
  1249. /package/dist/esm/api/resources/customer/resources/{cart/types/ListShippingOptionsCartResponse.mjs → catalog/types/ListProductsCatalogResponse.mjs} +0 -0
  1250. /package/dist/esm/api/resources/customer/resources/{cart/types/RemoveItemCartResponse.mjs → me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.mjs} +0 -0
  1251. /package/dist/esm/api/resources/customer/resources/{cart/types/SelectShippingOptionCartResponse.mjs → stands/client/requests/NoticeStandsRequest.mjs} +0 -0
  1252. /package/dist/esm/api/resources/customer/resources/{cart/types/SetFulfillmentCartResponse.mjs → stands/types/NoticeStandsResponse.mjs} +0 -0
  1253. /package/dist/esm/api/{resources/customer/resources/cart/types/SetShippingAddressCartResponse.mjs → types/Allergen.mjs} +0 -0
  1254. /package/dist/esm/api/{resources/customer/resources/cart/types/UpdateItemCartResponse.mjs → types/BusinessCommerceRefund.mjs} +0 -0
  1255. /package/dist/esm/api/{resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.mjs → types/BusinessCommerceStockLevel.mjs} +0 -0
  1256. /package/dist/esm/api/{resources/customer/resources/shop/client/requests/GetProductShopRequest.mjs → types/CatalogPickupSlots.mjs} +0 -0
  1257. /package/dist/esm/api/{resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.mjs → types/Image.mjs} +0 -0
  1258. /package/dist/esm/api/{resources/customer/resources/shop/client/requests/ListProductsShopRequest.mjs → types/ProductCategoryResource.mjs} +0 -0
  1259. /package/dist/esm/api/{resources/customer/resources/shop/types/GetProductShopResponse.mjs → types/StandNotice.mjs} +0 -0
@@ -1,853 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- var __rest = (this && this.__rest) || function (s, e) {
46
- var t = {};
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
- t[p] = s[p];
49
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
- t[p[i]] = s[p[i]];
53
- }
54
- return t;
55
- };
56
- Object.defineProperty(exports, "__esModule", { value: true });
57
- exports.CartClient = void 0;
58
- const BaseClient_js_1 = require("../../../../../../BaseClient.js");
59
- const headers_js_1 = require("../../../../../../core/headers.js");
60
- const core = __importStar(require("../../../../../../core/index.js"));
61
- const environments = __importStar(require("../../../../../../environments.js"));
62
- const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
63
- const errors = __importStar(require("../../../../../../errors/index.js"));
64
- const FiveOneEat = __importStar(require("../../../../../index.js"));
65
- class CartClient {
66
- constructor(options = {}) {
67
- this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
68
- }
69
- /**
70
- * @param {FiveOneEat.customer.GetCartRequest} request
71
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
72
- *
73
- * @throws {@link FiveOneEat.UnauthorizedError}
74
- * @throws {@link FiveOneEat.NotFoundError}
75
- *
76
- * @example
77
- * await client.customer.cart.get({
78
- * business: "business"
79
- * })
80
- */
81
- get(request, requestOptions) {
82
- return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
83
- }
84
- __get(request, requestOptions) {
85
- return __awaiter(this, void 0, void 0, function* () {
86
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
87
- const { business } = request;
88
- const _authRequest = yield this._options.authProvider.getAuthRequest();
89
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
90
- const _response = yield core.fetcher({
91
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart`),
92
- method: "GET",
93
- headers: _headers,
94
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
95
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
96
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
97
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
98
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
99
- logging: this._options.logging,
100
- });
101
- if (_response.ok) {
102
- return { data: _response.body, rawResponse: _response.rawResponse };
103
- }
104
- if (_response.error.reason === "status-code") {
105
- switch (_response.error.statusCode) {
106
- case 401:
107
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
108
- case 404:
109
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
110
- default:
111
- throw new errors.FiveOneEatError({
112
- statusCode: _response.error.statusCode,
113
- body: _response.error.body,
114
- rawResponse: _response.rawResponse,
115
- });
116
- }
117
- }
118
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/cart");
119
- });
120
- }
121
- /**
122
- * Only a variant this shop sells is accepted: its product is active,
123
- * published and on the storefront, and the variant has a storefront price.
124
- * Anything else is a 422 on `variant_id` ("That item isn't available here.").
125
- *
126
- * @param {FiveOneEat.customer.AddItemCartRequest} request
127
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
128
- *
129
- * @throws {@link FiveOneEat.UnauthorizedError}
130
- * @throws {@link FiveOneEat.NotFoundError}
131
- * @throws {@link FiveOneEat.UnprocessableEntityError}
132
- *
133
- * @example
134
- * await client.customer.cart.addItem({
135
- * business: "business",
136
- * body: {
137
- * variant_id: "variant_id",
138
- * quantity: 1
139
- * }
140
- * })
141
- */
142
- addItem(request, requestOptions) {
143
- return core.HttpResponsePromise.fromPromise(this.__addItem(request, requestOptions));
144
- }
145
- __addItem(request, requestOptions) {
146
- return __awaiter(this, void 0, void 0, function* () {
147
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
148
- const { business, body: _body } = request;
149
- const _authRequest = yield this._options.authProvider.getAuthRequest();
150
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
151
- const _response = yield core.fetcher({
152
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart`),
153
- method: "POST",
154
- headers: _headers,
155
- contentType: "application/json",
156
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
157
- requestType: "json",
158
- body: _body,
159
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
160
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
161
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
162
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
163
- logging: this._options.logging,
164
- });
165
- if (_response.ok) {
166
- return {
167
- data: _response.body,
168
- rawResponse: _response.rawResponse,
169
- };
170
- }
171
- if (_response.error.reason === "status-code") {
172
- switch (_response.error.statusCode) {
173
- case 401:
174
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
175
- case 404:
176
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
177
- case 422:
178
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
179
- default:
180
- throw new errors.FiveOneEatError({
181
- statusCode: _response.error.statusCode,
182
- body: _response.error.body,
183
- rawResponse: _response.rawResponse,
184
- });
185
- }
186
- }
187
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/businesses/{business}/cart");
188
- });
189
- }
190
- /**
191
- * @param {FiveOneEat.customer.ClearCartRequest} request
192
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
193
- *
194
- * @throws {@link FiveOneEat.UnauthorizedError}
195
- * @throws {@link FiveOneEat.NotFoundError}
196
- *
197
- * @example
198
- * await client.customer.cart.clear({
199
- * business: "business"
200
- * })
201
- */
202
- clear(request, requestOptions) {
203
- return core.HttpResponsePromise.fromPromise(this.__clear(request, requestOptions));
204
- }
205
- __clear(request, requestOptions) {
206
- return __awaiter(this, void 0, void 0, function* () {
207
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
208
- const { business } = request;
209
- const _authRequest = yield this._options.authProvider.getAuthRequest();
210
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
211
- const _response = yield core.fetcher({
212
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart`),
213
- method: "DELETE",
214
- headers: _headers,
215
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
216
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
217
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
218
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
219
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
220
- logging: this._options.logging,
221
- });
222
- if (_response.ok) {
223
- return { data: undefined, rawResponse: _response.rawResponse };
224
- }
225
- if (_response.error.reason === "status-code") {
226
- switch (_response.error.statusCode) {
227
- case 401:
228
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
229
- case 404:
230
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
231
- default:
232
- throw new errors.FiveOneEatError({
233
- statusCode: _response.error.statusCode,
234
- body: _response.error.body,
235
- rawResponse: _response.rawResponse,
236
- });
237
- }
238
- }
239
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/customer/businesses/{business}/cart");
240
- });
241
- }
242
- /**
243
- * An item this shop no longer sells can't be changed, only removed: 422 on
244
- * `variant_id` ("That item isn't available here.").
245
- *
246
- * @param {FiveOneEat.customer.UpdateCartItemRequest} request
247
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
248
- *
249
- * @throws {@link FiveOneEat.UnauthorizedError}
250
- * @throws {@link FiveOneEat.ForbiddenError}
251
- * @throws {@link FiveOneEat.NotFoundError}
252
- * @throws {@link FiveOneEat.UnprocessableEntityError}
253
- *
254
- * @example
255
- * await client.customer.cart.updateItem({
256
- * cartItem: "cartItem",
257
- * quantity: 1
258
- * })
259
- */
260
- updateItem(request, requestOptions) {
261
- return core.HttpResponsePromise.fromPromise(this.__updateItem(request, requestOptions));
262
- }
263
- __updateItem(request, requestOptions) {
264
- return __awaiter(this, void 0, void 0, function* () {
265
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
266
- const { cartItem } = request, _body = __rest(request, ["cartItem"]);
267
- const _authRequest = yield this._options.authProvider.getAuthRequest();
268
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
269
- const _response = yield core.fetcher({
270
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/cart/items/${core.url.encodePathParam(cartItem)}`),
271
- method: "PUT",
272
- headers: _headers,
273
- contentType: "application/json",
274
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
275
- requestType: "json",
276
- body: _body,
277
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
278
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
279
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
280
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
281
- logging: this._options.logging,
282
- });
283
- if (_response.ok) {
284
- return {
285
- data: _response.body,
286
- rawResponse: _response.rawResponse,
287
- };
288
- }
289
- if (_response.error.reason === "status-code") {
290
- switch (_response.error.statusCode) {
291
- case 401:
292
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
293
- case 403:
294
- throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
295
- case 404:
296
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
297
- case 422:
298
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
299
- default:
300
- throw new errors.FiveOneEatError({
301
- statusCode: _response.error.statusCode,
302
- body: _response.error.body,
303
- rawResponse: _response.rawResponse,
304
- });
305
- }
306
- }
307
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/customer/cart/items/{cartItem}");
308
- });
309
- }
310
- /**
311
- * @param {FiveOneEat.customer.RemoveItemCartRequest} request
312
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
313
- *
314
- * @throws {@link FiveOneEat.UnauthorizedError}
315
- * @throws {@link FiveOneEat.ForbiddenError}
316
- * @throws {@link FiveOneEat.NotFoundError}
317
- *
318
- * @example
319
- * await client.customer.cart.removeItem({
320
- * cartItem: "cartItem"
321
- * })
322
- */
323
- removeItem(request, requestOptions) {
324
- return core.HttpResponsePromise.fromPromise(this.__removeItem(request, requestOptions));
325
- }
326
- __removeItem(request, requestOptions) {
327
- return __awaiter(this, void 0, void 0, function* () {
328
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
329
- const { cartItem } = request;
330
- const _authRequest = yield this._options.authProvider.getAuthRequest();
331
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
332
- const _response = yield core.fetcher({
333
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/cart/items/${core.url.encodePathParam(cartItem)}`),
334
- method: "DELETE",
335
- headers: _headers,
336
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
337
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
338
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
339
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
340
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
341
- logging: this._options.logging,
342
- });
343
- if (_response.ok) {
344
- return {
345
- data: _response.body,
346
- rawResponse: _response.rawResponse,
347
- };
348
- }
349
- if (_response.error.reason === "status-code") {
350
- switch (_response.error.statusCode) {
351
- case 401:
352
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
353
- case 403:
354
- throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
355
- case 404:
356
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
357
- default:
358
- throw new errors.FiveOneEatError({
359
- statusCode: _response.error.statusCode,
360
- body: _response.error.body,
361
- rawResponse: _response.rawResponse,
362
- });
363
- }
364
- }
365
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/customer/cart/items/{cartItem}");
366
- });
367
- }
368
- /**
369
- * Refused with a 422 and a message while the order can't be priced yet: no
370
- * fulfillment method chosen (when the shop offers several), a shipped order
371
- * with no shipping address, or calculated shipping with no option chosen.
372
- * The message is also in the cart's `fulfillment.checkout_blocker`.
373
- *
374
- * A 409 `{status: "paid", message, payment_intent_id}` means the cart's
375
- * payment already went through (never a second payment): finish checkout
376
- * with that id. A 409 `{status: "processing", message}` means the payment
377
- * is still in flight: don't pay again, check back later.
378
- *
379
- * @param {FiveOneEat.customer.CreatePaymentIntentCartRequest} request
380
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
381
- *
382
- * @throws {@link FiveOneEat.UnauthorizedError}
383
- * @throws {@link FiveOneEat.NotFoundError}
384
- * @throws {@link FiveOneEat.ConflictError}
385
- * @throws {@link FiveOneEat.UnprocessableEntityError}
386
- *
387
- * @example
388
- * await client.customer.cart.createPaymentIntent({
389
- * business: "business"
390
- * })
391
- */
392
- createPaymentIntent(request, requestOptions) {
393
- return core.HttpResponsePromise.fromPromise(this.__createPaymentIntent(request, requestOptions));
394
- }
395
- __createPaymentIntent(request, requestOptions) {
396
- return __awaiter(this, void 0, void 0, function* () {
397
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
398
- const { business } = request;
399
- const _authRequest = yield this._options.authProvider.getAuthRequest();
400
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
401
- const _response = yield core.fetcher({
402
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart/payment-intent`),
403
- method: "POST",
404
- headers: _headers,
405
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
406
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
407
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
408
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
409
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
410
- logging: this._options.logging,
411
- });
412
- if (_response.ok) {
413
- return {
414
- data: _response.body,
415
- rawResponse: _response.rawResponse,
416
- };
417
- }
418
- if (_response.error.reason === "status-code") {
419
- switch (_response.error.statusCode) {
420
- case 401:
421
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
422
- case 404:
423
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
424
- case 409:
425
- throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
426
- case 422:
427
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
428
- default:
429
- throw new errors.FiveOneEatError({
430
- statusCode: _response.error.statusCode,
431
- body: _response.error.body,
432
- rawResponse: _response.rawResponse,
433
- });
434
- }
435
- }
436
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/businesses/{business}/cart/payment-intent");
437
- });
438
- }
439
- /**
440
- * Call immediately before presenting or confirming the payment sheet. The
441
- * cart may have changed since its payment intent was created (another
442
- * device, a changed address or shipping option), so it is re-priced and
443
- * the intent brought up to date. Send `amount`, the total in cents the
444
- * buyer is looking at.
445
- *
446
- * - `total_changed: false` — pay with the returned `client_secret`.
447
- * - `total_changed: true` — show "Your total changed to $X", re-initialise
448
- * the payment sheet with the returned `client_secret` (it carries the new
449
- * amount), and let the buyer confirm again.
450
- * - 422 with a message — the order can't be priced yet (the same message
451
- * as `fulfillment.checkout_blocker`); the old intent is cancelled.
452
- * - 409 `status: paid` with `payment_intent_id` — the payment already went
453
- * through; call checkout with that id instead.
454
- * - 409 `status: processing` — the payment is still processing; don't pay
455
- * again, check back later.
456
- *
457
- * @param {FiveOneEat.customer.RefreshCartPaymentRequest} request
458
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
459
- *
460
- * @throws {@link FiveOneEat.UnauthorizedError}
461
- * @throws {@link FiveOneEat.NotFoundError}
462
- * @throws {@link FiveOneEat.ConflictError}
463
- * @throws {@link FiveOneEat.UnprocessableEntityError}
464
- *
465
- * @example
466
- * await client.customer.cart.refreshPaymentIntent({
467
- * business: "business",
468
- * amount: 1
469
- * })
470
- */
471
- refreshPaymentIntent(request, requestOptions) {
472
- return core.HttpResponsePromise.fromPromise(this.__refreshPaymentIntent(request, requestOptions));
473
- }
474
- __refreshPaymentIntent(request, requestOptions) {
475
- return __awaiter(this, void 0, void 0, function* () {
476
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
477
- const { business } = request, _body = __rest(request, ["business"]);
478
- const _authRequest = yield this._options.authProvider.getAuthRequest();
479
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
480
- const _response = yield core.fetcher({
481
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart/payment-intent/refresh`),
482
- method: "POST",
483
- headers: _headers,
484
- contentType: "application/json",
485
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
486
- requestType: "json",
487
- body: _body,
488
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
489
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
490
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
491
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
492
- logging: this._options.logging,
493
- });
494
- if (_response.ok) {
495
- return {
496
- data: _response.body,
497
- rawResponse: _response.rawResponse,
498
- };
499
- }
500
- if (_response.error.reason === "status-code") {
501
- switch (_response.error.statusCode) {
502
- case 401:
503
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
504
- case 404:
505
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
506
- case 409:
507
- throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
508
- case 422:
509
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
510
- default:
511
- throw new errors.FiveOneEatError({
512
- statusCode: _response.error.statusCode,
513
- body: _response.error.body,
514
- rawResponse: _response.rawResponse,
515
- });
516
- }
517
- }
518
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/businesses/{business}/cart/payment-intent/refresh");
519
- });
520
- }
521
- /**
522
- * Not gated on commerce readiness: the customer has already paid, so a
523
- * lapsed readiness check must not stop the order from being recorded.
524
- * A 409 means the cart changed after the payment was priced: the payment
525
- * was refunded in full and no order was placed — re-check and pay again.
526
- *
527
- * @param {FiveOneEat.customer.CheckoutCartRequest} request
528
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
529
- *
530
- * @throws {@link FiveOneEat.UnauthorizedError}
531
- * @throws {@link FiveOneEat.NotFoundError}
532
- * @throws {@link FiveOneEat.ConflictError}
533
- * @throws {@link FiveOneEat.UnprocessableEntityError}
534
- *
535
- * @example
536
- * await client.customer.cart.checkout({
537
- * business: "business",
538
- * body: {
539
- * payment_intent_id: "payment_intent_id"
540
- * }
541
- * })
542
- */
543
- checkout(request, requestOptions) {
544
- return core.HttpResponsePromise.fromPromise(this.__checkout(request, requestOptions));
545
- }
546
- __checkout(request, requestOptions) {
547
- return __awaiter(this, void 0, void 0, function* () {
548
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
549
- const { business, body: _body } = request;
550
- const _authRequest = yield this._options.authProvider.getAuthRequest();
551
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
552
- const _response = yield core.fetcher({
553
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart/checkout`),
554
- method: "POST",
555
- headers: _headers,
556
- contentType: "application/json",
557
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
558
- requestType: "json",
559
- body: _body,
560
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
561
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
562
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
563
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
564
- logging: this._options.logging,
565
- });
566
- if (_response.ok) {
567
- return {
568
- data: _response.body,
569
- rawResponse: _response.rawResponse,
570
- };
571
- }
572
- if (_response.error.reason === "status-code") {
573
- switch (_response.error.statusCode) {
574
- case 401:
575
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
576
- case 404:
577
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
578
- case 409:
579
- throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
580
- case 422:
581
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
582
- default:
583
- throw new errors.FiveOneEatError({
584
- statusCode: _response.error.statusCode,
585
- body: _response.error.body,
586
- rawResponse: _response.rawResponse,
587
- });
588
- }
589
- }
590
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/businesses/{business}/cart/checkout");
591
- });
592
- }
593
- /**
594
- * Switching away from shipping clears the saved shipping address and option.
595
- *
596
- * @param {FiveOneEat.customer.ChooseFulfillmentMethodRequest} request
597
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
598
- *
599
- * @throws {@link FiveOneEat.UnauthorizedError}
600
- * @throws {@link FiveOneEat.NotFoundError}
601
- * @throws {@link FiveOneEat.UnprocessableEntityError}
602
- *
603
- * @example
604
- * await client.customer.cart.setFulfillment({
605
- * business: "business",
606
- * fulfillment_method: "ship"
607
- * })
608
- */
609
- setFulfillment(request, requestOptions) {
610
- return core.HttpResponsePromise.fromPromise(this.__setFulfillment(request, requestOptions));
611
- }
612
- __setFulfillment(request, requestOptions) {
613
- return __awaiter(this, void 0, void 0, function* () {
614
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
615
- const { business } = request, _body = __rest(request, ["business"]);
616
- const _authRequest = yield this._options.authProvider.getAuthRequest();
617
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
618
- const _response = yield core.fetcher({
619
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart/fulfillment`),
620
- method: "PUT",
621
- headers: _headers,
622
- contentType: "application/json",
623
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
624
- requestType: "json",
625
- body: _body,
626
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
627
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
628
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
629
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
630
- logging: this._options.logging,
631
- });
632
- if (_response.ok) {
633
- return {
634
- data: _response.body,
635
- rawResponse: _response.rawResponse,
636
- };
637
- }
638
- if (_response.error.reason === "status-code") {
639
- switch (_response.error.statusCode) {
640
- case 401:
641
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
642
- case 404:
643
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
644
- case 422:
645
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
646
- default:
647
- throw new errors.FiveOneEatError({
648
- statusCode: _response.error.statusCode,
649
- body: _response.error.body,
650
- rawResponse: _response.rawResponse,
651
- });
652
- }
653
- }
654
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/customer/businesses/{business}/cart/fulfillment");
655
- });
656
- }
657
- /**
658
- * Sales tax on a shipped order is worked out from this address. Saving a
659
- * different address clears the chosen shipping option.
660
- *
661
- * @param {FiveOneEat.customer.ShippingAddressRequest} request
662
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
663
- *
664
- * @throws {@link FiveOneEat.UnauthorizedError}
665
- * @throws {@link FiveOneEat.NotFoundError}
666
- * @throws {@link FiveOneEat.UnprocessableEntityError}
667
- *
668
- * @example
669
- * await client.customer.cart.setShippingAddress({
670
- * business: "business",
671
- * address: {
672
- * line1: "line1",
673
- * city: "city",
674
- * state: "state",
675
- * postal_code: "postal_code"
676
- * }
677
- * })
678
- */
679
- setShippingAddress(request, requestOptions) {
680
- return core.HttpResponsePromise.fromPromise(this.__setShippingAddress(request, requestOptions));
681
- }
682
- __setShippingAddress(request, requestOptions) {
683
- return __awaiter(this, void 0, void 0, function* () {
684
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
685
- const { business } = request, _body = __rest(request, ["business"]);
686
- const _authRequest = yield this._options.authProvider.getAuthRequest();
687
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
688
- const _response = yield core.fetcher({
689
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart/shipping-address`),
690
- method: "PUT",
691
- headers: _headers,
692
- contentType: "application/json",
693
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
694
- requestType: "json",
695
- body: _body,
696
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
697
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
698
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
699
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
700
- logging: this._options.logging,
701
- });
702
- if (_response.ok) {
703
- return {
704
- data: _response.body,
705
- rawResponse: _response.rawResponse,
706
- };
707
- }
708
- if (_response.error.reason === "status-code") {
709
- switch (_response.error.statusCode) {
710
- case 401:
711
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
712
- case 404:
713
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
714
- case 422:
715
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
716
- default:
717
- throw new errors.FiveOneEatError({
718
- statusCode: _response.error.statusCode,
719
- body: _response.error.body,
720
- rawResponse: _response.rawResponse,
721
- });
722
- }
723
- }
724
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/customer/businesses/{business}/cart/shipping-address");
725
- });
726
- }
727
- /**
728
- * Options are held for 30 minutes; choose one by its `provider_rate_id`.
729
- *
730
- * @param {FiveOneEat.customer.ListShippingOptionsCartRequest} request
731
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
732
- *
733
- * @throws {@link FiveOneEat.UnauthorizedError}
734
- * @throws {@link FiveOneEat.NotFoundError}
735
- * @throws {@link FiveOneEat.UnprocessableEntityError}
736
- *
737
- * @example
738
- * await client.customer.cart.listShippingOptions({
739
- * business: "business"
740
- * })
741
- */
742
- listShippingOptions(request, requestOptions) {
743
- return core.HttpResponsePromise.fromPromise(this.__listShippingOptions(request, requestOptions));
744
- }
745
- __listShippingOptions(request, requestOptions) {
746
- return __awaiter(this, void 0, void 0, function* () {
747
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
748
- const { business } = request;
749
- const _authRequest = yield this._options.authProvider.getAuthRequest();
750
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
751
- const _response = yield core.fetcher({
752
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart/shipping-options`),
753
- method: "GET",
754
- headers: _headers,
755
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
756
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
757
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
758
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
759
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
760
- logging: this._options.logging,
761
- });
762
- if (_response.ok) {
763
- return {
764
- data: _response.body,
765
- rawResponse: _response.rawResponse,
766
- };
767
- }
768
- if (_response.error.reason === "status-code") {
769
- switch (_response.error.statusCode) {
770
- case 401:
771
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
772
- case 404:
773
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
774
- case 422:
775
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
776
- default:
777
- throw new errors.FiveOneEatError({
778
- statusCode: _response.error.statusCode,
779
- body: _response.error.body,
780
- rawResponse: _response.rawResponse,
781
- });
782
- }
783
- }
784
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/cart/shipping-options");
785
- });
786
- }
787
- /**
788
- * Send only the `provider_rate_id` from the shipping options. The price is
789
- * the one quoted; an option older than 30 minutes is refused with a 422.
790
- *
791
- * @param {FiveOneEat.customer.SelectShippingRateRequest} request
792
- * @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
793
- *
794
- * @throws {@link FiveOneEat.UnauthorizedError}
795
- * @throws {@link FiveOneEat.NotFoundError}
796
- * @throws {@link FiveOneEat.UnprocessableEntityError}
797
- *
798
- * @example
799
- * await client.customer.cart.selectShippingOption({
800
- * business: "business",
801
- * provider_rate_id: "provider_rate_id"
802
- * })
803
- */
804
- selectShippingOption(request, requestOptions) {
805
- return core.HttpResponsePromise.fromPromise(this.__selectShippingOption(request, requestOptions));
806
- }
807
- __selectShippingOption(request, requestOptions) {
808
- return __awaiter(this, void 0, void 0, function* () {
809
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
810
- const { business } = request, _body = __rest(request, ["business"]);
811
- const _authRequest = yield this._options.authProvider.getAuthRequest();
812
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
813
- const _response = yield core.fetcher({
814
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/cart/shipping-option`),
815
- method: "POST",
816
- headers: _headers,
817
- contentType: "application/json",
818
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
819
- requestType: "json",
820
- body: _body,
821
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
822
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
823
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
824
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
825
- logging: this._options.logging,
826
- });
827
- if (_response.ok) {
828
- return {
829
- data: _response.body,
830
- rawResponse: _response.rawResponse,
831
- };
832
- }
833
- if (_response.error.reason === "status-code") {
834
- switch (_response.error.statusCode) {
835
- case 401:
836
- throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
837
- case 404:
838
- throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
839
- case 422:
840
- throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
841
- default:
842
- throw new errors.FiveOneEatError({
843
- statusCode: _response.error.statusCode,
844
- body: _response.error.body,
845
- rawResponse: _response.rawResponse,
846
- });
847
- }
848
- }
849
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/businesses/{business}/cart/shipping-option");
850
- });
851
- }
852
- }
853
- exports.CartClient = CartClient;