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