rehive 4.2.0 → 4.2.2
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.
- package/README.md +17 -0
- package/dist/admin.d.mts +614 -116
- package/dist/admin.d.ts +614 -116
- package/dist/admin.js +1 -1
- package/dist/admin.mjs +1 -1
- package/dist/auth.d.mts +2 -2
- package/dist/auth.d.ts +2 -2
- package/dist/auth.js +1 -1
- package/dist/auth.mjs +1 -1
- package/dist/chunk-647XG2KN.js +1 -0
- package/dist/{chunk-PCR54D6A.mjs → chunk-A53KSFBA.mjs} +1 -1
- package/dist/chunk-BAUHEOL5.mjs +1 -0
- package/dist/chunk-CRNPJD3E.js +6 -0
- package/dist/{chunk-ERD2XKSM.js → chunk-HXAEBUQM.js} +1 -1
- package/dist/chunk-IJBXROTB.mjs +6 -0
- package/dist/chunk-TAABJLJG.mjs +6 -0
- package/dist/chunk-Y33FT632.js +6 -0
- package/dist/{create-api-client-ADSlg8HX.d.ts → create-api-client-DzUaFuXN.d.ts} +1 -1
- package/dist/{create-api-client-B4Q01gHp.d.mts → create-api-client-JpNvOfh9.d.mts} +1 -1
- package/dist/{create-auth-CT_IFt3T.d.mts → create-auth-D-3te_Jw.d.mts} +111 -55
- package/dist/{create-auth-CT_IFt3T.d.ts → create-auth-D-3te_Jw.d.ts} +111 -55
- package/dist/extensions/alchemy.d.mts +175 -41
- package/dist/extensions/alchemy.d.ts +175 -41
- package/dist/extensions/alchemy.js +5 -6
- package/dist/extensions/alchemy.mjs +5 -6
- package/dist/extensions/app.d.mts +11 -10
- package/dist/extensions/app.d.ts +11 -10
- package/dist/extensions/app.js +5 -6
- package/dist/extensions/app.mjs +5 -6
- package/dist/extensions/billing.d.mts +11 -10
- package/dist/extensions/billing.d.ts +11 -10
- package/dist/extensions/billing.js +5 -6
- package/dist/extensions/billing.mjs +5 -6
- package/dist/extensions/bridge.d.mts +537 -38
- package/dist/extensions/bridge.d.ts +537 -38
- package/dist/extensions/bridge.js +5 -6
- package/dist/extensions/bridge.mjs +5 -6
- package/dist/extensions/builder.d.mts +8 -7
- package/dist/extensions/builder.d.ts +8 -7
- package/dist/extensions/builder.js +5 -6
- package/dist/extensions/builder.mjs +5 -6
- package/dist/extensions/business.d.mts +99 -63
- package/dist/extensions/business.d.ts +99 -63
- package/dist/extensions/business.js +5 -6
- package/dist/extensions/business.mjs +5 -6
- package/dist/extensions/conversion.d.mts +10 -9
- package/dist/extensions/conversion.d.ts +10 -9
- package/dist/extensions/conversion.js +5 -6
- package/dist/extensions/conversion.mjs +5 -6
- package/dist/extensions/mass-send.d.mts +8 -7
- package/dist/extensions/mass-send.d.ts +8 -7
- package/dist/extensions/mass-send.js +5 -6
- package/dist/extensions/mass-send.mjs +5 -6
- package/dist/extensions/notifications.d.mts +16 -15
- package/dist/extensions/notifications.d.ts +16 -15
- package/dist/extensions/notifications.js +5 -6
- package/dist/extensions/notifications.mjs +5 -6
- package/dist/extensions/payment-requests.d.mts +15 -10
- package/dist/extensions/payment-requests.d.ts +15 -10
- package/dist/extensions/payment-requests.js +5 -6
- package/dist/extensions/payment-requests.mjs +5 -6
- package/dist/extensions/products.d.mts +43 -42
- package/dist/extensions/products.d.ts +43 -42
- package/dist/extensions/products.js +5 -6
- package/dist/extensions/products.mjs +5 -6
- package/dist/extensions/rain.d.mts +22 -21
- package/dist/extensions/rain.d.ts +22 -21
- package/dist/extensions/rain.js +5 -6
- package/dist/extensions/rain.mjs +5 -6
- package/dist/extensions/rewards.d.mts +8 -7
- package/dist/extensions/rewards.d.ts +8 -7
- package/dist/extensions/rewards.js +5 -6
- package/dist/extensions/rewards.mjs +5 -6
- package/dist/extensions/stellar-testnet.d.mts +16 -15
- package/dist/extensions/stellar-testnet.d.ts +16 -15
- package/dist/extensions/stellar-testnet.js +5 -6
- package/dist/extensions/stellar-testnet.mjs +5 -6
- package/dist/extensions/stellar.d.mts +16 -15
- package/dist/extensions/stellar.d.ts +16 -15
- package/dist/extensions/stellar.js +5 -6
- package/dist/extensions/stellar.mjs +5 -6
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/user.d.mts +21 -10
- package/dist/user.d.ts +21 -10
- package/dist/user.js +1 -1
- package/dist/user.mjs +1 -1
- package/package.json +3 -3
- package/src/auth/create-auth.ts +16 -9
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/index.ts +2 -2
- package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +44 -2
- package/src/extensions/alchemy/openapi-ts/types.gen.ts +177 -34
- package/src/extensions/app/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/app/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/app/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/app/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/app/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/types.gen.ts +3 -3
- package/src/extensions/billing/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/billing/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/billing/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/billing/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/billing/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/types.gen.ts +3 -3
- package/src/extensions/bridge/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/bridge/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/bridge/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/bridge/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/index.ts +2 -2
- package/src/extensions/bridge/openapi-ts/sdk.gen.ts +90 -2
- package/src/extensions/bridge/openapi-ts/types.gen.ts +572 -29
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/builder/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/builder/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/builder/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/builder/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/business/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/business/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/business/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/business/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/types.gen.ts +91 -56
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/conversion/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/conversion/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/conversion/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/types.gen.ts +2 -2
- package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/notifications/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/notifications/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/notifications/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/types.gen.ts +8 -8
- package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/types.gen.ts +7 -3
- package/src/extensions/products/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/products/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/products/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/products/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/products/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/types.gen.ts +35 -35
- package/src/extensions/rain/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/rain/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/rain/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/rain/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/rain/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/types.gen.ts +14 -14
- package/src/extensions/rewards/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/rewards/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/rewards/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/rewards/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/stellar/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/stellar/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/stellar/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/types.gen.ts +8 -8
- package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +8 -8
- package/src/platform/admin/openapi-ts/client/client.gen.ts +17 -7
- package/src/platform/admin/openapi-ts/client/types.gen.ts +2 -1
- package/src/platform/admin/openapi-ts/client/utils.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/platform/admin/openapi-ts/core/params.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/platform/admin/openapi-ts/core/types.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/core/utils.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/index.ts +2 -2
- package/src/platform/admin/openapi-ts/sdk.gen.ts +54 -12
- package/src/platform/admin/openapi-ts/types.gen.ts +623 -107
- package/src/platform/user/openapi-ts/client/client.gen.ts +17 -7
- package/src/platform/user/openapi-ts/client/types.gen.ts +2 -1
- package/src/platform/user/openapi-ts/client/utils.gen.ts +1 -1
- package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/platform/user/openapi-ts/core/params.gen.ts +1 -1
- package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/platform/user/openapi-ts/core/types.gen.ts +1 -1
- package/src/platform/user/openapi-ts/core/utils.gen.ts +1 -1
- package/src/platform/user/openapi-ts/index.ts +2 -2
- package/src/platform/user/openapi-ts/sdk.gen.ts +30 -4
- package/src/platform/user/openapi-ts/types.gen.ts +116 -52
- package/dist/chunk-7USVOK77.js +0 -7
- package/dist/chunk-G3M5QMRX.js +0 -1
- package/dist/chunk-HSPTEN45.mjs +0 -1
- package/dist/chunk-HWXE5WBF.js +0 -7
- package/dist/chunk-MUN3POSM.mjs +0 -7
- package/dist/chunk-ZUZHOLAX.mjs +0 -7
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import{a as N,c as H}from"../chunk-S5UXBHRU.mjs";import{a as ae}from"../chunk-S4QKN5WW.mjs";var j={};ae(j,{activateCreate:()=>
|
|
2
|
-
`).
|
|
3
|
-
`);let W=x.split(`
|
|
1
|
+
import{a as N,c as H}from"../chunk-S5UXBHRU.mjs";import{a as ae}from"../chunk-S4QKN5WW.mjs";var j={};ae(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=l??(P=>new Promise(u=>setTimeout(u,P)));return{stream:async function*(){let P=p??3e3,u=0,w=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(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{}};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,`
|
|
2
|
+
`);let W=h.split(`
|
|
4
3
|
|
|
5
|
-
`);
|
|
6
|
-
`),M=[],B;for(let
|
|
7
|
-
`);try{E=JSON.parse(R),$=!0}catch{E=R}}$&&(a&&await a(E),o&&(E=await o(E))),s?.({data:E,event:B,id:y,retry:c}),M.length&&(yield E)}}}finally{P.removeEventListener("abort",q),O.releaseLock()}break}catch(f){if(t?.(f),d!==void 0&&g>=d)break;let T=Math.min(c*2**(g-1),i??3e4);await D(T)}}}()}};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):A({allowReserved:e,name:s,value:i})).join(p);return o==="label"||o==="matrix"?p+d:d},A=({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(([n,y])=>{l=[...l,n,e?y:encodeURIComponent(y)]});let u=l.join(",");switch(o){case"form":return`${s}=${u}`;case"label":return`.${u}`;case"matrix":return`;${s}=${u}`;default:return u}}let d=le(o),i=Object.entries(a).map(([l,u])=>A({allowReserved:e,name:o==="deepObject"?`${s}[${l}]`:l,value:u})).join(d);return o==="label"||o==="matrix"?d+i:i};var pe=/\{[^{}]+\}/g,ce=({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,`;${A({name:d,value:l})}`);continue}let u=encodeURIComponent(i==="label"?`.${l}`:l);s=s.replace(a,u)}return s},J=({baseUrl:e,path:t,query:s,querySerializer:o,url:a})=>{let p=a.startsWith("/")?a:`/${a}`,d=(e??"")+p;t&&(d=ce({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=A({allowReserved:i.allowReserved,name:p,value:d});l&&a.push(l)}}return a.join("&")},Y=e=>{if(!e)return"stream";let t=e.split(";")[0]?.trim();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"}},ue=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):!1,Z=async({security:e,...t})=>{for(let s of e){if(ue(t,s.name))continue;let o=await G(s,t.auth);if(!o)continue;let a=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 s.baseUrl?.endsWith("/")&&(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"}}),ye={"Content-Type":"application/json"},b=(e={})=>({...V,headers:ye,parseAs:"auto",querySerializer:he,...e});var U=(e={})=>{let t=K(b(),e),s=()=>({...t}),o=u=>(t=K(t,u),s()),a=ee(),p=async u=>{let n={...t,...u,fetch:u.fetch??t.fetch??globalThis.fetch,headers:z(t.headers,u.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 y=L(n);return{opts:n,url:y}},d=async u=>{let{opts:n,url:y}=await p(u),D={redirect:"follow",...n,body:_(n)},w=new Request(y,D);for(let h of a.request.fns)h&&(w=await h(w,n));let k=n.fetch,c;try{c=await k(w)}catch(h){let m=h;for(let O of a.error.fns)O&&(m=await O(h,void 0,w,n));if(m=m||{},n.throwOnError)throw m;return n.responseStyle==="data"?void 0:{error:m,request:w,response:void 0}}for(let h of a.response.fns)h&&(c=await h(c,w,n));let g={request:w,response:c};if(c.ok){let h=(n.parseAs==="auto"?Y(c.headers.get("Content-Type")):n.parseAs)??"json";if(c.status===204||c.headers.get("Content-Length")==="0"){let O;switch(h){case"arrayBuffer":case"blob":case"text":O=await c[h]();break;case"formData":O=new FormData;break;case"stream":O=c.body;break;case"json":default:O={};break}return n.responseStyle==="data"?O:{data:O,...g}}let m;switch(h){case"arrayBuffer":case"blob":case"formData":case"text":m=await c[h]();break;case"json":{let O=await c.text();m=O?JSON.parse(O):{};break}case"stream":return n.responseStyle==="data"?c.body:{data:c.body,...g}}return h==="json"&&(n.responseValidator&&await n.responseValidator(m),n.responseTransformer&&(m=await n.responseTransformer(m))),n.responseStyle==="data"?m:{data:m,...g}}let P=await c.text(),S;try{S=JSON.parse(P)}catch{}let f=S??P,T=f;for(let h of a.error.fns)h&&(T=await h(f,c,w,n));if(T=T||{},n.throwOnError)throw T;return n.responseStyle==="data"?void 0:{error:T,...g}},i=u=>n=>d({...n,method:u}),l=u=>async n=>{let{opts:y,url:D}=await p(n);return F({...y,body:y.body,headers:y.headers,method:u,onRequest:async(w,k)=>{let c=new Request(w,k);for(let g of a.request.fns)g&&(c=await g(c,y));return c},serializedBody:_(y),url:D})};return{buildUrl:L,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 Oe=e=>(e.client??r).post({url:"/activate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e}),we=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Te=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Pe=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fe=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ee=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e}),Ae=e=>(e?.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",...e?.headers}}),De=e=>(e?.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Se=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/",...e}),xe=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/{code}/",...e}),Ce=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e}),be=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),ke=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),Me=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ie=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e}),ze=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),_e=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),Le=e=>(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=>(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=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e}),qe=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),We=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),Be=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),$e=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qe=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e}),He=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e}),Je=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e}),Xe=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),Ze=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),er=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e}),sr=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e}),or=e=>(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=>(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=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e}),lr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pr=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),cr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),ur=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mr=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e}),yr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Or=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e}),gr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e,headers:{"Content-Type":"application/json",...e.headers}}),wr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e}),Rr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e}),Pr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fr=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Er=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Ar=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/",...e}),Dr=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),xr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),Cr=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),kr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),Mr=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),zr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),Vr=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),Kr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),jr=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/",...e}),Br=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Qr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Nr=e=>(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=>(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=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e}),Jr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/{action_id}/",...e}),Xr=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/",...e}),Yr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e}),Zr=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e}),tt=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e,headers:{"Content-Type":"application/json",...e.headers}}),st=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/{identifier}/",...e}),nt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e}),at=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ot=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),it=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),dt=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),lt=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/actions/",...e}),ct=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{voucher_id}/actions/{action_id}/",...e}),ut=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/import/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ht=e=>(e.client??r).post({url:"/deactivate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),yt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/",...e}),Ot=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/{identifier}/",...e}),gt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/company/",...e}),wt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/",...e}),Rt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/{code}/",...e}),Tt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e}),Pt=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e}),Et=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Dt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e}),St=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),Ct=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),bt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/",...e}),Mt=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),It=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),zt=e=>(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=>(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=>(e.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/",...e}),Lt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e}),Kt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/items/",...e}),Wt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/payments/",...e}),Bt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/refunds/",...e}),$t=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e}),Nt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e}),Jt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e}),Yt=e=>(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=>(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=>(e.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/",...e}),rs=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ss=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ns=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/categories/",...e}),is=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/options/",...e}),ls=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/prices/",...e}),cs=e=>(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}}),us=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/variants/",...e}),ms=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),ys=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),Os=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/",...e}),gs=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Rs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Ts=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),Es=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),As=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),xs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),Cs=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),ks=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),Ms=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/",...e}),zs=e=>(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=>(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=>(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=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/",...e}),qs=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/{action_id}/",...e}),Bs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/",...e}),$s=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/{identifier}/",...e}),Ns=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/",...e}),Fs=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Gs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Xs=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/",...e}),en=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/{action_id}/",...e}),rn=e=>(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=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/",...e}),sn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/{identifier}/",...e}),nn=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/company/",...e}),an=e=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e}),on=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),dn=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),ln=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),pn=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),cn=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),un=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e}),mn=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e}),yn=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),On=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/refunds/",...e}),gn=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),wn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),Rn=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/payments/{payment_id}/",...e}),fn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/refunds/{refund_id}/",...e}),En=e=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/",...e}),An=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/",...e}),Dn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/prices/",...e}),Sn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/variants/",...e}),xn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/",...e}),Cn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/{image_id}/",...e}),bn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/prices/{price_id}/",...e}),Un=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/variants/{variant_id}/",...e}),kn=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e}),Mn=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/{action_id}/",...e}),In=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/",...e}),zn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/{seller_id}/",...e}),Vn=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/",...e}),_n=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/",...e}),Ln=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/actions/",...e}),Kn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{voucher_id}/actions/{action_id}/",...e}),jn=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qn=e=>(e.client??r).post({url:"/webhook/",...e,headers:{"Content-Type":"application/json",...e.headers}});function Wn(e){let t=U(H(e,"https://product.services.rehive.com/api/"));return N(j,t)}export{Wn as createProductsApi};
|
|
4
|
+
`);h=W.pop()??"";for(let se of W){let ne=se.split(`
|
|
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(`
|
|
6
|
+
`);try{A=JSON.parse(T),$=!0}catch{A=T}}$&&(a&&await a(A),o&&(A=await o(A))),s?.({data:A,event:B,id:n,retry:P}),M.length&&(yield A)}}}finally{w.removeEventListener("abort",q),O.releaseLock()}break}catch(f){if(t?.(f),d!==void 0&&u>=d)break;let E=Math.min(P*2**(u-1),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=(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=e.split(";")[0]?.trim();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)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${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=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 s.baseUrl?.endsWith("/")&&(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: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=(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{}let E=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=>(e.client??r).post({url:"/activate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ge=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e}),we=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Re=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Te=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e}),Pe=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fe=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/categories/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ee=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e}),Ae=e=>(e?.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",...e?.headers}}),Se=e=>(e?.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/company/",...e,headers:{"Content-Type":"application/json",...e?.headers}}),De=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/",...e}),xe=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/currencies/{code}/",...e}),Ce=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e}),be=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ue=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),ke=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e}),Me=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ve=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ie=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e}),ze=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{identifier}/webhooks/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ve=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),_e=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/integrations/{integration_id}/webhooks{webhook_id}/",...e}),Le=e=>(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=>(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=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e}),qe=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),We=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),Be=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e}),$e=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Qe=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ne=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e}),He=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Fe=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e}),Je=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ge=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e}),Xe=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{identifier}/refunds/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ye=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),Ze=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/items/{item_id}/",...e}),er=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/payments/{payment_id}/",...e}),sr=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/orders/{order_id}/refunds/{refund_id}/",...e}),or=e=>(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=>(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=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e}),lr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pr=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),ur=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e}),cr=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mr=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e}),Or=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/categories/",...e,headers:{"Content-Type":"application/json",...e.headers}}),yr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e}),gr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/options/",...e,headers:{"Content-Type":"application/json",...e.headers}}),wr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e}),Rr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/prices/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e}),Pr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{identifier}/variants/",...e,headers:{"Content-Type":"application/json",...e.headers}}),fr=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Er=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/categories/{category_id}/",...e}),Ar=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/",...e}),Sr=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),xr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/images/{image_id}/",...e}),Cr=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),kr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/options/{option_id}/",...e}),Mr=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),zr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/prices/{price_id}/",...e}),Vr=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),Kr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/",...e}),jr=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/",...e}),Br=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Qr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/",...e}),Nr=e=>(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=>(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=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e}),Jr=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Gr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/redemptions/{action_id}/",...e}),Xr=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/",...e}),Yr=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e}),Zr=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),et=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),rt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e}),tt=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/",...e,headers:{"Content-Type":"application/json",...e.headers}}),st=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/voucher-imports/{identifier}/",...e}),nt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e}),at=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ot=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),it=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e}),dt=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),lt=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),pt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{identifier}/actions/",...e}),ut=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/{voucher_id}/actions/{action_id}/",...e}),ct=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/import/",...e,headers:{"Content-Type":"application/json",...e.headers}}),mt=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/admin/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ht=e=>(e.client??r).post({url:"/deactivate/",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ot=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/",...e}),yt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/categories/{identifier}/",...e}),gt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/company/",...e}),wt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/",...e}),Rt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/currencies/{code}/",...e}),Tt=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e}),Pt=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/",...e,headers:{"Content-Type":"application/json",...e.headers}}),ft=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e}),Et=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),At=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),St=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e}),Dt=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{identifier}/integrations/",...e,headers:{"Content-Type":"application/json",...e.headers}}),xt=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),Ct=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/",...e}),bt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/",...e}),Mt=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),It=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/",...e}),zt=e=>(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=>(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=>(e.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/",...e}),Lt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/",...e}),Kt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/items/",...e}),Wt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/payments/",...e}),Bt=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{identifier}/refunds/",...e}),$t=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/",...e}),Nt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/",...e}),Jt=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/",...e}),Yt=e=>(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=>(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=>(e.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/",...e}),rs=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ss=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/",...e}),ns=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/categories/",...e}),is=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/options/",...e}),ls=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/prices/",...e}),us=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{identifier}/variants/",...e}),ms=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),Os=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/",...e}),ys=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/",...e}),gs=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Rs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/",...e}),Ts=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),Es=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/",...e}),As=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),xs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/",...e}),Cs=e=>(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=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),ks=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/",...e}),Ms=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/",...e}),zs=e=>(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=>(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=>(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=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/",...e}),qs=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/redemptions/{action_id}/",...e}),Bs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/",...e}),$s=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/voucher-imports/{identifier}/",...e}),Ns=e=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/",...e}),Fs=e=>(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=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Gs=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{identifier}/",...e}),Xs=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/",...e}),en=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/{action_id}/",...e}),rn=e=>(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=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/",...e}),sn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/categories/{identifier}/",...e}),nn=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/company/",...e}),an=e=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e}),on=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/",...e,headers:{"Content-Type":"application/json",...e.headers}}),dn=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),ln=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e}),pn=e=>(e.client??r).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),un=e=>(e.client??r).put({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/",...e,headers:{"Content-Type":"application/json",...e.headers}}),cn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e}),mn=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/items/",...e,headers:{"Content-Type":"application/json",...e.headers}}),hn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e}),On=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/payments/",...e,headers:{"Content-Type":"application/json",...e.headers}}),yn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{identifier}/refunds/",...e}),gn=e=>(e.client??r).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),wn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/items/{item_id}/",...e}),Rn=e=>(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=>(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=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/payments/{payment_id}/",...e}),fn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/orders/{order_id}/refunds/{refund_id}/",...e}),En=e=>(e?.client??r).get({querySerializer:{parameters:{orderby:{array:{explode:!1}}}},security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/",...e}),An=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/",...e}),Sn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/prices/",...e}),Dn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{identifier}/variants/",...e}),xn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/",...e}),Cn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/images/{image_id}/",...e}),bn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/prices/{price_id}/",...e}),Un=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/products/{product_id}/variants/{variant_id}/",...e}),kn=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e}),Mn=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/",...e,headers:{"Content-Type":"application/json",...e.headers}}),vn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/redemptions/{action_id}/",...e}),In=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/",...e}),zn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/sellers/{seller_id}/",...e}),Vn=e=>(e?.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/",...e}),_n=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/",...e}),Ln=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{identifier}/actions/",...e}),Kn=e=>(e.client??r).get({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/{voucher_id}/actions/{action_id}/",...e}),jn=e=>(e.client??r).post({security:[{name:"Authorization",type:"apiKey"}],url:"/user/vouchers/query/",...e,headers:{"Content-Type":"application/json",...e.headers}}),qn=e=>(e.client??r).post({url:"/webhook/",...e,headers:{"Content-Type":"application/json",...e.headers}});function Wn(e){let t=k(H(e,"https://product.services.rehive.com/api/"));return N(j,t)}export{Wn as createProductsApi};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiFactoryConfig, B as BoundSdk } from '../create-api-client-
|
|
2
|
-
import '../create-auth-
|
|
1
|
+
import { A as ApiFactoryConfig, B as BoundSdk } from '../create-api-client-JpNvOfh9.mjs';
|
|
2
|
+
import '../create-auth-D-3te_Jw.mjs';
|
|
3
3
|
|
|
4
4
|
type AuthToken = string | undefined;
|
|
5
5
|
interface Auth {
|
|
@@ -30,7 +30,7 @@ type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
|
|
|
30
30
|
type ObjectStyle = 'form' | 'deepObject';
|
|
31
31
|
|
|
32
32
|
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
33
|
-
type BodySerializer = (body:
|
|
33
|
+
type BodySerializer = (body: unknown) => unknown;
|
|
34
34
|
type QuerySerializerOptionsObject = {
|
|
35
35
|
allowReserved?: boolean;
|
|
36
36
|
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
@@ -105,7 +105,7 @@ interface Config$1 {
|
|
|
105
105
|
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
106
106
|
/**
|
|
107
107
|
* A function transforming response data before it's returned. This is useful
|
|
108
|
-
* for post-processing data, e.g
|
|
108
|
+
* for post-processing data, e.g., converting ISO strings into Date objects.
|
|
109
109
|
*/
|
|
110
110
|
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
111
111
|
/**
|
|
@@ -265,6 +265,7 @@ interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle =
|
|
|
265
265
|
url: Url;
|
|
266
266
|
}
|
|
267
267
|
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'data', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
268
|
+
headers: Headers;
|
|
268
269
|
serializedBody?: string;
|
|
269
270
|
}
|
|
270
271
|
type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'data'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
|
|
@@ -287,7 +288,7 @@ interface ClientOptions$1 {
|
|
|
287
288
|
throwOnError?: boolean;
|
|
288
289
|
}
|
|
289
290
|
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
290
|
-
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<
|
|
291
|
+
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
|
|
291
292
|
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
292
293
|
type BuildUrlFn = <TData extends {
|
|
293
294
|
body?: unknown;
|
|
@@ -341,7 +342,7 @@ type AdminCard = {
|
|
|
341
342
|
* * `virtual` - Virtual
|
|
342
343
|
* * `physical` - Physical
|
|
343
344
|
*/
|
|
344
|
-
type: 'virtual' | 'physical';
|
|
345
|
+
readonly type: 'virtual' | 'physical';
|
|
345
346
|
readonly rain_id: string | null;
|
|
346
347
|
readonly created: number;
|
|
347
348
|
readonly updated: number;
|
|
@@ -360,7 +361,7 @@ type AdminCompany = {
|
|
|
360
361
|
* * `test` - Test
|
|
361
362
|
* * `production` - Production
|
|
362
363
|
*/
|
|
363
|
-
mode: 'test' | 'production';
|
|
364
|
+
readonly mode: 'test' | 'production';
|
|
364
365
|
readonly operational_account: string | null;
|
|
365
366
|
rain_api_key: string;
|
|
366
367
|
};
|
|
@@ -409,7 +410,7 @@ type AdminExtendedCard = {
|
|
|
409
410
|
* * `virtual` - Virtual
|
|
410
411
|
* * `physical` - Physical
|
|
411
412
|
*/
|
|
412
|
-
type: 'virtual' | 'physical';
|
|
413
|
+
readonly type: 'virtual' | 'physical';
|
|
413
414
|
readonly rain_id: string | null;
|
|
414
415
|
/**
|
|
415
416
|
* * `notActivated` - Not Activated
|
|
@@ -417,7 +418,7 @@ type AdminExtendedCard = {
|
|
|
417
418
|
* * `locked` - Locked
|
|
418
419
|
* * `canceled` - Canceled
|
|
419
420
|
*/
|
|
420
|
-
status: 'notActivated' | 'active' | 'locked' | 'canceled';
|
|
421
|
+
readonly status: 'notActivated' | 'active' | 'locked' | 'canceled';
|
|
421
422
|
readonly last_4: string;
|
|
422
423
|
readonly expiration_month: string;
|
|
423
424
|
readonly expiration_year: string;
|
|
@@ -442,7 +443,7 @@ type AdminUpdateCompany = {
|
|
|
442
443
|
* * `test` - Test
|
|
443
444
|
* * `production` - Production
|
|
444
445
|
*/
|
|
445
|
-
mode: 'test' | 'production';
|
|
446
|
+
readonly mode: 'test' | 'production';
|
|
446
447
|
operational_account?: string | null;
|
|
447
448
|
rain_api_key?: string;
|
|
448
449
|
};
|
|
@@ -556,7 +557,7 @@ type PatchedAdminUpdateCompany = {
|
|
|
556
557
|
* * `test` - Test
|
|
557
558
|
* * `production` - Production
|
|
558
559
|
*/
|
|
559
|
-
mode?: 'test' | 'production';
|
|
560
|
+
readonly mode?: 'test' | 'production';
|
|
560
561
|
operational_account?: string | null;
|
|
561
562
|
rain_api_key?: string;
|
|
562
563
|
};
|
|
@@ -863,7 +864,7 @@ type UserApplication = {
|
|
|
863
864
|
* * `ZM` - Zambia
|
|
864
865
|
* * `ZW` - Zimbabwe
|
|
865
866
|
*/
|
|
866
|
-
nationality: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | null;
|
|
867
|
+
readonly nationality: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | null;
|
|
867
868
|
readonly email: string | null;
|
|
868
869
|
readonly address: {
|
|
869
870
|
[key: string]: unknown;
|
|
@@ -878,7 +879,7 @@ type UserApplication = {
|
|
|
878
879
|
* * `canceled` - Canceled
|
|
879
880
|
* * `approved` - Approved
|
|
880
881
|
*/
|
|
881
|
-
status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
|
|
882
|
+
readonly status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
|
|
882
883
|
readonly completion_link: string | null;
|
|
883
884
|
readonly verification_link: string | null;
|
|
884
885
|
readonly errors: Array<string> | null;
|
|
@@ -904,7 +905,7 @@ type UserCard = {
|
|
|
904
905
|
* * `virtual` - Virtual
|
|
905
906
|
* * `physical` - Physical
|
|
906
907
|
*/
|
|
907
|
-
type: 'virtual' | 'physical';
|
|
908
|
+
readonly type: 'virtual' | 'physical';
|
|
908
909
|
readonly rain_id: string | null;
|
|
909
910
|
readonly created: number;
|
|
910
911
|
readonly updated: number;
|
|
@@ -1194,7 +1195,7 @@ type UserCreateApplication = {
|
|
|
1194
1195
|
* * `ZM` - Zambia
|
|
1195
1196
|
* * `ZW` - Zimbabwe
|
|
1196
1197
|
*/
|
|
1197
|
-
nationality: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | null;
|
|
1198
|
+
readonly nationality: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | null;
|
|
1198
1199
|
readonly email: string | null;
|
|
1199
1200
|
readonly address: {
|
|
1200
1201
|
[key: string]: unknown;
|
|
@@ -1209,7 +1210,7 @@ type UserCreateApplication = {
|
|
|
1209
1210
|
* * `canceled` - Canceled
|
|
1210
1211
|
* * `approved` - Approved
|
|
1211
1212
|
*/
|
|
1212
|
-
status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
|
|
1213
|
+
readonly status: 'pending' | 'needsInformation' | 'needsVerification' | 'manualReview' | 'denied' | 'locked' | 'canceled' | 'approved' | null;
|
|
1213
1214
|
readonly completion_link: string | null;
|
|
1214
1215
|
readonly verification_link: string | null;
|
|
1215
1216
|
readonly errors: Array<string> | null;
|
|
@@ -1231,7 +1232,7 @@ type UserCreateCard = {
|
|
|
1231
1232
|
* * `virtual` - Virtual
|
|
1232
1233
|
* * `physical` - Physical
|
|
1233
1234
|
*/
|
|
1234
|
-
type: 'virtual' | 'physical';
|
|
1235
|
+
readonly type: 'virtual' | 'physical';
|
|
1235
1236
|
readonly rain_id: string | null;
|
|
1236
1237
|
readonly created: number;
|
|
1237
1238
|
readonly updated: number;
|
|
@@ -1250,7 +1251,7 @@ type UserExtendedCard = {
|
|
|
1250
1251
|
* * `virtual` - Virtual
|
|
1251
1252
|
* * `physical` - Physical
|
|
1252
1253
|
*/
|
|
1253
|
-
type: 'virtual' | 'physical';
|
|
1254
|
+
readonly type: 'virtual' | 'physical';
|
|
1254
1255
|
readonly rain_id: string | null;
|
|
1255
1256
|
/**
|
|
1256
1257
|
* * `notActivated` - Not Activated
|
|
@@ -1258,7 +1259,7 @@ type UserExtendedCard = {
|
|
|
1258
1259
|
* * `locked` - Locked
|
|
1259
1260
|
* * `canceled` - Canceled
|
|
1260
1261
|
*/
|
|
1261
|
-
status: 'notActivated' | 'active' | 'locked' | 'canceled';
|
|
1262
|
+
readonly status: 'notActivated' | 'active' | 'locked' | 'canceled';
|
|
1262
1263
|
readonly last_4: string;
|
|
1263
1264
|
readonly expiration_month: string;
|
|
1264
1265
|
readonly expiration_year: string;
|
|
@@ -1819,7 +1820,7 @@ type WebhookCreateResponses = {
|
|
|
1819
1820
|
};
|
|
1820
1821
|
type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|
|
1821
1822
|
|
|
1822
|
-
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
1823
|
+
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
1823
1824
|
/**
|
|
1824
1825
|
* You can provide a client instance returned by `createClient()` instead of
|
|
1825
1826
|
* individual options. This might be also useful if you want to implement a
|
|
@@ -1859,7 +1860,7 @@ declare const userCardsPinPartialUpdate: <ThrowOnError extends boolean = false>(
|
|
|
1859
1860
|
declare const userCardsPinUpdate: <ThrowOnError extends boolean = false>(options: Options<UserCardsPinUpdateData, ThrowOnError>) => RequestResult<UserCardsPinUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1860
1861
|
declare const webhookCreate: <ThrowOnError extends boolean = false>(options: Options<WebhookCreateData, ThrowOnError>) => RequestResult<WebhookCreateResponses, unknown, ThrowOnError, "data">;
|
|
1861
1862
|
|
|
1862
|
-
type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError>;
|
|
1863
|
+
type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options<TData, ThrowOnError, TResponse>;
|
|
1863
1864
|
declare const sdk_activateCreate: typeof activateCreate;
|
|
1864
1865
|
declare const sdk_adminCardsList: typeof adminCardsList;
|
|
1865
1866
|
declare const sdk_adminCardsRetrieve: typeof adminCardsRetrieve;
|