@51eat/sdk 0.0.66 → 0.0.68

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 (793) hide show
  1. package/README.md +16 -13
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +0 -36
  4. package/dist/cjs/Client.js +2 -62
  5. package/dist/cjs/api/resources/business/client/Client.d.ts +9 -0
  6. package/dist/cjs/api/resources/business/client/Client.js +33 -18
  7. package/dist/cjs/api/resources/business/resources/hours/client/Client.d.ts +45 -0
  8. package/dist/cjs/api/resources/{customerBusinesses → business/resources/hours}/client/Client.js +80 -32
  9. package/dist/cjs/api/resources/business/resources/hours/client/requests/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/business/resources/hours/exports.d.ts +3 -0
  11. package/dist/cjs/api/resources/{businessProducts → business/resources/hours}/exports.js +3 -2
  12. package/dist/cjs/api/resources/business/resources/hours/index.d.ts +3 -0
  13. package/dist/cjs/api/resources/business/resources/hours/index.js +19 -0
  14. package/dist/cjs/api/resources/business/resources/hours/resources/exceptions/client/Client.d.ts +62 -0
  15. package/dist/cjs/api/resources/{businessProducts → business/resources/hours/resources/exceptions}/client/Client.js +50 -65
  16. package/dist/cjs/api/resources/{businessHours/client/requests/DeleteBusinessHourExceptionRequest.d.ts → business/resources/hours/resources/exceptions/client/requests/DeleteExceptionsRequest.d.ts} +1 -1
  17. package/dist/cjs/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/index.d.ts +1 -2
  18. package/dist/cjs/api/resources/business/resources/hours/resources/exceptions/exports.d.ts +2 -0
  19. package/dist/cjs/api/resources/{recordClick → business/resources/hours/resources/exceptions}/exports.js +2 -2
  20. package/dist/cjs/api/resources/business/resources/hours/resources/exceptions/types/CreateExceptionsResponse.d.ts +4 -0
  21. package/dist/cjs/api/resources/business/resources/hours/resources/exceptions/types/UpdateExceptionsResponse.d.ts +4 -0
  22. package/dist/cjs/api/resources/business/resources/hours/resources/exceptions/types/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/business/resources/hours/resources/exceptions/types/index.js +18 -0
  24. package/dist/cjs/api/resources/business/resources/hours/resources/index.d.ts +3 -0
  25. package/dist/cjs/api/resources/business/resources/hours/resources/index.js +42 -0
  26. package/dist/cjs/api/resources/business/resources/hours/types/GetHoursResponse.d.ts +4 -0
  27. package/dist/cjs/api/resources/business/resources/hours/types/UpdateHoursResponse.d.ts +4 -0
  28. package/dist/cjs/api/resources/business/resources/hours/types/index.d.ts +2 -0
  29. package/dist/cjs/api/resources/business/resources/hours/types/index.js +18 -0
  30. package/dist/cjs/api/resources/business/resources/index.d.ts +7 -0
  31. package/dist/cjs/api/resources/business/resources/index.js +8 -1
  32. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.d.ts +14 -0
  33. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.js +65 -0
  34. package/dist/{esm/api/resources/businessMessaging/client/requests/SearchBusinessConversationsRequest.d.mts → cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts} +1 -1
  35. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/SearchConversationsResponse.d.ts +4 -0
  37. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/index.d.ts +1 -0
  38. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/index.js +1 -0
  39. package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +3 -0
  40. package/dist/cjs/api/resources/business/resources/products/client/Client.js +7 -2
  41. package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +3 -0
  42. package/dist/cjs/api/resources/business/resources/products/resources/index.js +4 -1
  43. package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.d.ts +29 -0
  44. package/dist/cjs/api/resources/{serveAd → business/resources/products/resources/inventory}/client/Client.js +26 -20
  45. package/dist/{esm/api/resources/businessProducts/client/requests/GetProductInventorySummaryRequest.d.mts → cjs/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.ts} +1 -1
  46. package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/requests/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/business/resources/products/resources/inventory/exports.d.ts +2 -0
  48. package/dist/cjs/api/resources/{businessHours → business/resources/products/resources/inventory}/exports.js +2 -2
  49. package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.ts +4 -0
  50. package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.d.ts +1 -0
  51. package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.js +17 -0
  52. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +3 -0
  53. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +5 -0
  54. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.d.ts +3 -0
  55. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.js +4 -1
  56. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.ts +48 -0
  57. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.js +206 -0
  58. package/dist/cjs/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/client/requests/AdjustInventoryRequest.d.ts +1 -1
  59. package/dist/{esm/api/resources/businessProducts/client/requests/ListVariantInventoryHistoryRequest.d.mts → cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.ts} +1 -1
  60. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.ts +2 -0
  61. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.ts +2 -0
  62. package/dist/cjs/api/resources/{businessStands → business/resources/products/resources/variants/resources/inventory}/exports.js +2 -2
  63. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.ts +4 -0
  64. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.d.ts +4 -0
  65. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.ts +2 -0
  66. package/dist/cjs/api/resources/{customerMyAccount → business/resources/products/resources/variants/resources/inventory}/types/index.js +2 -2
  67. package/dist/cjs/api/resources/business/resources/shipping/client/Client.d.ts +15 -0
  68. package/dist/cjs/api/resources/business/resources/shipping/client/Client.js +21 -0
  69. package/dist/cjs/api/resources/business/resources/shipping/exports.d.ts +3 -0
  70. package/dist/cjs/api/resources/{businessShipping → business/resources/shipping}/exports.js +3 -2
  71. package/dist/cjs/api/resources/business/resources/shipping/index.d.ts +2 -0
  72. package/dist/cjs/api/resources/business/resources/shipping/index.js +18 -0
  73. package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/Client.d.ts +79 -0
  74. package/dist/cjs/api/resources/{businessHours → business/resources/shipping/resources/account}/client/Client.js +75 -111
  75. package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/requests/index.d.ts +2 -0
  76. package/dist/cjs/api/resources/business/resources/shipping/resources/account/exports.d.ts +2 -0
  77. package/dist/cjs/api/resources/{serveAd → business/resources/shipping/resources/account}/exports.js +2 -2
  78. package/dist/cjs/api/resources/business/resources/shipping/resources/account/types/GetAccountResponse.d.ts +6 -0
  79. package/dist/cjs/api/resources/business/resources/shipping/resources/account/types/SetupIntentAccountResponse.d.ts +3 -0
  80. package/dist/cjs/api/resources/business/resources/shipping/resources/account/types/UpdateAccountResponse.d.ts +4 -0
  81. package/dist/cjs/api/resources/business/resources/shipping/resources/account/types/index.d.ts +3 -0
  82. package/dist/cjs/api/resources/business/resources/shipping/resources/account/types/index.js +19 -0
  83. package/dist/cjs/api/resources/business/resources/shipping/resources/index.d.ts +6 -0
  84. package/dist/cjs/api/resources/business/resources/shipping/resources/index.js +45 -0
  85. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/Client.d.ts +72 -0
  86. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/Client.js +300 -0
  87. package/dist/{esm/api/resources/businessShipping/client/requests/DeleteBusinessShippingRateRequest.d.mts → cjs/api/resources/business/resources/shipping/resources/rates/client/requests/DeleteRatesRequest.d.ts} +1 -1
  88. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/index.d.ts +3 -0
  89. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/exports.d.ts +2 -0
  90. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/exports.js +21 -0
  91. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/CreateRatesResponse.d.ts +4 -0
  92. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/ListRatesResponse.d.ts +4 -0
  93. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/UpdateRatesResponse.d.ts +4 -0
  94. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/index.d.ts +3 -0
  95. package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/index.js +19 -0
  96. package/dist/cjs/api/resources/business/resources/stands/client/Client.d.ts +106 -0
  97. package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/Client.js +49 -46
  98. package/dist/{esm/api/resources/businessStands/client/requests/GetBusinessStandRequest.d.mts → cjs/api/resources/business/resources/stands/client/requests/DeleteStandsRequest.d.ts} +1 -1
  99. package/dist/cjs/api/resources/{customerStands/client/requests/ScanStandRequest.d.ts → business/resources/stands/client/requests/GetStandsRequest.d.ts} +1 -1
  100. package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/requests/index.d.ts +2 -2
  101. package/dist/cjs/api/resources/business/resources/stands/exports.d.ts +2 -0
  102. package/dist/cjs/api/resources/business/resources/stands/exports.js +21 -0
  103. package/dist/cjs/api/resources/business/resources/stands/types/CreateStandsResponse.d.ts +4 -0
  104. package/dist/cjs/api/resources/business/resources/stands/types/GetStandsResponse.d.ts +4 -0
  105. package/dist/cjs/api/resources/business/resources/stands/types/ListStandsResponse.d.ts +4 -0
  106. package/dist/cjs/api/resources/business/resources/stands/types/UpdateStandsResponse.d.ts +4 -0
  107. package/dist/cjs/api/resources/business/resources/stands/types/index.d.ts +4 -0
  108. package/dist/cjs/api/resources/business/resources/stands/types/index.js +20 -0
  109. package/dist/cjs/api/resources/customer/client/Client.d.ts +6 -0
  110. package/dist/cjs/api/resources/customer/client/Client.js +36 -26
  111. package/dist/cjs/api/resources/customer/resources/ads/client/Client.d.ts +45 -0
  112. package/dist/cjs/api/resources/{customerMyAccount → customer/resources/ads}/client/Client.js +36 -84
  113. package/dist/cjs/api/resources/{recordClick/client/requests/AdsRecordClickRequest.d.ts → customer/resources/ads/client/requests/RecordClickAdsRequest.d.ts} +1 -1
  114. package/dist/cjs/api/resources/{serveAd/client/requests/AdsServeAdRequest.d.ts → customer/resources/ads/client/requests/ServeAdsRequest.d.ts} +1 -1
  115. package/dist/cjs/api/resources/customer/resources/ads/client/requests/index.d.ts +2 -0
  116. package/dist/cjs/api/resources/customer/resources/ads/exports.d.ts +2 -0
  117. package/dist/cjs/api/resources/customer/resources/ads/exports.js +21 -0
  118. package/dist/cjs/api/resources/customer/resources/ads/types/ServeAdsResponse.d.ts +4 -0
  119. package/dist/cjs/api/resources/customer/resources/ads/types/index.d.ts +1 -0
  120. package/dist/cjs/api/resources/customer/resources/ads/types/index.js +17 -0
  121. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +8 -2
  122. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +35 -11
  123. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/GetPickupTimeslotsBusinessesRequest.d.ts +5 -2
  124. package/dist/cjs/api/resources/{customerBusinesses/types/GetBusinessPickupTimeslotsResponse.d.ts → customer/resources/businesses/types/GetPickupTimeslotsBusinessesResponse.d.ts} +1 -1
  125. package/dist/cjs/api/resources/customer/resources/businesses/types/index.d.ts +1 -0
  126. package/dist/cjs/api/resources/customer/resources/businesses/types/index.js +1 -0
  127. package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.ts +0 -1
  128. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +16 -12
  129. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +52 -43
  130. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.ts +0 -1
  131. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/ReleaseHoldTicketingRequest.d.ts +2 -2
  132. package/dist/cjs/api/resources/customer/resources/index.d.ts +6 -0
  133. package/dist/cjs/api/resources/customer/resources/index.js +7 -1
  134. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.ts +14 -0
  135. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.js +52 -0
  136. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/EphemeralKeyPaymentMethodsResponse.d.ts +4 -0
  137. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.ts +1 -0
  138. package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.js +1 -0
  139. package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/client/Client.d.ts +6 -2
  140. package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/client/Client.js +22 -10
  141. package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/client/requests/GetTicketOrdersRequest.d.ts +2 -2
  142. package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/types/GetTicketOrdersResponse.d.ts +4 -0
  143. package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/types/index.d.ts +1 -0
  144. package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/types/index.js +1 -0
  145. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/client/Client.d.ts +22 -2
  146. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/client/Client.js +76 -10
  147. package/dist/cjs/api/resources/{customerMyAccount/client/requests/GetMyTicketRequest.d.ts → customer/resources/me/resources/tickets/client/requests/AppleWalletPassTicketsRequest.d.ts} +1 -1
  148. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/client/requests/GetTicketsRequest.d.ts +2 -2
  149. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/client/requests/index.d.ts +1 -0
  150. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/types/GetTicketsResponse.d.ts +4 -0
  151. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/types/index.d.ts +1 -0
  152. package/dist/cjs/api/resources/customer/resources/me/resources/tickets/types/index.js +1 -0
  153. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.ts +14 -0
  154. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.js +65 -0
  155. package/dist/cjs/api/resources/{customerMessaging/client/requests/SearchCustomerConversationsRequest.d.ts → customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts} +1 -1
  156. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/requests/index.d.ts +1 -0
  157. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/types/SearchConversationsResponse.d.ts +4 -0
  158. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/types/index.d.ts +1 -0
  159. package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/types/index.js +1 -0
  160. package/dist/cjs/api/resources/customer/resources/stands/client/Client.d.ts +63 -0
  161. package/dist/cjs/api/resources/{customerStands → customer/resources/stands}/client/Client.js +37 -34
  162. package/dist/{esm/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.d.mts → cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.ts} +1 -1
  163. package/dist/cjs/api/resources/{businessStands/client/requests/GetBusinessStandRequest.d.ts → customer/resources/stands/client/requests/ScanStandsRequest.d.ts} +1 -1
  164. package/dist/cjs/api/resources/customer/resources/stands/client/requests/index.d.ts +3 -0
  165. package/dist/cjs/api/resources/customer/resources/stands/exports.d.ts +2 -0
  166. package/dist/cjs/api/resources/customer/resources/stands/exports.js +21 -0
  167. package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.ts +4 -0
  168. package/dist/cjs/api/resources/{customerStands/types/CreateStandPaymentIntentResponse.d.ts → customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.ts} +1 -1
  169. package/dist/cjs/api/resources/customer/resources/stands/types/ScanStandsResponse.d.ts +4 -0
  170. package/dist/cjs/api/resources/customer/resources/stands/types/index.d.ts +3 -0
  171. package/dist/cjs/api/resources/customer/resources/stands/types/index.js +19 -0
  172. package/dist/cjs/api/resources/index.d.ts +0 -34
  173. package/dist/cjs/api/resources/index.js +1 -35
  174. package/dist/cjs/api/types/BusinessStand.d.ts +1 -0
  175. package/dist/cjs/version.d.ts +1 -1
  176. package/dist/cjs/version.js +1 -1
  177. package/dist/esm/BaseClient.mjs +2 -2
  178. package/dist/esm/Client.d.mts +0 -36
  179. package/dist/esm/Client.mjs +0 -60
  180. package/dist/esm/api/resources/business/client/Client.d.mts +9 -0
  181. package/dist/esm/api/resources/business/client/Client.mjs +15 -0
  182. package/dist/esm/api/resources/business/resources/hours/client/Client.d.mts +45 -0
  183. package/dist/esm/api/resources/business/resources/hours/client/Client.mjs +136 -0
  184. package/dist/esm/api/resources/business/resources/hours/client/requests/index.d.mts +1 -0
  185. package/dist/esm/api/resources/business/resources/hours/exports.d.mts +3 -0
  186. package/dist/esm/api/resources/{businessMessaging → business/resources/hours}/exports.mjs +2 -1
  187. package/dist/esm/api/resources/business/resources/hours/index.d.mts +3 -0
  188. package/dist/esm/api/resources/business/resources/hours/index.mjs +3 -0
  189. package/dist/esm/api/resources/business/resources/hours/resources/exceptions/client/Client.d.mts +62 -0
  190. package/dist/esm/api/resources/{businessProducts → business/resources/hours/resources/exceptions}/client/Client.mjs +48 -63
  191. package/dist/esm/api/resources/{businessHours/client/requests/DeleteBusinessHourExceptionRequest.d.mts → business/resources/hours/resources/exceptions/client/requests/DeleteExceptionsRequest.d.mts} +1 -1
  192. package/dist/esm/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/index.d.mts +1 -2
  193. package/dist/esm/api/resources/business/resources/hours/resources/exceptions/exports.d.mts +2 -0
  194. package/dist/esm/api/resources/{recordClick → business/resources/hours/resources/exceptions}/exports.mjs +1 -1
  195. package/dist/esm/api/resources/business/resources/hours/resources/exceptions/types/CreateExceptionsResponse.d.mts +4 -0
  196. package/dist/esm/api/resources/business/resources/hours/resources/exceptions/types/UpdateExceptionsResponse.d.mts +4 -0
  197. package/dist/esm/api/resources/business/resources/hours/resources/exceptions/types/index.d.mts +2 -0
  198. package/dist/esm/api/resources/business/resources/hours/resources/exceptions/types/index.mjs +2 -0
  199. package/dist/esm/api/resources/business/resources/hours/resources/index.d.mts +3 -0
  200. package/dist/esm/api/resources/business/resources/hours/resources/index.mjs +3 -0
  201. package/dist/esm/api/resources/business/resources/hours/types/GetHoursResponse.d.mts +4 -0
  202. package/dist/esm/api/resources/business/resources/hours/types/UpdateHoursResponse.d.mts +4 -0
  203. package/dist/esm/api/resources/business/resources/hours/types/index.d.mts +2 -0
  204. package/dist/esm/api/resources/business/resources/hours/types/index.mjs +2 -0
  205. package/dist/esm/api/resources/business/resources/index.d.mts +7 -0
  206. package/dist/esm/api/resources/business/resources/index.mjs +7 -0
  207. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.d.mts +14 -0
  208. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.mjs +65 -0
  209. package/dist/{cjs/api/resources/businessMessaging/client/requests/SearchBusinessConversationsRequest.d.ts → esm/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts} +1 -1
  210. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/index.d.mts +1 -0
  211. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/SearchConversationsResponse.d.mts +4 -0
  212. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/index.d.mts +1 -0
  213. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/index.mjs +1 -0
  214. package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +3 -0
  215. package/dist/esm/api/resources/business/resources/products/client/Client.mjs +5 -0
  216. package/dist/esm/api/resources/business/resources/products/resources/index.d.mts +3 -0
  217. package/dist/esm/api/resources/business/resources/products/resources/index.mjs +3 -0
  218. package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.d.mts +29 -0
  219. package/dist/esm/api/resources/{serveAd → business/resources/products/resources/inventory}/client/Client.mjs +24 -18
  220. package/dist/{cjs/api/resources/businessProducts/client/requests/GetProductInventorySummaryRequest.d.ts → esm/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.mts} +1 -1
  221. package/dist/esm/api/resources/business/resources/products/resources/inventory/client/requests/index.d.mts +1 -0
  222. package/dist/esm/api/resources/business/resources/products/resources/inventory/exports.d.mts +2 -0
  223. package/dist/esm/api/resources/{businessHours → business/resources/products/resources/inventory}/exports.mjs +1 -1
  224. package/dist/esm/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.mts +4 -0
  225. package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.d.mts +1 -0
  226. package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.mjs +1 -0
  227. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +3 -0
  228. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +5 -0
  229. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.d.mts +3 -0
  230. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.mjs +3 -0
  231. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.mts +48 -0
  232. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.mjs +169 -0
  233. package/dist/esm/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/client/requests/AdjustInventoryRequest.d.mts +1 -1
  234. package/dist/{cjs/api/resources/businessProducts/client/requests/ListVariantInventoryHistoryRequest.d.ts → esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.mts} +1 -1
  235. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.mts +2 -0
  236. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.mts +2 -0
  237. package/dist/esm/api/resources/{customerStands → business/resources/products/resources/variants/resources/inventory}/exports.mjs +1 -1
  238. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.mts +4 -0
  239. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.d.mts +4 -0
  240. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.mts +2 -0
  241. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.mjs +2 -0
  242. package/dist/esm/api/resources/business/resources/shipping/client/Client.d.mts +15 -0
  243. package/dist/esm/api/resources/business/resources/shipping/client/Client.mjs +17 -0
  244. package/dist/esm/api/resources/business/resources/shipping/exports.d.mts +3 -0
  245. package/dist/esm/api/resources/{businessProducts → business/resources/shipping}/exports.mjs +2 -1
  246. package/dist/esm/api/resources/business/resources/shipping/index.d.mts +2 -0
  247. package/dist/esm/api/resources/business/resources/shipping/index.mjs +2 -0
  248. package/dist/esm/api/resources/business/resources/shipping/resources/account/client/Client.d.mts +79 -0
  249. package/dist/esm/api/resources/{businessHours → business/resources/shipping/resources/account}/client/Client.mjs +73 -109
  250. package/dist/esm/api/resources/business/resources/shipping/resources/account/client/requests/index.d.mts +2 -0
  251. package/dist/esm/api/resources/business/resources/shipping/resources/account/exports.d.mts +2 -0
  252. package/dist/esm/api/resources/{serveAd → business/resources/shipping/resources/account}/exports.mjs +1 -1
  253. package/dist/esm/api/resources/business/resources/shipping/resources/account/types/GetAccountResponse.d.mts +6 -0
  254. package/dist/esm/api/resources/business/resources/shipping/resources/account/types/SetupIntentAccountResponse.d.mts +3 -0
  255. package/dist/esm/api/resources/business/resources/shipping/resources/account/types/UpdateAccountResponse.d.mts +4 -0
  256. package/dist/esm/api/resources/business/resources/shipping/resources/account/types/index.d.mts +3 -0
  257. package/dist/esm/api/resources/business/resources/shipping/resources/account/types/index.mjs +3 -0
  258. package/dist/esm/api/resources/business/resources/shipping/resources/index.d.mts +6 -0
  259. package/dist/esm/api/resources/business/resources/shipping/resources/index.mjs +6 -0
  260. package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/Client.d.mts +72 -0
  261. package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/Client.mjs +263 -0
  262. package/dist/{cjs/api/resources/businessShipping/client/requests/DeleteBusinessShippingRateRequest.d.ts → esm/api/resources/business/resources/shipping/resources/rates/client/requests/DeleteRatesRequest.d.mts} +1 -1
  263. package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/index.d.mts +3 -0
  264. package/dist/esm/api/resources/business/resources/shipping/resources/rates/exports.d.mts +2 -0
  265. package/dist/esm/api/resources/business/resources/shipping/resources/rates/exports.mjs +3 -0
  266. package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/CreateRatesResponse.d.mts +4 -0
  267. package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/ListRatesResponse.d.mts +4 -0
  268. package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/UpdateRatesResponse.d.mts +4 -0
  269. package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/index.d.mts +3 -0
  270. package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/index.mjs +3 -0
  271. package/dist/esm/api/resources/business/resources/stands/client/Client.d.mts +106 -0
  272. package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/Client.mjs +47 -44
  273. package/dist/esm/api/resources/business/resources/stands/client/requests/DeleteStandsRequest.d.mts +10 -0
  274. package/dist/esm/api/resources/{customerStands/client/requests/ScanStandRequest.d.mts → business/resources/stands/client/requests/GetStandsRequest.d.mts} +1 -1
  275. package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/requests/index.d.mts +2 -2
  276. package/dist/esm/api/resources/business/resources/stands/exports.d.mts +2 -0
  277. package/dist/esm/api/resources/business/resources/stands/exports.mjs +3 -0
  278. package/dist/esm/api/resources/business/resources/stands/types/CreateStandsResponse.d.mts +4 -0
  279. package/dist/esm/api/resources/business/resources/stands/types/GetStandsResponse.d.mts +4 -0
  280. package/dist/esm/api/resources/business/resources/stands/types/ListStandsResponse.d.mts +4 -0
  281. package/dist/esm/api/resources/business/resources/stands/types/UpdateStandsResponse.d.mts +4 -0
  282. package/dist/esm/api/resources/business/resources/stands/types/index.d.mts +4 -0
  283. package/dist/esm/api/resources/business/resources/stands/types/index.mjs +4 -0
  284. package/dist/esm/api/resources/customer/client/Client.d.mts +6 -0
  285. package/dist/esm/api/resources/customer/client/Client.mjs +10 -0
  286. package/dist/esm/api/resources/customer/resources/ads/client/Client.d.mts +45 -0
  287. package/dist/esm/api/resources/{customerMyAccount → customer/resources/ads}/client/Client.mjs +34 -82
  288. package/dist/esm/api/resources/{recordClick/client/requests/AdsRecordClickRequest.d.mts → customer/resources/ads/client/requests/RecordClickAdsRequest.d.mts} +1 -1
  289. package/dist/esm/api/resources/{serveAd/client/requests/AdsServeAdRequest.d.mts → customer/resources/ads/client/requests/ServeAdsRequest.d.mts} +1 -1
  290. package/dist/esm/api/resources/customer/resources/ads/client/requests/index.d.mts +2 -0
  291. package/dist/esm/api/resources/customer/resources/ads/exports.d.mts +2 -0
  292. package/dist/esm/api/resources/customer/resources/ads/exports.mjs +3 -0
  293. package/dist/esm/api/resources/customer/resources/ads/types/ServeAdsResponse.d.mts +4 -0
  294. package/dist/esm/api/resources/customer/resources/ads/types/index.d.mts +1 -0
  295. package/dist/esm/api/resources/customer/resources/ads/types/index.mjs +1 -0
  296. package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +8 -2
  297. package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +35 -11
  298. package/dist/esm/api/resources/customer/resources/businesses/client/requests/GetPickupTimeslotsBusinessesRequest.d.mts +5 -2
  299. package/dist/esm/api/resources/{customerBusinesses/types/GetBusinessPickupTimeslotsResponse.d.mts → customer/resources/businesses/types/GetPickupTimeslotsBusinessesResponse.d.mts} +1 -1
  300. package/dist/esm/api/resources/customer/resources/businesses/types/index.d.mts +1 -0
  301. package/dist/esm/api/resources/customer/resources/businesses/types/index.mjs +1 -0
  302. package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.mts +0 -1
  303. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +16 -12
  304. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +52 -43
  305. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.mts +0 -1
  306. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/ReleaseHoldTicketingRequest.d.mts +2 -2
  307. package/dist/esm/api/resources/customer/resources/index.d.mts +6 -0
  308. package/dist/esm/api/resources/customer/resources/index.mjs +6 -0
  309. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.mts +14 -0
  310. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.mjs +52 -0
  311. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/EphemeralKeyPaymentMethodsResponse.d.mts +4 -0
  312. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.mts +1 -0
  313. package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.mjs +1 -0
  314. package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/client/Client.d.mts +6 -2
  315. package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/client/Client.mjs +22 -10
  316. package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/client/requests/GetTicketOrdersRequest.d.mts +2 -2
  317. package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/types/GetTicketOrdersResponse.d.mts +4 -0
  318. package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/types/index.d.mts +1 -0
  319. package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/types/index.mjs +1 -0
  320. package/dist/esm/api/resources/customer/resources/me/resources/tickets/client/Client.d.mts +22 -2
  321. package/dist/esm/api/resources/customer/resources/me/resources/tickets/client/Client.mjs +76 -10
  322. package/dist/esm/api/resources/{customerMyAccount/client/requests/GetMyTicketRequest.d.mts → customer/resources/me/resources/tickets/client/requests/AppleWalletPassTicketsRequest.d.mts} +1 -1
  323. package/dist/esm/api/resources/customer/resources/me/resources/tickets/client/requests/GetTicketsRequest.d.mts +2 -2
  324. package/dist/esm/api/resources/customer/resources/me/resources/tickets/client/requests/index.d.mts +1 -0
  325. package/dist/esm/api/resources/customer/resources/me/resources/tickets/types/GetTicketsResponse.d.mts +4 -0
  326. package/dist/esm/api/resources/customer/resources/me/resources/tickets/types/index.d.mts +1 -0
  327. package/dist/esm/api/resources/customer/resources/me/resources/tickets/types/index.mjs +1 -0
  328. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.mts +14 -0
  329. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.mjs +65 -0
  330. package/dist/esm/api/resources/{customerMessaging/client/requests/SearchCustomerConversationsRequest.d.mts → customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts} +1 -1
  331. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/requests/index.d.mts +1 -0
  332. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/types/SearchConversationsResponse.d.mts +4 -0
  333. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/types/index.d.mts +1 -0
  334. package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/types/index.mjs +1 -0
  335. package/dist/esm/api/resources/customer/resources/stands/client/Client.d.mts +63 -0
  336. package/dist/esm/api/resources/{customerStands → customer/resources/stands}/client/Client.mjs +35 -32
  337. package/dist/{cjs/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.d.ts → esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.mts} +1 -1
  338. package/dist/esm/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.d.mts +10 -0
  339. package/dist/esm/api/resources/customer/resources/stands/client/requests/index.d.mts +3 -0
  340. package/dist/esm/api/resources/customer/resources/stands/exports.d.mts +2 -0
  341. package/dist/esm/api/resources/customer/resources/stands/exports.mjs +3 -0
  342. package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.mts +4 -0
  343. package/dist/esm/api/resources/{customerStands/types/CreateStandPaymentIntentResponse.d.mts → customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.mts} +1 -1
  344. package/dist/esm/api/resources/customer/resources/stands/types/ScanStandsResponse.d.mts +4 -0
  345. package/dist/esm/api/resources/customer/resources/stands/types/index.d.mts +3 -0
  346. package/dist/esm/api/resources/customer/resources/stands/types/index.mjs +3 -0
  347. package/dist/esm/api/resources/index.d.mts +0 -34
  348. package/dist/esm/api/resources/index.mjs +0 -34
  349. package/dist/esm/api/types/BusinessStand.d.mts +1 -0
  350. package/dist/esm/version.d.mts +1 -1
  351. package/dist/esm/version.mjs +1 -1
  352. package/package.json +111 -133
  353. package/reference.md +2115 -2238
  354. package/dist/cjs/api/resources/businessHours/client/Client.d.ts +0 -91
  355. package/dist/cjs/api/resources/businessHours/exports.d.ts +0 -2
  356. package/dist/cjs/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.d.ts +0 -4
  357. package/dist/cjs/api/resources/businessHours/types/GetBusinessHoursResponse.d.ts +0 -4
  358. package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.d.ts +0 -4
  359. package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHoursResponse.d.ts +0 -4
  360. package/dist/cjs/api/resources/businessHours/types/index.d.ts +0 -4
  361. package/dist/cjs/api/resources/businessHours/types/index.js +0 -20
  362. package/dist/cjs/api/resources/businessMessaging/client/Client.d.ts +0 -27
  363. package/dist/cjs/api/resources/businessMessaging/client/Client.js +0 -124
  364. package/dist/cjs/api/resources/businessMessaging/client/requests/index.d.ts +0 -1
  365. package/dist/cjs/api/resources/businessMessaging/exports.d.ts +0 -2
  366. package/dist/cjs/api/resources/businessMessaging/exports.js +0 -21
  367. package/dist/cjs/api/resources/businessMessaging/types/SearchBusinessConversationsResponse.d.ts +0 -4
  368. package/dist/cjs/api/resources/businessMessaging/types/index.d.ts +0 -1
  369. package/dist/cjs/api/resources/businessMessaging/types/index.js +0 -17
  370. package/dist/cjs/api/resources/businessProducts/client/Client.d.ts +0 -64
  371. package/dist/cjs/api/resources/businessProducts/client/requests/index.d.ts +0 -3
  372. package/dist/cjs/api/resources/businessProducts/exports.d.ts +0 -2
  373. package/dist/cjs/api/resources/businessProducts/types/AdjustVariantInventoryResponse.d.ts +0 -4
  374. package/dist/cjs/api/resources/businessProducts/types/GetProductInventorySummaryResponse.d.ts +0 -4
  375. package/dist/cjs/api/resources/businessProducts/types/ListVariantInventoryHistoryResponse.d.ts +0 -4
  376. package/dist/cjs/api/resources/businessProducts/types/index.d.ts +0 -3
  377. package/dist/cjs/api/resources/businessProducts/types/index.js +0 -19
  378. package/dist/cjs/api/resources/businessShipping/client/Client.d.ts +0 -138
  379. package/dist/cjs/api/resources/businessShipping/client/Client.js +0 -566
  380. package/dist/cjs/api/resources/businessShipping/client/requests/index.d.ts +0 -5
  381. package/dist/cjs/api/resources/businessShipping/exports.d.ts +0 -2
  382. package/dist/cjs/api/resources/businessShipping/types/CreateBusinessShippingRateResponse.d.ts +0 -4
  383. package/dist/cjs/api/resources/businessShipping/types/GetBusinessShippingAccountResponse.d.ts +0 -6
  384. package/dist/cjs/api/resources/businessShipping/types/GetBusinessShippingSetupIntentResponse.d.ts +0 -3
  385. package/dist/cjs/api/resources/businessShipping/types/ListBusinessShippingRatesResponse.d.ts +0 -4
  386. package/dist/cjs/api/resources/businessShipping/types/UpdateBusinessShippingAccountResponse.d.ts +0 -4
  387. package/dist/cjs/api/resources/businessShipping/types/UpdateBusinessShippingRateResponse.d.ts +0 -4
  388. package/dist/cjs/api/resources/businessShipping/types/index.d.ts +0 -6
  389. package/dist/cjs/api/resources/businessShipping/types/index.js +0 -22
  390. package/dist/cjs/api/resources/businessStands/client/Client.d.ts +0 -106
  391. package/dist/cjs/api/resources/businessStands/exports.d.ts +0 -2
  392. package/dist/cjs/api/resources/businessStands/types/CreateBusinessStandResponse.d.ts +0 -4
  393. package/dist/cjs/api/resources/businessStands/types/GetBusinessStandResponse.d.ts +0 -4
  394. package/dist/cjs/api/resources/businessStands/types/ListBusinessStandsResponse.d.ts +0 -4
  395. package/dist/cjs/api/resources/businessStands/types/UpdateBusinessStandResponse.d.ts +0 -4
  396. package/dist/cjs/api/resources/businessStands/types/index.d.ts +0 -4
  397. package/dist/cjs/api/resources/businessStands/types/index.js +0 -20
  398. package/dist/cjs/api/resources/customerBusinesses/client/Client.d.ts +0 -30
  399. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.d.ts +0 -12
  400. package/dist/cjs/api/resources/customerBusinesses/client/requests/index.d.ts +0 -1
  401. package/dist/cjs/api/resources/customerBusinesses/exports.d.ts +0 -2
  402. package/dist/cjs/api/resources/customerBusinesses/exports.js +0 -21
  403. package/dist/cjs/api/resources/customerBusinesses/types/index.d.ts +0 -1
  404. package/dist/cjs/api/resources/customerBusinesses/types/index.js +0 -17
  405. package/dist/cjs/api/resources/customerEvents/client/Client.d.ts +0 -29
  406. package/dist/cjs/api/resources/customerEvents/client/Client.js +0 -111
  407. package/dist/cjs/api/resources/customerEvents/client/requests/ReleaseTicketHoldRequest.d.ts +0 -11
  408. package/dist/cjs/api/resources/customerEvents/client/requests/index.d.ts +0 -1
  409. package/dist/cjs/api/resources/customerEvents/exports.d.ts +0 -2
  410. package/dist/cjs/api/resources/customerEvents/exports.js +0 -21
  411. package/dist/cjs/api/resources/customerEvents/index.d.ts +0 -1
  412. package/dist/cjs/api/resources/customerEvents/index.js +0 -17
  413. package/dist/cjs/api/resources/customerMessaging/client/Client.d.ts +0 -27
  414. package/dist/cjs/api/resources/customerMessaging/client/Client.js +0 -124
  415. package/dist/cjs/api/resources/customerMessaging/client/requests/index.d.ts +0 -1
  416. package/dist/cjs/api/resources/customerMessaging/exports.d.ts +0 -2
  417. package/dist/cjs/api/resources/customerMessaging/exports.js +0 -21
  418. package/dist/cjs/api/resources/customerMessaging/types/SearchCustomerConversationsResponse.d.ts +0 -4
  419. package/dist/cjs/api/resources/customerMessaging/types/index.d.ts +0 -1
  420. package/dist/cjs/api/resources/customerMessaging/types/index.js +0 -17
  421. package/dist/cjs/api/resources/customerMyAccount/client/Client.d.ts +0 -59
  422. package/dist/cjs/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.d.ts +0 -9
  423. package/dist/cjs/api/resources/customerMyAccount/client/requests/GetMyTicketOrderRequest.d.ts +0 -9
  424. package/dist/cjs/api/resources/customerMyAccount/client/requests/index.d.ts +0 -3
  425. package/dist/cjs/api/resources/customerMyAccount/exports.d.ts +0 -2
  426. package/dist/cjs/api/resources/customerMyAccount/exports.js +0 -21
  427. package/dist/cjs/api/resources/customerMyAccount/types/GetMyTicketOrderResponse.d.ts +0 -4
  428. package/dist/cjs/api/resources/customerMyAccount/types/GetMyTicketResponse.d.ts +0 -4
  429. package/dist/cjs/api/resources/customerMyAccount/types/index.d.ts +0 -2
  430. package/dist/cjs/api/resources/customerStands/client/Client.d.ts +0 -63
  431. package/dist/cjs/api/resources/customerStands/client/index.d.ts +0 -1
  432. package/dist/cjs/api/resources/customerStands/client/index.js +0 -17
  433. package/dist/cjs/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.d.ts +0 -11
  434. package/dist/cjs/api/resources/customerStands/client/requests/index.d.ts +0 -3
  435. package/dist/cjs/api/resources/customerStands/exports.d.ts +0 -2
  436. package/dist/cjs/api/resources/customerStands/exports.js +0 -21
  437. package/dist/cjs/api/resources/customerStands/index.d.ts +0 -2
  438. package/dist/cjs/api/resources/customerStands/index.js +0 -18
  439. package/dist/cjs/api/resources/customerStands/types/ScanStandResponse.d.ts +0 -4
  440. package/dist/cjs/api/resources/customerStands/types/StandCheckoutResponse.d.ts +0 -4
  441. package/dist/cjs/api/resources/customerStands/types/index.d.ts +0 -3
  442. package/dist/cjs/api/resources/customerStands/types/index.js +0 -19
  443. package/dist/cjs/api/resources/recordClick/client/Client.d.ts +0 -27
  444. package/dist/cjs/api/resources/recordClick/client/Client.js +0 -111
  445. package/dist/cjs/api/resources/recordClick/client/index.d.ts +0 -1
  446. package/dist/cjs/api/resources/recordClick/client/index.js +0 -17
  447. package/dist/cjs/api/resources/recordClick/client/requests/AdsRecordClickRequest.js +0 -3
  448. package/dist/cjs/api/resources/recordClick/client/requests/index.d.ts +0 -1
  449. package/dist/cjs/api/resources/recordClick/client/requests/index.js +0 -2
  450. package/dist/cjs/api/resources/recordClick/exports.d.ts +0 -2
  451. package/dist/cjs/api/resources/recordClick/index.d.ts +0 -1
  452. package/dist/cjs/api/resources/recordClick/index.js +0 -17
  453. package/dist/cjs/api/resources/serveAd/client/Client.d.ts +0 -27
  454. package/dist/cjs/api/resources/serveAd/client/index.d.ts +0 -1
  455. package/dist/cjs/api/resources/serveAd/client/index.js +0 -17
  456. package/dist/cjs/api/resources/serveAd/client/requests/AdsServeAdRequest.js +0 -3
  457. package/dist/cjs/api/resources/serveAd/client/requests/index.d.ts +0 -1
  458. package/dist/cjs/api/resources/serveAd/client/requests/index.js +0 -2
  459. package/dist/cjs/api/resources/serveAd/exports.d.ts +0 -2
  460. package/dist/cjs/api/resources/serveAd/index.d.ts +0 -2
  461. package/dist/cjs/api/resources/serveAd/index.js +0 -18
  462. package/dist/cjs/api/resources/serveAd/types/AdsServeAdResponse.d.ts +0 -4
  463. package/dist/cjs/api/resources/serveAd/types/AdsServeAdResponse.js +0 -3
  464. package/dist/cjs/api/resources/serveAd/types/index.d.ts +0 -1
  465. package/dist/cjs/api/resources/serveAd/types/index.js +0 -17
  466. package/dist/esm/api/resources/businessHours/client/Client.d.mts +0 -91
  467. package/dist/esm/api/resources/businessHours/exports.d.mts +0 -2
  468. package/dist/esm/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.d.mts +0 -4
  469. package/dist/esm/api/resources/businessHours/types/GetBusinessHoursResponse.d.mts +0 -4
  470. package/dist/esm/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.d.mts +0 -4
  471. package/dist/esm/api/resources/businessHours/types/UpdateBusinessHoursResponse.d.mts +0 -4
  472. package/dist/esm/api/resources/businessHours/types/index.d.mts +0 -4
  473. package/dist/esm/api/resources/businessHours/types/index.mjs +0 -4
  474. package/dist/esm/api/resources/businessMessaging/client/Client.d.mts +0 -27
  475. package/dist/esm/api/resources/businessMessaging/client/Client.mjs +0 -87
  476. package/dist/esm/api/resources/businessMessaging/client/requests/index.d.mts +0 -1
  477. package/dist/esm/api/resources/businessMessaging/exports.d.mts +0 -2
  478. package/dist/esm/api/resources/businessMessaging/types/SearchBusinessConversationsResponse.d.mts +0 -4
  479. package/dist/esm/api/resources/businessMessaging/types/index.d.mts +0 -1
  480. package/dist/esm/api/resources/businessMessaging/types/index.mjs +0 -1
  481. package/dist/esm/api/resources/businessProducts/client/Client.d.mts +0 -64
  482. package/dist/esm/api/resources/businessProducts/client/requests/index.d.mts +0 -3
  483. package/dist/esm/api/resources/businessProducts/exports.d.mts +0 -2
  484. package/dist/esm/api/resources/businessProducts/types/AdjustVariantInventoryResponse.d.mts +0 -4
  485. package/dist/esm/api/resources/businessProducts/types/GetProductInventorySummaryResponse.d.mts +0 -4
  486. package/dist/esm/api/resources/businessProducts/types/ListVariantInventoryHistoryResponse.d.mts +0 -4
  487. package/dist/esm/api/resources/businessProducts/types/index.d.mts +0 -3
  488. package/dist/esm/api/resources/businessProducts/types/index.mjs +0 -3
  489. package/dist/esm/api/resources/businessShipping/client/Client.d.mts +0 -138
  490. package/dist/esm/api/resources/businessShipping/client/Client.mjs +0 -529
  491. package/dist/esm/api/resources/businessShipping/client/requests/index.d.mts +0 -5
  492. package/dist/esm/api/resources/businessShipping/exports.d.mts +0 -2
  493. package/dist/esm/api/resources/businessShipping/exports.mjs +0 -3
  494. package/dist/esm/api/resources/businessShipping/types/CreateBusinessShippingRateResponse.d.mts +0 -4
  495. package/dist/esm/api/resources/businessShipping/types/GetBusinessShippingAccountResponse.d.mts +0 -6
  496. package/dist/esm/api/resources/businessShipping/types/GetBusinessShippingSetupIntentResponse.d.mts +0 -3
  497. package/dist/esm/api/resources/businessShipping/types/ListBusinessShippingRatesResponse.d.mts +0 -4
  498. package/dist/esm/api/resources/businessShipping/types/UpdateBusinessShippingAccountResponse.d.mts +0 -4
  499. package/dist/esm/api/resources/businessShipping/types/UpdateBusinessShippingRateResponse.d.mts +0 -4
  500. package/dist/esm/api/resources/businessShipping/types/index.d.mts +0 -6
  501. package/dist/esm/api/resources/businessShipping/types/index.mjs +0 -6
  502. package/dist/esm/api/resources/businessStands/client/Client.d.mts +0 -106
  503. package/dist/esm/api/resources/businessStands/exports.d.mts +0 -2
  504. package/dist/esm/api/resources/businessStands/exports.mjs +0 -3
  505. package/dist/esm/api/resources/businessStands/types/CreateBusinessStandResponse.d.mts +0 -4
  506. package/dist/esm/api/resources/businessStands/types/GetBusinessStandResponse.d.mts +0 -4
  507. package/dist/esm/api/resources/businessStands/types/ListBusinessStandsResponse.d.mts +0 -4
  508. package/dist/esm/api/resources/businessStands/types/UpdateBusinessStandResponse.d.mts +0 -4
  509. package/dist/esm/api/resources/businessStands/types/index.d.mts +0 -4
  510. package/dist/esm/api/resources/businessStands/types/index.mjs +0 -4
  511. package/dist/esm/api/resources/customerBusinesses/client/Client.d.mts +0 -30
  512. package/dist/esm/api/resources/customerBusinesses/client/Client.mjs +0 -88
  513. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.d.mts +0 -12
  514. package/dist/esm/api/resources/customerBusinesses/client/requests/index.d.mts +0 -1
  515. package/dist/esm/api/resources/customerBusinesses/exports.d.mts +0 -2
  516. package/dist/esm/api/resources/customerBusinesses/exports.mjs +0 -3
  517. package/dist/esm/api/resources/customerBusinesses/types/index.d.mts +0 -1
  518. package/dist/esm/api/resources/customerBusinesses/types/index.mjs +0 -1
  519. package/dist/esm/api/resources/customerEvents/client/Client.d.mts +0 -29
  520. package/dist/esm/api/resources/customerEvents/client/Client.mjs +0 -74
  521. package/dist/esm/api/resources/customerEvents/client/requests/ReleaseTicketHoldRequest.d.mts +0 -11
  522. package/dist/esm/api/resources/customerEvents/client/requests/index.d.mts +0 -1
  523. package/dist/esm/api/resources/customerEvents/exports.d.mts +0 -2
  524. package/dist/esm/api/resources/customerEvents/exports.mjs +0 -3
  525. package/dist/esm/api/resources/customerEvents/index.d.mts +0 -1
  526. package/dist/esm/api/resources/customerEvents/index.mjs +0 -1
  527. package/dist/esm/api/resources/customerMessaging/client/Client.d.mts +0 -27
  528. package/dist/esm/api/resources/customerMessaging/client/Client.mjs +0 -87
  529. package/dist/esm/api/resources/customerMessaging/client/requests/index.d.mts +0 -1
  530. package/dist/esm/api/resources/customerMessaging/exports.d.mts +0 -2
  531. package/dist/esm/api/resources/customerMessaging/exports.mjs +0 -3
  532. package/dist/esm/api/resources/customerMessaging/types/SearchCustomerConversationsResponse.d.mts +0 -4
  533. package/dist/esm/api/resources/customerMessaging/types/index.d.mts +0 -1
  534. package/dist/esm/api/resources/customerMessaging/types/index.mjs +0 -1
  535. package/dist/esm/api/resources/customerMyAccount/client/Client.d.mts +0 -59
  536. package/dist/esm/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.d.mts +0 -9
  537. package/dist/esm/api/resources/customerMyAccount/client/requests/GetMyTicketOrderRequest.d.mts +0 -9
  538. package/dist/esm/api/resources/customerMyAccount/client/requests/index.d.mts +0 -3
  539. package/dist/esm/api/resources/customerMyAccount/exports.d.mts +0 -2
  540. package/dist/esm/api/resources/customerMyAccount/exports.mjs +0 -3
  541. package/dist/esm/api/resources/customerMyAccount/types/GetMyTicketOrderResponse.d.mts +0 -4
  542. package/dist/esm/api/resources/customerMyAccount/types/GetMyTicketResponse.d.mts +0 -4
  543. package/dist/esm/api/resources/customerMyAccount/types/index.d.mts +0 -2
  544. package/dist/esm/api/resources/customerMyAccount/types/index.mjs +0 -2
  545. package/dist/esm/api/resources/customerStands/client/Client.d.mts +0 -63
  546. package/dist/esm/api/resources/customerStands/client/index.d.mts +0 -1
  547. package/dist/esm/api/resources/customerStands/client/index.mjs +0 -1
  548. package/dist/esm/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.d.mts +0 -11
  549. package/dist/esm/api/resources/customerStands/client/requests/index.d.mts +0 -3
  550. package/dist/esm/api/resources/customerStands/exports.d.mts +0 -2
  551. package/dist/esm/api/resources/customerStands/index.d.mts +0 -2
  552. package/dist/esm/api/resources/customerStands/index.mjs +0 -2
  553. package/dist/esm/api/resources/customerStands/types/ScanStandResponse.d.mts +0 -4
  554. package/dist/esm/api/resources/customerStands/types/StandCheckoutResponse.d.mts +0 -4
  555. package/dist/esm/api/resources/customerStands/types/index.d.mts +0 -3
  556. package/dist/esm/api/resources/customerStands/types/index.mjs +0 -3
  557. package/dist/esm/api/resources/recordClick/client/Client.d.mts +0 -27
  558. package/dist/esm/api/resources/recordClick/client/Client.mjs +0 -74
  559. package/dist/esm/api/resources/recordClick/client/index.d.mts +0 -1
  560. package/dist/esm/api/resources/recordClick/client/index.mjs +0 -1
  561. package/dist/esm/api/resources/recordClick/client/requests/AdsRecordClickRequest.mjs +0 -2
  562. package/dist/esm/api/resources/recordClick/client/requests/index.d.mts +0 -1
  563. package/dist/esm/api/resources/recordClick/exports.d.mts +0 -2
  564. package/dist/esm/api/resources/recordClick/index.d.mts +0 -1
  565. package/dist/esm/api/resources/recordClick/index.mjs +0 -1
  566. package/dist/esm/api/resources/serveAd/client/Client.d.mts +0 -27
  567. package/dist/esm/api/resources/serveAd/client/index.d.mts +0 -1
  568. package/dist/esm/api/resources/serveAd/client/index.mjs +0 -1
  569. package/dist/esm/api/resources/serveAd/client/requests/AdsServeAdRequest.mjs +0 -2
  570. package/dist/esm/api/resources/serveAd/client/requests/index.d.mts +0 -1
  571. package/dist/esm/api/resources/serveAd/exports.d.mts +0 -2
  572. package/dist/esm/api/resources/serveAd/index.d.mts +0 -2
  573. package/dist/esm/api/resources/serveAd/index.mjs +0 -2
  574. package/dist/esm/api/resources/serveAd/types/AdsServeAdResponse.d.mts +0 -4
  575. package/dist/esm/api/resources/serveAd/types/AdsServeAdResponse.mjs +0 -2
  576. package/dist/esm/api/resources/serveAd/types/index.d.mts +0 -1
  577. package/dist/esm/api/resources/serveAd/types/index.mjs +0 -1
  578. /package/dist/cjs/api/resources/{businessHours → business/resources/hours}/client/index.d.ts +0 -0
  579. /package/dist/cjs/api/resources/{businessHours → business/resources/hours}/client/index.js +0 -0
  580. /package/dist/cjs/api/resources/{businessHours → business/resources/hours}/client/requests/UpdateBusinessHoursRequest.d.ts +0 -0
  581. /package/dist/cjs/api/resources/{businessHours → business/resources/hours}/client/requests/UpdateBusinessHoursRequest.js +0 -0
  582. /package/dist/cjs/api/resources/{businessHours → business/resources/hours}/client/requests/index.js +0 -0
  583. /package/dist/cjs/api/resources/{businessMessaging → business/resources/hours/resources/exceptions}/client/index.d.ts +0 -0
  584. /package/dist/cjs/api/resources/{businessMessaging → business/resources/hours/resources/exceptions}/client/index.js +0 -0
  585. /package/dist/cjs/api/resources/{businessHours/client/requests/DeleteBusinessHourExceptionRequest.js → business/resources/hours/resources/exceptions/client/requests/DeleteExceptionsRequest.js} +0 -0
  586. /package/dist/cjs/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/StoreBusinessHourExceptionRequest.d.ts +0 -0
  587. /package/dist/cjs/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/StoreBusinessHourExceptionRequest.js +0 -0
  588. /package/dist/cjs/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/UpdateBusinessHourExceptionRequest.d.ts +0 -0
  589. /package/dist/cjs/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/UpdateBusinessHourExceptionRequest.js +0 -0
  590. /package/dist/cjs/api/resources/{businessMessaging → business/resources/hours/resources/exceptions}/client/requests/index.js +0 -0
  591. /package/dist/cjs/api/resources/{businessHours → business/resources/hours/resources/exceptions}/index.d.ts +0 -0
  592. /package/dist/cjs/api/resources/{businessHours → business/resources/hours/resources/exceptions}/index.js +0 -0
  593. /package/dist/cjs/api/resources/{businessHours/types/CreateBusinessHourExceptionResponse.js → business/resources/hours/resources/exceptions/types/CreateExceptionsResponse.js} +0 -0
  594. /package/dist/cjs/api/resources/{businessHours/types/GetBusinessHoursResponse.js → business/resources/hours/resources/exceptions/types/UpdateExceptionsResponse.js} +0 -0
  595. /package/dist/cjs/api/resources/{businessHours/types/UpdateBusinessHourExceptionResponse.js → business/resources/hours/types/GetHoursResponse.js} +0 -0
  596. /package/dist/cjs/api/resources/{businessHours/types/UpdateBusinessHoursResponse.js → business/resources/hours/types/UpdateHoursResponse.js} +0 -0
  597. /package/dist/cjs/api/resources/{businessMessaging/client/requests/SearchBusinessConversationsRequest.js → business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.js} +0 -0
  598. /package/dist/cjs/api/resources/{businessMessaging/types/SearchBusinessConversationsResponse.js → business/resources/messaging/resources/conversations/types/SearchConversationsResponse.js} +0 -0
  599. /package/dist/cjs/api/resources/{businessProducts → business/resources/products/resources/inventory}/client/index.d.ts +0 -0
  600. /package/dist/cjs/api/resources/{businessProducts → business/resources/products/resources/inventory}/client/index.js +0 -0
  601. /package/dist/cjs/api/resources/{businessProducts/client/requests/GetProductInventorySummaryRequest.js → business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.js} +0 -0
  602. /package/dist/cjs/api/resources/{businessStands → business/resources/products/resources/inventory}/client/requests/index.js +0 -0
  603. /package/dist/cjs/api/resources/{businessMessaging → business/resources/products/resources/inventory}/index.d.ts +0 -0
  604. /package/dist/cjs/api/resources/{businessMessaging → business/resources/products/resources/inventory}/index.js +0 -0
  605. /package/dist/cjs/api/resources/{businessProducts/client/requests/ListVariantInventoryHistoryRequest.js → business/resources/products/resources/inventory/types/SummaryInventoryResponse.js} +0 -0
  606. /package/dist/cjs/api/resources/{businessShipping → business/resources/products/resources/variants/resources/inventory}/client/index.d.ts +0 -0
  607. /package/dist/cjs/api/resources/{businessShipping → business/resources/products/resources/variants/resources/inventory}/client/index.js +0 -0
  608. /package/dist/cjs/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/client/requests/AdjustInventoryRequest.js +0 -0
  609. /package/dist/cjs/api/resources/{businessProducts/types/AdjustVariantInventoryResponse.js → business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.js} +0 -0
  610. /package/dist/cjs/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/client/requests/index.js +0 -0
  611. /package/dist/cjs/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/index.d.ts +0 -0
  612. /package/dist/cjs/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/index.js +0 -0
  613. /package/dist/cjs/api/resources/{businessProducts/types/GetProductInventorySummaryResponse.js → business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.js} +0 -0
  614. /package/dist/cjs/api/resources/{businessProducts/types/ListVariantInventoryHistoryResponse.js → business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.js} +0 -0
  615. /package/dist/{esm/api/resources/businessHours/client/requests/index.mjs → cjs/api/resources/business/resources/shipping/client/index.d.ts} +0 -0
  616. /package/dist/cjs/api/resources/{customerBusinesses/client/requests → business/resources/shipping/client}/index.js +0 -0
  617. /package/dist/cjs/api/resources/{businessStands → business/resources/shipping/resources/account}/client/index.d.ts +0 -0
  618. /package/dist/cjs/api/resources/{businessStands → business/resources/shipping/resources/account}/client/index.js +0 -0
  619. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/SetupShippingAccountRequest.d.ts +0 -0
  620. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/SetupShippingAccountRequest.js +0 -0
  621. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/UpdateShippingAccountRequest.d.ts +0 -0
  622. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/UpdateShippingAccountRequest.js +0 -0
  623. /package/dist/cjs/api/resources/{customerEvents → business/resources/shipping/resources/account}/client/requests/index.js +0 -0
  624. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/account}/index.d.ts +0 -0
  625. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/account}/index.js +0 -0
  626. /package/dist/cjs/api/resources/{businessShipping/client/requests/DeleteBusinessShippingRateRequest.js → business/resources/shipping/resources/account/types/GetAccountResponse.js} +0 -0
  627. /package/dist/cjs/api/resources/{businessShipping/types/CreateBusinessShippingRateResponse.js → business/resources/shipping/resources/account/types/SetupIntentAccountResponse.js} +0 -0
  628. /package/dist/cjs/api/resources/{businessShipping/types/GetBusinessShippingAccountResponse.js → business/resources/shipping/resources/account/types/UpdateAccountResponse.js} +0 -0
  629. /package/dist/cjs/api/resources/{customerBusinesses → business/resources/shipping/resources/rates}/client/index.d.ts +0 -0
  630. /package/dist/cjs/api/resources/{customerBusinesses → business/resources/shipping/resources/rates}/client/index.js +0 -0
  631. /package/dist/cjs/api/resources/{businessShipping/types/GetBusinessShippingSetupIntentResponse.js → business/resources/shipping/resources/rates/client/requests/DeleteRatesRequest.js} +0 -0
  632. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/StoreShippingRateRequest.d.ts +0 -0
  633. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/StoreShippingRateRequest.js +0 -0
  634. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/UpdateShippingRateRequest.d.ts +0 -0
  635. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/UpdateShippingRateRequest.js +0 -0
  636. /package/dist/cjs/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/index.js +0 -0
  637. /package/dist/cjs/api/resources/{businessStands → business/resources/shipping/resources/rates}/index.d.ts +0 -0
  638. /package/dist/cjs/api/resources/{businessStands → business/resources/shipping/resources/rates}/index.js +0 -0
  639. /package/dist/cjs/api/resources/{businessShipping/types/ListBusinessShippingRatesResponse.js → business/resources/shipping/resources/rates/types/CreateRatesResponse.js} +0 -0
  640. /package/dist/cjs/api/resources/{businessShipping/types/UpdateBusinessShippingAccountResponse.js → business/resources/shipping/resources/rates/types/ListRatesResponse.js} +0 -0
  641. /package/dist/cjs/api/resources/{businessShipping/types/UpdateBusinessShippingRateResponse.js → business/resources/shipping/resources/rates/types/UpdateRatesResponse.js} +0 -0
  642. /package/dist/cjs/api/resources/{customerEvents → business/resources/stands}/client/index.d.ts +0 -0
  643. /package/dist/cjs/api/resources/{customerEvents → business/resources/stands}/client/index.js +0 -0
  644. /package/dist/cjs/api/resources/{businessStands/client/requests/DeleteBusinessStandRequest.js → business/resources/stands/client/requests/DeleteStandsRequest.js} +0 -0
  645. /package/dist/cjs/api/resources/{businessStands/client/requests/GetBusinessStandRequest.js → business/resources/stands/client/requests/GetStandsRequest.js} +0 -0
  646. /package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/requests/StoreStandRequest.d.ts +0 -0
  647. /package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/requests/StoreStandRequest.js +0 -0
  648. /package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/requests/SyncStandProductsRequest.d.ts +0 -0
  649. /package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/requests/SyncStandProductsRequest.js +0 -0
  650. /package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/requests/UpdateStandRequest.d.ts +0 -0
  651. /package/dist/cjs/api/resources/{businessStands → business/resources/stands}/client/requests/UpdateStandRequest.js +0 -0
  652. /package/dist/cjs/api/resources/{customerMessaging → business/resources/stands}/client/requests/index.js +0 -0
  653. /package/dist/cjs/api/resources/{customerBusinesses → business/resources/stands}/index.d.ts +0 -0
  654. /package/dist/cjs/api/resources/{customerBusinesses → business/resources/stands}/index.js +0 -0
  655. /package/dist/cjs/api/resources/{businessStands/types/CreateBusinessStandResponse.js → business/resources/stands/types/CreateStandsResponse.js} +0 -0
  656. /package/dist/cjs/api/resources/{businessStands/types/GetBusinessStandResponse.js → business/resources/stands/types/GetStandsResponse.js} +0 -0
  657. /package/dist/cjs/api/resources/{businessStands/types/ListBusinessStandsResponse.js → business/resources/stands/types/ListStandsResponse.js} +0 -0
  658. /package/dist/cjs/api/resources/{businessStands/types/UpdateBusinessStandResponse.js → business/resources/stands/types/UpdateStandsResponse.js} +0 -0
  659. /package/dist/cjs/api/resources/{customerMessaging → customer/resources/ads}/client/index.d.ts +0 -0
  660. /package/dist/cjs/api/resources/{customerMessaging → customer/resources/ads}/client/index.js +0 -0
  661. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.js → customer/resources/ads/client/requests/RecordClickAdsRequest.js} +0 -0
  662. /package/dist/cjs/api/resources/{customerBusinesses/types/GetBusinessPickupTimeslotsResponse.js → customer/resources/ads/client/requests/ServeAdsRequest.js} +0 -0
  663. /package/dist/cjs/api/resources/{customerMyAccount → customer/resources/ads}/client/requests/index.js +0 -0
  664. /package/dist/cjs/api/resources/{customerMessaging → customer/resources/ads}/index.d.ts +0 -0
  665. /package/dist/cjs/api/resources/{customerMessaging → customer/resources/ads}/index.js +0 -0
  666. /package/dist/cjs/api/resources/{customerEvents/client/requests/ReleaseTicketHoldRequest.js → customer/resources/ads/types/ServeAdsResponse.js} +0 -0
  667. /package/dist/cjs/api/resources/{customerMessaging/client/requests/SearchCustomerConversationsRequest.js → customer/resources/businesses/types/GetPickupTimeslotsBusinessesResponse.js} +0 -0
  668. /package/dist/cjs/api/resources/{customerMessaging/types/SearchCustomerConversationsResponse.js → customer/resources/me/resources/paymentMethods/types/EphemeralKeyPaymentMethodsResponse.js} +0 -0
  669. /package/dist/cjs/api/resources/{customerMyAccount/client/requests/DownloadAppleWalletPassRequest.js → customer/resources/me/resources/ticketOrders/types/GetTicketOrdersResponse.js} +0 -0
  670. /package/dist/cjs/api/resources/{customerMyAccount/client/requests/GetMyTicketOrderRequest.js → customer/resources/me/resources/tickets/client/requests/AppleWalletPassTicketsRequest.js} +0 -0
  671. /package/dist/cjs/api/resources/{customerMyAccount/client/requests/GetMyTicketRequest.js → customer/resources/me/resources/tickets/types/GetTicketsResponse.js} +0 -0
  672. /package/dist/cjs/api/resources/{customerMyAccount/types/GetMyTicketOrderResponse.js → customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.js} +0 -0
  673. /package/dist/cjs/api/resources/{customerMyAccount/types/GetMyTicketResponse.js → customer/resources/messaging/resources/conversations/types/SearchConversationsResponse.js} +0 -0
  674. /package/dist/cjs/api/resources/{customerMyAccount → customer/resources/stands}/client/index.d.ts +0 -0
  675. /package/dist/cjs/api/resources/{customerMyAccount → customer/resources/stands}/client/index.js +0 -0
  676. /package/dist/cjs/api/resources/{customerStands/client/requests/CreateStandPaymentIntentRequest.js → customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.js} +0 -0
  677. /package/dist/cjs/api/resources/{customerStands/client/requests/ScanStandRequest.js → customer/resources/stands/client/requests/ScanStandsRequest.js} +0 -0
  678. /package/dist/cjs/api/resources/{customerStands → customer/resources/stands}/client/requests/SelfCheckoutRequest.d.ts +0 -0
  679. /package/dist/cjs/api/resources/{customerStands → customer/resources/stands}/client/requests/SelfCheckoutRequest.js +0 -0
  680. /package/dist/cjs/api/resources/{customerStands → customer/resources/stands}/client/requests/index.js +0 -0
  681. /package/dist/cjs/api/resources/{customerMyAccount → customer/resources/stands}/index.d.ts +0 -0
  682. /package/dist/cjs/api/resources/{customerMyAccount → customer/resources/stands}/index.js +0 -0
  683. /package/dist/cjs/api/resources/{customerStands/types/CreateStandPaymentIntentResponse.js → customer/resources/stands/types/CheckoutStandsResponse.js} +0 -0
  684. /package/dist/cjs/api/resources/{customerStands/types/ScanStandResponse.js → customer/resources/stands/types/CreatePaymentIntentStandsResponse.js} +0 -0
  685. /package/dist/cjs/api/resources/{customerStands/types/StandCheckoutResponse.js → customer/resources/stands/types/ScanStandsResponse.js} +0 -0
  686. /package/dist/esm/api/resources/{businessHours → business/resources/hours}/client/index.d.mts +0 -0
  687. /package/dist/esm/api/resources/{businessHours → business/resources/hours}/client/index.mjs +0 -0
  688. /package/dist/esm/api/resources/{businessHours → business/resources/hours}/client/requests/UpdateBusinessHoursRequest.d.mts +0 -0
  689. /package/dist/esm/api/resources/{businessHours → business/resources/hours}/client/requests/UpdateBusinessHoursRequest.mjs +0 -0
  690. /package/dist/esm/api/resources/{businessMessaging → business/resources/hours}/client/requests/index.mjs +0 -0
  691. /package/dist/esm/api/resources/{businessMessaging → business/resources/hours/resources/exceptions}/client/index.d.mts +0 -0
  692. /package/dist/esm/api/resources/{businessMessaging → business/resources/hours/resources/exceptions}/client/index.mjs +0 -0
  693. /package/dist/esm/api/resources/{businessHours/client/requests/DeleteBusinessHourExceptionRequest.mjs → business/resources/hours/resources/exceptions/client/requests/DeleteExceptionsRequest.mjs} +0 -0
  694. /package/dist/esm/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/StoreBusinessHourExceptionRequest.d.mts +0 -0
  695. /package/dist/esm/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/StoreBusinessHourExceptionRequest.mjs +0 -0
  696. /package/dist/esm/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/UpdateBusinessHourExceptionRequest.d.mts +0 -0
  697. /package/dist/esm/api/resources/{businessHours → business/resources/hours/resources/exceptions}/client/requests/UpdateBusinessHourExceptionRequest.mjs +0 -0
  698. /package/dist/esm/api/resources/{businessStands → business/resources/hours/resources/exceptions}/client/requests/index.mjs +0 -0
  699. /package/dist/esm/api/resources/{businessHours → business/resources/hours/resources/exceptions}/index.d.mts +0 -0
  700. /package/dist/esm/api/resources/{businessHours → business/resources/hours/resources/exceptions}/index.mjs +0 -0
  701. /package/dist/esm/api/resources/{businessHours/types/CreateBusinessHourExceptionResponse.mjs → business/resources/hours/resources/exceptions/types/CreateExceptionsResponse.mjs} +0 -0
  702. /package/dist/esm/api/resources/{businessHours/types/GetBusinessHoursResponse.mjs → business/resources/hours/resources/exceptions/types/UpdateExceptionsResponse.mjs} +0 -0
  703. /package/dist/esm/api/resources/{businessHours/types/UpdateBusinessHourExceptionResponse.mjs → business/resources/hours/types/GetHoursResponse.mjs} +0 -0
  704. /package/dist/esm/api/resources/{businessHours/types/UpdateBusinessHoursResponse.mjs → business/resources/hours/types/UpdateHoursResponse.mjs} +0 -0
  705. /package/dist/esm/api/resources/{businessMessaging/client/requests/SearchBusinessConversationsRequest.mjs → business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.mjs} +0 -0
  706. /package/dist/esm/api/resources/{businessMessaging/types/SearchBusinessConversationsResponse.mjs → business/resources/messaging/resources/conversations/types/SearchConversationsResponse.mjs} +0 -0
  707. /package/dist/esm/api/resources/{businessProducts → business/resources/products/resources/inventory}/client/index.d.mts +0 -0
  708. /package/dist/esm/api/resources/{businessProducts → business/resources/products/resources/inventory}/client/index.mjs +0 -0
  709. /package/dist/esm/api/resources/{businessProducts/client/requests/GetProductInventorySummaryRequest.mjs → business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.mjs} +0 -0
  710. /package/dist/esm/api/resources/{customerBusinesses → business/resources/products/resources/inventory}/client/requests/index.mjs +0 -0
  711. /package/dist/esm/api/resources/{businessMessaging → business/resources/products/resources/inventory}/index.d.mts +0 -0
  712. /package/dist/esm/api/resources/{businessMessaging → business/resources/products/resources/inventory}/index.mjs +0 -0
  713. /package/dist/esm/api/resources/{businessProducts/client/requests/ListVariantInventoryHistoryRequest.mjs → business/resources/products/resources/inventory/types/SummaryInventoryResponse.mjs} +0 -0
  714. /package/dist/esm/api/resources/{businessShipping → business/resources/products/resources/variants/resources/inventory}/client/index.d.mts +0 -0
  715. /package/dist/esm/api/resources/{businessShipping → business/resources/products/resources/variants/resources/inventory}/client/index.mjs +0 -0
  716. /package/dist/esm/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/client/requests/AdjustInventoryRequest.mjs +0 -0
  717. /package/dist/esm/api/resources/{businessProducts/types/AdjustVariantInventoryResponse.mjs → business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.mjs} +0 -0
  718. /package/dist/esm/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/client/requests/index.mjs +0 -0
  719. /package/dist/esm/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/index.d.mts +0 -0
  720. /package/dist/esm/api/resources/{businessProducts → business/resources/products/resources/variants/resources/inventory}/index.mjs +0 -0
  721. /package/dist/esm/api/resources/{businessProducts/types/GetProductInventorySummaryResponse.mjs → business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.mjs} +0 -0
  722. /package/dist/esm/api/resources/{businessProducts/types/ListVariantInventoryHistoryResponse.mjs → business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.mjs} +0 -0
  723. /package/dist/esm/api/resources/{customerEvents/client/requests/index.mjs → business/resources/shipping/client/index.d.mts} +0 -0
  724. /package/dist/esm/api/resources/{customerMessaging/client/requests → business/resources/shipping/client}/index.mjs +0 -0
  725. /package/dist/esm/api/resources/{businessStands → business/resources/shipping/resources/account}/client/index.d.mts +0 -0
  726. /package/dist/esm/api/resources/{businessStands → business/resources/shipping/resources/account}/client/index.mjs +0 -0
  727. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/SetupShippingAccountRequest.d.mts +0 -0
  728. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/SetupShippingAccountRequest.mjs +0 -0
  729. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/UpdateShippingAccountRequest.d.mts +0 -0
  730. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/account}/client/requests/UpdateShippingAccountRequest.mjs +0 -0
  731. /package/dist/esm/api/resources/{customerMyAccount → business/resources/shipping/resources/account}/client/requests/index.mjs +0 -0
  732. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/account}/index.d.mts +0 -0
  733. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/account}/index.mjs +0 -0
  734. /package/dist/esm/api/resources/{businessShipping/client/requests/DeleteBusinessShippingRateRequest.mjs → business/resources/shipping/resources/account/types/GetAccountResponse.mjs} +0 -0
  735. /package/dist/esm/api/resources/{businessShipping/types/CreateBusinessShippingRateResponse.mjs → business/resources/shipping/resources/account/types/SetupIntentAccountResponse.mjs} +0 -0
  736. /package/dist/esm/api/resources/{businessShipping/types/GetBusinessShippingAccountResponse.mjs → business/resources/shipping/resources/account/types/UpdateAccountResponse.mjs} +0 -0
  737. /package/dist/esm/api/resources/{customerBusinesses → business/resources/shipping/resources/rates}/client/index.d.mts +0 -0
  738. /package/dist/esm/api/resources/{customerBusinesses → business/resources/shipping/resources/rates}/client/index.mjs +0 -0
  739. /package/dist/esm/api/resources/{businessShipping/types/GetBusinessShippingSetupIntentResponse.mjs → business/resources/shipping/resources/rates/client/requests/DeleteRatesRequest.mjs} +0 -0
  740. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/StoreShippingRateRequest.d.mts +0 -0
  741. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/StoreShippingRateRequest.mjs +0 -0
  742. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/UpdateShippingRateRequest.d.mts +0 -0
  743. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/UpdateShippingRateRequest.mjs +0 -0
  744. /package/dist/esm/api/resources/{businessShipping → business/resources/shipping/resources/rates}/client/requests/index.mjs +0 -0
  745. /package/dist/esm/api/resources/{businessStands → business/resources/shipping/resources/rates}/index.d.mts +0 -0
  746. /package/dist/esm/api/resources/{businessStands → business/resources/shipping/resources/rates}/index.mjs +0 -0
  747. /package/dist/esm/api/resources/{businessShipping/types/ListBusinessShippingRatesResponse.mjs → business/resources/shipping/resources/rates/types/CreateRatesResponse.mjs} +0 -0
  748. /package/dist/esm/api/resources/{businessShipping/types/UpdateBusinessShippingAccountResponse.mjs → business/resources/shipping/resources/rates/types/ListRatesResponse.mjs} +0 -0
  749. /package/dist/esm/api/resources/{businessShipping/types/UpdateBusinessShippingRateResponse.mjs → business/resources/shipping/resources/rates/types/UpdateRatesResponse.mjs} +0 -0
  750. /package/dist/esm/api/resources/{customerEvents → business/resources/stands}/client/index.d.mts +0 -0
  751. /package/dist/esm/api/resources/{customerEvents → business/resources/stands}/client/index.mjs +0 -0
  752. /package/dist/esm/api/resources/{businessStands/client/requests/DeleteBusinessStandRequest.mjs → business/resources/stands/client/requests/DeleteStandsRequest.mjs} +0 -0
  753. /package/dist/esm/api/resources/{businessStands/client/requests/GetBusinessStandRequest.mjs → business/resources/stands/client/requests/GetStandsRequest.mjs} +0 -0
  754. /package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/requests/StoreStandRequest.d.mts +0 -0
  755. /package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/requests/StoreStandRequest.mjs +0 -0
  756. /package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/requests/SyncStandProductsRequest.d.mts +0 -0
  757. /package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/requests/SyncStandProductsRequest.mjs +0 -0
  758. /package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/requests/UpdateStandRequest.d.mts +0 -0
  759. /package/dist/esm/api/resources/{businessStands → business/resources/stands}/client/requests/UpdateStandRequest.mjs +0 -0
  760. /package/dist/esm/api/resources/{customerStands → business/resources/stands}/client/requests/index.mjs +0 -0
  761. /package/dist/esm/api/resources/{customerBusinesses → business/resources/stands}/index.d.mts +0 -0
  762. /package/dist/esm/api/resources/{customerBusinesses → business/resources/stands}/index.mjs +0 -0
  763. /package/dist/esm/api/resources/{businessStands/types/CreateBusinessStandResponse.mjs → business/resources/stands/types/CreateStandsResponse.mjs} +0 -0
  764. /package/dist/esm/api/resources/{businessStands/types/GetBusinessStandResponse.mjs → business/resources/stands/types/GetStandsResponse.mjs} +0 -0
  765. /package/dist/esm/api/resources/{businessStands/types/ListBusinessStandsResponse.mjs → business/resources/stands/types/ListStandsResponse.mjs} +0 -0
  766. /package/dist/esm/api/resources/{businessStands/types/UpdateBusinessStandResponse.mjs → business/resources/stands/types/UpdateStandsResponse.mjs} +0 -0
  767. /package/dist/esm/api/resources/{customerMessaging → customer/resources/ads}/client/index.d.mts +0 -0
  768. /package/dist/esm/api/resources/{customerMessaging → customer/resources/ads}/client/index.mjs +0 -0
  769. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.mjs → customer/resources/ads/client/requests/RecordClickAdsRequest.mjs} +0 -0
  770. /package/dist/esm/api/resources/{customerBusinesses/types/GetBusinessPickupTimeslotsResponse.mjs → customer/resources/ads/client/requests/ServeAdsRequest.mjs} +0 -0
  771. /package/dist/esm/api/resources/{recordClick → customer/resources/ads}/client/requests/index.mjs +0 -0
  772. /package/dist/esm/api/resources/{customerMessaging → customer/resources/ads}/index.d.mts +0 -0
  773. /package/dist/esm/api/resources/{customerMessaging → customer/resources/ads}/index.mjs +0 -0
  774. /package/dist/esm/api/resources/{customerEvents/client/requests/ReleaseTicketHoldRequest.mjs → customer/resources/ads/types/ServeAdsResponse.mjs} +0 -0
  775. /package/dist/esm/api/resources/{customerMessaging/client/requests/SearchCustomerConversationsRequest.mjs → customer/resources/businesses/types/GetPickupTimeslotsBusinessesResponse.mjs} +0 -0
  776. /package/dist/esm/api/resources/{customerMessaging/types/SearchCustomerConversationsResponse.mjs → customer/resources/me/resources/paymentMethods/types/EphemeralKeyPaymentMethodsResponse.mjs} +0 -0
  777. /package/dist/esm/api/resources/{customerMyAccount/client/requests/DownloadAppleWalletPassRequest.mjs → customer/resources/me/resources/ticketOrders/types/GetTicketOrdersResponse.mjs} +0 -0
  778. /package/dist/esm/api/resources/{customerMyAccount/client/requests/GetMyTicketOrderRequest.mjs → customer/resources/me/resources/tickets/client/requests/AppleWalletPassTicketsRequest.mjs} +0 -0
  779. /package/dist/esm/api/resources/{customerMyAccount/client/requests/GetMyTicketRequest.mjs → customer/resources/me/resources/tickets/types/GetTicketsResponse.mjs} +0 -0
  780. /package/dist/esm/api/resources/{customerMyAccount/types/GetMyTicketOrderResponse.mjs → customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.mjs} +0 -0
  781. /package/dist/esm/api/resources/{customerMyAccount/types/GetMyTicketResponse.mjs → customer/resources/messaging/resources/conversations/types/SearchConversationsResponse.mjs} +0 -0
  782. /package/dist/esm/api/resources/{customerMyAccount → customer/resources/stands}/client/index.d.mts +0 -0
  783. /package/dist/esm/api/resources/{customerMyAccount → customer/resources/stands}/client/index.mjs +0 -0
  784. /package/dist/esm/api/resources/{customerStands/client/requests/CreateStandPaymentIntentRequest.mjs → customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.mjs} +0 -0
  785. /package/dist/esm/api/resources/{customerStands/client/requests/ScanStandRequest.mjs → customer/resources/stands/client/requests/ScanStandsRequest.mjs} +0 -0
  786. /package/dist/esm/api/resources/{customerStands → customer/resources/stands}/client/requests/SelfCheckoutRequest.d.mts +0 -0
  787. /package/dist/esm/api/resources/{customerStands → customer/resources/stands}/client/requests/SelfCheckoutRequest.mjs +0 -0
  788. /package/dist/esm/api/resources/{serveAd → customer/resources/stands}/client/requests/index.mjs +0 -0
  789. /package/dist/esm/api/resources/{customerMyAccount → customer/resources/stands}/index.d.mts +0 -0
  790. /package/dist/esm/api/resources/{customerMyAccount → customer/resources/stands}/index.mjs +0 -0
  791. /package/dist/esm/api/resources/{customerStands/types/CreateStandPaymentIntentResponse.mjs → customer/resources/stands/types/CheckoutStandsResponse.mjs} +0 -0
  792. /package/dist/esm/api/resources/{customerStands/types/ScanStandResponse.mjs → customer/resources/stands/types/CreatePaymentIntentStandsResponse.mjs} +0 -0
  793. /package/dist/esm/api/resources/{customerStands/types/StandCheckoutResponse.mjs → customer/resources/stands/types/ScanStandsResponse.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.js";
2
+ export interface SearchConversationsResponse {
3
+ data: FiveOneEat.BusinessConversation[];
4
+ }
@@ -1,2 +1,3 @@
1
1
  export * from "./GetConversationsResponse.js";
2
2
  export * from "./ListConversationsResponse.js";
3
+ export * from "./SearchConversationsResponse.js";
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetConversationsResponse.js"), exports);
18
18
  __exportStar(require("./ListConversationsResponse.js"), exports);
19
+ __exportStar(require("./SearchConversationsResponse.js"), exports);
@@ -3,6 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClie
3
3
  import * as core from "../../../../../../core/index.js";
4
4
  import * as FiveOneEat from "../../../../../index.js";
5
5
  import { ImagesClient } from "../resources/images/client/Client.js";
6
+ import { InventoryClient } from "../resources/inventory/client/Client.js";
6
7
  import { VariantsClient } from "../resources/variants/client/Client.js";
7
8
  export declare namespace ProductsClient {
8
9
  type Options = BaseClientOptions;
@@ -13,9 +14,11 @@ export declare class ProductsClient {
13
14
  protected readonly _options: NormalizedClientOptionsWithAuth<ProductsClient.Options>;
14
15
  protected _variants: VariantsClient | undefined;
15
16
  protected _images: ImagesClient | undefined;
17
+ protected _inventory: InventoryClient | undefined;
16
18
  constructor(options?: ProductsClient.Options);
17
19
  get variants(): VariantsClient;
18
20
  get images(): ImagesClient;
21
+ get inventory(): InventoryClient;
19
22
  /**
20
23
  * @param {ProductsClient.RequestOptions} requestOptions - Request-specific configuration.
21
24
  *
@@ -63,19 +63,24 @@ const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNo
63
63
  const errors = __importStar(require("../../../../../../errors/index.js"));
64
64
  const FiveOneEat = __importStar(require("../../../../../index.js"));
65
65
  const Client_js_1 = require("../resources/images/client/Client.js");
66
- const Client_js_2 = require("../resources/variants/client/Client.js");
66
+ const Client_js_2 = require("../resources/inventory/client/Client.js");
67
+ const Client_js_3 = require("../resources/variants/client/Client.js");
67
68
  class ProductsClient {
68
69
  constructor(options = {}) {
69
70
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
70
71
  }
71
72
  get variants() {
72
73
  var _a;
73
- return ((_a = this._variants) !== null && _a !== void 0 ? _a : (this._variants = new Client_js_2.VariantsClient(this._options)));
74
+ return ((_a = this._variants) !== null && _a !== void 0 ? _a : (this._variants = new Client_js_3.VariantsClient(this._options)));
74
75
  }
75
76
  get images() {
76
77
  var _a;
77
78
  return ((_a = this._images) !== null && _a !== void 0 ? _a : (this._images = new Client_js_1.ImagesClient(this._options)));
78
79
  }
80
+ get inventory() {
81
+ var _a;
82
+ return ((_a = this._inventory) !== null && _a !== void 0 ? _a : (this._inventory = new Client_js_2.InventoryClient(this._options)));
83
+ }
79
84
  /**
80
85
  * @param {ProductsClient.RequestOptions} requestOptions - Request-specific configuration.
81
86
  *
@@ -1,6 +1,9 @@
1
1
  export * from "./images/client/requests/index.js";
2
2
  export * as images from "./images/index.js";
3
3
  export * from "./images/types/index.js";
4
+ export * from "./inventory/client/requests/index.js";
5
+ export * as inventory from "./inventory/index.js";
6
+ export * from "./inventory/types/index.js";
4
7
  export * from "./variants/client/requests/index.js";
5
8
  export * as variants from "./variants/index.js";
6
9
  export * from "./variants/types/index.js";
@@ -36,10 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.variants = exports.images = void 0;
39
+ exports.variants = exports.inventory = exports.images = void 0;
40
40
  __exportStar(require("./images/client/requests/index.js"), exports);
41
41
  exports.images = __importStar(require("./images/index.js"));
42
42
  __exportStar(require("./images/types/index.js"), exports);
43
+ __exportStar(require("./inventory/client/requests/index.js"), exports);
44
+ exports.inventory = __importStar(require("./inventory/index.js"));
45
+ __exportStar(require("./inventory/types/index.js"), exports);
43
46
  __exportStar(require("./variants/client/requests/index.js"), exports);
44
47
  exports.variants = __importStar(require("./variants/index.js"));
45
48
  __exportStar(require("./variants/types/index.js"), exports);
@@ -0,0 +1,29 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../../../core/index.js";
4
+ import * as FiveOneEat from "../../../../../../../index.js";
5
+ export declare namespace InventoryClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class InventoryClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<InventoryClient.Options>;
12
+ constructor(options?: InventoryClient.Options);
13
+ /**
14
+ * @param {FiveOneEat.business.products.SummaryInventoryRequest} request
15
+ * @param {InventoryClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link FiveOneEat.UnauthorizedError}
18
+ * @throws {@link FiveOneEat.ForbiddenError}
19
+ * @throws {@link FiveOneEat.NotFoundError}
20
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
21
+ *
22
+ * @example
23
+ * await client.business.products.inventory.summary({
24
+ * product: "product"
25
+ * })
26
+ */
27
+ summary(request: FiveOneEat.business.products.SummaryInventoryRequest, requestOptions?: InventoryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.products.SummaryInventoryResponse>;
28
+ private __summary;
29
+ }
@@ -43,41 +43,43 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  });
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.ServeAdClient = void 0;
47
- const BaseClient_js_1 = require("../../../../BaseClient.js");
48
- const headers_js_1 = require("../../../../core/headers.js");
49
- const core = __importStar(require("../../../../core/index.js"));
50
- const environments = __importStar(require("../../../../environments.js"));
51
- const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
52
- const errors = __importStar(require("../../../../errors/index.js"));
53
- const FiveOneEat = __importStar(require("../../../index.js"));
54
- class ServeAdClient {
46
+ exports.InventoryClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../../../../../BaseClient.js");
48
+ const headers_js_1 = require("../../../../../../../../core/headers.js");
49
+ const core = __importStar(require("../../../../../../../../core/index.js"));
50
+ const environments = __importStar(require("../../../../../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../../../../../errors/handleNonStatusCodeError.js");
52
+ const errors = __importStar(require("../../../../../../../../errors/index.js"));
53
+ const FiveOneEat = __importStar(require("../../../../../../../index.js"));
54
+ class InventoryClient {
55
55
  constructor(options = {}) {
56
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
59
- * @param {FiveOneEat.AdsServeAdRequest} request
60
- * @param {ServeAdClient.RequestOptions} requestOptions - Request-specific configuration.
59
+ * @param {FiveOneEat.business.products.SummaryInventoryRequest} request
60
+ * @param {InventoryClient.RequestOptions} requestOptions - Request-specific configuration.
61
61
  *
62
62
  * @throws {@link FiveOneEat.UnauthorizedError}
63
+ * @throws {@link FiveOneEat.ForbiddenError}
63
64
  * @throws {@link FiveOneEat.NotFoundError}
65
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
64
66
  *
65
67
  * @example
66
- * await client.serveAd.adsServeAd({
67
- * placement: "placement"
68
+ * await client.business.products.inventory.summary({
69
+ * product: "product"
68
70
  * })
69
71
  */
70
- adsServeAd(request, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__adsServeAd(request, requestOptions));
72
+ summary(request, requestOptions) {
73
+ return core.HttpResponsePromise.fromPromise(this.__summary(request, requestOptions));
72
74
  }
73
- __adsServeAd(request, requestOptions) {
75
+ __summary(request, requestOptions) {
74
76
  return __awaiter(this, void 0, void 0, function* () {
75
77
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
76
- const { placement } = request;
78
+ const { product } = request;
77
79
  const _authRequest = yield this._options.authProvider.getAuthRequest();
78
80
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
79
81
  const _response = yield core.fetcher({
80
- 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/ads/${core.url.encodePathParam(placement)}`),
82
+ 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, `business/products/${core.url.encodePathParam(product)}/inventory`),
81
83
  method: "GET",
82
84
  headers: _headers,
83
85
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -97,8 +99,12 @@ class ServeAdClient {
97
99
  switch (_response.error.statusCode) {
98
100
  case 401:
99
101
  throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
102
+ case 403:
103
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
100
104
  case 404:
101
105
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
106
+ case 422:
107
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
102
108
  default:
103
109
  throw new errors.FiveOneEatError({
104
110
  statusCode: _response.error.statusCode,
@@ -107,8 +113,8 @@ class ServeAdClient {
107
113
  });
108
114
  }
109
115
  }
110
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/ads/{placement}");
116
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/products/{product}/inventory");
111
117
  });
112
118
  }
113
119
  }
114
- exports.ServeAdClient = ServeAdClient;
120
+ exports.InventoryClient = InventoryClient;
@@ -4,7 +4,7 @@
4
4
  * product: "product"
5
5
  * }
6
6
  */
7
- export interface GetProductInventorySummaryRequest {
7
+ export interface SummaryInventoryRequest {
8
8
  /** The product ID */
9
9
  product: string;
10
10
  }
@@ -0,0 +1 @@
1
+ export type { SummaryInventoryRequest } from "./SummaryInventoryRequest.js";
@@ -0,0 +1,2 @@
1
+ export { InventoryClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
16
  };
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.BusinessHoursClient = void 0;
18
+ exports.InventoryClient = void 0;
19
19
  var Client_js_1 = require("./client/Client.js");
20
- Object.defineProperty(exports, "BusinessHoursClient", { enumerable: true, get: function () { return Client_js_1.BusinessHoursClient; } });
20
+ Object.defineProperty(exports, "InventoryClient", { enumerable: true, get: function () { return Client_js_1.InventoryClient; } });
21
21
  __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.js";
2
+ export interface SummaryInventoryResponse {
3
+ data: FiveOneEat.BusinessProductInventorySummary;
4
+ }
@@ -0,0 +1 @@
1
+ export * from "./SummaryInventoryResponse.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./SummaryInventoryResponse.js"), exports);
@@ -3,6 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../Ba
3
3
  import * as core from "../../../../../../../../core/index.js";
4
4
  import * as FiveOneEat from "../../../../../../../index.js";
5
5
  import { ImagesClient } from "../resources/images/client/Client.js";
6
+ import { InventoryClient } from "../resources/inventory/client/Client.js";
6
7
  export declare namespace VariantsClient {
7
8
  type Options = BaseClientOptions;
8
9
  interface RequestOptions extends BaseRequestOptions {
@@ -11,8 +12,10 @@ export declare namespace VariantsClient {
11
12
  export declare class VariantsClient {
12
13
  protected readonly _options: NormalizedClientOptionsWithAuth<VariantsClient.Options>;
13
14
  protected _images: ImagesClient | undefined;
15
+ protected _inventory: InventoryClient | undefined;
14
16
  constructor(options?: VariantsClient.Options);
15
17
  get images(): ImagesClient;
18
+ get inventory(): InventoryClient;
16
19
  /**
17
20
  * @param {FiveOneEat.business.products.StoreProductVariantRequest} request
18
21
  * @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -63,6 +63,7 @@ const handleNonStatusCodeError_js_1 = require("../../../../../../../../errors/ha
63
63
  const errors = __importStar(require("../../../../../../../../errors/index.js"));
64
64
  const FiveOneEat = __importStar(require("../../../../../../../index.js"));
65
65
  const Client_js_1 = require("../resources/images/client/Client.js");
66
+ const Client_js_2 = require("../resources/inventory/client/Client.js");
66
67
  class VariantsClient {
67
68
  constructor(options = {}) {
68
69
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
@@ -71,6 +72,10 @@ class VariantsClient {
71
72
  var _a;
72
73
  return ((_a = this._images) !== null && _a !== void 0 ? _a : (this._images = new Client_js_1.ImagesClient(this._options)));
73
74
  }
75
+ get inventory() {
76
+ var _a;
77
+ return ((_a = this._inventory) !== null && _a !== void 0 ? _a : (this._inventory = new Client_js_2.InventoryClient(this._options)));
78
+ }
74
79
  /**
75
80
  * @param {FiveOneEat.business.products.StoreProductVariantRequest} request
76
81
  * @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,3 +1,6 @@
1
1
  export * from "./images/client/requests/index.js";
2
2
  export * as images from "./images/index.js";
3
3
  export * from "./images/types/index.js";
4
+ export * from "./inventory/client/requests/index.js";
5
+ export * as inventory from "./inventory/index.js";
6
+ export * from "./inventory/types/index.js";
@@ -36,7 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.images = void 0;
39
+ exports.inventory = exports.images = void 0;
40
40
  __exportStar(require("./images/client/requests/index.js"), exports);
41
41
  exports.images = __importStar(require("./images/index.js"));
42
42
  __exportStar(require("./images/types/index.js"), exports);
43
+ __exportStar(require("./inventory/client/requests/index.js"), exports);
44
+ exports.inventory = __importStar(require("./inventory/index.js"));
45
+ __exportStar(require("./inventory/types/index.js"), exports);
@@ -0,0 +1,48 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../../../../../core/index.js";
4
+ import * as FiveOneEat from "../../../../../../../../../index.js";
5
+ export declare namespace InventoryClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class InventoryClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<InventoryClient.Options>;
12
+ constructor(options?: InventoryClient.Options);
13
+ /**
14
+ * @param {FiveOneEat.business.products.variants.AdjustInventoryRequest} request
15
+ * @param {InventoryClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link FiveOneEat.UnauthorizedError}
18
+ * @throws {@link FiveOneEat.ForbiddenError}
19
+ * @throws {@link FiveOneEat.NotFoundError}
20
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
21
+ *
22
+ * @example
23
+ * await client.business.products.variants.inventory.adjust({
24
+ * variant: "variant",
25
+ * type: "add",
26
+ * quantity: 1,
27
+ * reason: "restock"
28
+ * })
29
+ */
30
+ adjust(request: FiveOneEat.business.products.variants.AdjustInventoryRequest, requestOptions?: InventoryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.products.variants.AdjustInventoryResponse>;
31
+ private __adjust;
32
+ /**
33
+ * @param {FiveOneEat.business.products.variants.HistoryInventoryRequest} request
34
+ * @param {InventoryClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link FiveOneEat.UnauthorizedError}
37
+ * @throws {@link FiveOneEat.ForbiddenError}
38
+ * @throws {@link FiveOneEat.NotFoundError}
39
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.business.products.variants.inventory.history({
43
+ * variant: "variant"
44
+ * })
45
+ */
46
+ history(request: FiveOneEat.business.products.variants.HistoryInventoryRequest, requestOptions?: InventoryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.products.variants.HistoryInventoryResponse>;
47
+ private __history;
48
+ }
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
56
+ Object.defineProperty(exports, "__esModule", { value: true });
57
+ exports.InventoryClient = void 0;
58
+ const BaseClient_js_1 = require("../../../../../../../../../../BaseClient.js");
59
+ const headers_js_1 = require("../../../../../../../../../../core/headers.js");
60
+ const core = __importStar(require("../../../../../../../../../../core/index.js"));
61
+ const environments = __importStar(require("../../../../../../../../../../environments.js"));
62
+ const handleNonStatusCodeError_js_1 = require("../../../../../../../../../../errors/handleNonStatusCodeError.js");
63
+ const errors = __importStar(require("../../../../../../../../../../errors/index.js"));
64
+ const FiveOneEat = __importStar(require("../../../../../../../../../index.js"));
65
+ class InventoryClient {
66
+ constructor(options = {}) {
67
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
68
+ }
69
+ /**
70
+ * @param {FiveOneEat.business.products.variants.AdjustInventoryRequest} request
71
+ * @param {InventoryClient.RequestOptions} requestOptions - Request-specific configuration.
72
+ *
73
+ * @throws {@link FiveOneEat.UnauthorizedError}
74
+ * @throws {@link FiveOneEat.ForbiddenError}
75
+ * @throws {@link FiveOneEat.NotFoundError}
76
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
77
+ *
78
+ * @example
79
+ * await client.business.products.variants.inventory.adjust({
80
+ * variant: "variant",
81
+ * type: "add",
82
+ * quantity: 1,
83
+ * reason: "restock"
84
+ * })
85
+ */
86
+ adjust(request, requestOptions) {
87
+ return core.HttpResponsePromise.fromPromise(this.__adjust(request, requestOptions));
88
+ }
89
+ __adjust(request, requestOptions) {
90
+ return __awaiter(this, void 0, void 0, function* () {
91
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
92
+ const { variant } = request, _body = __rest(request, ["variant"]);
93
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
94
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
95
+ const _response = yield core.fetcher({
96
+ 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, `business/products/variants/${core.url.encodePathParam(variant)}/inventory/adjust`),
97
+ method: "POST",
98
+ headers: _headers,
99
+ contentType: "application/json",
100
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
101
+ requestType: "json",
102
+ body: _body,
103
+ 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,
104
+ 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,
105
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
106
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
107
+ logging: this._options.logging,
108
+ });
109
+ if (_response.ok) {
110
+ return {
111
+ data: _response.body,
112
+ rawResponse: _response.rawResponse,
113
+ };
114
+ }
115
+ if (_response.error.reason === "status-code") {
116
+ switch (_response.error.statusCode) {
117
+ case 401:
118
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
119
+ case 403:
120
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
121
+ case 404:
122
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
123
+ case 422:
124
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
125
+ default:
126
+ throw new errors.FiveOneEatError({
127
+ statusCode: _response.error.statusCode,
128
+ body: _response.error.body,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ }
132
+ }
133
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/products/variants/{variant}/inventory/adjust");
134
+ });
135
+ }
136
+ /**
137
+ * @param {FiveOneEat.business.products.variants.HistoryInventoryRequest} request
138
+ * @param {InventoryClient.RequestOptions} requestOptions - Request-specific configuration.
139
+ *
140
+ * @throws {@link FiveOneEat.UnauthorizedError}
141
+ * @throws {@link FiveOneEat.ForbiddenError}
142
+ * @throws {@link FiveOneEat.NotFoundError}
143
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
144
+ *
145
+ * @example
146
+ * await client.business.products.variants.inventory.history({
147
+ * variant: "variant"
148
+ * })
149
+ */
150
+ history(request, requestOptions) {
151
+ return core.HttpResponsePromise.fromPromise(this.__history(request, requestOptions));
152
+ }
153
+ __history(request, requestOptions) {
154
+ return __awaiter(this, void 0, void 0, function* () {
155
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
156
+ const { variant, per_page: perPage } = request;
157
+ const _queryParams = {
158
+ per_page: perPage,
159
+ };
160
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
161
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
162
+ const _response = yield core.fetcher({
163
+ 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, `business/products/variants/${core.url.encodePathParam(variant)}/inventory/history`),
164
+ method: "GET",
165
+ headers: _headers,
166
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
167
+ queryString: core.url
168
+ .queryBuilder()
169
+ .addMany(_queryParams)
170
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
171
+ .build(),
172
+ 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,
173
+ 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,
174
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
175
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
176
+ logging: this._options.logging,
177
+ });
178
+ if (_response.ok) {
179
+ return {
180
+ data: _response.body,
181
+ rawResponse: _response.rawResponse,
182
+ };
183
+ }
184
+ if (_response.error.reason === "status-code") {
185
+ switch (_response.error.statusCode) {
186
+ case 401:
187
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
188
+ case 403:
189
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
190
+ case 404:
191
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
192
+ case 422:
193
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
194
+ default:
195
+ throw new errors.FiveOneEatError({
196
+ statusCode: _response.error.statusCode,
197
+ body: _response.error.body,
198
+ rawResponse: _response.rawResponse,
199
+ });
200
+ }
201
+ }
202
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/products/variants/{variant}/inventory/history");
203
+ });
204
+ }
205
+ }
206
+ exports.InventoryClient = InventoryClient;
@@ -1,4 +1,4 @@
1
- import type * as FiveOneEat from "../../../../index.js";
1
+ import type * as FiveOneEat from "../../../../../../../../../../index.js";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -4,7 +4,7 @@
4
4
  * variant: "variant"
5
5
  * }
6
6
  */
7
- export interface ListVariantInventoryHistoryRequest {
7
+ export interface HistoryInventoryRequest {
8
8
  /** The variant ID */
9
9
  variant: string;
10
10
  per_page?: number;
@@ -0,0 +1,2 @@
1
+ export { AdjustInventoryRequest } from "./AdjustInventoryRequest.js";
2
+ export type { HistoryInventoryRequest } from "./HistoryInventoryRequest.js";
@@ -0,0 +1,2 @@
1
+ export { InventoryClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
16
  };
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.BusinessStandsClient = void 0;
18
+ exports.InventoryClient = void 0;
19
19
  var Client_js_1 = require("./client/Client.js");
20
- Object.defineProperty(exports, "BusinessStandsClient", { enumerable: true, get: function () { return Client_js_1.BusinessStandsClient; } });
20
+ Object.defineProperty(exports, "InventoryClient", { enumerable: true, get: function () { return Client_js_1.InventoryClient; } });
21
21
  __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../../../index.js";
2
+ export interface AdjustInventoryResponse {
3
+ data: FiveOneEat.BusinessProductVariant;
4
+ }