rehive 4.1.4 → 4.2.1

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 (237) hide show
  1. package/README.md +17 -0
  2. package/dist/admin.d.mts +514 -79
  3. package/dist/admin.d.ts +514 -79
  4. package/dist/admin.js +1 -1
  5. package/dist/admin.mjs +1 -1
  6. package/dist/auth.d.mts +2 -2
  7. package/dist/auth.d.ts +2 -2
  8. package/dist/auth.js +1 -1
  9. package/dist/auth.mjs +1 -1
  10. package/dist/{chunk-4WSHB6U6.mjs → chunk-A53KSFBA.mjs} +1 -1
  11. package/dist/chunk-CRNPJD3E.js +6 -0
  12. package/dist/{chunk-X6YDNXYV.js → chunk-HXAEBUQM.js} +1 -1
  13. package/dist/chunk-IJBXROTB.mjs +6 -0
  14. package/dist/chunk-OV77OD2G.js +1 -0
  15. package/dist/chunk-RO2QGTSG.mjs +1 -0
  16. package/dist/chunk-TAABJLJG.mjs +6 -0
  17. package/dist/chunk-Y33FT632.js +6 -0
  18. package/dist/{create-api-client-C-LEZku2.d.mts → create-api-client-Bkkri-AM.d.mts} +1 -1
  19. package/dist/{create-api-client-ebyTfhcm.d.ts → create-api-client-CgvKBlQ_.d.ts} +1 -1
  20. package/dist/{create-auth-DsnHpEf0.d.mts → create-auth-ChOASbvo.d.mts} +71 -54
  21. package/dist/{create-auth-DsnHpEf0.d.ts → create-auth-ChOASbvo.d.ts} +71 -54
  22. package/dist/extensions/alchemy.d.mts +174 -40
  23. package/dist/extensions/alchemy.d.ts +174 -40
  24. package/dist/extensions/alchemy.js +3 -4
  25. package/dist/extensions/alchemy.mjs +3 -4
  26. package/dist/extensions/app.d.mts +10 -9
  27. package/dist/extensions/app.d.ts +10 -9
  28. package/dist/extensions/app.js +5 -6
  29. package/dist/extensions/app.mjs +5 -6
  30. package/dist/extensions/billing.d.mts +10 -9
  31. package/dist/extensions/billing.d.ts +10 -9
  32. package/dist/extensions/billing.js +2 -3
  33. package/dist/extensions/billing.mjs +2 -3
  34. package/dist/extensions/bridge.d.mts +352 -27
  35. package/dist/extensions/bridge.d.ts +352 -27
  36. package/dist/extensions/bridge.js +5 -6
  37. package/dist/extensions/bridge.mjs +5 -6
  38. package/dist/extensions/builder.d.mts +7 -6
  39. package/dist/extensions/builder.d.ts +7 -6
  40. package/dist/extensions/builder.js +3 -4
  41. package/dist/extensions/builder.mjs +3 -4
  42. package/dist/extensions/business.d.mts +26 -25
  43. package/dist/extensions/business.d.ts +26 -25
  44. package/dist/extensions/business.js +2 -3
  45. package/dist/extensions/business.mjs +2 -3
  46. package/dist/extensions/conversion.d.mts +9 -8
  47. package/dist/extensions/conversion.d.ts +9 -8
  48. package/dist/extensions/conversion.js +2 -3
  49. package/dist/extensions/conversion.mjs +2 -3
  50. package/dist/extensions/mass-send.d.mts +7 -6
  51. package/dist/extensions/mass-send.d.ts +7 -6
  52. package/dist/extensions/mass-send.js +2 -3
  53. package/dist/extensions/mass-send.mjs +2 -3
  54. package/dist/extensions/notifications.d.mts +15 -14
  55. package/dist/extensions/notifications.d.ts +15 -14
  56. package/dist/extensions/notifications.js +3 -4
  57. package/dist/extensions/notifications.mjs +3 -4
  58. package/dist/extensions/payment-requests.d.mts +10 -9
  59. package/dist/extensions/payment-requests.d.ts +10 -9
  60. package/dist/extensions/payment-requests.js +3 -4
  61. package/dist/extensions/payment-requests.mjs +3 -4
  62. package/dist/extensions/products.d.mts +42 -41
  63. package/dist/extensions/products.d.ts +42 -41
  64. package/dist/extensions/products.js +2 -3
  65. package/dist/extensions/products.mjs +2 -3
  66. package/dist/extensions/rain.d.mts +21 -20
  67. package/dist/extensions/rain.d.ts +21 -20
  68. package/dist/extensions/rain.js +2 -3
  69. package/dist/extensions/rain.mjs +2 -3
  70. package/dist/extensions/rewards.d.mts +7 -6
  71. package/dist/extensions/rewards.d.ts +7 -6
  72. package/dist/extensions/rewards.js +3 -4
  73. package/dist/extensions/rewards.mjs +3 -4
  74. package/dist/extensions/stellar-testnet.d.mts +15 -14
  75. package/dist/extensions/stellar-testnet.d.ts +15 -14
  76. package/dist/extensions/stellar-testnet.js +2 -3
  77. package/dist/extensions/stellar-testnet.mjs +2 -3
  78. package/dist/extensions/stellar.d.mts +15 -14
  79. package/dist/extensions/stellar.d.ts +15 -14
  80. package/dist/extensions/stellar.js +2 -3
  81. package/dist/extensions/stellar.mjs +2 -3
  82. package/dist/index.d.mts +2 -2
  83. package/dist/index.d.ts +2 -2
  84. package/dist/index.js +1 -1
  85. package/dist/index.mjs +1 -1
  86. package/dist/react.d.mts +2 -2
  87. package/dist/react.d.ts +2 -2
  88. package/dist/react.js +1 -1
  89. package/dist/react.mjs +1 -1
  90. package/dist/user.d.mts +8 -7
  91. package/dist/user.d.ts +8 -7
  92. package/dist/user.js +1 -1
  93. package/dist/user.mjs +1 -1
  94. package/package.json +1 -1
  95. package/src/auth/create-auth.ts +17 -10
  96. package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +12 -4
  97. package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +2 -1
  98. package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +1 -1
  99. package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  100. package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +1 -1
  101. package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +1 -1
  102. package/src/extensions/alchemy/openapi-ts/index.ts +2 -2
  103. package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +44 -2
  104. package/src/extensions/alchemy/openapi-ts/types.gen.ts +177 -34
  105. package/src/extensions/app/openapi-ts/client/client.gen.ts +12 -4
  106. package/src/extensions/app/openapi-ts/client/types.gen.ts +2 -1
  107. package/src/extensions/app/openapi-ts/client/utils.gen.ts +1 -1
  108. package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  109. package/src/extensions/app/openapi-ts/core/types.gen.ts +1 -1
  110. package/src/extensions/app/openapi-ts/core/utils.gen.ts +1 -1
  111. package/src/extensions/app/openapi-ts/sdk.gen.ts +1 -1
  112. package/src/extensions/app/openapi-ts/types.gen.ts +3 -3
  113. package/src/extensions/billing/openapi-ts/client/client.gen.ts +12 -4
  114. package/src/extensions/billing/openapi-ts/client/types.gen.ts +2 -1
  115. package/src/extensions/billing/openapi-ts/client/utils.gen.ts +1 -1
  116. package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  117. package/src/extensions/billing/openapi-ts/core/types.gen.ts +1 -1
  118. package/src/extensions/billing/openapi-ts/core/utils.gen.ts +1 -1
  119. package/src/extensions/billing/openapi-ts/sdk.gen.ts +1 -1
  120. package/src/extensions/billing/openapi-ts/types.gen.ts +3 -3
  121. package/src/extensions/bridge/openapi-ts/client/client.gen.ts +12 -4
  122. package/src/extensions/bridge/openapi-ts/client/types.gen.ts +2 -1
  123. package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +1 -1
  124. package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  125. package/src/extensions/bridge/openapi-ts/core/types.gen.ts +1 -1
  126. package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +1 -1
  127. package/src/extensions/bridge/openapi-ts/index.ts +2 -2
  128. package/src/extensions/bridge/openapi-ts/sdk.gen.ts +48 -2
  129. package/src/extensions/bridge/openapi-ts/types.gen.ts +372 -19
  130. package/src/extensions/builder/openapi-ts/client/client.gen.ts +12 -4
  131. package/src/extensions/builder/openapi-ts/client/types.gen.ts +2 -1
  132. package/src/extensions/builder/openapi-ts/client/utils.gen.ts +1 -1
  133. package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  134. package/src/extensions/builder/openapi-ts/core/types.gen.ts +1 -1
  135. package/src/extensions/builder/openapi-ts/core/utils.gen.ts +1 -1
  136. package/src/extensions/builder/openapi-ts/sdk.gen.ts +1 -1
  137. package/src/extensions/business/openapi-ts/client/client.gen.ts +12 -4
  138. package/src/extensions/business/openapi-ts/client/types.gen.ts +2 -1
  139. package/src/extensions/business/openapi-ts/client/utils.gen.ts +1 -1
  140. package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  141. package/src/extensions/business/openapi-ts/core/types.gen.ts +1 -1
  142. package/src/extensions/business/openapi-ts/core/utils.gen.ts +1 -1
  143. package/src/extensions/business/openapi-ts/sdk.gen.ts +1 -1
  144. package/src/extensions/business/openapi-ts/types.gen.ts +19 -19
  145. package/src/extensions/conversion/openapi-ts/client/client.gen.ts +12 -4
  146. package/src/extensions/conversion/openapi-ts/client/types.gen.ts +2 -1
  147. package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +1 -1
  148. package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  149. package/src/extensions/conversion/openapi-ts/core/types.gen.ts +1 -1
  150. package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +1 -1
  151. package/src/extensions/conversion/openapi-ts/sdk.gen.ts +1 -1
  152. package/src/extensions/conversion/openapi-ts/types.gen.ts +2 -2
  153. package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +12 -4
  154. package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +2 -1
  155. package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +1 -1
  156. package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  157. package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +1 -1
  158. package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +1 -1
  159. package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +1 -1
  160. package/src/extensions/notifications/openapi-ts/client/client.gen.ts +12 -4
  161. package/src/extensions/notifications/openapi-ts/client/types.gen.ts +2 -1
  162. package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +1 -1
  163. package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  164. package/src/extensions/notifications/openapi-ts/core/types.gen.ts +1 -1
  165. package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +1 -1
  166. package/src/extensions/notifications/openapi-ts/sdk.gen.ts +1 -1
  167. package/src/extensions/notifications/openapi-ts/types.gen.ts +8 -8
  168. package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +12 -4
  169. package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +2 -1
  170. package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +1 -1
  171. package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  172. package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +1 -1
  173. package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +1 -1
  174. package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +1 -1
  175. package/src/extensions/payment-requests/openapi-ts/types.gen.ts +3 -3
  176. package/src/extensions/products/openapi-ts/client/client.gen.ts +12 -4
  177. package/src/extensions/products/openapi-ts/client/types.gen.ts +2 -1
  178. package/src/extensions/products/openapi-ts/client/utils.gen.ts +1 -1
  179. package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  180. package/src/extensions/products/openapi-ts/core/types.gen.ts +1 -1
  181. package/src/extensions/products/openapi-ts/core/utils.gen.ts +1 -1
  182. package/src/extensions/products/openapi-ts/sdk.gen.ts +1 -1
  183. package/src/extensions/products/openapi-ts/types.gen.ts +35 -35
  184. package/src/extensions/rain/openapi-ts/client/client.gen.ts +12 -4
  185. package/src/extensions/rain/openapi-ts/client/types.gen.ts +2 -1
  186. package/src/extensions/rain/openapi-ts/client/utils.gen.ts +1 -1
  187. package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  188. package/src/extensions/rain/openapi-ts/core/types.gen.ts +1 -1
  189. package/src/extensions/rain/openapi-ts/core/utils.gen.ts +1 -1
  190. package/src/extensions/rain/openapi-ts/sdk.gen.ts +1 -1
  191. package/src/extensions/rain/openapi-ts/types.gen.ts +14 -14
  192. package/src/extensions/rewards/openapi-ts/client/client.gen.ts +12 -4
  193. package/src/extensions/rewards/openapi-ts/client/types.gen.ts +2 -1
  194. package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +1 -1
  195. package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  196. package/src/extensions/rewards/openapi-ts/core/types.gen.ts +1 -1
  197. package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +1 -1
  198. package/src/extensions/rewards/openapi-ts/sdk.gen.ts +1 -1
  199. package/src/extensions/stellar/openapi-ts/client/client.gen.ts +12 -4
  200. package/src/extensions/stellar/openapi-ts/client/types.gen.ts +2 -1
  201. package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +1 -1
  202. package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  203. package/src/extensions/stellar/openapi-ts/core/types.gen.ts +1 -1
  204. package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +1 -1
  205. package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1 -1
  206. package/src/extensions/stellar/openapi-ts/types.gen.ts +8 -8
  207. package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +12 -4
  208. package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +2 -1
  209. package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +1 -1
  210. package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  211. package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +1 -1
  212. package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +1 -1
  213. package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1 -1
  214. package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +8 -8
  215. package/src/platform/admin/openapi-ts/client/client.gen.ts +12 -4
  216. package/src/platform/admin/openapi-ts/client/types.gen.ts +2 -1
  217. package/src/platform/admin/openapi-ts/client/utils.gen.ts +1 -1
  218. package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  219. package/src/platform/admin/openapi-ts/core/types.gen.ts +1 -1
  220. package/src/platform/admin/openapi-ts/core/utils.gen.ts +1 -1
  221. package/src/platform/admin/openapi-ts/index.ts +2 -2
  222. package/src/platform/admin/openapi-ts/sdk.gen.ts +44 -2
  223. package/src/platform/admin/openapi-ts/types.gen.ts +524 -71
  224. package/src/platform/user/openapi-ts/client/client.gen.ts +12 -4
  225. package/src/platform/user/openapi-ts/client/types.gen.ts +2 -1
  226. package/src/platform/user/openapi-ts/client/utils.gen.ts +1 -1
  227. package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +4 -5
  228. package/src/platform/user/openapi-ts/core/types.gen.ts +1 -1
  229. package/src/platform/user/openapi-ts/core/utils.gen.ts +1 -1
  230. package/src/platform/user/openapi-ts/sdk.gen.ts +1 -1
  231. package/src/platform/user/openapi-ts/types.gen.ts +69 -52
  232. package/dist/chunk-AVPKHYGS.js +0 -7
  233. package/dist/chunk-KUT5NSX7.mjs +0 -7
  234. package/dist/chunk-KZWBOQHZ.mjs +0 -7
  235. package/dist/chunk-PE6PG7ZE.js +0 -1
  236. package/dist/chunk-UYYU5OJ4.js +0 -7
  237. package/dist/chunk-Z7BUNKND.mjs +0 -1
@@ -1,7 +1,6 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkGR5TETAUjs = require('../chunk-GR5TETAU.js');var _chunkOEIQFP6Tjs = require('../chunk-OEIQFP6T.js');var j={};_chunkOEIQFP6Tjs.a.call(void 0, j,{activateCreate:()=>ye,adminCategoriesCreate:()=>we,adminCategoriesDestroy:()=>Re,adminCategoriesList:()=>ge,adminCategoriesPartialUpdate:()=>Pe,adminCategoriesRetrieve:()=>Te,adminCategoriesUpdate:()=>fe,adminCompanyPartialUpdate:()=>Ae,adminCompanyRetrieve:()=>Ee,adminCompanyUpdate:()=>De,adminCurrenciesList:()=>Se,adminCurrenciesRetrieve:()=>xe,adminIntegrationsCreate:()=>be,adminIntegrationsDestroy:()=>Ue,adminIntegrationsList:()=>Ce,adminIntegrationsPartialUpdate:()=>Me,adminIntegrationsRetrieve:()=>ke,adminIntegrationsUpdate:()=>ve,adminIntegrationsWebhooksCreate:()=>ze,adminIntegrationsWebhooksDestroy:()=>Ve,adminIntegrationsWebhooksList:()=>Ie,adminIntegrationsWebhooksPartialUpdate:()=>Le,adminIntegrationsWebhooksRetrieve:()=>_e,adminIntegrationsWebhooksUpdate:()=>Ke,adminOrdersCreate:()=>qe,adminOrdersDestroy:()=>We,adminOrdersItemsCreate:()=>He,adminOrdersItemsDestroy:()=>Ye,adminOrdersItemsList:()=>Ne,adminOrdersItemsPartialUpdate:()=>er,adminOrdersItemsRetrieve:()=>Ze,adminOrdersItemsUpdate:()=>rr,adminOrdersList:()=>je,adminOrdersPartialUpdate:()=>$e,adminOrdersPaymentsCreate:()=>Je,adminOrdersPaymentsList:()=>Fe,adminOrdersPaymentsPartialUpdate:()=>sr,adminOrdersPaymentsRetrieve:()=>tr,adminOrdersPaymentsUpdate:()=>nr,adminOrdersRefundsCreate:()=>Xe,adminOrdersRefundsList:()=>Ge,adminOrdersRefundsPartialUpdate:()=>or,adminOrdersRefundsRetrieve:()=>ar,adminOrdersRefundsUpdate:()=>ir,adminOrdersRetrieve:()=>Be,adminOrdersUpdate:()=>Qe,adminProductsCategoriesCreate:()=>Or,adminProductsCategoriesDestroy:()=>fr,adminProductsCategoriesList:()=>hr,adminProductsCategoriesRetrieve:()=>Er,adminProductsCreate:()=>lr,adminProductsDestroy:()=>pr,adminProductsImagesCreate:()=>Dr,adminProductsImagesDestroy:()=>Sr,adminProductsImagesList:()=>Ar,adminProductsImagesPartialUpdate:()=>Cr,adminProductsImagesRetrieve:()=>xr,adminProductsImagesUpdate:()=>br,adminProductsList:()=>dr,adminProductsOptionsCreate:()=>gr,adminProductsOptionsDestroy:()=>Ur,adminProductsOptionsList:()=>yr,adminProductsOptionsPartialUpdate:()=>Mr,adminProductsOptionsRetrieve:()=>kr,adminProductsOptionsUpdate:()=>vr,adminProductsPartialUpdate:()=>cr,adminProductsPricesCreate:()=>Rr,adminProductsPricesDestroy:()=>Ir,adminProductsPricesList:()=>wr,adminProductsPricesPartialUpdate:()=>Vr,adminProductsPricesRetrieve:()=>zr,adminProductsPricesUpdate:()=>_r,adminProductsRetrieve:()=>ur,adminProductsUpdate:()=>mr,adminProductsVariantsCreate:()=>Pr,adminProductsVariantsDestroy:()=>Lr,adminProductsVariantsList:()=>Tr,adminProductsVariantsPartialUpdate:()=>jr,adminProductsVariantsPricesCreate:()=>Br,adminProductsVariantsPricesDestroy:()=>$r,adminProductsVariantsPricesList:()=>Wr,adminProductsVariantsPricesPartialUpdate:()=>Nr,adminProductsVariantsPricesRetrieve:()=>Qr,adminProductsVariantsPricesUpdate:()=>Hr,adminProductsVariantsRetrieve:()=>Kr,adminProductsVariantsUpdate:()=>qr,adminRedemptionsCreate:()=>Jr,adminRedemptionsList:()=>Fr,adminRedemptionsRetrieve:()=>Gr,adminSellersList:()=>Xr,adminSellersPartialUpdate:()=>Zr,adminSellersRetrieve:()=>Yr,adminSellersUpdate:()=>et,adminVoucherImportsCreate:()=>tt,adminVoucherImportsList:()=>rt,adminVoucherImportsRetrieve:()=>st,adminVouchersActionsList:()=>pt,adminVouchersActionsRetrieve:()=>ut,adminVouchersCreate:()=>at,adminVouchersDestroy:()=>ot,adminVouchersImportCreate:()=>ct,adminVouchersList:()=>nt,adminVouchersPartialUpdate:()=>dt,adminVouchersQueryCreate:()=>mt,adminVouchersRetrieve:()=>it,adminVouchersUpdate:()=>lt,deactivateCreate:()=>ht,managerCategoriesList:()=>Ot,managerCategoriesRetrieve:()=>yt,managerCompanyRetrieve:()=>gt,managerCurrenciesList:()=>wt,managerCurrenciesRetrieve:()=>Rt,managerSellersCreate:()=>Pt,managerSellersIntegrationsCreate:()=>St,managerSellersIntegrationsDestroy:()=>xt,managerSellersIntegrationsList:()=>Dt,managerSellersIntegrationsPartialUpdate:()=>bt,managerSellersIntegrationsRetrieve:()=>Ct,managerSellersIntegrationsUpdate:()=>Ut,managerSellersIntegrationsWebhooksCreate:()=>Mt,managerSellersIntegrationsWebhooksDestroy:()=>vt,managerSellersIntegrationsWebhooksList:()=>kt,managerSellersIntegrationsWebhooksPartialUpdate:()=>zt,managerSellersIntegrationsWebhooksRetrieve:()=>It,managerSellersIntegrationsWebhooksUpdate:()=>Vt,managerSellersList:()=>Tt,managerSellersOrdersItemsList:()=>qt,managerSellersOrdersItemsPartialUpdate:()=>Nt,managerSellersOrdersItemsRetrieve:()=>Qt,managerSellersOrdersItemsUpdate:()=>Ht,managerSellersOrdersList:()=>_t,managerSellersOrdersPartialUpdate:()=>Kt,managerSellersOrdersPaymentsList:()=>Wt,managerSellersOrdersPaymentsPartialUpdate:()=>Jt,managerSellersOrdersPaymentsRetrieve:()=>Ft,managerSellersOrdersPaymentsUpdate:()=>Gt,managerSellersOrdersRefundsCreate:()=>$t,managerSellersOrdersRefundsList:()=>Bt,managerSellersOrdersRefundsPartialUpdate:()=>Yt,managerSellersOrdersRefundsRetrieve:()=>Xt,managerSellersOrdersRefundsUpdate:()=>Zt,managerSellersOrdersRetrieve:()=>Lt,managerSellersOrdersUpdate:()=>jt,managerSellersPartialUpdate:()=>Et,managerSellersProductsCategoriesCreate:()=>is,managerSellersProductsCategoriesDestroy:()=>hs,managerSellersProductsCategoriesList:()=>os,managerSellersProductsCategoriesRetrieve:()=>Os,managerSellersProductsCreate:()=>rs,managerSellersProductsDestroy:()=>ts,managerSellersProductsImagesCreate:()=>gs,managerSellersProductsImagesDestroy:()=>ws,managerSellersProductsImagesList:()=>ys,managerSellersProductsImagesPartialUpdate:()=>Ts,managerSellersProductsImagesRetrieve:()=>Rs,managerSellersProductsImagesUpdate:()=>Ps,managerSellersProductsList:()=>es,managerSellersProductsOptionsCreate:()=>ls,managerSellersProductsOptionsDestroy:()=>fs,managerSellersProductsOptionsList:()=>ds,managerSellersProductsOptionsPartialUpdate:()=>As,managerSellersProductsOptionsRetrieve:()=>Es,managerSellersProductsOptionsUpdate:()=>Ds,managerSellersProductsPartialUpdate:()=>ns,managerSellersProductsPricesCreate:()=>us,managerSellersProductsPricesDestroy:()=>Ss,managerSellersProductsPricesList:()=>ps,managerSellersProductsPricesPartialUpdate:()=>Cs,managerSellersProductsPricesRetrieve:()=>xs,managerSellersProductsPricesUpdate:()=>bs,managerSellersProductsRetrieve:()=>ss,managerSellersProductsUpdate:()=>as,managerSellersProductsVariantsCreate:()=>ms,managerSellersProductsVariantsDestroy:()=>Us,managerSellersProductsVariantsList:()=>cs,managerSellersProductsVariantsPartialUpdate:()=>Ms,managerSellersProductsVariantsPricesCreate:()=>zs,managerSellersProductsVariantsPricesDestroy:()=>Vs,managerSellersProductsVariantsPricesList:()=>Is,managerSellersProductsVariantsPricesPartialUpdate:()=>Ls,managerSellersProductsVariantsPricesRetrieve:()=>_s,managerSellersProductsVariantsPricesUpdate:()=>Ks,managerSellersProductsVariantsRetrieve:()=>ks,managerSellersProductsVariantsUpdate:()=>vs,managerSellersRedemptionsCreate:()=>qs,managerSellersRedemptionsList:()=>js,managerSellersRedemptionsRetrieve:()=>Ws,managerSellersRetrieve:()=>ft,managerSellersUpdate:()=>At,managerSellersVoucherImportCreate:()=>Ns,managerSellersVoucherImportsCreate:()=>$s,managerSellersVoucherImportsList:()=>Bs,managerSellersVoucherImportsRetrieve:()=>Qs,managerSellersVouchersActionsList:()=>Zs,managerSellersVouchersActionsRetrieve:()=>en,managerSellersVouchersCreate:()=>Fs,managerSellersVouchersDestroy:()=>Js,managerSellersVouchersList:()=>Hs,managerSellersVouchersPartialUpdate:()=>Xs,managerSellersVouchersQueryCreate:()=>rn,managerSellersVouchersRetrieve:()=>Gs,managerSellersVouchersUpdate:()=>Ys,userCategoriesList:()=>tn,userCategoriesRetrieve:()=>sn,userCompanyRetrieve:()=>nn,userOrdersCreate:()=>on,userOrdersDestroy:()=>dn,userOrdersItemsCreate:()=>mn,userOrdersItemsDestroy:()=>gn,userOrdersItemsList:()=>cn,userOrdersItemsPartialUpdate:()=>Rn,userOrdersItemsRetrieve:()=>wn,userOrdersItemsUpdate:()=>Tn,userOrdersList:()=>an,userOrdersPartialUpdate:()=>pn,userOrdersPaymentsCreate:()=>On,userOrdersPaymentsList:()=>hn,userOrdersPaymentsRetrieve:()=>Pn,userOrdersRefundsList:()=>yn,userOrdersRefundsRetrieve:()=>fn,userOrdersRetrieve:()=>ln,userOrdersUpdate:()=>un,userProductsImagesList:()=>xn,userProductsImagesRetrieve:()=>Cn,userProductsList:()=>En,userProductsPricesList:()=>Dn,userProductsPricesRetrieve:()=>bn,userProductsRetrieve:()=>An,userProductsVariantsList:()=>Sn,userProductsVariantsRetrieve:()=>Un,userRedemptionsCreate:()=>Mn,userRedemptionsList:()=>kn,userRedemptionsRetrieve:()=>vn,userSellersList:()=>In,userSellersRetrieve:()=>zn,userVouchersActionsList:()=>Ln,userVouchersActionsRetrieve:()=>Kn,userVouchersList:()=>Vn,userVouchersQueryCreate:()=>jn,userVouchersRetrieve:()=>_n,webhookCreate:()=>qn});var V={bodySerializer:e=>JSON.stringify(e,(t,s)=>typeof s=="bigint"?s.toString():s)};var oe={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},$n=Object.entries(oe);var F=({onRequest:e,onSseError:t,onSseEvent:s,responseTransformer:o,responseValidator:a,sseDefaultRetryDelay:p,sseMaxRetryAttempts:d,sseMaxRetryDelay:i,sseSleepFn:l,url:y,...c})=>{let n,w=_nullishCoalesce(l, () => ((P=>new Promise(u=>setTimeout(u,P)))));return{stream:async function*(){let P=_nullishCoalesce(p, () => (3e3)),u=0,g=_nullishCoalesce(c.signal, () => (new AbortController().signal));for(;!g.aborted;){u++;let x=c.headers instanceof Headers?c.headers:new Headers(c.headers);n!==void 0&&x.set("Last-Event-ID",n);try{let f={redirect:"follow",...c,body:c.serializedBody,headers:x,signal:g},E=new Request(y,f);e&&(E=await e(y,f));let m=await(_nullishCoalesce(c.fetch, () => (globalThis.fetch)))(E);if(!m.ok)throw new Error(`SSE failed: ${m.status} ${m.statusText}`);if(!m.body)throw new Error("No body in SSE response");let O=m.body.pipeThrough(new TextDecoderStream).getReader(),h="",q=()=>{try{O.cancel()}catch (e2){}};g.addEventListener("abort",q);try{for(;;){let{done:re,value:te}=await O.read();if(re)break;h+=te,h=h.replace(/\r\n/g,`
2
- `).replace(/\r/g,`
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkGR5TETAUjs = require('../chunk-GR5TETAU.js');var _chunkOEIQFP6Tjs = require('../chunk-OEIQFP6T.js');var j={};_chunkOEIQFP6Tjs.a.call(void 0, j,{activateCreate:()=>ye,adminCategoriesCreate:()=>we,adminCategoriesDestroy:()=>Re,adminCategoriesList:()=>ge,adminCategoriesPartialUpdate:()=>Pe,adminCategoriesRetrieve:()=>Te,adminCategoriesUpdate:()=>fe,adminCompanyPartialUpdate:()=>Ae,adminCompanyRetrieve:()=>Ee,adminCompanyUpdate:()=>Se,adminCurrenciesList:()=>De,adminCurrenciesRetrieve:()=>xe,adminIntegrationsCreate:()=>be,adminIntegrationsDestroy:()=>Ue,adminIntegrationsList:()=>Ce,adminIntegrationsPartialUpdate:()=>Me,adminIntegrationsRetrieve:()=>ke,adminIntegrationsUpdate:()=>ve,adminIntegrationsWebhooksCreate:()=>ze,adminIntegrationsWebhooksDestroy:()=>Ve,adminIntegrationsWebhooksList:()=>Ie,adminIntegrationsWebhooksPartialUpdate:()=>Le,adminIntegrationsWebhooksRetrieve:()=>_e,adminIntegrationsWebhooksUpdate:()=>Ke,adminOrdersCreate:()=>qe,adminOrdersDestroy:()=>We,adminOrdersItemsCreate:()=>He,adminOrdersItemsDestroy:()=>Ye,adminOrdersItemsList:()=>Ne,adminOrdersItemsPartialUpdate:()=>er,adminOrdersItemsRetrieve:()=>Ze,adminOrdersItemsUpdate:()=>rr,adminOrdersList:()=>je,adminOrdersPartialUpdate:()=>$e,adminOrdersPaymentsCreate:()=>Je,adminOrdersPaymentsList:()=>Fe,adminOrdersPaymentsPartialUpdate:()=>sr,adminOrdersPaymentsRetrieve:()=>tr,adminOrdersPaymentsUpdate:()=>nr,adminOrdersRefundsCreate:()=>Xe,adminOrdersRefundsList:()=>Ge,adminOrdersRefundsPartialUpdate:()=>or,adminOrdersRefundsRetrieve:()=>ar,adminOrdersRefundsUpdate:()=>ir,adminOrdersRetrieve:()=>Be,adminOrdersUpdate:()=>Qe,adminProductsCategoriesCreate:()=>Or,adminProductsCategoriesDestroy:()=>fr,adminProductsCategoriesList:()=>hr,adminProductsCategoriesRetrieve:()=>Er,adminProductsCreate:()=>lr,adminProductsDestroy:()=>pr,adminProductsImagesCreate:()=>Sr,adminProductsImagesDestroy:()=>Dr,adminProductsImagesList:()=>Ar,adminProductsImagesPartialUpdate:()=>Cr,adminProductsImagesRetrieve:()=>xr,adminProductsImagesUpdate:()=>br,adminProductsList:()=>dr,adminProductsOptionsCreate:()=>gr,adminProductsOptionsDestroy:()=>Ur,adminProductsOptionsList:()=>yr,adminProductsOptionsPartialUpdate:()=>Mr,adminProductsOptionsRetrieve:()=>kr,adminProductsOptionsUpdate:()=>vr,adminProductsPartialUpdate:()=>cr,adminProductsPricesCreate:()=>Rr,adminProductsPricesDestroy:()=>Ir,adminProductsPricesList:()=>wr,adminProductsPricesPartialUpdate:()=>Vr,adminProductsPricesRetrieve:()=>zr,adminProductsPricesUpdate:()=>_r,adminProductsRetrieve:()=>ur,adminProductsUpdate:()=>mr,adminProductsVariantsCreate:()=>Pr,adminProductsVariantsDestroy:()=>Lr,adminProductsVariantsList:()=>Tr,adminProductsVariantsPartialUpdate:()=>jr,adminProductsVariantsPricesCreate:()=>Br,adminProductsVariantsPricesDestroy:()=>$r,adminProductsVariantsPricesList:()=>Wr,adminProductsVariantsPricesPartialUpdate:()=>Nr,adminProductsVariantsPricesRetrieve:()=>Qr,adminProductsVariantsPricesUpdate:()=>Hr,adminProductsVariantsRetrieve:()=>Kr,adminProductsVariantsUpdate:()=>qr,adminRedemptionsCreate:()=>Jr,adminRedemptionsList:()=>Fr,adminRedemptionsRetrieve:()=>Gr,adminSellersList:()=>Xr,adminSellersPartialUpdate:()=>Zr,adminSellersRetrieve:()=>Yr,adminSellersUpdate:()=>et,adminVoucherImportsCreate:()=>tt,adminVoucherImportsList:()=>rt,adminVoucherImportsRetrieve:()=>st,adminVouchersActionsList:()=>pt,adminVouchersActionsRetrieve:()=>ut,adminVouchersCreate:()=>at,adminVouchersDestroy:()=>ot,adminVouchersImportCreate:()=>ct,adminVouchersList:()=>nt,adminVouchersPartialUpdate:()=>dt,adminVouchersQueryCreate:()=>mt,adminVouchersRetrieve:()=>it,adminVouchersUpdate:()=>lt,deactivateCreate:()=>ht,managerCategoriesList:()=>Ot,managerCategoriesRetrieve:()=>yt,managerCompanyRetrieve:()=>gt,managerCurrenciesList:()=>wt,managerCurrenciesRetrieve:()=>Rt,managerSellersCreate:()=>Pt,managerSellersIntegrationsCreate:()=>Dt,managerSellersIntegrationsDestroy:()=>xt,managerSellersIntegrationsList:()=>St,managerSellersIntegrationsPartialUpdate:()=>bt,managerSellersIntegrationsRetrieve:()=>Ct,managerSellersIntegrationsUpdate:()=>Ut,managerSellersIntegrationsWebhooksCreate:()=>Mt,managerSellersIntegrationsWebhooksDestroy:()=>vt,managerSellersIntegrationsWebhooksList:()=>kt,managerSellersIntegrationsWebhooksPartialUpdate:()=>zt,managerSellersIntegrationsWebhooksRetrieve:()=>It,managerSellersIntegrationsWebhooksUpdate:()=>Vt,managerSellersList:()=>Tt,managerSellersOrdersItemsList:()=>qt,managerSellersOrdersItemsPartialUpdate:()=>Nt,managerSellersOrdersItemsRetrieve:()=>Qt,managerSellersOrdersItemsUpdate:()=>Ht,managerSellersOrdersList:()=>_t,managerSellersOrdersPartialUpdate:()=>Kt,managerSellersOrdersPaymentsList:()=>Wt,managerSellersOrdersPaymentsPartialUpdate:()=>Jt,managerSellersOrdersPaymentsRetrieve:()=>Ft,managerSellersOrdersPaymentsUpdate:()=>Gt,managerSellersOrdersRefundsCreate:()=>$t,managerSellersOrdersRefundsList:()=>Bt,managerSellersOrdersRefundsPartialUpdate:()=>Yt,managerSellersOrdersRefundsRetrieve:()=>Xt,managerSellersOrdersRefundsUpdate:()=>Zt,managerSellersOrdersRetrieve:()=>Lt,managerSellersOrdersUpdate:()=>jt,managerSellersPartialUpdate:()=>Et,managerSellersProductsCategoriesCreate:()=>is,managerSellersProductsCategoriesDestroy:()=>hs,managerSellersProductsCategoriesList:()=>os,managerSellersProductsCategoriesRetrieve:()=>Os,managerSellersProductsCreate:()=>rs,managerSellersProductsDestroy:()=>ts,managerSellersProductsImagesCreate:()=>gs,managerSellersProductsImagesDestroy:()=>ws,managerSellersProductsImagesList:()=>ys,managerSellersProductsImagesPartialUpdate:()=>Ts,managerSellersProductsImagesRetrieve:()=>Rs,managerSellersProductsImagesUpdate:()=>Ps,managerSellersProductsList:()=>es,managerSellersProductsOptionsCreate:()=>ls,managerSellersProductsOptionsDestroy:()=>fs,managerSellersProductsOptionsList:()=>ds,managerSellersProductsOptionsPartialUpdate:()=>As,managerSellersProductsOptionsRetrieve:()=>Es,managerSellersProductsOptionsUpdate:()=>Ss,managerSellersProductsPartialUpdate:()=>ns,managerSellersProductsPricesCreate:()=>us,managerSellersProductsPricesDestroy:()=>Ds,managerSellersProductsPricesList:()=>ps,managerSellersProductsPricesPartialUpdate:()=>Cs,managerSellersProductsPricesRetrieve:()=>xs,managerSellersProductsPricesUpdate:()=>bs,managerSellersProductsRetrieve:()=>ss,managerSellersProductsUpdate:()=>as,managerSellersProductsVariantsCreate:()=>ms,managerSellersProductsVariantsDestroy:()=>Us,managerSellersProductsVariantsList:()=>cs,managerSellersProductsVariantsPartialUpdate:()=>Ms,managerSellersProductsVariantsPricesCreate:()=>zs,managerSellersProductsVariantsPricesDestroy:()=>Vs,managerSellersProductsVariantsPricesList:()=>Is,managerSellersProductsVariantsPricesPartialUpdate:()=>Ls,managerSellersProductsVariantsPricesRetrieve:()=>_s,managerSellersProductsVariantsPricesUpdate:()=>Ks,managerSellersProductsVariantsRetrieve:()=>ks,managerSellersProductsVariantsUpdate:()=>vs,managerSellersRedemptionsCreate:()=>qs,managerSellersRedemptionsList:()=>js,managerSellersRedemptionsRetrieve:()=>Ws,managerSellersRetrieve:()=>ft,managerSellersUpdate:()=>At,managerSellersVoucherImportCreate:()=>Ns,managerSellersVoucherImportsCreate:()=>$s,managerSellersVoucherImportsList:()=>Bs,managerSellersVoucherImportsRetrieve:()=>Qs,managerSellersVouchersActionsList:()=>Zs,managerSellersVouchersActionsRetrieve:()=>en,managerSellersVouchersCreate:()=>Fs,managerSellersVouchersDestroy:()=>Js,managerSellersVouchersList:()=>Hs,managerSellersVouchersPartialUpdate:()=>Xs,managerSellersVouchersQueryCreate:()=>rn,managerSellersVouchersRetrieve:()=>Gs,managerSellersVouchersUpdate:()=>Ys,userCategoriesList:()=>tn,userCategoriesRetrieve:()=>sn,userCompanyRetrieve:()=>nn,userOrdersCreate:()=>on,userOrdersDestroy:()=>dn,userOrdersItemsCreate:()=>mn,userOrdersItemsDestroy:()=>gn,userOrdersItemsList:()=>cn,userOrdersItemsPartialUpdate:()=>Rn,userOrdersItemsRetrieve:()=>wn,userOrdersItemsUpdate:()=>Tn,userOrdersList:()=>an,userOrdersPartialUpdate:()=>pn,userOrdersPaymentsCreate:()=>On,userOrdersPaymentsList:()=>hn,userOrdersPaymentsRetrieve:()=>Pn,userOrdersRefundsList:()=>yn,userOrdersRefundsRetrieve:()=>fn,userOrdersRetrieve:()=>ln,userOrdersUpdate:()=>un,userProductsImagesList:()=>xn,userProductsImagesRetrieve:()=>Cn,userProductsList:()=>En,userProductsPricesList:()=>Sn,userProductsPricesRetrieve:()=>bn,userProductsRetrieve:()=>An,userProductsVariantsList:()=>Dn,userProductsVariantsRetrieve:()=>Un,userRedemptionsCreate:()=>Mn,userRedemptionsList:()=>kn,userRedemptionsRetrieve:()=>vn,userSellersList:()=>In,userSellersRetrieve:()=>zn,userVouchersActionsList:()=>Ln,userVouchersActionsRetrieve:()=>Kn,userVouchersList:()=>Vn,userVouchersQueryCreate:()=>jn,userVouchersRetrieve:()=>_n,webhookCreate:()=>qn});var V={bodySerializer:e=>JSON.stringify(e,(t,s)=>typeof s=="bigint"?s.toString():s)};var oe={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},$n=Object.entries(oe);function F({onRequest:e,onSseError:t,onSseEvent:s,responseTransformer:o,responseValidator:a,sseDefaultRetryDelay:p,sseMaxRetryAttempts:d,sseMaxRetryDelay:i,sseSleepFn:l,url:y,...c}){let n,g=_nullishCoalesce(l, () => ((P=>new Promise(u=>setTimeout(u,P)))));return{stream:async function*(){let P=_nullishCoalesce(p, () => (3e3)),u=0,w=_nullishCoalesce(c.signal, () => (new AbortController().signal));for(;!w.aborted;){u++;let C=c.headers instanceof Headers?c.headers:new Headers(c.headers);n!==void 0&&C.set("Last-Event-ID",n);try{let f={redirect:"follow",...c,body:c.serializedBody,headers:C,signal:w},E=new Request(y,f);e&&(E=await e(y,f));let m=await(_nullishCoalesce(c.fetch, () => (globalThis.fetch)))(E);if(!m.ok)throw new Error(`SSE failed: ${m.status} ${m.statusText}`);if(!m.body)throw new Error("No body in SSE response");let O=m.body.pipeThrough(new TextDecoderStream).getReader(),h="",q=()=>{try{O.cancel()}catch (e2){}};w.addEventListener("abort",q);try{for(;;){let{done:re,value:te}=await O.read();if(re)break;h+=te,h=h.replace(/\r\n?/g,`
3
2
  `);let W=h.split(`
4
3
 
5
4
  `);h=_nullishCoalesce(W.pop(), () => (""));for(let se of W){let ne=se.split(`
6
5
  `),M=[],B;for(let T of ne)if(T.startsWith("data:"))M.push(T.replace(/^data:\s*/,""));else if(T.startsWith("event:"))B=T.replace(/^event:\s*/,"");else if(T.startsWith("id:"))n=T.replace(/^id:\s*/,"");else if(T.startsWith("retry:")){let Q=Number.parseInt(T.replace(/^retry:\s*/,""),10);Number.isNaN(Q)||(P=Q)}let A,$=!1;if(M.length){let T=M.join(`
7
- `);try{A=JSON.parse(T),$=!0}catch (e3){A=T}}$&&(a&&await a(A),o&&(A=await o(A))),_optionalChain([s, 'optionalCall', _2 => _2({data:A,event:B,id:n,retry:P})]),M.length&&(yield A)}}}finally{g.removeEventListener("abort",q),O.releaseLock()}break}catch(f){if(_optionalChain([t, 'optionalCall', _3 => _3(f)]),d!==void 0&&u>=d)break;let E=Math.min(P*2**(u-1),_nullishCoalesce(i, () => (3e4)));await w(E)}}}()}};var ie=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},de=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},le=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},v=({allowReserved:e,explode:t,name:s,style:o,value:a})=>{if(!t){let i=(e?a:a.map(l=>encodeURIComponent(l))).join(de(o));switch(o){case"label":return`.${i}`;case"matrix":return`;${s}=${i}`;case"simple":return i;default:return`${s}=${i}`}}let p=ie(o),d=a.map(i=>o==="label"||o==="simple"?e?i:encodeURIComponent(i):S({allowReserved:e,name:s,value:i})).join(p);return o==="label"||o==="matrix"?p+d:d},S=({allowReserved:e,name:t,value:s})=>{if(s==null)return"";if(typeof s=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?s:encodeURIComponent(s)}`},I=({allowReserved:e,explode:t,name:s,style:o,value:a,valueOnly:p})=>{if(a instanceof Date)return p?a.toISOString():`${s}=${a.toISOString()}`;if(o!=="deepObject"&&!t){let l=[];Object.entries(a).forEach(([c,n])=>{l=[...l,c,e?n:encodeURIComponent(n)]});let y=l.join(",");switch(o){case"form":return`${s}=${y}`;case"label":return`.${y}`;case"matrix":return`;${s}=${y}`;default:return y}}let d=le(o),i=Object.entries(a).map(([l,y])=>S({allowReserved:e,name:o==="deepObject"?`${s}[${l}]`:l,value:y})).join(d);return o==="label"||o==="matrix"?d+i:i};var pe=/\{[^{}]+\}/g,ue=({path:e,url:t})=>{let s=t,o=t.match(pe);if(o)for(let a of o){let p=!1,d=a.substring(1,a.length-1),i="simple";d.endsWith("*")&&(p=!0,d=d.substring(0,d.length-1)),d.startsWith(".")?(d=d.substring(1),i="label"):d.startsWith(";")&&(d=d.substring(1),i="matrix");let l=e[d];if(l==null)continue;if(Array.isArray(l)){s=s.replace(a,v({explode:p,name:d,style:i,value:l}));continue}if(typeof l=="object"){s=s.replace(a,I({explode:p,name:d,style:i,value:l,valueOnly:!0}));continue}if(i==="matrix"){s=s.replace(a,`;${S({name:d,value:l})}`);continue}let y=encodeURIComponent(i==="label"?`.${l}`:l);s=s.replace(a,y)}return s},J=({baseUrl:e,path:t,query:s,querySerializer:o,url:a})=>{let p=a.startsWith("/")?a:`/${a}`,d=(_nullishCoalesce(e, () => ("")))+p;t&&(d=ue({path:t,url:d}));let i=s?o(s):"";return i.startsWith("?")&&(i=i.substring(1)),i&&(d+=`?${i}`),d};function _(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return"serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var G=async(e,t)=>{let s=typeof t=="function"?await t(e):t;if(s)return e.scheme==="bearer"?`Bearer ${s}`:e.scheme==="basic"?`Basic ${btoa(s)}`:s};var X=({parameters:e={},...t}={})=>o=>{let a=[];if(o&&typeof o=="object")for(let p in o){let d=o[p];if(d==null)continue;let i=e[p]||t;if(Array.isArray(d)){let l=v({allowReserved:i.allowReserved,explode:!0,name:p,style:"form",value:d,...i.array});l&&a.push(l)}else if(typeof d=="object"){let l=I({allowReserved:i.allowReserved,explode:!0,name:p,style:"deepObject",value:d,...i.object});l&&a.push(l)}else{let l=S({allowReserved:i.allowReserved,name:p,value:d});l&&a.push(l)}}return a.join("&")},Y=e=>{if(!e)return"stream";let t=_optionalChain([e, 'access', _4 => _4.split, 'call', _5 => _5(";"), 'access', _6 => _6[0], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return"json";if(t==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(s=>t.startsWith(s)))return"blob";if(t.startsWith("text/"))return"text"}},ce=(e,t)=>t?!!(e.headers.has(t)||_optionalChain([e, 'access', _9 => _9.query, 'optionalAccess', _10 => _10[t]])||_optionalChain([e, 'access', _11 => _11.headers, 'access', _12 => _12.get, 'call', _13 => _13("Cookie"), 'optionalAccess', _14 => _14.includes, 'call', _15 => _15(`${t}=`)])):!1,Z=async({security:e,...t})=>{for(let s of e){if(ce(t,s.name))continue;let o=await G(s,t.auth);if(!o)continue;let a=_nullishCoalesce(s.name, () => ("Authorization"));switch(s.in){case"query":t.query||(t.query={}),t.query[a]=o;break;case"cookie":t.headers.append("Cookie",`${a}=${o}`);break;case"header":default:t.headers.set(a,o);break}}},L=e=>J({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:X(e.querySerializer),url:e.url}),K=(e,t)=>{let s={...e,...t};return _optionalChain([s, 'access', _16 => _16.baseUrl, 'optionalAccess', _17 => _17.endsWith, 'call', _18 => _18("/")])&&(s.baseUrl=s.baseUrl.substring(0,s.baseUrl.length-1)),s.headers=z(e.headers,t.headers),s},me=e=>{let t=[];return e.forEach((s,o)=>{t.push([o,s])}),t},z=(...e)=>{let t=new Headers;for(let s of e){if(!s)continue;let o=s instanceof Headers?me(s):Object.entries(s);for(let[a,p]of o)if(p===null)t.delete(a);else if(Array.isArray(p))for(let d of p)t.append(a,d);else p!==void 0&&t.set(a,typeof p=="object"?JSON.stringify(p):p)}return t},C=class{constructor(){this.fns=[]}clear(){this.fns=[]}eject(t){let s=this.getInterceptorIndex(t);this.fns[s]&&(this.fns[s]=null)}exists(t){let s=this.getInterceptorIndex(t);return!!this.fns[s]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,s){let o=this.getInterceptorIndex(t);return this.fns[o]?(this.fns[o]=s,t):!1}use(t){return this.fns.push(t),this.fns.length-1}},ee=()=>({error:new C,request:new C,response:new C}),he=X({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Oe={"Content-Type":"application/json"},b=(e={})=>({...V,headers:Oe,parseAs:"auto",querySerializer:he,...e});var U=(e={})=>{let t=K(b(),e),s=()=>({...t}),o=c=>(t=K(t,c),s()),a=ee(),p=async c=>{let n={...t,...c,fetch:_nullishCoalesce(_nullishCoalesce(c.fetch, () => (t.fetch)), () => (globalThis.fetch)),headers:z(t.headers,c.headers),serializedBody:void 0};n.security&&await Z({...n,security:n.security}),n.requestValidator&&await n.requestValidator(n),n.body!==void 0&&n.bodySerializer&&(n.serializedBody=n.bodySerializer(n.body)),(n.body===void 0||n.serializedBody==="")&&n.headers.delete("Content-Type");let w=L(n);return{opts:n,url:w}},d=async c=>{let{opts:n,url:w}=await p(c),k={redirect:"follow",...n,body:_(n)},R=new Request(w,k);for(let m of a.request.fns)m&&(R=await m(R,n));let P=n.fetch,u;try{u=await P(R)}catch(m){let O=m;for(let h of a.error.fns)h&&(O=await h(m,void 0,R,n));if(O=O||{},n.throwOnError)throw O;return n.responseStyle==="data"?void 0:{error:O,request:R,response:void 0}}for(let m of a.response.fns)m&&(u=await m(u,R,n));let g={request:R,response:u};if(u.ok){let m=_nullishCoalesce((n.parseAs==="auto"?Y(u.headers.get("Content-Type")):n.parseAs), () => ("json"));if(u.status===204||u.headers.get("Content-Length")==="0"){let h;switch(m){case"arrayBuffer":case"blob":case"text":h=await u[m]();break;case"formData":h=new FormData;break;case"stream":h=u.body;break;case"json":default:h={};break}return n.responseStyle==="data"?h:{data:h,...g}}let O;switch(m){case"arrayBuffer":case"blob":case"formData":case"text":O=await u[m]();break;case"json":{let h=await u.text();O=h?JSON.parse(h):{};break}case"stream":return n.responseStyle==="data"?u.body:{data:u.body,...g}}return m==="json"&&(n.responseValidator&&await n.responseValidator(O),n.responseTransformer&&(O=await n.responseTransformer(O))),n.responseStyle==="data"?O:{data:O,...g}}let x=await u.text(),f;try{f=JSON.parse(x)}catch (e4){}let E=_nullishCoalesce(f, () => (x)),D=E;for(let m of a.error.fns)m&&(D=await m(E,u,R,n));if(D=D||{},n.throwOnError)throw D;return n.responseStyle==="data"?void 0:{error:D,...g}},i=c=>n=>d({...n,method:c}),l=c=>async n=>{let{opts:w,url:k}=await p(n);return F({...w,body:w.body,headers:w.headers,method:c,onRequest:async(R,P)=>{let u=new Request(R,P);for(let g of a.request.fns)g&&(u=await g(u,w));return u},serializedBody:_(w),url:k})};return{buildUrl:c=>L({...t,...c}),connect:i("CONNECT"),delete:i("DELETE"),get:i("GET"),getConfig:s,head:i("HEAD"),interceptors:a,options:i("OPTIONS"),patch:i("PATCH"),post:i("POST"),put:i("PUT"),request:d,setConfig:o,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:i("TRACE")}};var r=U(b({baseUrl:"https://product.services.rehive.com/api/"}));var ye=e=>(_nullishCoalesce(e.client, () => (r))).post({url:"/activate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _19 => _19.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e}),we=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Te=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Pe=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fe=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ee=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _20 => _20.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e}),Ae=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _21 => _21.client]), () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",..._optionalChain([e, 'optionalAccess', _22 => _22.headers])}}),De=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _23 => _23.client]), () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",..._optionalChain([e, 'optionalAccess', _24 => _24.headers])}}),Se=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _25 => _25.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/",...e}),xe=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/{code}/",...e}),Ce=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _26 => _26.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e}),be=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),ke=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),Me=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ie=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e}),ze=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),_e=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),Le=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),je=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _27 => _27.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e}),qe=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),We=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),Be=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),$e=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qe=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e}),He=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e}),Je=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e}),Xe=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),Ze=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),er=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),rr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),tr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e}),sr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),nr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ar=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e}),or=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ir=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),dr=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _28 => _28.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e}),lr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),ur=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),cr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e}),Or=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),yr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e}),gr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e,headers:{"Content-Type":"application/json",...e.headers}}),wr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e}),Rr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e}),Pr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Er=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Ar=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/",...e}),Dr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Sr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),xr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),Cr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),br=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ur=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),kr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),Mr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ir=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),zr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),Vr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),_r=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Lr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),Kr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),jr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/",...e}),Br=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),$r=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Qr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Nr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Hr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fr=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _29 => _29.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e}),Jr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/{action_id}/",...e}),Xr=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _30 => _30.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/",...e}),Yr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e}),Zr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _31 => _31.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e}),tt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e,headers:{"Content-Type":"application/json",...e.headers}}),st=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/{identifier}/",...e}),nt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _32 => _32.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e}),at=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ot=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),it=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),dt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),lt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/actions/",...e}),ut=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{voucher_id}/actions/{action_id}/",...e}),ct=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/import/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ht=e=>(_nullishCoalesce(e.client, () => (r))).post({url:"/deactivate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ot=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _33 => _33.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/",...e}),yt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/{identifier}/",...e}),gt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _34 => _34.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/company/",...e}),wt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _35 => _35.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/",...e}),Rt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/{code}/",...e}),Tt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _36 => _36.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e}),Pt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e}),Et=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Dt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e}),St=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),Ct=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),bt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ut=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),kt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/",...e}),Mt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vt=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),It=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),zt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),_t=e=>(_nullishCoalesce(e.client, () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/",...e}),Lt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e}),Kt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),jt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/items/",...e}),Wt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/payments/",...e}),Bt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/refunds/",...e}),$t=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/refunds/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e}),Nt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ht=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ft=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e}),Jt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e}),Yt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),es=e=>(_nullishCoalesce(e.client, () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/",...e}),rs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ts=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ss=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ns=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),as=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),os=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/categories/",...e}),is=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ds=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/options/",...e}),ls=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/options/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ps=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/prices/",...e}),us=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),cs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/variants/",...e}),ms=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/variants/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hs=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),Os=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),ys=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/",...e}),gs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ws=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Rs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Ts=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ps=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fs=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),Es=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),As=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ds=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ss=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),xs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),Cs=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),bs=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Us=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),ks=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),Ms=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vs=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Is=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/",...e}),zs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vs=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),_s=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Ls=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ks=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),js=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/",...e}),qs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ws=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/{action_id}/",...e}),Bs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/",...e}),$s=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/{identifier}/",...e}),Ns=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher/import/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Hs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/",...e}),Fs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Js=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Gs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Xs=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ys=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/",...e}),en=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/{action_id}/",...e}),rn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),tn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _37 => _37.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/",...e}),sn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/{identifier}/",...e}),nn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _38 => _38.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/company/",...e}),an=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _39 => _39.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e}),on=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),dn=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),ln=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),pn=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),un=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),cn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e}),mn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e}),On=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),yn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/refunds/",...e}),gn=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),wn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),Rn=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tn=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/payments/{payment_id}/",...e}),fn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/refunds/{refund_id}/",...e}),En=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _40 => _40.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/",...e}),An=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/",...e}),Dn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/prices/",...e}),Sn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/variants/",...e}),xn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/",...e}),Cn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/{image_id}/",...e}),bn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/prices/{price_id}/",...e}),Un=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/variants/{variant_id}/",...e}),kn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _41 => _41.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e}),Mn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/{action_id}/",...e}),In=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _42 => _42.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/",...e}),zn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/{seller_id}/",...e}),Vn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _43 => _43.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/",...e}),_n=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/",...e}),Ln=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/actions/",...e}),Kn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{voucher_id}/actions/{action_id}/",...e}),jn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qn=e=>(_nullishCoalesce(e.client, () => (r))).post({url:"/webhook/",...e,headers:{"Content-Type":"application/json",...e.headers}});function Wn(e){let t=U(_chunkGR5TETAUjs.c.call(void 0, e,"https://product.services.rehive.com/api/"));return _chunkGR5TETAUjs.a.call(void 0, j,t)}exports.createProductsApi = Wn;
6
+ `);try{A=JSON.parse(T),$=!0}catch (e3){A=T}}$&&(a&&await a(A),o&&(A=await o(A))),_optionalChain([s, 'optionalCall', _2 => _2({data:A,event:B,id:n,retry:P})]),M.length&&(yield A)}}}finally{w.removeEventListener("abort",q),O.releaseLock()}break}catch(f){if(_optionalChain([t, 'optionalCall', _3 => _3(f)]),d!==void 0&&u>=d)break;let E=Math.min(P*2**(u-1),_nullishCoalesce(i, () => (3e4)));await g(E)}}}()}}var ie=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},de=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},le=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},v=({allowReserved:e,explode:t,name:s,style:o,value:a})=>{if(!t){let i=(e?a:a.map(l=>encodeURIComponent(l))).join(de(o));switch(o){case"label":return`.${i}`;case"matrix":return`;${s}=${i}`;case"simple":return i;default:return`${s}=${i}`}}let p=ie(o),d=a.map(i=>o==="label"||o==="simple"?e?i:encodeURIComponent(i):x({allowReserved:e,name:s,value:i})).join(p);return o==="label"||o==="matrix"?p+d:d},x=({allowReserved:e,name:t,value:s})=>{if(s==null)return"";if(typeof s=="object")throw new Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?s:encodeURIComponent(s)}`},I=({allowReserved:e,explode:t,name:s,style:o,value:a,valueOnly:p})=>{if(a instanceof Date)return p?a.toISOString():`${s}=${a.toISOString()}`;if(o!=="deepObject"&&!t){let l=[];Object.entries(a).forEach(([c,n])=>{l=[...l,c,e?n:encodeURIComponent(n)]});let y=l.join(",");switch(o){case"form":return`${s}=${y}`;case"label":return`.${y}`;case"matrix":return`;${s}=${y}`;default:return y}}let d=le(o),i=Object.entries(a).map(([l,y])=>x({allowReserved:e,name:o==="deepObject"?`${s}[${l}]`:l,value:y})).join(d);return o==="label"||o==="matrix"?d+i:i};var pe=/\{[^{}]+\}/g,ue=({path:e,url:t})=>{let s=t,o=t.match(pe);if(o)for(let a of o){let p=!1,d=a.substring(1,a.length-1),i="simple";d.endsWith("*")&&(p=!0,d=d.substring(0,d.length-1)),d.startsWith(".")?(d=d.substring(1),i="label"):d.startsWith(";")&&(d=d.substring(1),i="matrix");let l=e[d];if(l==null)continue;if(Array.isArray(l)){s=s.replace(a,v({explode:p,name:d,style:i,value:l}));continue}if(typeof l=="object"){s=s.replace(a,I({explode:p,name:d,style:i,value:l,valueOnly:!0}));continue}if(i==="matrix"){s=s.replace(a,`;${x({name:d,value:l})}`);continue}let y=encodeURIComponent(i==="label"?`.${l}`:l);s=s.replace(a,y)}return s},J=({baseUrl:e,path:t,query:s,querySerializer:o,url:a})=>{let p=a.startsWith("/")?a:`/${a}`,d=(_nullishCoalesce(e, () => ("")))+p;t&&(d=ue({path:t,url:d}));let i=s?o(s):"";return i.startsWith("?")&&(i=i.substring(1)),i&&(d+=`?${i}`),d};function _(e){let t=e.body!==void 0;if(t&&e.bodySerializer)return"serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}var G=async(e,t)=>{let s=typeof t=="function"?await t(e):t;if(s)return e.scheme==="bearer"?`Bearer ${s}`:e.scheme==="basic"?`Basic ${btoa(s)}`:s};var X=({parameters:e={},...t}={})=>o=>{let a=[];if(o&&typeof o=="object")for(let p in o){let d=o[p];if(d==null)continue;let i=e[p]||t;if(Array.isArray(d)){let l=v({allowReserved:i.allowReserved,explode:!0,name:p,style:"form",value:d,...i.array});l&&a.push(l)}else if(typeof d=="object"){let l=I({allowReserved:i.allowReserved,explode:!0,name:p,style:"deepObject",value:d,...i.object});l&&a.push(l)}else{let l=x({allowReserved:i.allowReserved,name:p,value:d});l&&a.push(l)}}return a.join("&")},Y=e=>{if(!e)return"stream";let t=_optionalChain([e, 'access', _4 => _4.split, 'call', _5 => _5(";"), 'access', _6 => _6[0], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return"json";if(t==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(s=>t.startsWith(s)))return"blob";if(t.startsWith("text/"))return"text"}},ce=(e,t)=>t?!!(e.headers.has(t)||_optionalChain([e, 'access', _9 => _9.query, 'optionalAccess', _10 => _10[t]])||_optionalChain([e, 'access', _11 => _11.headers, 'access', _12 => _12.get, 'call', _13 => _13("Cookie"), 'optionalAccess', _14 => _14.includes, 'call', _15 => _15(`${t}=`)])):!1,Z=async({security:e,...t})=>{for(let s of e){if(ce(t,s.name))continue;let o=await G(s,t.auth);if(!o)continue;let a=_nullishCoalesce(s.name, () => ("Authorization"));switch(s.in){case"query":t.query||(t.query={}),t.query[a]=o;break;case"cookie":t.headers.append("Cookie",`${a}=${o}`);break;case"header":default:t.headers.set(a,o);break}}},L=e=>J({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:X(e.querySerializer),url:e.url}),K=(e,t)=>{let s={...e,...t};return _optionalChain([s, 'access', _16 => _16.baseUrl, 'optionalAccess', _17 => _17.endsWith, 'call', _18 => _18("/")])&&(s.baseUrl=s.baseUrl.substring(0,s.baseUrl.length-1)),s.headers=z(e.headers,t.headers),s},me=e=>{let t=[];return e.forEach((s,o)=>{t.push([o,s])}),t},z=(...e)=>{let t=new Headers;for(let s of e){if(!s)continue;let o=s instanceof Headers?me(s):Object.entries(s);for(let[a,p]of o)if(p===null)t.delete(a);else if(Array.isArray(p))for(let d of p)t.append(a,d);else p!==void 0&&t.set(a,typeof p=="object"?JSON.stringify(p):p)}return t},b=class{constructor(){this.fns=[]}clear(){this.fns=[]}eject(t){let s=this.getInterceptorIndex(t);this.fns[s]&&(this.fns[s]=null)}exists(t){let s=this.getInterceptorIndex(t);return!!this.fns[s]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,s){let o=this.getInterceptorIndex(t);return this.fns[o]?(this.fns[o]=s,t):!1}use(t){return this.fns.push(t),this.fns.length-1}},ee=()=>({error:new b,request:new b,response:new b}),he=X({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Oe={"Content-Type":"application/json"},U=(e={})=>({...V,headers:Oe,parseAs:"auto",querySerializer:he,...e});var k=(e={})=>{let t=K(U(),e),s=()=>({...t}),o=c=>(t=K(t,c),s()),a=ee(),p=async c=>{let n={...t,...c,fetch:_nullishCoalesce(_nullishCoalesce(c.fetch, () => (t.fetch)), () => (globalThis.fetch)),headers:z(t.headers,c.headers),serializedBody:void 0};n.security&&await Z({...n,security:n.security}),n.requestValidator&&await n.requestValidator(n),n.body!==void 0&&n.bodySerializer&&(n.serializedBody=n.bodySerializer(n.body)),(n.body===void 0||n.serializedBody==="")&&n.headers.delete("Content-Type");let g=n,S=L(g);return{opts:g,url:S}},d=async c=>{let{opts:n,url:g}=await p(c),S={redirect:"follow",...n,body:_(n)},R=new Request(g,S);for(let m of a.request.fns)m&&(R=await m(R,n));let P=n.fetch,u;try{u=await P(R)}catch(m){let O=m;for(let h of a.error.fns)h&&(O=await h(m,void 0,R,n));if(O=O||{},n.throwOnError)throw O;return n.responseStyle==="data"?void 0:{error:O,request:R,response:void 0}}for(let m of a.response.fns)m&&(u=await m(u,R,n));let w={request:R,response:u};if(u.ok){let m=_nullishCoalesce((n.parseAs==="auto"?Y(u.headers.get("Content-Type")):n.parseAs), () => ("json"));if(u.status===204||u.headers.get("Content-Length")==="0"){let h;switch(m){case"arrayBuffer":case"blob":case"text":h=await u[m]();break;case"formData":h=new FormData;break;case"stream":h=u.body;break;case"json":default:h={};break}return n.responseStyle==="data"?h:{data:h,...w}}let O;switch(m){case"arrayBuffer":case"blob":case"formData":case"text":O=await u[m]();break;case"json":{let h=await u.text();O=h?JSON.parse(h):{};break}case"stream":return n.responseStyle==="data"?u.body:{data:u.body,...w}}return m==="json"&&(n.responseValidator&&await n.responseValidator(O),n.responseTransformer&&(O=await n.responseTransformer(O))),n.responseStyle==="data"?O:{data:O,...w}}let C=await u.text(),f;try{f=JSON.parse(C)}catch (e4){}let E=_nullishCoalesce(f, () => (C)),D=E;for(let m of a.error.fns)m&&(D=await m(E,u,R,n));if(D=D||{},n.throwOnError)throw D;return n.responseStyle==="data"?void 0:{error:D,...w}},i=c=>n=>d({...n,method:c}),l=c=>async n=>{let{opts:g,url:S}=await p(n);return F({...g,body:g.body,headers:g.headers,method:c,onRequest:async(R,P)=>{let u=new Request(R,P);for(let w of a.request.fns)w&&(u=await w(u,g));return u},serializedBody:_(g),url:S})};return{buildUrl:c=>L({...t,...c}),connect:i("CONNECT"),delete:i("DELETE"),get:i("GET"),getConfig:s,head:i("HEAD"),interceptors:a,options:i("OPTIONS"),patch:i("PATCH"),post:i("POST"),put:i("PUT"),request:d,setConfig:o,sse:{connect:l("CONNECT"),delete:l("DELETE"),get:l("GET"),head:l("HEAD"),options:l("OPTIONS"),patch:l("PATCH"),post:l("POST"),put:l("PUT"),trace:l("TRACE")},trace:i("TRACE")}};var r=k(U({baseUrl:"https://product.services.rehive.com/api/"}));var ye=e=>(_nullishCoalesce(e.client, () => (r))).post({url:"/activate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _19 => _19.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e}),we=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Te=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Pe=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fe=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ee=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _20 => _20.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e}),Ae=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _21 => _21.client]), () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",..._optionalChain([e, 'optionalAccess', _22 => _22.headers])}}),Se=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _23 => _23.client]), () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",..._optionalChain([e, 'optionalAccess', _24 => _24.headers])}}),De=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _25 => _25.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/",...e}),xe=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/{code}/",...e}),Ce=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _26 => _26.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e}),be=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),ke=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),Me=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ie=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e}),ze=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),_e=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),Le=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ke=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),je=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _27 => _27.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e}),qe=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),We=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),Be=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),$e=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qe=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e}),He=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e}),Je=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e}),Xe=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),Ze=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),er=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),rr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),tr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e}),sr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),nr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ar=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e}),or=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ir=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),dr=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _28 => _28.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e}),lr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),ur=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),cr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e}),Or=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),yr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e}),gr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e,headers:{"Content-Type":"application/json",...e.headers}}),wr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e}),Rr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e}),Pr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Er=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Ar=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/",...e}),Sr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Dr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),xr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),Cr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),br=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ur=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),kr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),Mr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ir=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),zr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),Vr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),_r=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Lr=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),Kr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),jr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Wr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/",...e}),Br=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),$r=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Qr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Nr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Hr=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fr=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _29 => _29.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e}),Jr=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/{action_id}/",...e}),Xr=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _30 => _30.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/",...e}),Yr=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e}),Zr=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _31 => _31.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e}),tt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e,headers:{"Content-Type":"application/json",...e.headers}}),st=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/{identifier}/",...e}),nt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _32 => _32.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e}),at=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ot=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),it=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),dt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),lt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/actions/",...e}),ut=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{voucher_id}/actions/{action_id}/",...e}),ct=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/import/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ht=e=>(_nullishCoalesce(e.client, () => (r))).post({url:"/deactivate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ot=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _33 => _33.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/",...e}),yt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/{identifier}/",...e}),gt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _34 => _34.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/company/",...e}),wt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _35 => _35.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/",...e}),Rt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/{code}/",...e}),Tt=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _36 => _36.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e}),Pt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e}),Et=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),St=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e}),Dt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),Ct=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),bt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ut=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),kt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/",...e}),Mt=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vt=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),It=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),zt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),_t=e=>(_nullishCoalesce(e.client, () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/",...e}),Lt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e}),Kt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),jt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/items/",...e}),Wt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/payments/",...e}),Bt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/refunds/",...e}),$t=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/refunds/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e}),Nt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ht=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ft=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e}),Jt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Xt=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e}),Yt=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zt=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),es=e=>(_nullishCoalesce(e.client, () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/",...e}),rs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ts=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ss=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ns=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),as=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),os=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/categories/",...e}),is=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ds=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/options/",...e}),ls=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/options/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ps=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/prices/",...e}),us=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),cs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/variants/",...e}),ms=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/variants/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hs=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),Os=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),ys=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/",...e}),gs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ws=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Rs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Ts=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ps=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fs=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),Es=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),As=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ss=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ds=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),xs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),Cs=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),bs=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Us=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),ks=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),Ms=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vs=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Is=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/",...e}),zs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Vs=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),_s=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Ls=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ks=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),js=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/",...e}),qs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ws=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/{action_id}/",...e}),Bs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/",...e}),$s=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/{identifier}/",...e}),Ns=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher/import/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Hs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/",...e}),Fs=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Js=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Gs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Xs=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ys=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Zs=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/",...e}),en=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/{action_id}/",...e}),rn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),tn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _37 => _37.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/",...e}),sn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/{identifier}/",...e}),nn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _38 => _38.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/company/",...e}),an=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _39 => _39.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e}),on=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),dn=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),ln=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),pn=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),un=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),cn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e}),mn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e}),On=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),yn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/refunds/",...e}),gn=e=>(_nullishCoalesce(e.client, () => (r))).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),wn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),Rn=e=>(_nullishCoalesce(e.client, () => (r))).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tn=e=>(_nullishCoalesce(e.client, () => (r))).put({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Pn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/payments/{payment_id}/",...e}),fn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/refunds/{refund_id}/",...e}),En=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _40 => _40.client]), () => (r))).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/",...e}),An=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/",...e}),Sn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/prices/",...e}),Dn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/variants/",...e}),xn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/",...e}),Cn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/{image_id}/",...e}),bn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/prices/{price_id}/",...e}),Un=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/variants/{variant_id}/",...e}),kn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _41 => _41.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e}),Mn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/{action_id}/",...e}),In=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _42 => _42.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/",...e}),zn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/{seller_id}/",...e}),Vn=e=>(_nullishCoalesce(_optionalChain([e, 'optionalAccess', _43 => _43.client]), () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/",...e}),_n=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/",...e}),Ln=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/actions/",...e}),Kn=e=>(_nullishCoalesce(e.client, () => (r))).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{voucher_id}/actions/{action_id}/",...e}),jn=e=>(_nullishCoalesce(e.client, () => (r))).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qn=e=>(_nullishCoalesce(e.client, () => (r))).post({url:"/webhook/",...e,headers:{"Content-Type":"application/json",...e.headers}});function Wn(e){let t=k(_chunkGR5TETAUjs.c.call(void 0, e,"https://product.services.rehive.com/api/"));return _chunkGR5TETAUjs.a.call(void 0, j,t)}exports.createProductsApi = Wn;