@polar-sh/sdk 0.40.2 → 0.40.3
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 +38 -22
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js +0 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesList.js +0 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js +0 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersList.js +0 -1
- package/dist/commonjs/funcs/customerPortalOrdersList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.js +0 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalWalletsGet.d.ts +22 -0
- package/dist/commonjs/funcs/customerPortalWalletsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/customerPortalWalletsGet.js +131 -0
- package/dist/commonjs/funcs/customerPortalWalletsGet.js.map +1 -0
- package/dist/commonjs/funcs/customerPortalWalletsList.d.ts +23 -0
- package/dist/commonjs/funcs/customerPortalWalletsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/customerPortalWalletsList.js +166 -0
- package/dist/commonjs/funcs/customerPortalWalletsList.js.map +1 -0
- package/dist/commonjs/funcs/walletsGet.d.ts +22 -0
- package/dist/commonjs/funcs/walletsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/walletsGet.js +127 -0
- package/dist/commonjs/funcs/walletsGet.js.map +1 -0
- package/dist/commonjs/funcs/walletsList.d.ts +23 -0
- package/dist/commonjs/funcs/walletsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/walletsList.js +162 -0
- package/dist/commonjs/funcs/walletsList.js.map +1 -0
- package/dist/commonjs/funcs/walletsTopUp.d.ts +26 -0
- package/dist/commonjs/funcs/walletsTopUp.d.ts.map +1 -0
- package/dist/commonjs/funcs/walletsTopUp.js +132 -0
- package/dist/commonjs/funcs/walletsTopUp.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/addressdict.d.ts +39 -0
- package/dist/commonjs/models/components/addressdict.d.ts.map +1 -0
- package/dist/commonjs/models/components/addressdict.js +88 -0
- package/dist/commonjs/models/components/addressdict.js.map +1 -0
- package/dist/commonjs/models/components/checkout.d.ts +16 -14
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +16 -12
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.d.ts +16 -14
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +16 -12
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +16 -14
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +16 -12
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/customercreatedevent.d.ts +74 -0
- package/dist/commonjs/models/components/customercreatedevent.d.ts.map +1 -0
- package/dist/commonjs/models/components/customercreatedevent.js +100 -0
- package/dist/commonjs/models/components/customercreatedevent.js.map +1 -0
- package/dist/commonjs/models/components/customercreatedmetadata.d.ts +35 -0
- package/dist/commonjs/models/components/customercreatedmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/components/customercreatedmetadata.js +90 -0
- package/dist/commonjs/models/components/customercreatedmetadata.js.map +1 -0
- package/dist/commonjs/models/components/customerdeletedevent.d.ts +74 -0
- package/dist/commonjs/models/components/customerdeletedevent.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerdeletedevent.js +100 -0
- package/dist/commonjs/models/components/customerdeletedevent.js.map +1 -0
- package/dist/commonjs/models/components/customerdeletedmetadata.d.ts +35 -0
- package/dist/commonjs/models/components/customerdeletedmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerdeletedmetadata.js +90 -0
- package/dist/commonjs/models/components/customerdeletedmetadata.js.map +1 -0
- package/dist/commonjs/models/components/customerstatesubscription.d.ts +8 -8
- package/dist/commonjs/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerstatesubscription.js +14 -13
- package/dist/commonjs/models/components/customerstatesubscription.js.map +1 -1
- package/dist/commonjs/models/components/customerupdatedevent.d.ts +74 -0
- package/dist/commonjs/models/components/customerupdatedevent.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerupdatedevent.js +100 -0
- package/dist/commonjs/models/components/customerupdatedevent.js.map +1 -0
- package/dist/commonjs/models/components/customerupdatedfields.d.ts +63 -0
- package/dist/commonjs/models/components/customerupdatedfields.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerupdatedfields.js +112 -0
- package/dist/commonjs/models/components/customerupdatedfields.js.map +1 -0
- package/dist/commonjs/models/components/customerupdatedmetadata.d.ts +38 -0
- package/dist/commonjs/models/components/customerupdatedmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerupdatedmetadata.js +95 -0
- package/dist/commonjs/models/components/customerupdatedmetadata.js.map +1 -0
- package/dist/commonjs/models/components/customerwallet.d.ts +64 -0
- package/dist/commonjs/models/components/customerwallet.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerwallet.js +92 -0
- package/dist/commonjs/models/components/customerwallet.js.map +1 -0
- package/dist/commonjs/models/components/customerwalletsortproperty.d.ts +34 -0
- package/dist/commonjs/models/components/customerwalletsortproperty.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerwalletsortproperty.js +62 -0
- package/dist/commonjs/models/components/customerwalletsortproperty.js.map +1 -0
- package/dist/commonjs/models/components/listresourcecustomerwallet.d.ts +33 -0
- package/dist/commonjs/models/components/listresourcecustomerwallet.d.ts.map +1 -0
- package/dist/commonjs/models/components/listresourcecustomerwallet.js +73 -0
- package/dist/commonjs/models/components/listresourcecustomerwallet.js.map +1 -0
- package/dist/commonjs/models/components/listresourcewallet.d.ts +33 -0
- package/dist/commonjs/models/components/listresourcewallet.d.ts.map +1 -0
- package/dist/commonjs/models/components/listresourcewallet.js +73 -0
- package/dist/commonjs/models/components/listresourcewallet.js.map +1 -0
- package/dist/commonjs/models/components/metricperiod.d.ts +161 -0
- package/dist/commonjs/models/components/metricperiod.d.ts.map +1 -1
- package/dist/commonjs/models/components/metricperiod.js +190 -3
- package/dist/commonjs/models/components/metricperiod.js.map +1 -1
- package/dist/commonjs/models/components/metrics.d.ts +35 -0
- package/dist/commonjs/models/components/metrics.d.ts.map +1 -1
- package/dist/commonjs/models/components/metrics.js +26 -0
- package/dist/commonjs/models/components/metrics.js.map +1 -1
- package/dist/commonjs/models/components/metricstotals.d.ts +161 -0
- package/dist/commonjs/models/components/metricstotals.d.ts.map +1 -1
- package/dist/commonjs/models/components/metricstotals.js +190 -3
- package/dist/commonjs/models/components/metricstotals.js.map +1 -1
- package/dist/commonjs/models/components/metrictype.d.ts +3 -0
- package/dist/commonjs/models/components/metrictype.d.ts.map +1 -1
- package/dist/commonjs/models/components/metrictype.js +1 -0
- package/dist/commonjs/models/components/metrictype.js.map +1 -1
- package/dist/commonjs/models/components/oauth2clientconfiguration.js +2 -2
- package/dist/commonjs/models/components/oauth2clientconfiguration.js.map +1 -1
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js +2 -2
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js.map +1 -1
- package/dist/commonjs/models/components/orderpaidevent.d.ts +74 -0
- package/dist/commonjs/models/components/orderpaidevent.d.ts.map +1 -0
- package/dist/commonjs/models/components/orderpaidevent.js +100 -0
- package/dist/commonjs/models/components/orderpaidevent.js.map +1 -0
- package/dist/commonjs/models/components/orderpaidmetadata.d.ts +35 -0
- package/dist/commonjs/models/components/orderpaidmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/components/orderpaidmetadata.js +84 -0
- package/dist/commonjs/models/components/orderpaidmetadata.js.map +1 -0
- package/dist/commonjs/models/components/orderrefundedevent.d.ts +74 -0
- package/dist/commonjs/models/components/orderrefundedevent.d.ts.map +1 -0
- package/dist/commonjs/models/components/orderrefundedevent.js +100 -0
- package/dist/commonjs/models/components/orderrefundedevent.js.map +1 -0
- package/dist/commonjs/models/components/orderrefundedmetadata.d.ts +35 -0
- package/dist/commonjs/models/components/orderrefundedmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/components/orderrefundedmetadata.js +86 -0
- package/dist/commonjs/models/components/orderrefundedmetadata.js.map +1 -0
- package/dist/commonjs/models/components/organization.d.ts +2 -2
- package/dist/commonjs/models/components/organization.d.ts.map +1 -1
- package/dist/commonjs/models/components/organization.js +3 -3
- package/dist/commonjs/models/components/organization.js.map +1 -1
- package/dist/commonjs/models/components/organizationfeaturesettings.d.ts +5 -0
- package/dist/commonjs/models/components/organizationfeaturesettings.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationfeaturesettings.js +4 -0
- package/dist/commonjs/models/components/organizationfeaturesettings.js.map +1 -1
- package/dist/commonjs/models/components/{status.d.ts → organizationstatus.d.ts} +8 -8
- package/dist/commonjs/models/components/organizationstatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/{status.js → organizationstatus.js} +12 -13
- package/dist/commonjs/models/components/organizationstatus.js.map +1 -0
- package/dist/commonjs/models/components/organizationsubscriptionsettings.d.ts +2 -0
- package/dist/commonjs/models/components/organizationsubscriptionsettings.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationsubscriptionsettings.js +4 -0
- package/dist/commonjs/models/components/organizationsubscriptionsettings.js.map +1 -1
- package/dist/commonjs/models/components/scope.d.ts +6 -0
- package/dist/commonjs/models/components/scope.d.ts.map +1 -1
- package/dist/commonjs/models/components/scope.js +2 -0
- package/dist/commonjs/models/components/scope.js.map +1 -1
- package/dist/commonjs/models/components/seatassign.d.ts +5 -0
- package/dist/commonjs/models/components/seatassign.d.ts.map +1 -1
- package/dist/commonjs/models/components/seatassign.js +4 -0
- package/dist/commonjs/models/components/seatassign.js.map +1 -1
- package/dist/commonjs/models/components/systemevent.d.ts +25 -0
- package/dist/commonjs/models/components/systemevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/systemevent.js +35 -0
- package/dist/commonjs/models/components/systemevent.js.map +1 -1
- package/dist/commonjs/models/components/wallet.d.ts +64 -0
- package/dist/commonjs/models/components/wallet.d.ts.map +1 -0
- package/dist/commonjs/models/components/wallet.js +93 -0
- package/dist/commonjs/models/components/wallet.js.map +1 -0
- package/dist/commonjs/models/components/walletsortproperty.d.ts +34 -0
- package/dist/commonjs/models/components/walletsortproperty.d.ts.map +1 -0
- package/dist/commonjs/models/components/walletsortproperty.js +62 -0
- package/dist/commonjs/models/components/walletsortproperty.js.map +1 -0
- package/dist/commonjs/models/components/wallettopupcreate.d.ts +40 -0
- package/dist/commonjs/models/components/wallettopupcreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/wallettopupcreate.js +71 -0
- package/dist/commonjs/models/components/wallettopupcreate.js.map +1 -0
- package/dist/commonjs/models/components/webhookendpoint.d.ts +5 -0
- package/dist/commonjs/models/components/webhookendpoint.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookendpoint.js +2 -0
- package/dist/commonjs/models/components/webhookendpoint.js.map +1 -1
- package/dist/commonjs/models/components/webhookendpointupdate.d.ts +5 -0
- package/dist/commonjs/models/components/webhookendpointupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/webhookendpointupdate.js +2 -0
- package/dist/commonjs/models/components/webhookendpointupdate.js.map +1 -1
- package/dist/commonjs/models/errors/missingpaymentmethoderror.d.ts +39 -0
- package/dist/commonjs/models/errors/missingpaymentmethoderror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/missingpaymentmethoderror.js +88 -0
- package/dist/commonjs/models/errors/missingpaymentmethoderror.js.map +1 -0
- package/dist/commonjs/models/errors/paymentintentfailederror.d.ts +39 -0
- package/dist/commonjs/models/errors/paymentintentfailederror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/paymentintentfailederror.js +88 -0
- package/dist/commonjs/models/errors/paymentintentfailederror.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalbenefitgrantslist.d.ts +0 -29
- package/dist/commonjs/models/operations/customerportalbenefitgrantslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportalbenefitgrantslist.js +1 -32
- package/dist/commonjs/models/operations/customerportalbenefitgrantslist.js.map +1 -1
- package/dist/commonjs/models/operations/customerportaldownloadableslist.d.ts +0 -29
- package/dist/commonjs/models/operations/customerportaldownloadableslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportaldownloadableslist.js +1 -32
- package/dist/commonjs/models/operations/customerportaldownloadableslist.js.map +1 -1
- package/dist/commonjs/models/operations/customerportallicensekeyslist.d.ts +0 -29
- package/dist/commonjs/models/operations/customerportallicensekeyslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportallicensekeyslist.js +1 -32
- package/dist/commonjs/models/operations/customerportallicensekeyslist.js.map +1 -1
- package/dist/commonjs/models/operations/customerportalorderslist.d.ts +0 -29
- package/dist/commonjs/models/operations/customerportalorderslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportalorderslist.js +1 -31
- package/dist/commonjs/models/operations/customerportalorderslist.js.map +1 -1
- package/dist/commonjs/models/operations/customerportalsubscriptionslist.d.ts +0 -29
- package/dist/commonjs/models/operations/customerportalsubscriptionslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportalsubscriptionslist.js +1 -32
- package/dist/commonjs/models/operations/customerportalsubscriptionslist.js.map +1 -1
- package/dist/commonjs/models/operations/customerportalwalletsget.d.ts +57 -0
- package/dist/commonjs/models/operations/customerportalwalletsget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalwalletsget.js +105 -0
- package/dist/commonjs/models/operations/customerportalwalletsget.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalwalletslist.d.ts +94 -0
- package/dist/commonjs/models/operations/customerportalwalletslist.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalwalletslist.js +148 -0
- package/dist/commonjs/models/operations/customerportalwalletslist.js.map +1 -0
- package/dist/commonjs/models/operations/walletsget.d.ts +32 -0
- package/dist/commonjs/models/operations/walletsget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/walletsget.js +69 -0
- package/dist/commonjs/models/operations/walletsget.js.map +1 -0
- package/dist/commonjs/models/operations/walletslist.d.ts +127 -0
- package/dist/commonjs/models/operations/walletslist.d.ts.map +1 -0
- package/dist/commonjs/models/operations/walletslist.js +174 -0
- package/dist/commonjs/models/operations/walletslist.js.map +1 -0
- package/dist/commonjs/models/operations/walletstopup.d.ts +35 -0
- package/dist/commonjs/models/operations/walletstopup.d.ts.map +1 -0
- package/dist/commonjs/models/operations/walletstopup.js +81 -0
- package/dist/commonjs/models/operations/walletstopup.js.map +1 -0
- package/dist/commonjs/sdk/customerportal.d.ts +3 -0
- package/dist/commonjs/sdk/customerportal.d.ts.map +1 -1
- package/dist/commonjs/sdk/customerportal.js +4 -0
- package/dist/commonjs/sdk/customerportal.js.map +1 -1
- package/dist/commonjs/sdk/polarwallets.d.ts +28 -0
- package/dist/commonjs/sdk/polarwallets.d.ts.map +1 -0
- package/dist/commonjs/sdk/polarwallets.js +37 -0
- package/dist/commonjs/sdk/polarwallets.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/wallets.d.ts +40 -0
- package/dist/commonjs/sdk/wallets.d.ts.map +1 -0
- package/dist/commonjs/sdk/wallets.js +51 -0
- package/dist/commonjs/sdk/wallets.js.map +1 -0
- package/dist/esm/funcs/customerPortalBenefitGrantsList.js +0 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsList.js.map +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesList.js +0 -1
- package/dist/esm/funcs/customerPortalDownloadablesList.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.js +0 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersList.js +0 -1
- package/dist/esm/funcs/customerPortalOrdersList.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsList.js +0 -1
- package/dist/esm/funcs/customerPortalSubscriptionsList.js.map +1 -1
- package/dist/esm/funcs/customerPortalWalletsGet.d.ts +22 -0
- package/dist/esm/funcs/customerPortalWalletsGet.d.ts.map +1 -0
- package/dist/esm/funcs/customerPortalWalletsGet.js +95 -0
- package/dist/esm/funcs/customerPortalWalletsGet.js.map +1 -0
- package/dist/esm/funcs/customerPortalWalletsList.d.ts +23 -0
- package/dist/esm/funcs/customerPortalWalletsList.d.ts.map +1 -0
- package/dist/esm/funcs/customerPortalWalletsList.js +130 -0
- package/dist/esm/funcs/customerPortalWalletsList.js.map +1 -0
- package/dist/esm/funcs/walletsGet.d.ts +22 -0
- package/dist/esm/funcs/walletsGet.d.ts.map +1 -0
- package/dist/esm/funcs/walletsGet.js +91 -0
- package/dist/esm/funcs/walletsGet.js.map +1 -0
- package/dist/esm/funcs/walletsList.d.ts +23 -0
- package/dist/esm/funcs/walletsList.d.ts.map +1 -0
- package/dist/esm/funcs/walletsList.js +126 -0
- package/dist/esm/funcs/walletsList.js.map +1 -0
- package/dist/esm/funcs/walletsTopUp.d.ts +26 -0
- package/dist/esm/funcs/walletsTopUp.d.ts.map +1 -0
- package/dist/esm/funcs/walletsTopUp.js +96 -0
- package/dist/esm/funcs/walletsTopUp.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/addressdict.d.ts +39 -0
- package/dist/esm/models/components/addressdict.d.ts.map +1 -0
- package/dist/esm/models/components/addressdict.js +50 -0
- package/dist/esm/models/components/addressdict.js.map +1 -0
- package/dist/esm/models/components/checkout.d.ts +16 -14
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +16 -12
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutpublic.d.ts +16 -14
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +16 -12
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +16 -14
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +16 -12
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/customercreatedevent.d.ts +74 -0
- package/dist/esm/models/components/customercreatedevent.d.ts.map +1 -0
- package/dist/esm/models/components/customercreatedevent.js +62 -0
- package/dist/esm/models/components/customercreatedevent.js.map +1 -0
- package/dist/esm/models/components/customercreatedmetadata.d.ts +35 -0
- package/dist/esm/models/components/customercreatedmetadata.d.ts.map +1 -0
- package/dist/esm/models/components/customercreatedmetadata.js +52 -0
- package/dist/esm/models/components/customercreatedmetadata.js.map +1 -0
- package/dist/esm/models/components/customerdeletedevent.d.ts +74 -0
- package/dist/esm/models/components/customerdeletedevent.d.ts.map +1 -0
- package/dist/esm/models/components/customerdeletedevent.js +62 -0
- package/dist/esm/models/components/customerdeletedevent.js.map +1 -0
- package/dist/esm/models/components/customerdeletedmetadata.d.ts +35 -0
- package/dist/esm/models/components/customerdeletedmetadata.d.ts.map +1 -0
- package/dist/esm/models/components/customerdeletedmetadata.js +52 -0
- package/dist/esm/models/components/customerdeletedmetadata.js.map +1 -0
- package/dist/esm/models/components/customerstatesubscription.d.ts +8 -8
- package/dist/esm/models/components/customerstatesubscription.d.ts.map +1 -1
- package/dist/esm/models/components/customerstatesubscription.js +13 -12
- package/dist/esm/models/components/customerstatesubscription.js.map +1 -1
- package/dist/esm/models/components/customerupdatedevent.d.ts +74 -0
- package/dist/esm/models/components/customerupdatedevent.d.ts.map +1 -0
- package/dist/esm/models/components/customerupdatedevent.js +62 -0
- package/dist/esm/models/components/customerupdatedevent.js.map +1 -0
- package/dist/esm/models/components/customerupdatedfields.d.ts +63 -0
- package/dist/esm/models/components/customerupdatedfields.d.ts.map +1 -0
- package/dist/esm/models/components/customerupdatedfields.js +72 -0
- package/dist/esm/models/components/customerupdatedfields.js.map +1 -0
- package/dist/esm/models/components/customerupdatedmetadata.d.ts +38 -0
- package/dist/esm/models/components/customerupdatedmetadata.d.ts.map +1 -0
- package/dist/esm/models/components/customerupdatedmetadata.js +57 -0
- package/dist/esm/models/components/customerupdatedmetadata.js.map +1 -0
- package/dist/esm/models/components/customerwallet.d.ts +64 -0
- package/dist/esm/models/components/customerwallet.d.ts.map +1 -0
- package/dist/esm/models/components/customerwallet.js +54 -0
- package/dist/esm/models/components/customerwallet.js.map +1 -0
- package/dist/esm/models/components/customerwalletsortproperty.d.ts +34 -0
- package/dist/esm/models/components/customerwalletsortproperty.d.ts.map +1 -0
- package/dist/esm/models/components/customerwalletsortproperty.js +26 -0
- package/dist/esm/models/components/customerwalletsortproperty.js.map +1 -0
- package/dist/esm/models/components/listresourcecustomerwallet.d.ts +33 -0
- package/dist/esm/models/components/listresourcecustomerwallet.d.ts.map +1 -0
- package/dist/esm/models/components/listresourcecustomerwallet.js +35 -0
- package/dist/esm/models/components/listresourcecustomerwallet.js.map +1 -0
- package/dist/esm/models/components/listresourcewallet.d.ts +33 -0
- package/dist/esm/models/components/listresourcewallet.d.ts.map +1 -0
- package/dist/esm/models/components/listresourcewallet.js +35 -0
- package/dist/esm/models/components/listresourcewallet.js.map +1 -0
- package/dist/esm/models/components/metricperiod.d.ts +161 -0
- package/dist/esm/models/components/metricperiod.d.ts.map +1 -1
- package/dist/esm/models/components/metricperiod.js +173 -0
- package/dist/esm/models/components/metricperiod.js.map +1 -1
- package/dist/esm/models/components/metrics.d.ts +35 -0
- package/dist/esm/models/components/metrics.d.ts.map +1 -1
- package/dist/esm/models/components/metrics.js +26 -0
- package/dist/esm/models/components/metrics.js.map +1 -1
- package/dist/esm/models/components/metricstotals.d.ts +161 -0
- package/dist/esm/models/components/metricstotals.d.ts.map +1 -1
- package/dist/esm/models/components/metricstotals.js +173 -0
- package/dist/esm/models/components/metricstotals.js.map +1 -1
- package/dist/esm/models/components/metrictype.d.ts +3 -0
- package/dist/esm/models/components/metrictype.d.ts.map +1 -1
- package/dist/esm/models/components/metrictype.js +1 -0
- package/dist/esm/models/components/metrictype.js.map +1 -1
- package/dist/esm/models/components/oauth2clientconfiguration.js +2 -2
- package/dist/esm/models/components/oauth2clientconfiguration.js.map +1 -1
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js +2 -2
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js.map +1 -1
- package/dist/esm/models/components/orderpaidevent.d.ts +74 -0
- package/dist/esm/models/components/orderpaidevent.d.ts.map +1 -0
- package/dist/esm/models/components/orderpaidevent.js +62 -0
- package/dist/esm/models/components/orderpaidevent.js.map +1 -0
- package/dist/esm/models/components/orderpaidmetadata.d.ts +35 -0
- package/dist/esm/models/components/orderpaidmetadata.d.ts.map +1 -0
- package/dist/esm/models/components/orderpaidmetadata.js +46 -0
- package/dist/esm/models/components/orderpaidmetadata.js.map +1 -0
- package/dist/esm/models/components/orderrefundedevent.d.ts +74 -0
- package/dist/esm/models/components/orderrefundedevent.d.ts.map +1 -0
- package/dist/esm/models/components/orderrefundedevent.js +62 -0
- package/dist/esm/models/components/orderrefundedevent.js.map +1 -0
- package/dist/esm/models/components/orderrefundedmetadata.d.ts +35 -0
- package/dist/esm/models/components/orderrefundedmetadata.d.ts.map +1 -0
- package/dist/esm/models/components/orderrefundedmetadata.js +48 -0
- package/dist/esm/models/components/orderrefundedmetadata.js.map +1 -0
- package/dist/esm/models/components/organization.d.ts +2 -2
- package/dist/esm/models/components/organization.d.ts.map +1 -1
- package/dist/esm/models/components/organization.js +3 -3
- package/dist/esm/models/components/organization.js.map +1 -1
- package/dist/esm/models/components/organizationfeaturesettings.d.ts +5 -0
- package/dist/esm/models/components/organizationfeaturesettings.d.ts.map +1 -1
- package/dist/esm/models/components/organizationfeaturesettings.js +4 -0
- package/dist/esm/models/components/organizationfeaturesettings.js.map +1 -1
- package/dist/esm/models/components/{status.d.ts → organizationstatus.d.ts} +8 -8
- package/dist/esm/models/components/organizationstatus.d.ts.map +1 -0
- package/dist/esm/models/components/organizationstatus.js +27 -0
- package/dist/esm/models/components/organizationstatus.js.map +1 -0
- package/dist/esm/models/components/organizationsubscriptionsettings.d.ts +2 -0
- package/dist/esm/models/components/organizationsubscriptionsettings.d.ts.map +1 -1
- package/dist/esm/models/components/organizationsubscriptionsettings.js +4 -0
- package/dist/esm/models/components/organizationsubscriptionsettings.js.map +1 -1
- package/dist/esm/models/components/scope.d.ts +6 -0
- package/dist/esm/models/components/scope.d.ts.map +1 -1
- package/dist/esm/models/components/scope.js +2 -0
- package/dist/esm/models/components/scope.js.map +1 -1
- package/dist/esm/models/components/seatassign.d.ts +5 -0
- package/dist/esm/models/components/seatassign.d.ts.map +1 -1
- package/dist/esm/models/components/seatassign.js +4 -0
- package/dist/esm/models/components/seatassign.js.map +1 -1
- package/dist/esm/models/components/systemevent.d.ts +25 -0
- package/dist/esm/models/components/systemevent.d.ts.map +1 -1
- package/dist/esm/models/components/systemevent.js +35 -0
- package/dist/esm/models/components/systemevent.js.map +1 -1
- package/dist/esm/models/components/wallet.d.ts +64 -0
- package/dist/esm/models/components/wallet.d.ts.map +1 -0
- package/dist/esm/models/components/wallet.js +55 -0
- package/dist/esm/models/components/wallet.js.map +1 -0
- package/dist/esm/models/components/walletsortproperty.d.ts +34 -0
- package/dist/esm/models/components/walletsortproperty.d.ts.map +1 -0
- package/dist/esm/models/components/walletsortproperty.js +26 -0
- package/dist/esm/models/components/walletsortproperty.js.map +1 -0
- package/dist/esm/models/components/wallettopupcreate.d.ts +40 -0
- package/dist/esm/models/components/wallettopupcreate.d.ts.map +1 -0
- package/dist/esm/models/components/wallettopupcreate.js +33 -0
- package/dist/esm/models/components/wallettopupcreate.js.map +1 -0
- package/dist/esm/models/components/webhookendpoint.d.ts +5 -0
- package/dist/esm/models/components/webhookendpoint.d.ts.map +1 -1
- package/dist/esm/models/components/webhookendpoint.js +2 -0
- package/dist/esm/models/components/webhookendpoint.js.map +1 -1
- package/dist/esm/models/components/webhookendpointupdate.d.ts +5 -0
- package/dist/esm/models/components/webhookendpointupdate.d.ts.map +1 -1
- package/dist/esm/models/components/webhookendpointupdate.js +2 -0
- package/dist/esm/models/components/webhookendpointupdate.js.map +1 -1
- package/dist/esm/models/errors/missingpaymentmethoderror.d.ts +39 -0
- package/dist/esm/models/errors/missingpaymentmethoderror.d.ts.map +1 -0
- package/dist/esm/models/errors/missingpaymentmethoderror.js +51 -0
- package/dist/esm/models/errors/missingpaymentmethoderror.js.map +1 -0
- package/dist/esm/models/errors/paymentintentfailederror.d.ts +39 -0
- package/dist/esm/models/errors/paymentintentfailederror.d.ts.map +1 -0
- package/dist/esm/models/errors/paymentintentfailederror.js +51 -0
- package/dist/esm/models/errors/paymentintentfailederror.js.map +1 -0
- package/dist/esm/models/operations/customerportalbenefitgrantslist.d.ts +0 -29
- package/dist/esm/models/operations/customerportalbenefitgrantslist.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportalbenefitgrantslist.js +0 -29
- package/dist/esm/models/operations/customerportalbenefitgrantslist.js.map +1 -1
- package/dist/esm/models/operations/customerportaldownloadableslist.d.ts +0 -29
- package/dist/esm/models/operations/customerportaldownloadableslist.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportaldownloadableslist.js +0 -29
- package/dist/esm/models/operations/customerportaldownloadableslist.js.map +1 -1
- package/dist/esm/models/operations/customerportallicensekeyslist.d.ts +0 -29
- package/dist/esm/models/operations/customerportallicensekeyslist.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportallicensekeyslist.js +0 -29
- package/dist/esm/models/operations/customerportallicensekeyslist.js.map +1 -1
- package/dist/esm/models/operations/customerportalorderslist.d.ts +0 -29
- package/dist/esm/models/operations/customerportalorderslist.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportalorderslist.js +0 -28
- package/dist/esm/models/operations/customerportalorderslist.js.map +1 -1
- package/dist/esm/models/operations/customerportalsubscriptionslist.d.ts +0 -29
- package/dist/esm/models/operations/customerportalsubscriptionslist.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportalsubscriptionslist.js +0 -29
- package/dist/esm/models/operations/customerportalsubscriptionslist.js.map +1 -1
- package/dist/esm/models/operations/customerportalwalletsget.d.ts +57 -0
- package/dist/esm/models/operations/customerportalwalletsget.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalwalletsget.js +65 -0
- package/dist/esm/models/operations/customerportalwalletsget.js.map +1 -0
- package/dist/esm/models/operations/customerportalwalletslist.d.ts +94 -0
- package/dist/esm/models/operations/customerportalwalletslist.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalwalletslist.js +106 -0
- package/dist/esm/models/operations/customerportalwalletslist.js.map +1 -0
- package/dist/esm/models/operations/walletsget.d.ts +32 -0
- package/dist/esm/models/operations/walletsget.d.ts.map +1 -0
- package/dist/esm/models/operations/walletsget.js +31 -0
- package/dist/esm/models/operations/walletsget.js.map +1 -0
- package/dist/esm/models/operations/walletslist.d.ts +127 -0
- package/dist/esm/models/operations/walletslist.d.ts.map +1 -0
- package/dist/esm/models/operations/walletslist.js +130 -0
- package/dist/esm/models/operations/walletslist.js.map +1 -0
- package/dist/esm/models/operations/walletstopup.d.ts +35 -0
- package/dist/esm/models/operations/walletstopup.d.ts.map +1 -0
- package/dist/esm/models/operations/walletstopup.js +43 -0
- package/dist/esm/models/operations/walletstopup.js.map +1 -0
- package/dist/esm/sdk/customerportal.d.ts +3 -0
- package/dist/esm/sdk/customerportal.d.ts.map +1 -1
- package/dist/esm/sdk/customerportal.js +4 -0
- package/dist/esm/sdk/customerportal.js.map +1 -1
- package/dist/esm/sdk/polarwallets.d.ts +28 -0
- package/dist/esm/sdk/polarwallets.d.ts.map +1 -0
- package/dist/esm/sdk/polarwallets.js +33 -0
- package/dist/esm/sdk/polarwallets.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/wallets.d.ts +40 -0
- package/dist/esm/sdk/wallets.d.ts.map +1 -0
- package/dist/esm/sdk/wallets.js +47 -0
- package/dist/esm/sdk/wallets.js.map +1 -0
- package/docs/sdks/downloadables/README.md +2 -6
- package/docs/sdks/polarbenefitgrants/README.md +2 -6
- package/docs/sdks/polarlicensekeys/README.md +2 -6
- package/docs/sdks/polarorders/README.md +2 -6
- package/docs/sdks/polarsubscriptions/README.md +2 -6
- package/docs/sdks/polarwallets/README.md +164 -0
- package/docs/sdks/wallets/README.md +256 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/customerPortalBenefitGrantsList.ts +0 -1
- package/src/funcs/customerPortalDownloadablesList.ts +0 -1
- package/src/funcs/customerPortalLicenseKeysList.ts +0 -1
- package/src/funcs/customerPortalOrdersList.ts +0 -1
- package/src/funcs/customerPortalSubscriptionsList.ts +0 -1
- package/src/funcs/customerPortalWalletsGet.ts +205 -0
- package/src/funcs/customerPortalWalletsList.ts +271 -0
- package/src/funcs/walletsGet.ts +192 -0
- package/src/funcs/walletsList.ts +260 -0
- package/src/funcs/walletsTopUp.ts +212 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/addressdict.ts +91 -0
- package/src/models/components/checkout.ts +45 -30
- package/src/models/components/checkoutpublic.ts +45 -30
- package/src/models/components/checkoutpublicconfirmed.ts +45 -30
- package/src/models/components/customercreatedevent.ts +150 -0
- package/src/models/components/customercreatedmetadata.ts +93 -0
- package/src/models/components/customerdeletedevent.ts +150 -0
- package/src/models/components/customerdeletedmetadata.ts +93 -0
- package/src/models/components/customerstatesubscription.ts +14 -18
- package/src/models/components/customerupdatedevent.ts +150 -0
- package/src/models/components/customerupdatedfields.ts +155 -0
- package/src/models/components/customerupdatedmetadata.ts +105 -0
- package/src/models/components/customerwallet.ts +122 -0
- package/src/models/components/customerwalletsortproperty.ts +37 -0
- package/src/models/components/listresourcecustomerwallet.ts +82 -0
- package/src/models/components/listresourcewallet.ts +82 -0
- package/src/models/components/metricperiod.ts +374 -0
- package/src/models/components/metrics.ts +61 -0
- package/src/models/components/metricstotals.ts +400 -0
- package/src/models/components/metrictype.ts +1 -0
- package/src/models/components/oauth2clientconfiguration.ts +2 -2
- package/src/models/components/oauth2clientconfigurationupdate.ts +2 -2
- package/src/models/components/orderpaidevent.ts +146 -0
- package/src/models/components/orderpaidmetadata.ts +87 -0
- package/src/models/components/orderrefundedevent.ts +150 -0
- package/src/models/components/orderrefundedmetadata.ts +89 -0
- package/src/models/components/organization.ts +8 -8
- package/src/models/components/organizationfeaturesettings.ts +9 -0
- package/src/models/components/organizationstatus.ts +36 -0
- package/src/models/components/organizationsubscriptionsettings.ts +6 -0
- package/src/models/components/scope.ts +2 -0
- package/src/models/components/seatassign.ts +9 -0
- package/src/models/components/systemevent.ts +90 -0
- package/src/models/components/wallet.ts +121 -0
- package/src/models/components/walletsortproperty.ts +35 -0
- package/src/models/components/wallettopupcreate.ts +79 -0
- package/src/models/components/webhookendpoint.ts +7 -0
- package/src/models/components/webhookendpointupdate.ts +7 -0
- package/src/models/errors/missingpaymentmethoderror.ts +85 -0
- package/src/models/errors/paymentintentfailederror.ts +85 -0
- package/src/models/operations/customerportalbenefitgrantslist.ts +0 -80
- package/src/models/operations/customerportaldownloadableslist.ts +0 -80
- package/src/models/operations/customerportallicensekeyslist.ts +0 -80
- package/src/models/operations/customerportalorderslist.ts +0 -81
- package/src/models/operations/customerportalsubscriptionslist.ts +0 -80
- package/src/models/operations/customerportalwalletsget.ts +140 -0
- package/src/models/operations/customerportalwalletslist.ts +237 -0
- package/src/models/operations/walletsget.ts +69 -0
- package/src/models/operations/walletslist.ts +315 -0
- package/src/models/operations/walletstopup.ts +88 -0
- package/src/sdk/customerportal.ts +6 -0
- package/src/sdk/polarwallets.ts +65 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/wallets.ts +78 -0
- package/dist/commonjs/models/components/status.d.ts.map +0 -1
- package/dist/commonjs/models/components/status.js.map +0 -1
- package/dist/esm/models/components/status.d.ts.map +0 -1
- package/dist/esm/models/components/status.js +0 -28
- package/dist/esm/models/components/status.js.map +0 -1
- package/src/models/components/status.ts +0 -34
|
@@ -40,13 +40,6 @@ export type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter =
|
|
|
40
40
|
| string
|
|
41
41
|
| Array<string>;
|
|
42
42
|
|
|
43
|
-
/**
|
|
44
|
-
* Filter by organization ID.
|
|
45
|
-
*/
|
|
46
|
-
export type CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter =
|
|
47
|
-
| string
|
|
48
|
-
| Array<string>;
|
|
49
|
-
|
|
50
43
|
/**
|
|
51
44
|
* Filter by checkout ID.
|
|
52
45
|
*/
|
|
@@ -71,10 +64,6 @@ export type CustomerPortalBenefitGrantsListRequest = {
|
|
|
71
64
|
* Filter by benefit ID.
|
|
72
65
|
*/
|
|
73
66
|
benefitId?: string | Array<string> | null | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* Filter by organization ID.
|
|
76
|
-
*/
|
|
77
|
-
organizationId?: string | Array<string> | null | undefined;
|
|
78
67
|
/**
|
|
79
68
|
* Filter by checkout ID.
|
|
80
69
|
*/
|
|
@@ -290,68 +279,6 @@ export function customerPortalBenefitGrantsListQueryParamBenefitIDFilterFromJSON
|
|
|
290
279
|
);
|
|
291
280
|
}
|
|
292
281
|
|
|
293
|
-
/** @internal */
|
|
294
|
-
export const CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$inboundSchema:
|
|
295
|
-
z.ZodType<
|
|
296
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter,
|
|
297
|
-
z.ZodTypeDef,
|
|
298
|
-
unknown
|
|
299
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
300
|
-
|
|
301
|
-
/** @internal */
|
|
302
|
-
export type CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$Outbound =
|
|
303
|
-
| string
|
|
304
|
-
| Array<string>;
|
|
305
|
-
|
|
306
|
-
/** @internal */
|
|
307
|
-
export const CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$outboundSchema:
|
|
308
|
-
z.ZodType<
|
|
309
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$Outbound,
|
|
310
|
-
z.ZodTypeDef,
|
|
311
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter
|
|
312
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* @internal
|
|
316
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
317
|
-
*/
|
|
318
|
-
export namespace CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$ {
|
|
319
|
-
/** @deprecated use `CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$inboundSchema` instead. */
|
|
320
|
-
export const inboundSchema =
|
|
321
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$inboundSchema;
|
|
322
|
-
/** @deprecated use `CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$outboundSchema` instead. */
|
|
323
|
-
export const outboundSchema =
|
|
324
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$outboundSchema;
|
|
325
|
-
/** @deprecated use `CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$Outbound` instead. */
|
|
326
|
-
export type Outbound =
|
|
327
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$Outbound;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export function customerPortalBenefitGrantsListQueryParamOrganizationIDFilterToJSON(
|
|
331
|
-
customerPortalBenefitGrantsListQueryParamOrganizationIDFilter:
|
|
332
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter,
|
|
333
|
-
): string {
|
|
334
|
-
return JSON.stringify(
|
|
335
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$outboundSchema
|
|
336
|
-
.parse(customerPortalBenefitGrantsListQueryParamOrganizationIDFilter),
|
|
337
|
-
);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
export function customerPortalBenefitGrantsListQueryParamOrganizationIDFilterFromJSON(
|
|
341
|
-
jsonString: string,
|
|
342
|
-
): SafeParseResult<
|
|
343
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter,
|
|
344
|
-
SDKValidationError
|
|
345
|
-
> {
|
|
346
|
-
return safeParse(
|
|
347
|
-
jsonString,
|
|
348
|
-
(x) =>
|
|
349
|
-
CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter$inboundSchema
|
|
350
|
-
.parse(JSON.parse(x)),
|
|
351
|
-
`Failed to parse 'CustomerPortalBenefitGrantsListQueryParamOrganizationIDFilter' from JSON`,
|
|
352
|
-
);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
282
|
/** @internal */
|
|
356
283
|
export const QueryParamCheckoutIDFilter$inboundSchema: z.ZodType<
|
|
357
284
|
QueryParamCheckoutIDFilter,
|
|
@@ -508,8 +435,6 @@ export const CustomerPortalBenefitGrantsListRequest$inboundSchema: z.ZodType<
|
|
|
508
435
|
z.union([BenefitType$inboundSchema, z.array(BenefitType$inboundSchema)]),
|
|
509
436
|
).optional(),
|
|
510
437
|
benefit_id: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
511
|
-
organization_id: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
512
|
-
.optional(),
|
|
513
438
|
checkout_id: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
514
439
|
.optional(),
|
|
515
440
|
order_id: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
@@ -523,7 +448,6 @@ export const CustomerPortalBenefitGrantsListRequest$inboundSchema: z.ZodType<
|
|
|
523
448
|
return remap$(v, {
|
|
524
449
|
"type_filter": "typeFilter",
|
|
525
450
|
"benefit_id": "benefitId",
|
|
526
|
-
"organization_id": "organizationId",
|
|
527
451
|
"checkout_id": "checkoutId",
|
|
528
452
|
"order_id": "orderId",
|
|
529
453
|
"subscription_id": "subscriptionId",
|
|
@@ -534,7 +458,6 @@ export const CustomerPortalBenefitGrantsListRequest$inboundSchema: z.ZodType<
|
|
|
534
458
|
export type CustomerPortalBenefitGrantsListRequest$Outbound = {
|
|
535
459
|
type_filter?: string | Array<string> | null | undefined;
|
|
536
460
|
benefit_id?: string | Array<string> | null | undefined;
|
|
537
|
-
organization_id?: string | Array<string> | null | undefined;
|
|
538
461
|
checkout_id?: string | Array<string> | null | undefined;
|
|
539
462
|
order_id?: string | Array<string> | null | undefined;
|
|
540
463
|
subscription_id?: string | Array<string> | null | undefined;
|
|
@@ -553,8 +476,6 @@ export const CustomerPortalBenefitGrantsListRequest$outboundSchema: z.ZodType<
|
|
|
553
476
|
z.union([BenefitType$outboundSchema, z.array(BenefitType$outboundSchema)]),
|
|
554
477
|
).optional(),
|
|
555
478
|
benefitId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
556
|
-
organizationId: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
557
|
-
.optional(),
|
|
558
479
|
checkoutId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
559
480
|
orderId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
560
481
|
subscriptionId: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
@@ -567,7 +488,6 @@ export const CustomerPortalBenefitGrantsListRequest$outboundSchema: z.ZodType<
|
|
|
567
488
|
return remap$(v, {
|
|
568
489
|
typeFilter: "type_filter",
|
|
569
490
|
benefitId: "benefit_id",
|
|
570
|
-
organizationId: "organization_id",
|
|
571
491
|
checkoutId: "checkout_id",
|
|
572
492
|
orderId: "order_id",
|
|
573
493
|
subscriptionId: "subscription_id",
|
|
@@ -18,13 +18,6 @@ export type CustomerPortalDownloadablesListSecurity = {
|
|
|
18
18
|
customerSession: string;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
* Filter by organization ID.
|
|
23
|
-
*/
|
|
24
|
-
export type CustomerPortalDownloadablesListQueryParamOrganizationIDFilter =
|
|
25
|
-
| string
|
|
26
|
-
| Array<string>;
|
|
27
|
-
|
|
28
21
|
/**
|
|
29
22
|
* Filter by benefit ID.
|
|
30
23
|
*/
|
|
@@ -33,10 +26,6 @@ export type CustomerPortalDownloadablesListQueryParamBenefitIDFilter =
|
|
|
33
26
|
| Array<string>;
|
|
34
27
|
|
|
35
28
|
export type CustomerPortalDownloadablesListRequest = {
|
|
36
|
-
/**
|
|
37
|
-
* Filter by organization ID.
|
|
38
|
-
*/
|
|
39
|
-
organizationId?: string | Array<string> | null | undefined;
|
|
40
29
|
/**
|
|
41
30
|
* Filter by benefit ID.
|
|
42
31
|
*/
|
|
@@ -128,68 +117,6 @@ export function customerPortalDownloadablesListSecurityFromJSON(
|
|
|
128
117
|
);
|
|
129
118
|
}
|
|
130
119
|
|
|
131
|
-
/** @internal */
|
|
132
|
-
export const CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$inboundSchema:
|
|
133
|
-
z.ZodType<
|
|
134
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter,
|
|
135
|
-
z.ZodTypeDef,
|
|
136
|
-
unknown
|
|
137
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
138
|
-
|
|
139
|
-
/** @internal */
|
|
140
|
-
export type CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$Outbound =
|
|
141
|
-
| string
|
|
142
|
-
| Array<string>;
|
|
143
|
-
|
|
144
|
-
/** @internal */
|
|
145
|
-
export const CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$outboundSchema:
|
|
146
|
-
z.ZodType<
|
|
147
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$Outbound,
|
|
148
|
-
z.ZodTypeDef,
|
|
149
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter
|
|
150
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @internal
|
|
154
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
155
|
-
*/
|
|
156
|
-
export namespace CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$ {
|
|
157
|
-
/** @deprecated use `CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$inboundSchema` instead. */
|
|
158
|
-
export const inboundSchema =
|
|
159
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$inboundSchema;
|
|
160
|
-
/** @deprecated use `CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$outboundSchema` instead. */
|
|
161
|
-
export const outboundSchema =
|
|
162
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$outboundSchema;
|
|
163
|
-
/** @deprecated use `CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$Outbound` instead. */
|
|
164
|
-
export type Outbound =
|
|
165
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$Outbound;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export function customerPortalDownloadablesListQueryParamOrganizationIDFilterToJSON(
|
|
169
|
-
customerPortalDownloadablesListQueryParamOrganizationIDFilter:
|
|
170
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter,
|
|
171
|
-
): string {
|
|
172
|
-
return JSON.stringify(
|
|
173
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$outboundSchema
|
|
174
|
-
.parse(customerPortalDownloadablesListQueryParamOrganizationIDFilter),
|
|
175
|
-
);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
export function customerPortalDownloadablesListQueryParamOrganizationIDFilterFromJSON(
|
|
179
|
-
jsonString: string,
|
|
180
|
-
): SafeParseResult<
|
|
181
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter,
|
|
182
|
-
SDKValidationError
|
|
183
|
-
> {
|
|
184
|
-
return safeParse(
|
|
185
|
-
jsonString,
|
|
186
|
-
(x) =>
|
|
187
|
-
CustomerPortalDownloadablesListQueryParamOrganizationIDFilter$inboundSchema
|
|
188
|
-
.parse(JSON.parse(x)),
|
|
189
|
-
`Failed to parse 'CustomerPortalDownloadablesListQueryParamOrganizationIDFilter' from JSON`,
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
120
|
/** @internal */
|
|
194
121
|
export const CustomerPortalDownloadablesListQueryParamBenefitIDFilter$inboundSchema:
|
|
195
122
|
z.ZodType<
|
|
@@ -258,21 +185,17 @@ export const CustomerPortalDownloadablesListRequest$inboundSchema: z.ZodType<
|
|
|
258
185
|
z.ZodTypeDef,
|
|
259
186
|
unknown
|
|
260
187
|
> = z.object({
|
|
261
|
-
organization_id: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
262
|
-
.optional(),
|
|
263
188
|
benefit_id: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
264
189
|
page: z.number().int().default(1),
|
|
265
190
|
limit: z.number().int().default(10),
|
|
266
191
|
}).transform((v) => {
|
|
267
192
|
return remap$(v, {
|
|
268
|
-
"organization_id": "organizationId",
|
|
269
193
|
"benefit_id": "benefitId",
|
|
270
194
|
});
|
|
271
195
|
});
|
|
272
196
|
|
|
273
197
|
/** @internal */
|
|
274
198
|
export type CustomerPortalDownloadablesListRequest$Outbound = {
|
|
275
|
-
organization_id?: string | Array<string> | null | undefined;
|
|
276
199
|
benefit_id?: string | Array<string> | null | undefined;
|
|
277
200
|
page: number;
|
|
278
201
|
limit: number;
|
|
@@ -284,14 +207,11 @@ export const CustomerPortalDownloadablesListRequest$outboundSchema: z.ZodType<
|
|
|
284
207
|
z.ZodTypeDef,
|
|
285
208
|
CustomerPortalDownloadablesListRequest
|
|
286
209
|
> = z.object({
|
|
287
|
-
organizationId: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
288
|
-
.optional(),
|
|
289
210
|
benefitId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
290
211
|
page: z.number().int().default(1),
|
|
291
212
|
limit: z.number().int().default(10),
|
|
292
213
|
}).transform((v) => {
|
|
293
214
|
return remap$(v, {
|
|
294
|
-
organizationId: "organization_id",
|
|
295
215
|
benefitId: "benefit_id",
|
|
296
216
|
});
|
|
297
217
|
});
|
|
@@ -18,18 +18,7 @@ export type CustomerPortalLicenseKeysListSecurity = {
|
|
|
18
18
|
customerSession: string;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
* Filter by organization ID.
|
|
23
|
-
*/
|
|
24
|
-
export type CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter =
|
|
25
|
-
| string
|
|
26
|
-
| Array<string>;
|
|
27
|
-
|
|
28
21
|
export type CustomerPortalLicenseKeysListRequest = {
|
|
29
|
-
/**
|
|
30
|
-
* Filter by organization ID.
|
|
31
|
-
*/
|
|
32
|
-
organizationId?: string | Array<string> | null | undefined;
|
|
33
22
|
/**
|
|
34
23
|
* Filter by a specific benefit
|
|
35
24
|
*/
|
|
@@ -115,89 +104,23 @@ export function customerPortalLicenseKeysListSecurityFromJSON(
|
|
|
115
104
|
);
|
|
116
105
|
}
|
|
117
106
|
|
|
118
|
-
/** @internal */
|
|
119
|
-
export const CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$inboundSchema:
|
|
120
|
-
z.ZodType<
|
|
121
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter,
|
|
122
|
-
z.ZodTypeDef,
|
|
123
|
-
unknown
|
|
124
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
125
|
-
|
|
126
|
-
/** @internal */
|
|
127
|
-
export type CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$Outbound =
|
|
128
|
-
| string
|
|
129
|
-
| Array<string>;
|
|
130
|
-
|
|
131
|
-
/** @internal */
|
|
132
|
-
export const CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$outboundSchema:
|
|
133
|
-
z.ZodType<
|
|
134
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$Outbound,
|
|
135
|
-
z.ZodTypeDef,
|
|
136
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter
|
|
137
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
142
|
-
*/
|
|
143
|
-
export namespace CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$ {
|
|
144
|
-
/** @deprecated use `CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$inboundSchema` instead. */
|
|
145
|
-
export const inboundSchema =
|
|
146
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$inboundSchema;
|
|
147
|
-
/** @deprecated use `CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$outboundSchema` instead. */
|
|
148
|
-
export const outboundSchema =
|
|
149
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$outboundSchema;
|
|
150
|
-
/** @deprecated use `CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$Outbound` instead. */
|
|
151
|
-
export type Outbound =
|
|
152
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$Outbound;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export function customerPortalLicenseKeysListQueryParamOrganizationIDFilterToJSON(
|
|
156
|
-
customerPortalLicenseKeysListQueryParamOrganizationIDFilter:
|
|
157
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter,
|
|
158
|
-
): string {
|
|
159
|
-
return JSON.stringify(
|
|
160
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$outboundSchema
|
|
161
|
-
.parse(customerPortalLicenseKeysListQueryParamOrganizationIDFilter),
|
|
162
|
-
);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export function customerPortalLicenseKeysListQueryParamOrganizationIDFilterFromJSON(
|
|
166
|
-
jsonString: string,
|
|
167
|
-
): SafeParseResult<
|
|
168
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter,
|
|
169
|
-
SDKValidationError
|
|
170
|
-
> {
|
|
171
|
-
return safeParse(
|
|
172
|
-
jsonString,
|
|
173
|
-
(x) =>
|
|
174
|
-
CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter$inboundSchema
|
|
175
|
-
.parse(JSON.parse(x)),
|
|
176
|
-
`Failed to parse 'CustomerPortalLicenseKeysListQueryParamOrganizationIDFilter' from JSON`,
|
|
177
|
-
);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
107
|
/** @internal */
|
|
181
108
|
export const CustomerPortalLicenseKeysListRequest$inboundSchema: z.ZodType<
|
|
182
109
|
CustomerPortalLicenseKeysListRequest,
|
|
183
110
|
z.ZodTypeDef,
|
|
184
111
|
unknown
|
|
185
112
|
> = z.object({
|
|
186
|
-
organization_id: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
187
|
-
.optional(),
|
|
188
113
|
benefit_id: z.nullable(z.string()).optional(),
|
|
189
114
|
page: z.number().int().default(1),
|
|
190
115
|
limit: z.number().int().default(10),
|
|
191
116
|
}).transform((v) => {
|
|
192
117
|
return remap$(v, {
|
|
193
|
-
"organization_id": "organizationId",
|
|
194
118
|
"benefit_id": "benefitId",
|
|
195
119
|
});
|
|
196
120
|
});
|
|
197
121
|
|
|
198
122
|
/** @internal */
|
|
199
123
|
export type CustomerPortalLicenseKeysListRequest$Outbound = {
|
|
200
|
-
organization_id?: string | Array<string> | null | undefined;
|
|
201
124
|
benefit_id?: string | null | undefined;
|
|
202
125
|
page: number;
|
|
203
126
|
limit: number;
|
|
@@ -209,14 +132,11 @@ export const CustomerPortalLicenseKeysListRequest$outboundSchema: z.ZodType<
|
|
|
209
132
|
z.ZodTypeDef,
|
|
210
133
|
CustomerPortalLicenseKeysListRequest
|
|
211
134
|
> = z.object({
|
|
212
|
-
organizationId: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
213
|
-
.optional(),
|
|
214
135
|
benefitId: z.nullable(z.string()).optional(),
|
|
215
136
|
page: z.number().int().default(1),
|
|
216
137
|
limit: z.number().int().default(10),
|
|
217
138
|
}).transform((v) => {
|
|
218
139
|
return remap$(v, {
|
|
219
|
-
organizationId: "organization_id",
|
|
220
140
|
benefitId: "benefit_id",
|
|
221
141
|
});
|
|
222
142
|
});
|
|
@@ -28,13 +28,6 @@ export type CustomerPortalOrdersListSecurity = {
|
|
|
28
28
|
customerSession: string;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
/**
|
|
32
|
-
* Filter by organization ID.
|
|
33
|
-
*/
|
|
34
|
-
export type CustomerPortalOrdersListQueryParamOrganizationIDFilter =
|
|
35
|
-
| string
|
|
36
|
-
| Array<string>;
|
|
37
|
-
|
|
38
31
|
/**
|
|
39
32
|
* Filter by product ID.
|
|
40
33
|
*/
|
|
@@ -57,10 +50,6 @@ export type CustomerPortalOrdersListQueryParamSubscriptionIDFilter =
|
|
|
57
50
|
| Array<string>;
|
|
58
51
|
|
|
59
52
|
export type CustomerPortalOrdersListRequest = {
|
|
60
|
-
/**
|
|
61
|
-
* Filter by organization ID.
|
|
62
|
-
*/
|
|
63
|
-
organizationId?: string | Array<string> | null | undefined;
|
|
64
53
|
/**
|
|
65
54
|
* Filter by product ID.
|
|
66
55
|
*/
|
|
@@ -163,69 +152,6 @@ export function customerPortalOrdersListSecurityFromJSON(
|
|
|
163
152
|
);
|
|
164
153
|
}
|
|
165
154
|
|
|
166
|
-
/** @internal */
|
|
167
|
-
export const CustomerPortalOrdersListQueryParamOrganizationIDFilter$inboundSchema:
|
|
168
|
-
z.ZodType<
|
|
169
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter,
|
|
170
|
-
z.ZodTypeDef,
|
|
171
|
-
unknown
|
|
172
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
173
|
-
|
|
174
|
-
/** @internal */
|
|
175
|
-
export type CustomerPortalOrdersListQueryParamOrganizationIDFilter$Outbound =
|
|
176
|
-
| string
|
|
177
|
-
| Array<string>;
|
|
178
|
-
|
|
179
|
-
/** @internal */
|
|
180
|
-
export const CustomerPortalOrdersListQueryParamOrganizationIDFilter$outboundSchema:
|
|
181
|
-
z.ZodType<
|
|
182
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter$Outbound,
|
|
183
|
-
z.ZodTypeDef,
|
|
184
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter
|
|
185
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* @internal
|
|
189
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
190
|
-
*/
|
|
191
|
-
export namespace CustomerPortalOrdersListQueryParamOrganizationIDFilter$ {
|
|
192
|
-
/** @deprecated use `CustomerPortalOrdersListQueryParamOrganizationIDFilter$inboundSchema` instead. */
|
|
193
|
-
export const inboundSchema =
|
|
194
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter$inboundSchema;
|
|
195
|
-
/** @deprecated use `CustomerPortalOrdersListQueryParamOrganizationIDFilter$outboundSchema` instead. */
|
|
196
|
-
export const outboundSchema =
|
|
197
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter$outboundSchema;
|
|
198
|
-
/** @deprecated use `CustomerPortalOrdersListQueryParamOrganizationIDFilter$Outbound` instead. */
|
|
199
|
-
export type Outbound =
|
|
200
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter$Outbound;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export function customerPortalOrdersListQueryParamOrganizationIDFilterToJSON(
|
|
204
|
-
customerPortalOrdersListQueryParamOrganizationIDFilter:
|
|
205
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter,
|
|
206
|
-
): string {
|
|
207
|
-
return JSON.stringify(
|
|
208
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter$outboundSchema.parse(
|
|
209
|
-
customerPortalOrdersListQueryParamOrganizationIDFilter,
|
|
210
|
-
),
|
|
211
|
-
);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export function customerPortalOrdersListQueryParamOrganizationIDFilterFromJSON(
|
|
215
|
-
jsonString: string,
|
|
216
|
-
): SafeParseResult<
|
|
217
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter,
|
|
218
|
-
SDKValidationError
|
|
219
|
-
> {
|
|
220
|
-
return safeParse(
|
|
221
|
-
jsonString,
|
|
222
|
-
(x) =>
|
|
223
|
-
CustomerPortalOrdersListQueryParamOrganizationIDFilter$inboundSchema
|
|
224
|
-
.parse(JSON.parse(x)),
|
|
225
|
-
`Failed to parse 'CustomerPortalOrdersListQueryParamOrganizationIDFilter' from JSON`,
|
|
226
|
-
);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
155
|
/** @internal */
|
|
230
156
|
export const CustomerPortalOrdersListQueryParamProductIDFilter$inboundSchema:
|
|
231
157
|
z.ZodType<
|
|
@@ -427,8 +353,6 @@ export const CustomerPortalOrdersListRequest$inboundSchema: z.ZodType<
|
|
|
427
353
|
z.ZodTypeDef,
|
|
428
354
|
unknown
|
|
429
355
|
> = z.object({
|
|
430
|
-
organization_id: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
431
|
-
.optional(),
|
|
432
356
|
product_id: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
433
357
|
product_billing_type: z.nullable(
|
|
434
358
|
z.union([
|
|
@@ -445,7 +369,6 @@ export const CustomerPortalOrdersListRequest$inboundSchema: z.ZodType<
|
|
|
445
369
|
.optional(),
|
|
446
370
|
}).transform((v) => {
|
|
447
371
|
return remap$(v, {
|
|
448
|
-
"organization_id": "organizationId",
|
|
449
372
|
"product_id": "productId",
|
|
450
373
|
"product_billing_type": "productBillingType",
|
|
451
374
|
"subscription_id": "subscriptionId",
|
|
@@ -454,7 +377,6 @@ export const CustomerPortalOrdersListRequest$inboundSchema: z.ZodType<
|
|
|
454
377
|
|
|
455
378
|
/** @internal */
|
|
456
379
|
export type CustomerPortalOrdersListRequest$Outbound = {
|
|
457
|
-
organization_id?: string | Array<string> | null | undefined;
|
|
458
380
|
product_id?: string | Array<string> | null | undefined;
|
|
459
381
|
product_billing_type?: string | Array<string> | null | undefined;
|
|
460
382
|
subscription_id?: string | Array<string> | null | undefined;
|
|
@@ -470,8 +392,6 @@ export const CustomerPortalOrdersListRequest$outboundSchema: z.ZodType<
|
|
|
470
392
|
z.ZodTypeDef,
|
|
471
393
|
CustomerPortalOrdersListRequest
|
|
472
394
|
> = z.object({
|
|
473
|
-
organizationId: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
474
|
-
.optional(),
|
|
475
395
|
productId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
476
396
|
productBillingType: z.nullable(
|
|
477
397
|
z.union([
|
|
@@ -488,7 +408,6 @@ export const CustomerPortalOrdersListRequest$outboundSchema: z.ZodType<
|
|
|
488
408
|
.optional(),
|
|
489
409
|
}).transform((v) => {
|
|
490
410
|
return remap$(v, {
|
|
491
|
-
organizationId: "organization_id",
|
|
492
411
|
productId: "product_id",
|
|
493
412
|
productBillingType: "product_billing_type",
|
|
494
413
|
subscriptionId: "subscription_id",
|
|
@@ -23,13 +23,6 @@ export type CustomerPortalSubscriptionsListSecurity = {
|
|
|
23
23
|
customerSession: string;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* Filter by organization ID.
|
|
28
|
-
*/
|
|
29
|
-
export type CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter =
|
|
30
|
-
| string
|
|
31
|
-
| Array<string>;
|
|
32
|
-
|
|
33
26
|
/**
|
|
34
27
|
* Filter by product ID.
|
|
35
28
|
*/
|
|
@@ -38,10 +31,6 @@ export type CustomerPortalSubscriptionsListQueryParamProductIDFilter =
|
|
|
38
31
|
| Array<string>;
|
|
39
32
|
|
|
40
33
|
export type CustomerPortalSubscriptionsListRequest = {
|
|
41
|
-
/**
|
|
42
|
-
* Filter by organization ID.
|
|
43
|
-
*/
|
|
44
|
-
organizationId?: string | Array<string> | null | undefined;
|
|
45
34
|
/**
|
|
46
35
|
* Filter by product ID.
|
|
47
36
|
*/
|
|
@@ -145,68 +134,6 @@ export function customerPortalSubscriptionsListSecurityFromJSON(
|
|
|
145
134
|
);
|
|
146
135
|
}
|
|
147
136
|
|
|
148
|
-
/** @internal */
|
|
149
|
-
export const CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$inboundSchema:
|
|
150
|
-
z.ZodType<
|
|
151
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter,
|
|
152
|
-
z.ZodTypeDef,
|
|
153
|
-
unknown
|
|
154
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
155
|
-
|
|
156
|
-
/** @internal */
|
|
157
|
-
export type CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$Outbound =
|
|
158
|
-
| string
|
|
159
|
-
| Array<string>;
|
|
160
|
-
|
|
161
|
-
/** @internal */
|
|
162
|
-
export const CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$outboundSchema:
|
|
163
|
-
z.ZodType<
|
|
164
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$Outbound,
|
|
165
|
-
z.ZodTypeDef,
|
|
166
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter
|
|
167
|
-
> = z.union([z.string(), z.array(z.string())]);
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @internal
|
|
171
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
172
|
-
*/
|
|
173
|
-
export namespace CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$ {
|
|
174
|
-
/** @deprecated use `CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$inboundSchema` instead. */
|
|
175
|
-
export const inboundSchema =
|
|
176
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$inboundSchema;
|
|
177
|
-
/** @deprecated use `CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$outboundSchema` instead. */
|
|
178
|
-
export const outboundSchema =
|
|
179
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$outboundSchema;
|
|
180
|
-
/** @deprecated use `CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$Outbound` instead. */
|
|
181
|
-
export type Outbound =
|
|
182
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$Outbound;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
export function customerPortalSubscriptionsListQueryParamOrganizationIDFilterToJSON(
|
|
186
|
-
customerPortalSubscriptionsListQueryParamOrganizationIDFilter:
|
|
187
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter,
|
|
188
|
-
): string {
|
|
189
|
-
return JSON.stringify(
|
|
190
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$outboundSchema
|
|
191
|
-
.parse(customerPortalSubscriptionsListQueryParamOrganizationIDFilter),
|
|
192
|
-
);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export function customerPortalSubscriptionsListQueryParamOrganizationIDFilterFromJSON(
|
|
196
|
-
jsonString: string,
|
|
197
|
-
): SafeParseResult<
|
|
198
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter,
|
|
199
|
-
SDKValidationError
|
|
200
|
-
> {
|
|
201
|
-
return safeParse(
|
|
202
|
-
jsonString,
|
|
203
|
-
(x) =>
|
|
204
|
-
CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter$inboundSchema
|
|
205
|
-
.parse(JSON.parse(x)),
|
|
206
|
-
`Failed to parse 'CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter' from JSON`,
|
|
207
|
-
);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
137
|
/** @internal */
|
|
211
138
|
export const CustomerPortalSubscriptionsListQueryParamProductIDFilter$inboundSchema:
|
|
212
139
|
z.ZodType<
|
|
@@ -275,8 +202,6 @@ export const CustomerPortalSubscriptionsListRequest$inboundSchema: z.ZodType<
|
|
|
275
202
|
z.ZodTypeDef,
|
|
276
203
|
unknown
|
|
277
204
|
> = z.object({
|
|
278
|
-
organization_id: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
279
|
-
.optional(),
|
|
280
205
|
product_id: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
281
206
|
active: z.nullable(z.boolean()).optional(),
|
|
282
207
|
query: z.nullable(z.string()).optional(),
|
|
@@ -286,14 +211,12 @@ export const CustomerPortalSubscriptionsListRequest$inboundSchema: z.ZodType<
|
|
|
286
211
|
.optional(),
|
|
287
212
|
}).transform((v) => {
|
|
288
213
|
return remap$(v, {
|
|
289
|
-
"organization_id": "organizationId",
|
|
290
214
|
"product_id": "productId",
|
|
291
215
|
});
|
|
292
216
|
});
|
|
293
217
|
|
|
294
218
|
/** @internal */
|
|
295
219
|
export type CustomerPortalSubscriptionsListRequest$Outbound = {
|
|
296
|
-
organization_id?: string | Array<string> | null | undefined;
|
|
297
220
|
product_id?: string | Array<string> | null | undefined;
|
|
298
221
|
active?: boolean | null | undefined;
|
|
299
222
|
query?: string | null | undefined;
|
|
@@ -308,8 +231,6 @@ export const CustomerPortalSubscriptionsListRequest$outboundSchema: z.ZodType<
|
|
|
308
231
|
z.ZodTypeDef,
|
|
309
232
|
CustomerPortalSubscriptionsListRequest
|
|
310
233
|
> = z.object({
|
|
311
|
-
organizationId: z.nullable(z.union([z.string(), z.array(z.string())]))
|
|
312
|
-
.optional(),
|
|
313
234
|
productId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
|
|
314
235
|
active: z.nullable(z.boolean()).optional(),
|
|
315
236
|
query: z.nullable(z.string()).optional(),
|
|
@@ -319,7 +240,6 @@ export const CustomerPortalSubscriptionsListRequest$outboundSchema: z.ZodType<
|
|
|
319
240
|
.optional(),
|
|
320
241
|
}).transform((v) => {
|
|
321
242
|
return remap$(v, {
|
|
322
|
-
organizationId: "organization_id",
|
|
323
243
|
productId: "product_id",
|
|
324
244
|
});
|
|
325
245
|
});
|