@51eat/sdk 0.0.35 → 0.0.37

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 (708) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/errors/InternalServerError.d.ts +6 -0
  3. package/dist/cjs/api/errors/InternalServerError.js +54 -0
  4. package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +6 -0
  5. package/dist/cjs/api/errors/ServiceUnavailableError.js +54 -0
  6. package/dist/cjs/api/errors/index.d.ts +2 -0
  7. package/dist/cjs/api/errors/index.js +2 -0
  8. package/dist/cjs/api/resources/business/client/Client.d.ts +15 -0
  9. package/dist/cjs/api/resources/business/client/Client.js +39 -14
  10. package/dist/cjs/api/resources/business/resources/discounts/client/Client.d.ts +87 -0
  11. package/dist/cjs/api/resources/business/resources/discounts/client/Client.js +361 -0
  12. package/dist/cjs/api/resources/business/resources/discounts/client/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/business/resources/discounts/client/index.js +17 -0
  14. package/dist/cjs/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.ts +10 -0
  15. package/dist/cjs/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.ts +10 -0
  16. package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.ts +39 -0
  17. package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.js +18 -0
  18. package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.ts +38 -0
  19. package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.js +18 -0
  20. package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.d.ts +4 -0
  21. package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.js +7 -0
  22. package/dist/cjs/api/resources/business/resources/discounts/exports.d.ts +2 -0
  23. package/dist/cjs/api/resources/business/resources/discounts/exports.js +21 -0
  24. package/dist/cjs/api/resources/business/resources/discounts/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/business/resources/discounts/index.js +18 -0
  26. package/dist/cjs/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.ts +4 -0
  27. package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.ts +9 -0
  28. package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.js +10 -0
  29. package/dist/cjs/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.ts +4 -0
  30. package/dist/cjs/api/resources/business/resources/discounts/types/GetDiscountsResponse.js +3 -0
  31. package/dist/cjs/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.ts +4 -0
  32. package/dist/cjs/api/resources/business/resources/discounts/types/ListDiscountsResponse.js +3 -0
  33. package/dist/cjs/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.ts +4 -0
  34. package/dist/cjs/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.js +3 -0
  35. package/dist/cjs/api/resources/business/resources/discounts/types/index.d.ts +5 -0
  36. package/dist/cjs/api/resources/business/resources/discounts/types/index.js +21 -0
  37. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +43 -9
  38. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +134 -30
  39. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.d.ts +12 -0
  40. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.js +3 -0
  41. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.ts +1 -0
  42. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.d.ts +13 -0
  43. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.js +3 -0
  44. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.ts +1 -0
  45. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.ts +2 -2
  46. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.js +1 -0
  48. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.d.ts +4 -0
  49. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.js +3 -0
  50. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.d.ts +4 -0
  51. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.js +3 -0
  52. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.d.ts +4 -0
  53. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.js +3 -0
  54. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.d.ts +4 -0
  55. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.js +3 -0
  56. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/index.d.ts +4 -0
  57. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/index.js +20 -0
  58. package/dist/cjs/api/resources/business/resources/events/resources/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/business/resources/events/resources/index.js +1 -0
  60. package/dist/cjs/api/resources/business/resources/index.d.ts +15 -0
  61. package/dist/cjs/api/resources/business/resources/index.js +16 -1
  62. package/dist/cjs/api/resources/business/resources/productCategories/client/Client.d.ts +68 -0
  63. package/dist/cjs/api/resources/business/resources/productCategories/client/Client.js +297 -0
  64. package/dist/cjs/api/resources/business/resources/productCategories/client/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/business/resources/productCategories/client/index.js +17 -0
  66. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.ts +10 -0
  67. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.js +3 -0
  68. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.ts +12 -0
  69. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.js +3 -0
  70. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.ts +14 -0
  71. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.js +3 -0
  72. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.d.ts +3 -0
  73. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.js +2 -0
  74. package/dist/cjs/api/resources/business/resources/productCategories/exports.d.ts +2 -0
  75. package/dist/cjs/api/resources/business/resources/productCategories/exports.js +21 -0
  76. package/dist/cjs/api/resources/business/resources/productCategories/index.d.ts +2 -0
  77. package/dist/cjs/api/resources/business/resources/productCategories/index.js +18 -0
  78. package/dist/cjs/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.ts +4 -0
  79. package/dist/cjs/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.js +3 -0
  80. package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.ts +9 -0
  81. package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.js +10 -0
  82. package/dist/cjs/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.ts +4 -0
  83. package/dist/cjs/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.js +3 -0
  84. package/dist/cjs/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.ts +4 -0
  85. package/dist/cjs/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.js +3 -0
  86. package/dist/cjs/api/resources/business/resources/productCategories/types/index.d.ts +4 -0
  87. package/dist/cjs/api/resources/business/resources/productCategories/types/index.js +20 -0
  88. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +109 -0
  89. package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +429 -0
  90. package/dist/cjs/api/resources/business/resources/productOrders/client/index.d.ts +1 -0
  91. package/dist/cjs/api/resources/business/resources/productOrders/client/index.js +17 -0
  92. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.ts +10 -0
  93. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.js +3 -0
  94. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +10 -0
  95. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.js +3 -0
  96. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.ts +10 -0
  97. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.js +3 -0
  98. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.d.ts +12 -0
  99. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.js +3 -0
  100. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.ts +16 -0
  101. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.js +3 -0
  102. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.d.ts +5 -0
  103. package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.js +2 -0
  104. package/dist/cjs/api/resources/business/resources/productOrders/exports.d.ts +2 -0
  105. package/dist/cjs/api/resources/business/resources/productOrders/exports.js +21 -0
  106. package/dist/cjs/api/resources/business/resources/productOrders/index.d.ts +2 -0
  107. package/dist/cjs/api/resources/business/resources/productOrders/index.js +18 -0
  108. package/dist/cjs/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.ts +4 -0
  109. package/dist/cjs/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.js +3 -0
  110. package/dist/cjs/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.ts +4 -0
  111. package/dist/cjs/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.js +3 -0
  112. package/dist/cjs/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.ts +4 -0
  113. package/dist/cjs/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.js +3 -0
  114. package/dist/cjs/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.ts +4 -0
  115. package/dist/cjs/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.js +3 -0
  116. package/dist/cjs/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.ts +4 -0
  117. package/dist/cjs/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.js +3 -0
  118. package/dist/cjs/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.ts +4 -0
  119. package/dist/cjs/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.js +3 -0
  120. package/dist/cjs/api/resources/business/resources/productOrders/types/index.d.ts +6 -0
  121. package/dist/cjs/api/resources/business/resources/productOrders/types/index.js +22 -0
  122. package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +89 -0
  123. package/dist/cjs/api/resources/business/resources/products/client/Client.js +365 -0
  124. package/dist/cjs/api/resources/business/resources/products/client/index.d.ts +1 -0
  125. package/dist/cjs/api/resources/business/resources/products/client/index.js +17 -0
  126. package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.ts +10 -0
  127. package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.js +3 -0
  128. package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.d.ts +10 -0
  129. package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.js +3 -0
  130. package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +65 -0
  131. package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.js +30 -0
  132. package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +65 -0
  133. package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.js +30 -0
  134. package/dist/cjs/api/resources/business/resources/products/client/requests/index.d.ts +4 -0
  135. package/dist/cjs/api/resources/business/resources/products/client/requests/index.js +7 -0
  136. package/dist/cjs/api/resources/business/resources/products/exports.d.ts +3 -0
  137. package/dist/cjs/api/resources/business/resources/products/exports.js +22 -0
  138. package/dist/cjs/api/resources/business/resources/products/index.d.ts +3 -0
  139. package/dist/cjs/api/resources/business/resources/products/index.js +19 -0
  140. package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +3 -0
  141. package/dist/cjs/api/resources/business/resources/products/resources/index.js +42 -0
  142. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +62 -0
  143. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +258 -0
  144. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/index.d.ts +1 -0
  145. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/index.js +17 -0
  146. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.ts +10 -0
  147. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.js +3 -0
  148. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.ts +34 -0
  149. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.js +13 -0
  150. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.ts +32 -0
  151. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.js +13 -0
  152. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.d.ts +3 -0
  153. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.js +7 -0
  154. package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.d.ts +2 -0
  155. package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.js +21 -0
  156. package/dist/cjs/api/resources/business/resources/products/resources/variants/index.d.ts +2 -0
  157. package/dist/cjs/api/resources/business/resources/products/resources/variants/index.js +18 -0
  158. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.ts +4 -0
  159. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.js +3 -0
  160. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.ts +9 -0
  161. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.js +10 -0
  162. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.ts +4 -0
  163. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.js +3 -0
  164. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.d.ts +3 -0
  165. package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.js +19 -0
  166. package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.d.ts +4 -0
  167. package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.js +3 -0
  168. package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.d.ts +9 -0
  169. package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.js +10 -0
  170. package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.d.ts +4 -0
  171. package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.js +3 -0
  172. package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.d.ts +4 -0
  173. package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.js +3 -0
  174. package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.d.ts +4 -0
  175. package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.js +3 -0
  176. package/dist/cjs/api/resources/business/resources/products/types/index.d.ts +5 -0
  177. package/dist/cjs/api/resources/business/resources/products/types/index.js +21 -0
  178. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/Client.d.ts +87 -0
  179. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/Client.js +363 -0
  180. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/index.d.ts +1 -0
  181. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/index.js +17 -0
  182. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.d.ts +10 -0
  183. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.js +3 -0
  184. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.d.ts +10 -0
  185. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.js +3 -0
  186. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.ts +22 -0
  187. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.js +3 -0
  188. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.ts +22 -0
  189. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.js +3 -0
  190. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/index.d.ts +4 -0
  191. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/index.js +2 -0
  192. package/dist/cjs/api/resources/business/resources/temporaryLocations/exports.d.ts +2 -0
  193. package/dist/cjs/api/resources/business/resources/temporaryLocations/exports.js +21 -0
  194. package/dist/cjs/api/resources/business/resources/temporaryLocations/index.d.ts +2 -0
  195. package/dist/cjs/api/resources/business/resources/temporaryLocations/index.js +18 -0
  196. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.d.ts +4 -0
  197. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.js +3 -0
  198. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.d.ts +9 -0
  199. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.js +10 -0
  200. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.d.ts +4 -0
  201. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.js +3 -0
  202. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.d.ts +4 -0
  203. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.js +3 -0
  204. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.d.ts +4 -0
  205. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.js +3 -0
  206. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/index.d.ts +5 -0
  207. package/dist/cjs/api/resources/business/resources/temporaryLocations/types/index.js +21 -0
  208. package/dist/cjs/api/resources/customer/client/Client.d.ts +9 -0
  209. package/dist/cjs/api/resources/customer/client/Client.js +29 -14
  210. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +15 -0
  211. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +54 -0
  212. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.ts +10 -0
  213. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.js +3 -0
  214. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/index.d.ts +1 -0
  215. package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.ts +4 -0
  216. package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.js +3 -0
  217. package/dist/cjs/api/resources/customer/resources/businesses/types/index.d.ts +1 -0
  218. package/dist/cjs/api/resources/customer/resources/businesses/types/index.js +1 -0
  219. package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +127 -0
  220. package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +477 -0
  221. package/dist/cjs/api/resources/customer/resources/cart/client/index.d.ts +1 -0
  222. package/dist/cjs/api/resources/customer/resources/cart/client/index.js +17 -0
  223. package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.ts +14 -0
  224. package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.js +3 -0
  225. package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.ts +47 -0
  226. package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.js +15 -0
  227. package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.ts +45 -0
  228. package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.js +15 -0
  229. package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.ts +10 -0
  230. package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.js +3 -0
  231. package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.ts +12 -0
  232. package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.js +3 -0
  233. package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +5 -0
  234. package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.js +7 -0
  235. package/dist/cjs/api/resources/customer/resources/cart/exports.d.ts +2 -0
  236. package/dist/cjs/api/resources/customer/resources/cart/exports.js +21 -0
  237. package/dist/cjs/api/resources/customer/resources/cart/index.d.ts +2 -0
  238. package/dist/cjs/api/resources/customer/resources/cart/index.js +18 -0
  239. package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.d.ts +4 -0
  240. package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.js +3 -0
  241. package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.ts +4 -0
  242. package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.js +3 -0
  243. package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.d.ts +9 -0
  244. package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.js +10 -0
  245. package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +18 -0
  246. package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.js +3 -0
  247. package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.d.ts +4 -0
  248. package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.js +3 -0
  249. package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.ts +4 -0
  250. package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.js +3 -0
  251. package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.ts +4 -0
  252. package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.js +3 -0
  253. package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +7 -0
  254. package/dist/cjs/api/resources/customer/resources/cart/types/index.js +23 -0
  255. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +2 -2
  256. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +1 -1
  257. package/dist/{esm/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.mts → cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.ts} +1 -1
  258. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.js +3 -0
  259. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.ts +1 -1
  260. package/dist/cjs/api/resources/customer/resources/index.d.ts +9 -0
  261. package/dist/cjs/api/resources/customer/resources/index.js +10 -1
  262. package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.d.ts +37 -0
  263. package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.js +162 -0
  264. package/dist/cjs/api/resources/customer/resources/productOrders/client/index.d.ts +1 -0
  265. package/dist/cjs/api/resources/customer/resources/productOrders/client/index.js +17 -0
  266. package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +10 -0
  267. package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.js +3 -0
  268. package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/index.d.ts +1 -0
  269. package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/index.js +2 -0
  270. package/dist/cjs/api/resources/customer/resources/productOrders/exports.d.ts +2 -0
  271. package/dist/cjs/api/resources/customer/resources/productOrders/exports.js +21 -0
  272. package/dist/cjs/api/resources/customer/resources/productOrders/index.d.ts +2 -0
  273. package/dist/cjs/api/resources/customer/resources/productOrders/index.js +18 -0
  274. package/dist/cjs/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.ts +4 -0
  275. package/dist/cjs/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.js +3 -0
  276. package/dist/cjs/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.ts +4 -0
  277. package/dist/cjs/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.js +3 -0
  278. package/dist/cjs/api/resources/customer/resources/productOrders/types/index.d.ts +2 -0
  279. package/dist/cjs/api/resources/customer/resources/productOrders/types/index.js +18 -0
  280. package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +53 -0
  281. package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +225 -0
  282. package/dist/cjs/api/resources/customer/resources/shop/client/index.d.ts +1 -0
  283. package/dist/cjs/api/resources/customer/resources/shop/client/index.js +17 -0
  284. package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +13 -0
  285. package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.js +3 -0
  286. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +10 -0
  287. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.js +3 -0
  288. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +14 -0
  289. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.js +3 -0
  290. package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.d.ts +3 -0
  291. package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.js +2 -0
  292. package/dist/cjs/api/resources/customer/resources/shop/exports.d.ts +2 -0
  293. package/dist/cjs/api/resources/customer/resources/shop/exports.js +21 -0
  294. package/dist/cjs/api/resources/customer/resources/shop/index.d.ts +2 -0
  295. package/dist/cjs/api/resources/customer/resources/shop/index.js +18 -0
  296. package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +4 -0
  297. package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.js +3 -0
  298. package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +4 -0
  299. package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.js +3 -0
  300. package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +4 -0
  301. package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.js +3 -0
  302. package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +3 -0
  303. package/dist/cjs/api/resources/customer/resources/shop/types/index.js +19 -0
  304. package/dist/cjs/api/types/BusinessDiscount.d.ts +19 -0
  305. package/dist/cjs/api/types/BusinessDiscount.js +3 -0
  306. package/dist/cjs/api/types/BusinessEventCheckIn.d.ts +18 -0
  307. package/dist/cjs/api/types/BusinessEventCheckIn.js +3 -0
  308. package/dist/cjs/api/types/BusinessEventCheckInStats.d.ts +1 -0
  309. package/dist/cjs/api/types/BusinessEventCheckInStats.js +3 -0
  310. package/dist/cjs/api/types/BusinessEventCheckInTicket.d.ts +20 -0
  311. package/dist/cjs/api/types/BusinessEventCheckInTicket.js +3 -0
  312. package/dist/cjs/api/types/BusinessProduct.d.ts +32 -0
  313. package/dist/cjs/api/types/BusinessProduct.js +3 -0
  314. package/dist/cjs/api/types/BusinessProductCategory.d.ts +12 -0
  315. package/dist/cjs/api/types/BusinessProductCategory.js +3 -0
  316. package/dist/cjs/api/types/BusinessProductOrder.d.ts +48 -0
  317. package/dist/cjs/api/types/BusinessProductOrder.js +3 -0
  318. package/dist/cjs/api/types/BusinessProductOrderItem.d.ts +24 -0
  319. package/dist/cjs/api/types/BusinessProductOrderItem.js +3 -0
  320. package/dist/cjs/api/types/BusinessProductVariant.d.ts +20 -0
  321. package/dist/cjs/api/types/BusinessProductVariant.js +3 -0
  322. package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +18 -0
  323. package/dist/cjs/api/types/BusinessTemporaryLocation.js +3 -0
  324. package/dist/cjs/api/types/CustomerCart.d.ts +9 -0
  325. package/dist/cjs/api/types/CustomerCart.js +3 -0
  326. package/dist/cjs/api/types/CustomerCartItem.d.ts +24 -0
  327. package/dist/cjs/api/types/CustomerCartItem.js +3 -0
  328. package/dist/cjs/api/types/CustomerProductOrder.d.ts +29 -0
  329. package/dist/cjs/api/types/CustomerProductOrder.js +3 -0
  330. package/dist/cjs/api/types/CustomerProductOrderItem.d.ts +23 -0
  331. package/dist/cjs/api/types/CustomerProductOrderItem.js +3 -0
  332. package/dist/cjs/api/types/CustomerShopProduct.d.ts +21 -0
  333. package/dist/cjs/api/types/CustomerShopProduct.js +3 -0
  334. package/dist/cjs/api/types/CustomerShopProductCategory.d.ts +8 -0
  335. package/dist/cjs/api/types/CustomerShopProductCategory.js +3 -0
  336. package/dist/cjs/api/types/CustomerShopProductVariant.d.ts +13 -0
  337. package/dist/cjs/api/types/CustomerShopProductVariant.js +3 -0
  338. package/dist/cjs/api/types/ExploreResponse.d.ts +1 -0
  339. package/dist/cjs/api/types/ExploreTemporaryLocation.d.ts +26 -0
  340. package/dist/cjs/api/types/ExploreTemporaryLocation.js +3 -0
  341. package/dist/cjs/api/types/InternalServerErrorBody.d.ts +3 -0
  342. package/dist/cjs/api/types/InternalServerErrorBody.js +3 -0
  343. package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +3 -0
  344. package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +3 -0
  345. package/dist/cjs/api/types/index.d.ts +20 -0
  346. package/dist/cjs/api/types/index.js +20 -0
  347. package/dist/cjs/version.d.ts +1 -1
  348. package/dist/cjs/version.js +1 -1
  349. package/dist/esm/BaseClient.mjs +2 -2
  350. package/dist/esm/api/errors/InternalServerError.d.mts +6 -0
  351. package/dist/esm/api/errors/InternalServerError.mjs +17 -0
  352. package/dist/esm/api/errors/ServiceUnavailableError.d.mts +6 -0
  353. package/dist/esm/api/errors/ServiceUnavailableError.mjs +17 -0
  354. package/dist/esm/api/errors/index.d.mts +2 -0
  355. package/dist/esm/api/errors/index.mjs +2 -0
  356. package/dist/esm/api/resources/business/client/Client.d.mts +15 -0
  357. package/dist/esm/api/resources/business/client/Client.mjs +25 -0
  358. package/dist/esm/api/resources/business/resources/discounts/client/Client.d.mts +87 -0
  359. package/dist/esm/api/resources/business/resources/discounts/client/Client.mjs +324 -0
  360. package/dist/esm/api/resources/business/resources/discounts/client/index.d.mts +1 -0
  361. package/dist/esm/api/resources/business/resources/discounts/client/index.mjs +1 -0
  362. package/dist/esm/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.mts +10 -0
  363. package/dist/esm/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.mts +10 -0
  364. package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.mts +39 -0
  365. package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.mjs +15 -0
  366. package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.mts +38 -0
  367. package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.mjs +15 -0
  368. package/dist/esm/api/resources/business/resources/discounts/client/requests/index.d.mts +4 -0
  369. package/dist/esm/api/resources/business/resources/discounts/client/requests/index.mjs +2 -0
  370. package/dist/esm/api/resources/business/resources/discounts/exports.d.mts +2 -0
  371. package/dist/esm/api/resources/business/resources/discounts/exports.mjs +3 -0
  372. package/dist/esm/api/resources/business/resources/discounts/index.d.mts +2 -0
  373. package/dist/esm/api/resources/business/resources/discounts/index.mjs +2 -0
  374. package/dist/esm/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.mts +4 -0
  375. package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.mts +9 -0
  376. package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.mjs +7 -0
  377. package/dist/esm/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.mts +4 -0
  378. package/dist/esm/api/resources/business/resources/discounts/types/GetDiscountsResponse.mjs +2 -0
  379. package/dist/esm/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.mts +4 -0
  380. package/dist/esm/api/resources/business/resources/discounts/types/ListDiscountsResponse.mjs +2 -0
  381. package/dist/esm/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.mts +4 -0
  382. package/dist/esm/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.mjs +2 -0
  383. package/dist/esm/api/resources/business/resources/discounts/types/index.d.mts +5 -0
  384. package/dist/esm/api/resources/business/resources/discounts/types/index.mjs +5 -0
  385. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +43 -9
  386. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +134 -30
  387. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.d.mts +12 -0
  388. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.mjs +2 -0
  389. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.mts +1 -0
  390. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.d.mts +13 -0
  391. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.mjs +2 -0
  392. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.mts +1 -0
  393. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.mts +2 -2
  394. package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.d.mts +1 -0
  395. package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.mjs +1 -0
  396. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.d.mts +4 -0
  397. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.mjs +2 -0
  398. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.d.mts +4 -0
  399. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.mjs +2 -0
  400. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.d.mts +4 -0
  401. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.mjs +2 -0
  402. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.d.mts +4 -0
  403. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.mjs +2 -0
  404. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/index.d.mts +4 -0
  405. package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/index.mjs +4 -0
  406. package/dist/esm/api/resources/business/resources/events/resources/index.d.mts +1 -0
  407. package/dist/esm/api/resources/business/resources/events/resources/index.mjs +1 -0
  408. package/dist/esm/api/resources/business/resources/index.d.mts +15 -0
  409. package/dist/esm/api/resources/business/resources/index.mjs +15 -0
  410. package/dist/esm/api/resources/business/resources/productCategories/client/Client.d.mts +68 -0
  411. package/dist/esm/api/resources/business/resources/productCategories/client/Client.mjs +260 -0
  412. package/dist/esm/api/resources/business/resources/productCategories/client/index.d.mts +1 -0
  413. package/dist/esm/api/resources/business/resources/productCategories/client/index.mjs +1 -0
  414. package/dist/esm/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.mts +10 -0
  415. package/dist/esm/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.mjs +2 -0
  416. package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.mts +12 -0
  417. package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.mjs +2 -0
  418. package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.mts +14 -0
  419. package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.mjs +2 -0
  420. package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.d.mts +3 -0
  421. package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.mjs +1 -0
  422. package/dist/esm/api/resources/business/resources/productCategories/exports.d.mts +2 -0
  423. package/dist/esm/api/resources/business/resources/productCategories/exports.mjs +3 -0
  424. package/dist/esm/api/resources/business/resources/productCategories/index.d.mts +2 -0
  425. package/dist/esm/api/resources/business/resources/productCategories/index.mjs +2 -0
  426. package/dist/esm/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.mts +4 -0
  427. package/dist/esm/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.mjs +2 -0
  428. package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.mts +9 -0
  429. package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.mjs +7 -0
  430. package/dist/esm/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.mts +4 -0
  431. package/dist/esm/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.mjs +2 -0
  432. package/dist/esm/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.mts +4 -0
  433. package/dist/esm/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.mjs +2 -0
  434. package/dist/esm/api/resources/business/resources/productCategories/types/index.d.mts +4 -0
  435. package/dist/esm/api/resources/business/resources/productCategories/types/index.mjs +4 -0
  436. package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +109 -0
  437. package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +392 -0
  438. package/dist/esm/api/resources/business/resources/productOrders/client/index.d.mts +1 -0
  439. package/dist/esm/api/resources/business/resources/productOrders/client/index.mjs +1 -0
  440. package/dist/esm/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.mts +10 -0
  441. package/dist/esm/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.mjs +2 -0
  442. package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +10 -0
  443. package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.mjs +2 -0
  444. package/dist/esm/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.mts +10 -0
  445. package/dist/esm/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.mjs +2 -0
  446. package/dist/esm/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.d.mts +12 -0
  447. package/dist/esm/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.mjs +2 -0
  448. package/dist/esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.mts +16 -0
  449. package/dist/esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.mjs +2 -0
  450. package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.d.mts +5 -0
  451. package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.mjs +1 -0
  452. package/dist/esm/api/resources/business/resources/productOrders/exports.d.mts +2 -0
  453. package/dist/esm/api/resources/business/resources/productOrders/exports.mjs +3 -0
  454. package/dist/esm/api/resources/business/resources/productOrders/index.d.mts +2 -0
  455. package/dist/esm/api/resources/business/resources/productOrders/index.mjs +2 -0
  456. package/dist/esm/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.mts +4 -0
  457. package/dist/esm/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.mjs +2 -0
  458. package/dist/esm/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.mts +4 -0
  459. package/dist/esm/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.mjs +2 -0
  460. package/dist/esm/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.mts +4 -0
  461. package/dist/esm/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.mjs +2 -0
  462. package/dist/esm/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.mts +4 -0
  463. package/dist/esm/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.mjs +2 -0
  464. package/dist/esm/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.mts +4 -0
  465. package/dist/esm/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.mjs +2 -0
  466. package/dist/esm/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.mts +4 -0
  467. package/dist/esm/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.mjs +2 -0
  468. package/dist/esm/api/resources/business/resources/productOrders/types/index.d.mts +6 -0
  469. package/dist/esm/api/resources/business/resources/productOrders/types/index.mjs +6 -0
  470. package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +89 -0
  471. package/dist/esm/api/resources/business/resources/products/client/Client.mjs +328 -0
  472. package/dist/esm/api/resources/business/resources/products/client/index.d.mts +1 -0
  473. package/dist/esm/api/resources/business/resources/products/client/index.mjs +1 -0
  474. package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.mts +10 -0
  475. package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.mjs +2 -0
  476. package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.d.mts +10 -0
  477. package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.mjs +2 -0
  478. package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +65 -0
  479. package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.mjs +27 -0
  480. package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +65 -0
  481. package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.mjs +27 -0
  482. package/dist/esm/api/resources/business/resources/products/client/requests/index.d.mts +4 -0
  483. package/dist/esm/api/resources/business/resources/products/client/requests/index.mjs +2 -0
  484. package/dist/esm/api/resources/business/resources/products/exports.d.mts +3 -0
  485. package/dist/esm/api/resources/business/resources/products/exports.mjs +4 -0
  486. package/dist/esm/api/resources/business/resources/products/index.d.mts +3 -0
  487. package/dist/esm/api/resources/business/resources/products/index.mjs +3 -0
  488. package/dist/esm/api/resources/business/resources/products/resources/index.d.mts +3 -0
  489. package/dist/esm/api/resources/business/resources/products/resources/index.mjs +3 -0
  490. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +62 -0
  491. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +221 -0
  492. package/dist/esm/api/resources/business/resources/products/resources/variants/client/index.d.mts +1 -0
  493. package/dist/esm/api/resources/business/resources/products/resources/variants/client/index.mjs +1 -0
  494. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.mts +10 -0
  495. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.mjs +2 -0
  496. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.mts +34 -0
  497. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.mjs +10 -0
  498. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.mts +32 -0
  499. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.mjs +10 -0
  500. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.d.mts +3 -0
  501. package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.mjs +2 -0
  502. package/dist/esm/api/resources/business/resources/products/resources/variants/exports.d.mts +2 -0
  503. package/dist/esm/api/resources/business/resources/products/resources/variants/exports.mjs +3 -0
  504. package/dist/esm/api/resources/business/resources/products/resources/variants/index.d.mts +2 -0
  505. package/dist/esm/api/resources/business/resources/products/resources/variants/index.mjs +2 -0
  506. package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.mts +4 -0
  507. package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.mjs +2 -0
  508. package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.mts +9 -0
  509. package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.mjs +7 -0
  510. package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.mts +4 -0
  511. package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.mjs +2 -0
  512. package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.d.mts +3 -0
  513. package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.mjs +3 -0
  514. package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.d.mts +4 -0
  515. package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.mjs +2 -0
  516. package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.d.mts +9 -0
  517. package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.mjs +7 -0
  518. package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.d.mts +4 -0
  519. package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.mjs +2 -0
  520. package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.d.mts +4 -0
  521. package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.mjs +2 -0
  522. package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.d.mts +4 -0
  523. package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.mjs +2 -0
  524. package/dist/esm/api/resources/business/resources/products/types/index.d.mts +5 -0
  525. package/dist/esm/api/resources/business/resources/products/types/index.mjs +5 -0
  526. package/dist/esm/api/resources/business/resources/temporaryLocations/client/Client.d.mts +87 -0
  527. package/dist/esm/api/resources/business/resources/temporaryLocations/client/Client.mjs +326 -0
  528. package/dist/esm/api/resources/business/resources/temporaryLocations/client/index.d.mts +1 -0
  529. package/dist/esm/api/resources/business/resources/temporaryLocations/client/index.mjs +1 -0
  530. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.d.mts +10 -0
  531. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.mjs +2 -0
  532. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.d.mts +10 -0
  533. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.mjs +2 -0
  534. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +22 -0
  535. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.mjs +2 -0
  536. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +22 -0
  537. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.mjs +2 -0
  538. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/index.d.mts +4 -0
  539. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/index.mjs +1 -0
  540. package/dist/esm/api/resources/business/resources/temporaryLocations/exports.d.mts +2 -0
  541. package/dist/esm/api/resources/business/resources/temporaryLocations/exports.mjs +3 -0
  542. package/dist/esm/api/resources/business/resources/temporaryLocations/index.d.mts +2 -0
  543. package/dist/esm/api/resources/business/resources/temporaryLocations/index.mjs +2 -0
  544. package/dist/esm/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.d.mts +4 -0
  545. package/dist/esm/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.mjs +2 -0
  546. package/dist/esm/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.d.mts +9 -0
  547. package/dist/esm/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.mjs +7 -0
  548. package/dist/esm/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.d.mts +4 -0
  549. package/dist/esm/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.mjs +2 -0
  550. package/dist/esm/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.d.mts +4 -0
  551. package/dist/esm/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.mjs +2 -0
  552. package/dist/esm/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.d.mts +4 -0
  553. package/dist/esm/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.mjs +2 -0
  554. package/dist/esm/api/resources/business/resources/temporaryLocations/types/index.d.mts +5 -0
  555. package/dist/esm/api/resources/business/resources/temporaryLocations/types/index.mjs +5 -0
  556. package/dist/esm/api/resources/customer/client/Client.d.mts +9 -0
  557. package/dist/esm/api/resources/customer/client/Client.mjs +15 -0
  558. package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +15 -0
  559. package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +54 -0
  560. package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.mts +10 -0
  561. package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.mjs +2 -0
  562. package/dist/esm/api/resources/customer/resources/businesses/client/requests/index.d.mts +1 -0
  563. package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.mts +4 -0
  564. package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.mjs +2 -0
  565. package/dist/esm/api/resources/customer/resources/businesses/types/index.d.mts +1 -0
  566. package/dist/esm/api/resources/customer/resources/businesses/types/index.mjs +1 -0
  567. package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +127 -0
  568. package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +440 -0
  569. package/dist/esm/api/resources/customer/resources/cart/client/index.d.mts +1 -0
  570. package/dist/esm/api/resources/customer/resources/cart/client/index.mjs +1 -0
  571. package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.mts +14 -0
  572. package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.mjs +2 -0
  573. package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.mts +47 -0
  574. package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.mjs +12 -0
  575. package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.mts +45 -0
  576. package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.mjs +12 -0
  577. package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.mts +10 -0
  578. package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.mjs +2 -0
  579. package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.mts +12 -0
  580. package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.mjs +2 -0
  581. package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +5 -0
  582. package/dist/esm/api/resources/customer/resources/cart/client/requests/index.mjs +2 -0
  583. package/dist/esm/api/resources/customer/resources/cart/exports.d.mts +2 -0
  584. package/dist/esm/api/resources/customer/resources/cart/exports.mjs +3 -0
  585. package/dist/esm/api/resources/customer/resources/cart/index.d.mts +2 -0
  586. package/dist/esm/api/resources/customer/resources/cart/index.mjs +2 -0
  587. package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.d.mts +4 -0
  588. package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.mjs +2 -0
  589. package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.mts +4 -0
  590. package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.mjs +2 -0
  591. package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.d.mts +9 -0
  592. package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.mjs +7 -0
  593. package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +18 -0
  594. package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.mjs +2 -0
  595. package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.d.mts +4 -0
  596. package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.mjs +2 -0
  597. package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.mts +4 -0
  598. package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.mjs +2 -0
  599. package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.mts +4 -0
  600. package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.mjs +2 -0
  601. package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +7 -0
  602. package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +7 -0
  603. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +2 -2
  604. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +1 -1
  605. package/dist/{cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.ts → esm/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.mts} +1 -1
  606. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.mjs +2 -0
  607. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.mts +1 -1
  608. package/dist/esm/api/resources/customer/resources/index.d.mts +9 -0
  609. package/dist/esm/api/resources/customer/resources/index.mjs +9 -0
  610. package/dist/esm/api/resources/customer/resources/productOrders/client/Client.d.mts +37 -0
  611. package/dist/esm/api/resources/customer/resources/productOrders/client/Client.mjs +125 -0
  612. package/dist/esm/api/resources/customer/resources/productOrders/client/index.d.mts +1 -0
  613. package/dist/esm/api/resources/customer/resources/productOrders/client/index.mjs +1 -0
  614. package/dist/esm/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +10 -0
  615. package/dist/esm/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.mjs +2 -0
  616. package/dist/esm/api/resources/customer/resources/productOrders/client/requests/index.d.mts +1 -0
  617. package/dist/esm/api/resources/customer/resources/productOrders/client/requests/index.mjs +1 -0
  618. package/dist/esm/api/resources/customer/resources/productOrders/exports.d.mts +2 -0
  619. package/dist/esm/api/resources/customer/resources/productOrders/exports.mjs +3 -0
  620. package/dist/esm/api/resources/customer/resources/productOrders/index.d.mts +2 -0
  621. package/dist/esm/api/resources/customer/resources/productOrders/index.mjs +2 -0
  622. package/dist/esm/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.mts +4 -0
  623. package/dist/esm/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.mjs +2 -0
  624. package/dist/esm/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.mts +4 -0
  625. package/dist/esm/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.mjs +2 -0
  626. package/dist/esm/api/resources/customer/resources/productOrders/types/index.d.mts +2 -0
  627. package/dist/esm/api/resources/customer/resources/productOrders/types/index.mjs +2 -0
  628. package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +53 -0
  629. package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +188 -0
  630. package/dist/esm/api/resources/customer/resources/shop/client/index.d.mts +1 -0
  631. package/dist/esm/api/resources/customer/resources/shop/client/index.mjs +1 -0
  632. package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +13 -0
  633. package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.mjs +2 -0
  634. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +10 -0
  635. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.mjs +2 -0
  636. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +14 -0
  637. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.mjs +2 -0
  638. package/dist/esm/api/resources/customer/resources/shop/client/requests/index.d.mts +3 -0
  639. package/dist/esm/api/resources/customer/resources/shop/client/requests/index.mjs +1 -0
  640. package/dist/esm/api/resources/customer/resources/shop/exports.d.mts +2 -0
  641. package/dist/esm/api/resources/customer/resources/shop/exports.mjs +3 -0
  642. package/dist/esm/api/resources/customer/resources/shop/index.d.mts +2 -0
  643. package/dist/esm/api/resources/customer/resources/shop/index.mjs +2 -0
  644. package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +4 -0
  645. package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.mjs +2 -0
  646. package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +4 -0
  647. package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.mjs +2 -0
  648. package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +4 -0
  649. package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.mjs +2 -0
  650. package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +3 -0
  651. package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +3 -0
  652. package/dist/esm/api/types/BusinessDiscount.d.mts +19 -0
  653. package/dist/esm/api/types/BusinessDiscount.mjs +2 -0
  654. package/dist/esm/api/types/BusinessEventCheckIn.d.mts +18 -0
  655. package/dist/esm/api/types/BusinessEventCheckIn.mjs +2 -0
  656. package/dist/esm/api/types/BusinessEventCheckInStats.d.mts +1 -0
  657. package/dist/esm/api/types/BusinessEventCheckInStats.mjs +2 -0
  658. package/dist/esm/api/types/BusinessEventCheckInTicket.d.mts +20 -0
  659. package/dist/esm/api/types/BusinessEventCheckInTicket.mjs +2 -0
  660. package/dist/esm/api/types/BusinessProduct.d.mts +32 -0
  661. package/dist/esm/api/types/BusinessProduct.mjs +2 -0
  662. package/dist/esm/api/types/BusinessProductCategory.d.mts +12 -0
  663. package/dist/esm/api/types/BusinessProductCategory.mjs +2 -0
  664. package/dist/esm/api/types/BusinessProductOrder.d.mts +48 -0
  665. package/dist/esm/api/types/BusinessProductOrder.mjs +2 -0
  666. package/dist/esm/api/types/BusinessProductOrderItem.d.mts +24 -0
  667. package/dist/esm/api/types/BusinessProductOrderItem.mjs +2 -0
  668. package/dist/esm/api/types/BusinessProductVariant.d.mts +20 -0
  669. package/dist/esm/api/types/BusinessProductVariant.mjs +2 -0
  670. package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +18 -0
  671. package/dist/esm/api/types/BusinessTemporaryLocation.mjs +2 -0
  672. package/dist/esm/api/types/CustomerCart.d.mts +9 -0
  673. package/dist/esm/api/types/CustomerCart.mjs +2 -0
  674. package/dist/esm/api/types/CustomerCartItem.d.mts +24 -0
  675. package/dist/esm/api/types/CustomerCartItem.mjs +2 -0
  676. package/dist/esm/api/types/CustomerProductOrder.d.mts +29 -0
  677. package/dist/esm/api/types/CustomerProductOrder.mjs +2 -0
  678. package/dist/esm/api/types/CustomerProductOrderItem.d.mts +23 -0
  679. package/dist/esm/api/types/CustomerProductOrderItem.mjs +2 -0
  680. package/dist/esm/api/types/CustomerShopProduct.d.mts +21 -0
  681. package/dist/esm/api/types/CustomerShopProduct.mjs +2 -0
  682. package/dist/esm/api/types/CustomerShopProductCategory.d.mts +8 -0
  683. package/dist/esm/api/types/CustomerShopProductCategory.mjs +2 -0
  684. package/dist/esm/api/types/CustomerShopProductVariant.d.mts +13 -0
  685. package/dist/esm/api/types/CustomerShopProductVariant.mjs +2 -0
  686. package/dist/esm/api/types/ExploreResponse.d.mts +1 -0
  687. package/dist/esm/api/types/ExploreTemporaryLocation.d.mts +26 -0
  688. package/dist/esm/api/types/ExploreTemporaryLocation.mjs +2 -0
  689. package/dist/esm/api/types/InternalServerErrorBody.d.mts +3 -0
  690. package/dist/esm/api/types/InternalServerErrorBody.mjs +2 -0
  691. package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +3 -0
  692. package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +2 -0
  693. package/dist/esm/api/types/index.d.mts +20 -0
  694. package/dist/esm/api/types/index.mjs +20 -0
  695. package/dist/esm/version.d.mts +1 -1
  696. package/dist/esm/version.mjs +1 -1
  697. package/package.json +100 -1
  698. package/reference.md +2876 -678
  699. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.ts +0 -9
  700. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.ts +0 -9
  701. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.mts +0 -9
  702. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.mts +0 -9
  703. /package/dist/cjs/api/resources/business/resources/{events/resources/checkIn/client/requests/LookupCheckInRequest.js → discounts/client/requests/DeleteDiscountsRequest.js} +0 -0
  704. /package/dist/cjs/api/resources/business/resources/{events/resources/checkIn/client/requests/ScanCheckInRequest.js → discounts/client/requests/GetDiscountsRequest.js} +0 -0
  705. /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.js → business/resources/discounts/types/CreateDiscountsResponse.js} +0 -0
  706. /package/dist/esm/api/resources/business/resources/{events/resources/checkIn/client/requests/LookupCheckInRequest.mjs → discounts/client/requests/DeleteDiscountsRequest.mjs} +0 -0
  707. /package/dist/esm/api/resources/business/resources/{events/resources/checkIn/client/requests/ScanCheckInRequest.mjs → discounts/client/requests/GetDiscountsRequest.mjs} +0 -0
  708. /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.mjs → business/resources/discounts/types/CreateDiscountsResponse.mjs} +0 -0
@@ -0,0 +1,15 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var UpdateDiscountRequest;
3
+ (function (UpdateDiscountRequest) {
4
+ UpdateDiscountRequest.Type = {
5
+ Percentage: "percentage",
6
+ FixedAmount: "fixed_amount",
7
+ FreeShipping: "free_shipping",
8
+ Bogo: "bogo",
9
+ };
10
+ UpdateDiscountRequest.AppliesTo = {
11
+ All: "all",
12
+ SpecificProducts: "specific_products",
13
+ SpecificCategories: "specific_categories",
14
+ };
15
+ })(UpdateDiscountRequest || (UpdateDiscountRequest = {}));
@@ -0,0 +1,4 @@
1
+ export type { DeleteDiscountsRequest } from "./DeleteDiscountsRequest.mjs";
2
+ export type { GetDiscountsRequest } from "./GetDiscountsRequest.mjs";
3
+ export { StoreDiscountRequest } from "./StoreDiscountRequest.mjs";
4
+ export { UpdateDiscountRequest } from "./UpdateDiscountRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { StoreDiscountRequest } from "./StoreDiscountRequest.mjs";
2
+ export { UpdateDiscountRequest } from "./UpdateDiscountRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { DiscountsClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { DiscountsClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface CreateDiscountsResponse {
3
+ data: FiveOneEat.BusinessDiscount;
4
+ }
@@ -0,0 +1,9 @@
1
+ export interface DeleteDiscountsResponse {
2
+ message: DeleteDiscountsResponse.Message;
3
+ }
4
+ export declare namespace DeleteDiscountsResponse {
5
+ const Message: {
6
+ readonly DiscountDeletedSuccessfully: "Discount deleted successfully.";
7
+ };
8
+ type Message = (typeof Message)[keyof typeof Message];
9
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var DeleteDiscountsResponse;
3
+ (function (DeleteDiscountsResponse) {
4
+ DeleteDiscountsResponse.Message = {
5
+ DiscountDeletedSuccessfully: "Discount deleted successfully.",
6
+ };
7
+ })(DeleteDiscountsResponse || (DeleteDiscountsResponse = {}));
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface GetDiscountsResponse {
3
+ data: FiveOneEat.BusinessDiscount;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface ListDiscountsResponse {
3
+ data: FiveOneEat.BusinessDiscount[];
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface UpdateDiscountsResponse {
3
+ data: FiveOneEat.BusinessDiscount;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ export * from "./CreateDiscountsResponse.mjs";
2
+ export * from "./DeleteDiscountsResponse.mjs";
3
+ export * from "./GetDiscountsResponse.mjs";
4
+ export * from "./ListDiscountsResponse.mjs";
5
+ export * from "./UpdateDiscountsResponse.mjs";
@@ -0,0 +1,5 @@
1
+ export * from "./CreateDiscountsResponse.mjs";
2
+ export * from "./DeleteDiscountsResponse.mjs";
3
+ export * from "./GetDiscountsResponse.mjs";
4
+ export * from "./ListDiscountsResponse.mjs";
5
+ export * from "./UpdateDiscountsResponse.mjs";
@@ -1,7 +1,7 @@
1
1
  import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.mjs";
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.mjs";
3
3
  import * as core from "../../../../../../../../core/index.mjs";
4
- import type * as FiveOneEat from "../../../../../../../index.mjs";
4
+ import * as FiveOneEat from "../../../../../../../index.mjs";
5
5
  export declare namespace CheckInClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
@@ -11,47 +11,81 @@ export declare class CheckInClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<CheckInClient.Options>;
12
12
  constructor(options?: CheckInClient.Options);
13
13
  /**
14
- * @param {FiveOneEat.business.events.LookupCheckInRequest} request
14
+ * Decodes the base64 QR payload and returns ticket details without performing check-in.
15
+ * Accepts either a `ticket_id` or `ticket_number` inside the QR payload.
16
+ *
17
+ * @param {FiveOneEat.business.events.LookupTicketRequest} request
15
18
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
16
19
  *
20
+ * @throws {@link FiveOneEat.UnauthorizedError}
21
+ * @throws {@link FiveOneEat.ForbiddenError}
22
+ * @throws {@link FiveOneEat.NotFoundError}
23
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
24
+ *
17
25
  * @example
18
26
  * await client.business.events.checkIn.lookup({
19
- * event: "event"
27
+ * event: "event",
28
+ * qr_data: "qr_data"
20
29
  * })
21
30
  */
22
- lookup(request: FiveOneEat.business.events.LookupCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
31
+ lookup(request: FiveOneEat.business.events.LookupTicketRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.events.LookupCheckInResponse>;
23
32
  private __lookup;
24
33
  /**
25
- * @param {FiveOneEat.business.events.ScanCheckInRequest} request
34
+ * Decodes the base64 QR payload, validates the ticket's current status, marks it as used,
35
+ * and broadcasts the `ticket.checked-in` event via Reverb.
36
+ *
37
+ * Returns `409` if the ticket has already been checked in, `400` for refunded or otherwise
38
+ * invalid tickets.
39
+ *
40
+ * @param {FiveOneEat.business.events.ScanTicketRequest} request
26
41
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
27
42
  *
43
+ * @throws {@link FiveOneEat.UnauthorizedError}
44
+ * @throws {@link FiveOneEat.ForbiddenError}
45
+ * @throws {@link FiveOneEat.NotFoundError}
46
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
47
+ *
28
48
  * @example
29
49
  * await client.business.events.checkIn.scan({
30
- * event: "event"
50
+ * event: "event",
51
+ * qr_data: "qr_data"
31
52
  * })
32
53
  */
33
- scan(request: FiveOneEat.business.events.ScanCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
54
+ scan(request: FiveOneEat.business.events.ScanTicketRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.events.ScanCheckInResponse>;
34
55
  private __scan;
35
56
  /**
57
+ * Returns ticket counts and check-in rate for the event dashboard.
58
+ *
36
59
  * @param {FiveOneEat.business.events.StatsCheckInRequest} request
37
60
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
38
61
  *
62
+ * @throws {@link FiveOneEat.UnauthorizedError}
63
+ * @throws {@link FiveOneEat.ForbiddenError}
64
+ * @throws {@link FiveOneEat.NotFoundError}
65
+ *
39
66
  * @example
40
67
  * await client.business.events.checkIn.stats({
41
68
  * event: "event"
42
69
  * })
43
70
  */
44
- stats(request: FiveOneEat.business.events.StatsCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
71
+ stats(request: FiveOneEat.business.events.StatsCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.events.StatsCheckInResponse>;
45
72
  private __stats;
46
73
  /**
74
+ * Returns checked-in tickets ordered by check-in time descending.
75
+ * Accepts an optional `limit` query param (default `20`, max `100`).
76
+ *
47
77
  * @param {FiveOneEat.business.events.RecentCheckInRequest} request
48
78
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
49
79
  *
80
+ * @throws {@link FiveOneEat.UnauthorizedError}
81
+ * @throws {@link FiveOneEat.ForbiddenError}
82
+ * @throws {@link FiveOneEat.NotFoundError}
83
+ *
50
84
  * @example
51
85
  * await client.business.events.checkIn.recent({
52
86
  * event: "event"
53
87
  * })
54
88
  */
55
- recent(request: FiveOneEat.business.events.RecentCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<void>;
89
+ recent(request: FiveOneEat.business.events.RecentCheckInRequest, requestOptions?: CheckInClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.events.RecentCheckInResponse>;
56
90
  private __recent;
57
91
  }
@@ -8,23 +8,44 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
11
22
  import { normalizeClientOptionsWithAuth, } from "../../../../../../../../BaseClient.mjs";
12
23
  import { mergeHeaders } from "../../../../../../../../core/headers.mjs";
13
24
  import * as core from "../../../../../../../../core/index.mjs";
14
25
  import * as environments from "../../../../../../../../environments.mjs";
15
26
  import { handleNonStatusCodeError } from "../../../../../../../../errors/handleNonStatusCodeError.mjs";
16
27
  import * as errors from "../../../../../../../../errors/index.mjs";
28
+ import * as FiveOneEat from "../../../../../../../index.mjs";
17
29
  export class CheckInClient {
18
30
  constructor(options = {}) {
19
31
  this._options = normalizeClientOptionsWithAuth(options);
20
32
  }
21
33
  /**
22
- * @param {FiveOneEat.business.events.LookupCheckInRequest} request
34
+ * Decodes the base64 QR payload and returns ticket details without performing check-in.
35
+ * Accepts either a `ticket_id` or `ticket_number` inside the QR payload.
36
+ *
37
+ * @param {FiveOneEat.business.events.LookupTicketRequest} request
23
38
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
24
39
  *
40
+ * @throws {@link FiveOneEat.UnauthorizedError}
41
+ * @throws {@link FiveOneEat.ForbiddenError}
42
+ * @throws {@link FiveOneEat.NotFoundError}
43
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
44
+ *
25
45
  * @example
26
46
  * await client.business.events.checkIn.lookup({
27
- * event: "event"
47
+ * event: "event",
48
+ * qr_data: "qr_data"
28
49
  * })
29
50
  */
30
51
  lookup(request, requestOptions) {
@@ -33,14 +54,17 @@ export class CheckInClient {
33
54
  __lookup(request, requestOptions) {
34
55
  return __awaiter(this, void 0, void 0, function* () {
35
56
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
36
- const { event } = request;
57
+ const { event } = request, _body = __rest(request, ["event"]);
37
58
  const _authRequest = yield this._options.authProvider.getAuthRequest();
38
59
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
39
60
  const _response = yield core.fetcher({
40
61
  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/events/${core.url.encodePathParam(event)}/check-in/lookup`),
41
62
  method: "POST",
42
63
  headers: _headers,
64
+ contentType: "application/json",
43
65
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
66
+ requestType: "json",
67
+ body: _body,
44
68
  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,
45
69
  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,
46
70
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -48,25 +72,51 @@ export class CheckInClient {
48
72
  logging: this._options.logging,
49
73
  });
50
74
  if (_response.ok) {
51
- return { data: undefined, rawResponse: _response.rawResponse };
75
+ return {
76
+ data: _response.body,
77
+ rawResponse: _response.rawResponse,
78
+ };
52
79
  }
53
80
  if (_response.error.reason === "status-code") {
54
- throw new errors.FiveOneEatError({
55
- statusCode: _response.error.statusCode,
56
- body: _response.error.body,
57
- rawResponse: _response.rawResponse,
58
- });
81
+ switch (_response.error.statusCode) {
82
+ case 401:
83
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
84
+ case 403:
85
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
86
+ case 404:
87
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
88
+ case 422:
89
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
90
+ default:
91
+ throw new errors.FiveOneEatError({
92
+ statusCode: _response.error.statusCode,
93
+ body: _response.error.body,
94
+ rawResponse: _response.rawResponse,
95
+ });
96
+ }
59
97
  }
60
98
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/lookup");
61
99
  });
62
100
  }
63
101
  /**
64
- * @param {FiveOneEat.business.events.ScanCheckInRequest} request
102
+ * Decodes the base64 QR payload, validates the ticket's current status, marks it as used,
103
+ * and broadcasts the `ticket.checked-in` event via Reverb.
104
+ *
105
+ * Returns `409` if the ticket has already been checked in, `400` for refunded or otherwise
106
+ * invalid tickets.
107
+ *
108
+ * @param {FiveOneEat.business.events.ScanTicketRequest} request
65
109
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
66
110
  *
111
+ * @throws {@link FiveOneEat.UnauthorizedError}
112
+ * @throws {@link FiveOneEat.ForbiddenError}
113
+ * @throws {@link FiveOneEat.NotFoundError}
114
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
115
+ *
67
116
  * @example
68
117
  * await client.business.events.checkIn.scan({
69
- * event: "event"
118
+ * event: "event",
119
+ * qr_data: "qr_data"
70
120
  * })
71
121
  */
72
122
  scan(request, requestOptions) {
@@ -75,14 +125,17 @@ export class CheckInClient {
75
125
  __scan(request, requestOptions) {
76
126
  return __awaiter(this, void 0, void 0, function* () {
77
127
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
78
- const { event } = request;
128
+ const { event } = request, _body = __rest(request, ["event"]);
79
129
  const _authRequest = yield this._options.authProvider.getAuthRequest();
80
130
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
81
131
  const _response = yield core.fetcher({
82
132
  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/events/${core.url.encodePathParam(event)}/check-in/scan`),
83
133
  method: "POST",
84
134
  headers: _headers,
135
+ contentType: "application/json",
85
136
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
137
+ requestType: "json",
138
+ body: _body,
86
139
  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,
87
140
  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,
88
141
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -90,22 +143,42 @@ export class CheckInClient {
90
143
  logging: this._options.logging,
91
144
  });
92
145
  if (_response.ok) {
93
- return { data: undefined, rawResponse: _response.rawResponse };
146
+ return {
147
+ data: _response.body,
148
+ rawResponse: _response.rawResponse,
149
+ };
94
150
  }
95
151
  if (_response.error.reason === "status-code") {
96
- throw new errors.FiveOneEatError({
97
- statusCode: _response.error.statusCode,
98
- body: _response.error.body,
99
- rawResponse: _response.rawResponse,
100
- });
152
+ switch (_response.error.statusCode) {
153
+ case 401:
154
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
155
+ case 403:
156
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
157
+ case 404:
158
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
159
+ case 422:
160
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
161
+ default:
162
+ throw new errors.FiveOneEatError({
163
+ statusCode: _response.error.statusCode,
164
+ body: _response.error.body,
165
+ rawResponse: _response.rawResponse,
166
+ });
167
+ }
101
168
  }
102
169
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/business/events/{event}/check-in/scan");
103
170
  });
104
171
  }
105
172
  /**
173
+ * Returns ticket counts and check-in rate for the event dashboard.
174
+ *
106
175
  * @param {FiveOneEat.business.events.StatsCheckInRequest} request
107
176
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
108
177
  *
178
+ * @throws {@link FiveOneEat.UnauthorizedError}
179
+ * @throws {@link FiveOneEat.ForbiddenError}
180
+ * @throws {@link FiveOneEat.NotFoundError}
181
+ *
109
182
  * @example
110
183
  * await client.business.events.checkIn.stats({
111
184
  * event: "event"
@@ -132,22 +205,41 @@ export class CheckInClient {
132
205
  logging: this._options.logging,
133
206
  });
134
207
  if (_response.ok) {
135
- return { data: undefined, rawResponse: _response.rawResponse };
208
+ return {
209
+ data: _response.body,
210
+ rawResponse: _response.rawResponse,
211
+ };
136
212
  }
137
213
  if (_response.error.reason === "status-code") {
138
- throw new errors.FiveOneEatError({
139
- statusCode: _response.error.statusCode,
140
- body: _response.error.body,
141
- rawResponse: _response.rawResponse,
142
- });
214
+ switch (_response.error.statusCode) {
215
+ case 401:
216
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
217
+ case 403:
218
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
219
+ case 404:
220
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
221
+ default:
222
+ throw new errors.FiveOneEatError({
223
+ statusCode: _response.error.statusCode,
224
+ body: _response.error.body,
225
+ rawResponse: _response.rawResponse,
226
+ });
227
+ }
143
228
  }
144
229
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/stats");
145
230
  });
146
231
  }
147
232
  /**
233
+ * Returns checked-in tickets ordered by check-in time descending.
234
+ * Accepts an optional `limit` query param (default `20`, max `100`).
235
+ *
148
236
  * @param {FiveOneEat.business.events.RecentCheckInRequest} request
149
237
  * @param {CheckInClient.RequestOptions} requestOptions - Request-specific configuration.
150
238
  *
239
+ * @throws {@link FiveOneEat.UnauthorizedError}
240
+ * @throws {@link FiveOneEat.ForbiddenError}
241
+ * @throws {@link FiveOneEat.NotFoundError}
242
+ *
151
243
  * @example
152
244
  * await client.business.events.checkIn.recent({
153
245
  * event: "event"
@@ -174,14 +266,26 @@ export class CheckInClient {
174
266
  logging: this._options.logging,
175
267
  });
176
268
  if (_response.ok) {
177
- return { data: undefined, rawResponse: _response.rawResponse };
269
+ return {
270
+ data: _response.body,
271
+ rawResponse: _response.rawResponse,
272
+ };
178
273
  }
179
274
  if (_response.error.reason === "status-code") {
180
- throw new errors.FiveOneEatError({
181
- statusCode: _response.error.statusCode,
182
- body: _response.error.body,
183
- rawResponse: _response.rawResponse,
184
- });
275
+ switch (_response.error.statusCode) {
276
+ case 401:
277
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
278
+ case 403:
279
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
280
+ case 404:
281
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
282
+ default:
283
+ throw new errors.FiveOneEatError({
284
+ statusCode: _response.error.statusCode,
285
+ body: _response.error.body,
286
+ rawResponse: _response.rawResponse,
287
+ });
288
+ }
185
289
  }
186
290
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/business/events/{event}/check-in/recent");
187
291
  });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * event: "event",
5
+ * qr_data: "qr_data"
6
+ * }
7
+ */
8
+ export interface LookupTicketRequest {
9
+ /** The event ID */
10
+ event: string;
11
+ qr_data: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -5,5 +5,6 @@
5
5
  * }
6
6
  */
7
7
  export interface RecentCheckInRequest {
8
+ /** The event ID */
8
9
  event: string;
9
10
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * event: "event",
5
+ * qr_data: "qr_data"
6
+ * }
7
+ */
8
+ export interface ScanTicketRequest {
9
+ /** The event ID */
10
+ event: string;
11
+ qr_data: string;
12
+ checked_in_by?: string | null;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -5,5 +5,6 @@
5
5
  * }
6
6
  */
7
7
  export interface StatsCheckInRequest {
8
+ /** The event ID */
8
9
  event: string;
9
10
  }
@@ -1,4 +1,4 @@
1
- export type { LookupCheckInRequest } from "./LookupCheckInRequest.mjs";
1
+ export type { LookupTicketRequest } from "./LookupTicketRequest.mjs";
2
2
  export type { RecentCheckInRequest } from "./RecentCheckInRequest.mjs";
3
- export type { ScanCheckInRequest } from "./ScanCheckInRequest.mjs";
3
+ export type { ScanTicketRequest } from "./ScanTicketRequest.mjs";
4
4
  export type { StatsCheckInRequest } from "./StatsCheckInRequest.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.mjs";
2
+ export interface LookupCheckInResponse {
3
+ data: FiveOneEat.BusinessEventCheckInTicket;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.mjs";
2
+ export interface RecentCheckInResponse {
3
+ data: FiveOneEat.BusinessEventCheckIn[];
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.mjs";
2
+ export interface ScanCheckInResponse {
3
+ data: FiveOneEat.BusinessEventCheckInTicket;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.mjs";
2
+ export interface StatsCheckInResponse {
3
+ data: FiveOneEat.BusinessEventCheckInStats;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from "./LookupCheckInResponse.mjs";
2
+ export * from "./RecentCheckInResponse.mjs";
3
+ export * from "./ScanCheckInResponse.mjs";
4
+ export * from "./StatsCheckInResponse.mjs";
@@ -0,0 +1,4 @@
1
+ export * from "./LookupCheckInResponse.mjs";
2
+ export * from "./RecentCheckInResponse.mjs";
3
+ export * from "./ScanCheckInResponse.mjs";
4
+ export * from "./StatsCheckInResponse.mjs";
@@ -1,5 +1,6 @@
1
1
  export * from "./checkIn/client/requests/index.mjs";
2
2
  export * as checkIn from "./checkIn/index.mjs";
3
+ export * from "./checkIn/types/index.mjs";
3
4
  export * from "./orders/client/requests/index.mjs";
4
5
  export * as orders from "./orders/index.mjs";
5
6
  export * from "./orders/types/index.mjs";
@@ -1,5 +1,6 @@
1
1
  export * from "./checkIn/client/requests/index.mjs";
2
2
  export * as checkIn from "./checkIn/index.mjs";
3
+ export * from "./checkIn/types/index.mjs";
3
4
  export * from "./orders/client/requests/index.mjs";
4
5
  export * as orders from "./orders/index.mjs";
5
6
  export * from "./orders/types/index.mjs";