@polar-sh/sdk 0.9.0 → 0.11.0
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 +0 -44
- package/docs/sdks/advertisements/README.md +4 -4
- package/docs/sdks/articles/README.md +21 -19
- package/docs/sdks/benefits/README.md +17 -21
- package/docs/sdks/checkouts/README.md +6 -6
- package/docs/sdks/clients/README.md +17 -17
- package/docs/sdks/downloadables/README.md +4 -4
- package/docs/sdks/externalorganizations/README.md +1 -1
- package/docs/sdks/files/README.md +21 -19
- package/docs/sdks/licensekeys/README.md +10 -10
- package/docs/sdks/metrics/README.md +6 -6
- package/docs/sdks/oauth2/README.md +16 -16
- package/docs/sdks/orders/README.md +7 -7
- package/docs/sdks/organizations/README.md +10 -10
- package/docs/sdks/polaradvertisements/README.md +15 -13
- package/docs/sdks/polarbenefits/README.md +4 -4
- package/docs/sdks/polarlicensekeys/README.md +12 -10
- package/docs/sdks/polarorders/README.md +7 -7
- package/docs/sdks/polarsubscriptions/README.md +15 -99
- package/docs/sdks/products/README.md +15 -18
- package/docs/sdks/repositories/README.md +7 -7
- package/docs/sdks/subscriptions/README.md +4 -168
- package/funcs/advertisementsGet.d.ts +1 -1
- package/funcs/advertisementsGet.d.ts.map +1 -1
- package/funcs/advertisementsGet.js +32 -32
- package/funcs/advertisementsGet.js.map +1 -1
- package/funcs/advertisementsList.d.ts +1 -1
- package/funcs/advertisementsList.d.ts.map +1 -1
- package/funcs/advertisementsList.js +42 -42
- package/funcs/advertisementsList.js.map +1 -1
- package/funcs/articlesCreate.d.ts +1 -1
- package/funcs/articlesCreate.d.ts.map +1 -1
- package/funcs/articlesCreate.js +30 -30
- package/funcs/articlesCreate.js.map +1 -1
- package/funcs/articlesDelete.d.ts +1 -1
- package/funcs/articlesDelete.d.ts.map +1 -1
- package/funcs/articlesDelete.js +32 -32
- package/funcs/articlesDelete.js.map +1 -1
- package/funcs/articlesGet.d.ts +1 -1
- package/funcs/articlesGet.d.ts.map +1 -1
- package/funcs/articlesGet.js +32 -32
- package/funcs/articlesGet.js.map +1 -1
- package/funcs/articlesList.d.ts +1 -1
- package/funcs/articlesList.d.ts.map +1 -1
- package/funcs/articlesList.js +46 -46
- package/funcs/articlesList.js.map +1 -1
- package/funcs/articlesPreview.d.ts +1 -1
- package/funcs/articlesPreview.d.ts.map +1 -1
- package/funcs/articlesPreview.js +32 -32
- package/funcs/articlesPreview.js.map +1 -1
- package/funcs/articlesReceivers.d.ts +1 -1
- package/funcs/articlesReceivers.d.ts.map +1 -1
- package/funcs/articlesReceivers.js +32 -32
- package/funcs/articlesReceivers.js.map +1 -1
- package/funcs/articlesSend.d.ts +1 -1
- package/funcs/articlesSend.d.ts.map +1 -1
- package/funcs/articlesSend.js +32 -32
- package/funcs/articlesSend.js.map +1 -1
- package/funcs/articlesUpdate.d.ts +1 -1
- package/funcs/articlesUpdate.d.ts.map +1 -1
- package/funcs/articlesUpdate.js +32 -32
- package/funcs/articlesUpdate.js.map +1 -1
- package/funcs/benefitsCreate.d.ts +1 -1
- package/funcs/benefitsCreate.d.ts.map +1 -1
- package/funcs/benefitsCreate.js +30 -30
- package/funcs/benefitsCreate.js.map +1 -1
- package/funcs/benefitsDelete.d.ts +1 -1
- package/funcs/benefitsDelete.d.ts.map +1 -1
- package/funcs/benefitsDelete.js +32 -32
- package/funcs/benefitsDelete.js.map +1 -1
- package/funcs/benefitsGet.d.ts +1 -1
- package/funcs/benefitsGet.d.ts.map +1 -1
- package/funcs/benefitsGet.js +32 -32
- package/funcs/benefitsGet.js.map +1 -1
- package/funcs/benefitsGrants.d.ts +1 -1
- package/funcs/benefitsGrants.d.ts.map +1 -1
- package/funcs/benefitsGrants.js +45 -45
- package/funcs/benefitsGrants.js.map +1 -1
- package/funcs/benefitsList.d.ts +1 -1
- package/funcs/benefitsList.d.ts.map +1 -1
- package/funcs/benefitsList.js +42 -42
- package/funcs/benefitsList.js.map +1 -1
- package/funcs/benefitsUpdate.d.ts +1 -1
- package/funcs/benefitsUpdate.d.ts.map +1 -1
- package/funcs/benefitsUpdate.js +32 -32
- package/funcs/benefitsUpdate.js.map +1 -1
- package/funcs/checkoutsCreate.d.ts +1 -1
- package/funcs/checkoutsCreate.d.ts.map +1 -1
- package/funcs/checkoutsCreate.js +30 -30
- package/funcs/checkoutsCreate.js.map +1 -1
- package/funcs/checkoutsGet.d.ts +1 -1
- package/funcs/checkoutsGet.d.ts.map +1 -1
- package/funcs/checkoutsGet.js +32 -32
- package/funcs/checkoutsGet.js.map +1 -1
- package/funcs/externalOrganizationsList.d.ts +1 -1
- package/funcs/externalOrganizationsList.d.ts.map +1 -1
- package/funcs/externalOrganizationsList.js +44 -44
- package/funcs/externalOrganizationsList.js.map +1 -1
- package/funcs/filesCreate.d.ts +1 -1
- package/funcs/filesCreate.d.ts.map +1 -1
- package/funcs/filesCreate.js +30 -30
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/filesDelete.d.ts +1 -1
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +32 -32
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesList.d.ts +1 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +41 -41
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpdate.d.ts +1 -1
- package/funcs/filesUpdate.d.ts.map +1 -1
- package/funcs/filesUpdate.js +32 -32
- package/funcs/filesUpdate.js.map +1 -1
- package/funcs/filesUploaded.d.ts +1 -1
- package/funcs/filesUploaded.d.ts.map +1 -1
- package/funcs/filesUploaded.js +32 -32
- package/funcs/filesUploaded.js.map +1 -1
- package/funcs/licenseKeysGet.d.ts +1 -1
- package/funcs/licenseKeysGet.d.ts.map +1 -1
- package/funcs/licenseKeysGet.js +32 -32
- package/funcs/licenseKeysGet.js.map +1 -1
- package/funcs/licenseKeysGetActivation.d.ts +1 -1
- package/funcs/licenseKeysGetActivation.d.ts.map +1 -1
- package/funcs/licenseKeysGetActivation.js +33 -33
- package/funcs/licenseKeysGetActivation.js.map +1 -1
- package/funcs/licenseKeysList.d.ts +1 -1
- package/funcs/licenseKeysList.d.ts.map +1 -1
- package/funcs/licenseKeysList.js +41 -41
- package/funcs/licenseKeysList.js.map +1 -1
- package/funcs/licenseKeysUpdate.d.ts +1 -1
- package/funcs/licenseKeysUpdate.d.ts.map +1 -1
- package/funcs/licenseKeysUpdate.js +32 -34
- package/funcs/licenseKeysUpdate.js.map +1 -1
- package/funcs/metricsGet.d.ts +1 -1
- package/funcs/metricsGet.d.ts.map +1 -1
- package/funcs/metricsGet.js +38 -38
- package/funcs/metricsGet.js.map +1 -1
- package/funcs/metricsLimits.d.ts +1 -1
- package/funcs/metricsLimits.d.ts.map +1 -1
- package/funcs/metricsLimits.js +20 -20
- package/funcs/metricsLimits.js.map +1 -1
- package/funcs/oauth2ClientsCreate.d.ts +1 -1
- package/funcs/oauth2ClientsCreate.d.ts.map +1 -1
- package/funcs/oauth2ClientsCreate.js +30 -30
- package/funcs/oauth2ClientsCreate.js.map +1 -1
- package/funcs/oauth2ClientsDelete.d.ts +1 -1
- package/funcs/oauth2ClientsDelete.d.ts.map +1 -1
- package/funcs/oauth2ClientsDelete.js +32 -32
- package/funcs/oauth2ClientsDelete.js.map +1 -1
- package/funcs/oauth2ClientsGet.d.ts +1 -1
- package/funcs/oauth2ClientsGet.d.ts.map +1 -1
- package/funcs/oauth2ClientsGet.js +32 -32
- package/funcs/oauth2ClientsGet.js.map +1 -1
- package/funcs/oauth2ClientsList.d.ts +1 -1
- package/funcs/oauth2ClientsList.d.ts.map +1 -1
- package/funcs/oauth2ClientsList.js +40 -40
- package/funcs/oauth2ClientsList.js.map +1 -1
- package/funcs/oauth2ClientsUpdate.d.ts +1 -1
- package/funcs/oauth2ClientsUpdate.d.ts.map +1 -1
- package/funcs/oauth2ClientsUpdate.js +32 -32
- package/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/funcs/oauth2Introspect.d.ts +1 -1
- package/funcs/oauth2Introspect.d.ts.map +1 -1
- package/funcs/oauth2Introspect.js +29 -29
- package/funcs/oauth2Introspect.js.map +1 -1
- package/funcs/oauth2Revoke.d.ts +1 -1
- package/funcs/oauth2Revoke.d.ts.map +1 -1
- package/funcs/oauth2Revoke.js +28 -28
- package/funcs/oauth2Revoke.js.map +1 -1
- package/funcs/oauth2Token.d.ts +1 -1
- package/funcs/oauth2Token.d.ts.map +1 -1
- package/funcs/oauth2Token.js +28 -28
- package/funcs/oauth2Token.js.map +1 -1
- package/funcs/oauth2Userinfo.d.ts +1 -1
- package/funcs/oauth2Userinfo.d.ts.map +1 -1
- package/funcs/oauth2Userinfo.js +20 -20
- package/funcs/oauth2Userinfo.js.map +1 -1
- package/funcs/ordersGet.d.ts +1 -1
- package/funcs/ordersGet.d.ts.map +1 -1
- package/funcs/ordersGet.js +32 -32
- package/funcs/ordersGet.js.map +1 -1
- package/funcs/ordersInvoice.d.ts +1 -1
- package/funcs/ordersInvoice.d.ts.map +1 -1
- package/funcs/ordersInvoice.js +32 -32
- package/funcs/ordersInvoice.js.map +1 -1
- package/funcs/ordersList.d.ts +1 -1
- package/funcs/ordersList.d.ts.map +1 -1
- package/funcs/ordersList.js +44 -46
- package/funcs/ordersList.js.map +1 -1
- package/funcs/organizationsCreate.d.ts +1 -1
- package/funcs/organizationsCreate.d.ts.map +1 -1
- package/funcs/organizationsCreate.js +30 -30
- package/funcs/organizationsCreate.js.map +1 -1
- package/funcs/organizationsGet.d.ts +1 -1
- package/funcs/organizationsGet.d.ts.map +1 -1
- package/funcs/organizationsGet.js +32 -32
- package/funcs/organizationsGet.js.map +1 -1
- package/funcs/organizationsList.d.ts +1 -1
- package/funcs/organizationsList.d.ts.map +1 -1
- package/funcs/organizationsList.js +43 -43
- package/funcs/organizationsList.js.map +1 -1
- package/funcs/organizationsUpdate.d.ts +1 -1
- package/funcs/organizationsUpdate.d.ts.map +1 -1
- package/funcs/organizationsUpdate.js +32 -32
- package/funcs/organizationsUpdate.js.map +1 -1
- package/funcs/productsCreate.d.ts +1 -1
- package/funcs/productsCreate.d.ts.map +1 -1
- package/funcs/productsCreate.js +30 -30
- package/funcs/productsCreate.js.map +1 -1
- package/funcs/productsGet.d.ts +1 -1
- package/funcs/productsGet.d.ts.map +1 -1
- package/funcs/productsGet.js +32 -32
- package/funcs/productsGet.js.map +1 -1
- package/funcs/productsList.d.ts +1 -1
- package/funcs/productsList.d.ts.map +1 -1
- package/funcs/productsList.js +44 -45
- package/funcs/productsList.js.map +1 -1
- package/funcs/productsUpdate.d.ts +1 -1
- package/funcs/productsUpdate.d.ts.map +1 -1
- package/funcs/productsUpdate.js +32 -32
- package/funcs/productsUpdate.js.map +1 -1
- package/funcs/productsUpdateBenefits.d.ts +1 -1
- package/funcs/productsUpdateBenefits.d.ts.map +1 -1
- package/funcs/productsUpdateBenefits.js +32 -32
- package/funcs/productsUpdateBenefits.js.map +1 -1
- package/funcs/repositoriesGet.d.ts +1 -1
- package/funcs/repositoriesGet.d.ts.map +1 -1
- package/funcs/repositoriesGet.js +32 -32
- package/funcs/repositoriesGet.js.map +1 -1
- package/funcs/repositoriesList.d.ts +1 -1
- package/funcs/repositoriesList.d.ts.map +1 -1
- package/funcs/repositoriesList.js +46 -46
- package/funcs/repositoriesList.js.map +1 -1
- package/funcs/repositoriesUpdate.d.ts +1 -1
- package/funcs/repositoriesUpdate.d.ts.map +1 -1
- package/funcs/repositoriesUpdate.js +32 -34
- package/funcs/repositoriesUpdate.js.map +1 -1
- package/funcs/subscriptionsExport.d.ts +1 -1
- package/funcs/subscriptionsExport.d.ts.map +1 -1
- package/funcs/subscriptionsExport.js +33 -33
- package/funcs/subscriptionsExport.js.map +1 -1
- package/funcs/subscriptionsList.d.ts +1 -1
- package/funcs/subscriptionsList.d.ts.map +1 -1
- package/funcs/subscriptionsList.js +44 -45
- package/funcs/subscriptionsList.js.map +1 -1
- package/funcs/usersAdvertisementsCreate.d.ts +1 -1
- package/funcs/usersAdvertisementsCreate.d.ts.map +1 -1
- package/funcs/usersAdvertisementsCreate.js +30 -30
- package/funcs/usersAdvertisementsCreate.js.map +1 -1
- package/funcs/usersAdvertisementsDelete.d.ts +1 -1
- package/funcs/usersAdvertisementsDelete.d.ts.map +1 -1
- package/funcs/usersAdvertisementsDelete.js +32 -32
- package/funcs/usersAdvertisementsDelete.js.map +1 -1
- package/funcs/usersAdvertisementsEnable.d.ts +1 -1
- package/funcs/usersAdvertisementsEnable.d.ts.map +1 -1
- package/funcs/usersAdvertisementsEnable.js +32 -32
- package/funcs/usersAdvertisementsEnable.js.map +1 -1
- package/funcs/usersAdvertisementsGet.d.ts +1 -1
- package/funcs/usersAdvertisementsGet.d.ts.map +1 -1
- package/funcs/usersAdvertisementsGet.js +32 -32
- package/funcs/usersAdvertisementsGet.js.map +1 -1
- package/funcs/usersAdvertisementsList.d.ts +1 -1
- package/funcs/usersAdvertisementsList.d.ts.map +1 -1
- package/funcs/usersAdvertisementsList.js +41 -41
- package/funcs/usersAdvertisementsList.js.map +1 -1
- package/funcs/usersAdvertisementsUpdate.d.ts +1 -1
- package/funcs/usersAdvertisementsUpdate.d.ts.map +1 -1
- package/funcs/usersAdvertisementsUpdate.js +32 -32
- package/funcs/usersAdvertisementsUpdate.js.map +1 -1
- package/funcs/usersBenefitsGet.d.ts +1 -1
- package/funcs/usersBenefitsGet.d.ts.map +1 -1
- package/funcs/usersBenefitsGet.js +32 -32
- package/funcs/usersBenefitsGet.js.map +1 -1
- package/funcs/usersBenefitsList.d.ts +1 -1
- package/funcs/usersBenefitsList.d.ts.map +1 -1
- package/funcs/usersBenefitsList.js +45 -45
- package/funcs/usersBenefitsList.js.map +1 -1
- package/funcs/usersDownloadablesGet.d.ts +1 -1
- package/funcs/usersDownloadablesGet.d.ts.map +1 -1
- package/funcs/usersDownloadablesGet.js +32 -32
- package/funcs/usersDownloadablesGet.js.map +1 -1
- package/funcs/usersDownloadablesList.d.ts +1 -1
- package/funcs/usersDownloadablesList.d.ts.map +1 -1
- package/funcs/usersDownloadablesList.js +42 -42
- package/funcs/usersDownloadablesList.js.map +1 -1
- package/funcs/usersLicenseKeysActivate.d.ts +1 -1
- package/funcs/usersLicenseKeysActivate.d.ts.map +1 -1
- package/funcs/usersLicenseKeysActivate.js +30 -30
- package/funcs/usersLicenseKeysActivate.js.map +1 -1
- package/funcs/usersLicenseKeysDeactivate.d.ts +1 -1
- package/funcs/usersLicenseKeysDeactivate.d.ts.map +1 -1
- package/funcs/usersLicenseKeysDeactivate.js +30 -30
- package/funcs/usersLicenseKeysDeactivate.js.map +1 -1
- package/funcs/usersLicenseKeysGet.d.ts +1 -1
- package/funcs/usersLicenseKeysGet.d.ts.map +1 -1
- package/funcs/usersLicenseKeysGet.js +32 -32
- package/funcs/usersLicenseKeysGet.js.map +1 -1
- package/funcs/usersLicenseKeysList.d.ts +1 -1
- package/funcs/usersLicenseKeysList.d.ts.map +1 -1
- package/funcs/usersLicenseKeysList.js +42 -42
- package/funcs/usersLicenseKeysList.js.map +1 -1
- package/funcs/usersLicenseKeysValidate.d.ts +1 -1
- package/funcs/usersLicenseKeysValidate.d.ts.map +1 -1
- package/funcs/usersLicenseKeysValidate.js +30 -30
- package/funcs/usersLicenseKeysValidate.js.map +1 -1
- package/funcs/usersOrdersGet.d.ts +1 -1
- package/funcs/usersOrdersGet.d.ts.map +1 -1
- package/funcs/usersOrdersGet.js +32 -32
- package/funcs/usersOrdersGet.js.map +1 -1
- package/funcs/usersOrdersInvoice.d.ts +1 -1
- package/funcs/usersOrdersInvoice.d.ts.map +1 -1
- package/funcs/usersOrdersInvoice.js +32 -32
- package/funcs/usersOrdersInvoice.js.map +1 -1
- package/funcs/usersOrdersList.d.ts +1 -1
- package/funcs/usersOrdersList.d.ts.map +1 -1
- package/funcs/usersOrdersList.js +46 -46
- package/funcs/usersOrdersList.js.map +1 -1
- package/funcs/usersSubscriptionsCancel.d.ts +1 -1
- package/funcs/usersSubscriptionsCancel.d.ts.map +1 -1
- package/funcs/usersSubscriptionsCancel.js +32 -32
- package/funcs/usersSubscriptionsCancel.js.map +1 -1
- package/funcs/usersSubscriptionsGet.d.ts +1 -1
- package/funcs/usersSubscriptionsGet.d.ts.map +1 -1
- package/funcs/usersSubscriptionsGet.js +32 -32
- package/funcs/usersSubscriptionsGet.js.map +1 -1
- package/funcs/usersSubscriptionsList.d.ts +1 -1
- package/funcs/usersSubscriptionsList.d.ts.map +1 -1
- package/funcs/usersSubscriptionsList.js +45 -45
- package/funcs/usersSubscriptionsList.js.map +1 -1
- package/funcs/usersSubscriptionsUpdate.d.ts +1 -1
- package/funcs/usersSubscriptionsUpdate.d.ts.map +1 -1
- package/funcs/usersSubscriptionsUpdate.js +33 -33
- package/funcs/usersSubscriptionsUpdate.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +5 -8
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +36 -20
- package/lib/sdks.js.map +1 -1
- package/models/components/benefitcustomsubscriber.d.ts +3 -3
- package/models/components/benefitcustomsubscriber.d.ts.map +1 -1
- package/models/components/benefitcustomsubscriber.js +3 -3
- package/models/components/benefitcustomsubscriber.js.map +1 -1
- package/models/components/benefitgrant.d.ts +28 -9
- package/models/components/benefitgrant.d.ts.map +1 -1
- package/models/components/benefitgrant.js +57 -4
- package/models/components/benefitgrant.js.map +1 -1
- package/models/components/benefitgrantads.d.ts +3 -3
- package/models/components/benefitgrantads.d.ts.map +1 -1
- package/models/components/benefitgrantads.js +3 -3
- package/models/components/benefitgrantads.js.map +1 -1
- package/models/components/benefitgrantadsproperties.d.ts +2 -5
- package/models/components/benefitgrantadsproperties.d.ts.map +1 -1
- package/models/components/benefitgrantadsproperties.js +2 -2
- package/models/components/benefitgrantadsproperties.js.map +1 -1
- package/models/components/benefitgrantadssubscriberproperties.d.ts +28 -0
- package/models/components/benefitgrantadssubscriberproperties.d.ts.map +1 -0
- package/models/components/{userfreesubscriptioncreate.js → benefitgrantadssubscriberproperties.js} +15 -19
- package/models/components/benefitgrantadssubscriberproperties.js.map +1 -0
- package/models/components/benefitgrantarticlesproperties.d.ts +21 -0
- package/models/components/benefitgrantarticlesproperties.d.ts.map +1 -0
- package/models/components/{benefitgrantproperties.js → benefitgrantarticlesproperties.js} +11 -11
- package/models/components/benefitgrantarticlesproperties.js.map +1 -0
- package/models/components/benefitgrantcustomproperties.d.ts +21 -0
- package/models/components/benefitgrantcustomproperties.d.ts.map +1 -0
- package/models/components/{subscriptionsimported.js → benefitgrantcustomproperties.js} +11 -15
- package/models/components/benefitgrantcustomproperties.js.map +1 -0
- package/models/components/benefitgrantdiscordproperties.d.ts +29 -0
- package/models/components/benefitgrantdiscordproperties.d.ts.map +1 -0
- package/models/components/{subscriptioncreateemail.js → benefitgrantdiscordproperties.js} +23 -17
- package/models/components/benefitgrantdiscordproperties.js.map +1 -0
- package/models/components/benefitgrantdownloadablesproperties.d.ts +25 -0
- package/models/components/benefitgrantdownloadablesproperties.d.ts.map +1 -0
- package/models/components/{subscriptiontiertype.js → benefitgrantdownloadablesproperties.js} +15 -16
- package/models/components/benefitgrantdownloadablesproperties.js.map +1 -0
- package/models/components/benefitgrantgithubrepositoryproperties.d.ts +66 -0
- package/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -0
- package/models/components/benefitgrantgithubrepositoryproperties.js +94 -0
- package/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -0
- package/models/components/benefitgrantlicensekeys.d.ts +2 -2
- package/models/components/benefitgrantlicensekeys.d.ts.map +1 -1
- package/models/components/benefitgrantlicensekeys.js +2 -2
- package/models/components/benefitgrantlicensekeys.js.map +1 -1
- package/models/components/benefitgrantlicensekeysproperties.d.ts +4 -4
- package/models/components/benefitgrantlicensekeysproperties.d.ts.map +1 -1
- package/models/components/benefitgrantlicensekeysproperties.js +4 -4
- package/models/components/benefitgrantlicensekeysproperties.js.map +1 -1
- package/models/components/benefitgrantsubscriber.d.ts +78 -0
- package/models/components/benefitgrantsubscriber.d.ts.map +1 -0
- package/models/components/benefitgrantsubscriber.js +97 -0
- package/models/components/benefitgrantsubscriber.js.map +1 -0
- package/models/components/benefitgrantwebhook.d.ts +155 -0
- package/models/components/benefitgrantwebhook.d.ts.map +1 -0
- package/models/components/benefitgrantwebhook.js +260 -0
- package/models/components/benefitgrantwebhook.js.map +1 -0
- package/models/components/checkoutcreate.d.ts +5 -0
- package/models/components/checkoutcreate.d.ts.map +1 -1
- package/models/components/checkoutcreate.js +4 -0
- package/models/components/checkoutcreate.js.map +1 -1
- package/models/components/index.d.ts +16 -7
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -7
- package/models/components/index.js.map +1 -1
- package/models/components/orderproduct.d.ts +0 -11
- package/models/components/orderproduct.d.ts.map +1 -1
- package/models/components/orderproduct.js +0 -7
- package/models/components/orderproduct.js.map +1 -1
- package/models/components/ordersubscription.d.ts +2 -2
- package/models/components/ordersubscription.d.ts.map +1 -1
- package/models/components/ordersubscription.js +2 -2
- package/models/components/ordersubscription.js.map +1 -1
- package/models/components/productinput.d.ts +0 -11
- package/models/components/productinput.d.ts.map +1 -1
- package/models/components/productinput.js +0 -7
- package/models/components/productinput.js.map +1 -1
- package/models/components/productonetimecreate.d.ts +5 -4
- package/models/components/productonetimecreate.d.ts.map +1 -1
- package/models/components/productonetimecreate.js +5 -0
- package/models/components/productonetimecreate.js.map +1 -1
- package/models/components/productoutput.d.ts +0 -11
- package/models/components/productoutput.d.ts.map +1 -1
- package/models/components/productoutput.js +0 -7
- package/models/components/productoutput.js.map +1 -1
- package/models/components/productpriceonetime.d.ts +3 -2
- package/models/components/productpriceonetime.d.ts.map +1 -1
- package/models/components/productpriceonetime.js +3 -0
- package/models/components/productpriceonetime.js.map +1 -1
- package/models/components/productpriceonetimecustom.d.ts +5 -5
- package/models/components/productpriceonetimecustom.d.ts.map +1 -1
- package/models/components/productpriceonetimecustom.js +4 -4
- package/models/components/productpriceonetimecustom.js.map +1 -1
- package/models/components/productpriceonetimecustomcreate.d.ts +24 -0
- package/models/components/productpriceonetimecustomcreate.d.ts.map +1 -1
- package/models/components/productpriceonetimecustomcreate.js +24 -1
- package/models/components/productpriceonetimecustomcreate.js.map +1 -1
- package/models/components/productpriceonetimefixed.d.ts +5 -5
- package/models/components/productpriceonetimefixed.d.ts.map +1 -1
- package/models/components/productpriceonetimefixed.js +4 -4
- package/models/components/productpriceonetimefixed.js.map +1 -1
- package/models/components/productpriceonetimefixedcreate.d.ts +29 -5
- package/models/components/productpriceonetimefixedcreate.d.ts.map +1 -1
- package/models/components/productpriceonetimefixedcreate.js +28 -5
- package/models/components/productpriceonetimefixedcreate.js.map +1 -1
- package/models/components/productpriceonetimefree.d.ts +104 -0
- package/models/components/productpriceonetimefree.d.ts.map +1 -0
- package/models/components/productpriceonetimefree.js +114 -0
- package/models/components/productpriceonetimefree.js.map +1 -0
- package/models/components/productpriceonetimefreecreate.d.ts +75 -0
- package/models/components/productpriceonetimefreecreate.d.ts.map +1 -0
- package/models/components/productpriceonetimefreecreate.js +98 -0
- package/models/components/productpriceonetimefreecreate.js.map +1 -0
- package/models/components/productpricerecurringcustom.d.ts +5 -5
- package/models/components/productpricerecurringcustom.d.ts.map +1 -1
- package/models/components/productpricerecurringcustom.js +4 -4
- package/models/components/productpricerecurringcustom.js.map +1 -1
- package/models/components/productpricerecurringfixed.d.ts +5 -5
- package/models/components/productpricerecurringfixed.d.ts.map +1 -1
- package/models/components/productpricerecurringfixed.js +4 -4
- package/models/components/productpricerecurringfixed.js.map +1 -1
- package/models/components/productpricerecurringfixedcreate.d.ts +91 -0
- package/models/components/productpricerecurringfixedcreate.d.ts.map +1 -0
- package/models/components/productpricerecurringfixedcreate.js +111 -0
- package/models/components/productpricerecurringfixedcreate.js.map +1 -0
- package/models/components/productpricerecurringfree.d.ts +110 -0
- package/models/components/productpricerecurringfree.d.ts.map +1 -0
- package/models/components/productpricerecurringfree.js +119 -0
- package/models/components/productpricerecurringfree.js.map +1 -0
- package/models/components/productpricerecurringfreecreate.d.ts +81 -0
- package/models/components/productpricerecurringfreecreate.d.ts.map +1 -0
- package/models/components/productpricerecurringfreecreate.js +103 -0
- package/models/components/productpricerecurringfreecreate.js.map +1 -0
- package/models/components/productpricerecurringinput.d.ts +7 -2
- package/models/components/productpricerecurringinput.d.ts.map +1 -1
- package/models/components/productpricerecurringinput.js +7 -0
- package/models/components/productpricerecurringinput.js.map +1 -1
- package/models/components/productpricerecurringoutput.d.ts +7 -2
- package/models/components/productpricerecurringoutput.d.ts.map +1 -1
- package/models/components/productpricerecurringoutput.js +7 -0
- package/models/components/productpricerecurringoutput.js.map +1 -1
- package/models/components/productrecurringcreate.d.ts +17 -36
- package/models/components/productrecurringcreate.d.ts.map +1 -1
- package/models/components/productrecurringcreate.js +26 -26
- package/models/components/productrecurringcreate.js.map +1 -1
- package/models/components/productupdate.d.ts +7 -10
- package/models/components/productupdate.d.ts.map +1 -1
- package/models/components/productupdate.js +15 -9
- package/models/components/productupdate.js.map +1 -1
- package/models/components/subscriptioninput.d.ts +4 -4
- package/models/components/subscriptioninput.d.ts.map +1 -1
- package/models/components/subscriptioninput.js +4 -4
- package/models/components/subscriptioninput.js.map +1 -1
- package/models/components/subscriptionoutput.d.ts +4 -4
- package/models/components/subscriptionoutput.d.ts.map +1 -1
- package/models/components/subscriptionoutput.js +4 -4
- package/models/components/subscriptionoutput.js.map +1 -1
- package/models/components/subscriptionsortproperty.d.ts +0 -6
- package/models/components/subscriptionsortproperty.d.ts.map +1 -1
- package/models/components/subscriptionsortproperty.js +0 -2
- package/models/components/subscriptionsortproperty.js.map +1 -1
- package/models/components/userorderproduct.d.ts +0 -11
- package/models/components/userorderproduct.d.ts.map +1 -1
- package/models/components/userorderproduct.js +0 -7
- package/models/components/userorderproduct.js.map +1 -1
- package/models/components/userordersubscription.d.ts +2 -2
- package/models/components/userordersubscription.d.ts.map +1 -1
- package/models/components/userordersubscription.js +2 -2
- package/models/components/userordersubscription.js.map +1 -1
- package/models/components/usersubscription.d.ts +4 -4
- package/models/components/usersubscription.d.ts.map +1 -1
- package/models/components/usersubscription.js +4 -4
- package/models/components/usersubscription.js.map +1 -1
- package/models/components/usersubscriptionproduct.d.ts +0 -11
- package/models/components/usersubscriptionproduct.d.ts.map +1 -1
- package/models/components/usersubscriptionproduct.js +0 -7
- package/models/components/usersubscriptionproduct.js.map +1 -1
- package/models/components/webhookbenefitgrantcreatedpayload.d.ts +58 -0
- package/models/components/webhookbenefitgrantcreatedpayload.d.ts.map +1 -0
- package/models/components/webhookbenefitgrantcreatedpayload.js +71 -0
- package/models/components/webhookbenefitgrantcreatedpayload.js.map +1 -0
- package/models/components/webhookbenefitgrantrevokedpayload.d.ts +58 -0
- package/models/components/webhookbenefitgrantrevokedpayload.d.ts.map +1 -0
- package/models/components/webhookbenefitgrantrevokedpayload.js +71 -0
- package/models/components/webhookbenefitgrantrevokedpayload.js.map +1 -0
- package/models/components/webhookbenefitgrantupdatedpayload.d.ts +58 -0
- package/models/components/webhookbenefitgrantupdatedpayload.d.ts.map +1 -0
- package/models/components/webhookbenefitgrantupdatedpayload.js +71 -0
- package/models/components/webhookbenefitgrantupdatedpayload.js.map +1 -0
- package/models/errors/httpvalidationerror.d.ts +0 -6
- package/models/errors/httpvalidationerror.d.ts.map +1 -1
- package/models/errors/httpvalidationerror.js +0 -3
- package/models/errors/httpvalidationerror.js.map +1 -1
- package/models/errors/index.d.ts +0 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -2
- package/models/errors/index.js.map +1 -1
- package/models/errors/notpermitted.d.ts +0 -6
- package/models/errors/notpermitted.d.ts.map +1 -1
- package/models/errors/notpermitted.js +0 -3
- package/models/errors/notpermitted.js.map +1 -1
- package/models/errors/resourcenotfound.d.ts +0 -6
- package/models/errors/resourcenotfound.d.ts.map +1 -1
- package/models/errors/resourcenotfound.js +0 -3
- package/models/errors/resourcenotfound.js.map +1 -1
- package/models/errors/unauthorized.d.ts +0 -6
- package/models/errors/unauthorized.d.ts.map +1 -1
- package/models/errors/unauthorized.js +0 -3
- package/models/errors/unauthorized.js.map +1 -1
- package/models/operations/productscreate.d.ts +2 -2
- package/models/operations/productscreate.d.ts.map +1 -1
- package/models/operations/productscreate.js +2 -2
- package/models/operations/productscreate.js.map +1 -1
- package/models/operations/productslist.d.ts +0 -27
- package/models/operations/productslist.d.ts.map +1 -1
- package/models/operations/productslist.js +1 -32
- package/models/operations/productslist.js.map +1 -1
- package/models/operations/subscriptionslist.d.ts +0 -29
- package/models/operations/subscriptionslist.d.ts.map +1 -1
- package/models/operations/subscriptionslist.js +1 -32
- package/models/operations/subscriptionslist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/oauth2.js +1 -1
- package/sdk/polarsubscriptions.d.ts +0 -9
- package/sdk/polarsubscriptions.d.ts.map +1 -1
- package/sdk/polarsubscriptions.js +0 -12
- package/sdk/polarsubscriptions.js.map +1 -1
- package/sdk/sdk.js +15 -15
- package/sdk/subscriptions.d.ts +0 -15
- package/sdk/subscriptions.d.ts.map +1 -1
- package/sdk/subscriptions.js +0 -20
- package/sdk/subscriptions.js.map +1 -1
- package/sdk/users.js +6 -6
- package/src/funcs/advertisementsGet.ts +40 -41
- package/src/funcs/advertisementsList.ts +48 -49
- package/src/funcs/articlesCreate.ts +37 -37
- package/src/funcs/articlesDelete.ts +41 -41
- package/src/funcs/articlesGet.ts +40 -40
- package/src/funcs/articlesList.ts +52 -52
- package/src/funcs/articlesPreview.ts +41 -44
- package/src/funcs/articlesReceivers.ts +39 -40
- package/src/funcs/articlesSend.ts +41 -41
- package/src/funcs/articlesUpdate.ts +41 -44
- package/src/funcs/benefitsCreate.ts +38 -38
- package/src/funcs/benefitsDelete.ts +41 -41
- package/src/funcs/benefitsGet.ts +40 -40
- package/src/funcs/benefitsGrants.ts +52 -55
- package/src/funcs/benefitsList.ts +48 -48
- package/src/funcs/benefitsUpdate.ts +41 -44
- package/src/funcs/checkoutsCreate.ts +37 -37
- package/src/funcs/checkoutsGet.ts +39 -39
- package/src/funcs/externalOrganizationsList.ts +51 -51
- package/src/funcs/filesCreate.ts +37 -37
- package/src/funcs/filesDelete.ts +41 -41
- package/src/funcs/filesList.ts +48 -48
- package/src/funcs/filesUpdate.ts +39 -42
- package/src/funcs/filesUploaded.ts +39 -42
- package/src/funcs/licenseKeysGet.ts +41 -41
- package/src/funcs/licenseKeysGetActivation.ts +44 -44
- package/src/funcs/licenseKeysList.ts +49 -49
- package/src/funcs/licenseKeysUpdate.ts +41 -47
- package/src/funcs/metricsGet.ts +45 -45
- package/src/funcs/metricsLimits.ts +22 -22
- package/src/funcs/oauth2ClientsCreate.ts +37 -38
- package/src/funcs/oauth2ClientsDelete.ts +40 -40
- package/src/funcs/oauth2ClientsGet.ts +40 -40
- package/src/funcs/oauth2ClientsList.ts +46 -47
- package/src/funcs/oauth2ClientsUpdate.ts +40 -43
- package/src/funcs/oauth2Introspect.ts +35 -35
- package/src/funcs/oauth2Revoke.ts +35 -35
- package/src/funcs/oauth2Token.ts +35 -35
- package/src/funcs/oauth2Userinfo.ts +22 -22
- package/src/funcs/ordersGet.ts +40 -40
- package/src/funcs/ordersInvoice.ts +40 -40
- package/src/funcs/ordersList.ts +51 -53
- package/src/funcs/organizationsCreate.ts +37 -37
- package/src/funcs/organizationsGet.ts +40 -40
- package/src/funcs/organizationsList.ts +49 -50
- package/src/funcs/organizationsUpdate.ts +42 -45
- package/src/funcs/productsCreate.ts +38 -38
- package/src/funcs/productsGet.ts +40 -40
- package/src/funcs/productsList.ts +50 -51
- package/src/funcs/productsUpdate.ts +41 -44
- package/src/funcs/productsUpdateBenefits.ts +42 -45
- package/src/funcs/repositoriesGet.ts +40 -40
- package/src/funcs/repositoriesList.ts +52 -52
- package/src/funcs/repositoriesUpdate.ts +41 -47
- package/src/funcs/subscriptionsExport.ts +41 -41
- package/src/funcs/subscriptionsList.ts +50 -52
- package/src/funcs/usersAdvertisementsCreate.ts +38 -38
- package/src/funcs/usersAdvertisementsDelete.ts +42 -42
- package/src/funcs/usersAdvertisementsEnable.ts +41 -44
- package/src/funcs/usersAdvertisementsGet.ts +41 -41
- package/src/funcs/usersAdvertisementsList.ts +48 -48
- package/src/funcs/usersAdvertisementsUpdate.ts +41 -44
- package/src/funcs/usersBenefitsGet.ts +40 -40
- package/src/funcs/usersBenefitsList.ts +51 -52
- package/src/funcs/usersDownloadablesGet.ts +41 -41
- package/src/funcs/usersDownloadablesList.ts +49 -49
- package/src/funcs/usersLicenseKeysActivate.ts +39 -39
- package/src/funcs/usersLicenseKeysDeactivate.ts +38 -38
- package/src/funcs/usersLicenseKeysGet.ts +42 -42
- package/src/funcs/usersLicenseKeysList.ts +51 -51
- package/src/funcs/usersLicenseKeysValidate.ts +38 -38
- package/src/funcs/usersOrdersGet.ts +40 -40
- package/src/funcs/usersOrdersInvoice.ts +40 -41
- package/src/funcs/usersOrdersList.ts +52 -52
- package/src/funcs/usersSubscriptionsCancel.ts +42 -42
- package/src/funcs/usersSubscriptionsGet.ts +41 -41
- package/src/funcs/usersSubscriptionsList.ts +52 -52
- package/src/funcs/usersSubscriptionsUpdate.ts +42 -48
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +26 -26
- package/src/models/components/benefitcustomsubscriber.ts +9 -9
- package/src/models/components/benefitgrant.ts +137 -15
- package/src/models/components/benefitgrantads.ts +9 -9
- package/src/models/components/benefitgrantadsproperties.ts +4 -7
- package/src/models/components/benefitgrantadssubscriberproperties.ts +59 -0
- package/src/models/components/benefitgrantarticlesproperties.ts +37 -0
- package/src/models/components/benefitgrantcustomproperties.ts +37 -0
- package/src/models/components/benefitgrantdiscordproperties.ts +66 -0
- package/src/models/components/benefitgrantdownloadablesproperties.ts +47 -0
- package/src/models/components/benefitgrantgithubrepositoryproperties.ts +109 -0
- package/src/models/components/benefitgrantlicensekeys.ts +4 -4
- package/src/models/components/benefitgrantlicensekeysproperties.ts +8 -8
- package/src/models/components/benefitgrantsubscriber.ts +151 -0
- package/src/models/components/benefitgrantwebhook.ts +533 -0
- package/src/models/components/checkoutcreate.ts +9 -0
- package/src/models/components/index.ts +16 -7
- package/src/models/components/orderproduct.ts +0 -21
- package/src/models/components/ordersubscription.ts +4 -4
- package/src/models/components/productinput.ts +0 -21
- package/src/models/components/productonetimecreate.ts +16 -1
- package/src/models/components/productoutput.ts +0 -21
- package/src/models/components/productpriceonetime.ts +10 -0
- package/src/models/components/productpriceonetimecustom.ts +9 -9
- package/src/models/components/productpriceonetimecustomcreate.ts +36 -0
- package/src/models/components/productpriceonetimefixed.ts +9 -9
- package/src/models/components/productpriceonetimefixedcreate.ts +45 -9
- package/src/models/components/productpriceonetimefree.ts +164 -0
- package/src/models/components/productpriceonetimefreecreate.ts +121 -0
- package/src/models/components/productpricerecurringcustom.ts +9 -9
- package/src/models/components/productpricerecurringfixed.ts +9 -9
- package/src/models/components/productpricerecurringfixedcreate.ts +155 -0
- package/src/models/components/productpricerecurringfree.ts +179 -0
- package/src/models/components/productpricerecurringfreecreate.ts +136 -0
- package/src/models/components/productpricerecurringinput.ts +18 -0
- package/src/models/components/productpricerecurringoutput.ts +18 -0
- package/src/models/components/productrecurringcreate.ts +57 -48
- package/src/models/components/productupdate.ts +41 -22
- package/src/models/components/subscriptioninput.ts +8 -8
- package/src/models/components/subscriptionoutput.ts +8 -8
- package/src/models/components/subscriptionsortproperty.ts +0 -2
- package/src/models/components/userorderproduct.ts +0 -21
- package/src/models/components/userordersubscription.ts +4 -4
- package/src/models/components/usersubscription.ts +8 -8
- package/src/models/components/usersubscriptionproduct.ts +0 -21
- package/src/models/components/webhookbenefitgrantcreatedpayload.ts +95 -0
- package/src/models/components/webhookbenefitgrantrevokedpayload.ts +95 -0
- package/src/models/components/webhookbenefitgrantupdatedpayload.ts +95 -0
- package/src/models/errors/httpvalidationerror.ts +0 -6
- package/src/models/errors/index.ts +0 -2
- package/src/models/errors/notpermitted.ts +0 -6
- package/src/models/errors/resourcenotfound.ts +0 -6
- package/src/models/errors/unauthorized.ts +0 -6
- package/src/models/operations/productscreate.ts +6 -6
- package/src/models/operations/productslist.ts +0 -70
- package/src/models/operations/subscriptionslist.ts +0 -68
- package/src/sdk/oauth2.ts +1 -1
- package/src/sdk/polarsubscriptions.ts +0 -20
- package/src/sdk/sdk.ts +15 -15
- package/src/sdk/subscriptions.ts +0 -37
- package/src/sdk/users.ts +6 -6
- package/funcs/subscriptionsCreate.d.ts +0 -16
- package/funcs/subscriptionsCreate.d.ts.map +0 -1
- package/funcs/subscriptionsCreate.js +0 -96
- package/funcs/subscriptionsCreate.js.map +0 -1
- package/funcs/subscriptionsImportSubscriptions.d.ts +0 -16
- package/funcs/subscriptionsImportSubscriptions.d.ts.map +0 -1
- package/funcs/subscriptionsImportSubscriptions.js +0 -109
- package/funcs/subscriptionsImportSubscriptions.js.map +0 -1
- package/funcs/usersSubscriptionsCreate.d.ts +0 -18
- package/funcs/usersSubscriptionsCreate.d.ts.map +0 -1
- package/funcs/usersSubscriptionsCreate.js +0 -98
- package/funcs/usersSubscriptionsCreate.js.map +0 -1
- package/models/components/benefitgrantproperties.d.ts +0 -24
- package/models/components/benefitgrantproperties.d.ts.map +0 -1
- package/models/components/benefitgrantproperties.js.map +0 -1
- package/models/components/bodysubscriptionsimport.d.ts +0 -58
- package/models/components/bodysubscriptionsimport.d.ts.map +0 -1
- package/models/components/bodysubscriptionsimport.js +0 -94
- package/models/components/bodysubscriptionsimport.js.map +0 -1
- package/models/components/productpricerecurringcreate.d.ts +0 -67
- package/models/components/productpricerecurringcreate.d.ts.map +0 -1
- package/models/components/productpricerecurringcreate.js +0 -88
- package/models/components/productpricerecurringcreate.js.map +0 -1
- package/models/components/subscriptioncreateemail.d.ts +0 -36
- package/models/components/subscriptioncreateemail.d.ts.map +0 -1
- package/models/components/subscriptioncreateemail.js.map +0 -1
- package/models/components/subscriptionsimported.d.ts +0 -28
- package/models/components/subscriptionsimported.d.ts.map +0 -1
- package/models/components/subscriptionsimported.js.map +0 -1
- package/models/components/subscriptiontiertype.d.ts +0 -31
- package/models/components/subscriptiontiertype.d.ts.map +0 -1
- package/models/components/subscriptiontiertype.js.map +0 -1
- package/models/components/userfreesubscriptioncreate.d.ts +0 -33
- package/models/components/userfreesubscriptioncreate.d.ts.map +0 -1
- package/models/components/userfreesubscriptioncreate.js.map +0 -1
- package/models/errors/alreadysubscribed.d.ts +0 -57
- package/models/errors/alreadysubscribed.d.ts.map +0 -1
- package/models/errors/alreadysubscribed.js +0 -88
- package/models/errors/alreadysubscribed.js.map +0 -1
- package/models/errors/freesubscriptionupgrade.d.ts +0 -57
- package/models/errors/freesubscriptionupgrade.d.ts.map +0 -1
- package/models/errors/freesubscriptionupgrade.js +0 -88
- package/models/errors/freesubscriptionupgrade.js.map +0 -1
- package/src/funcs/subscriptionsCreate.ts +0 -126
- package/src/funcs/subscriptionsImportSubscriptions.ts +0 -142
- package/src/funcs/usersSubscriptionsCreate.ts +0 -135
- package/src/models/components/benefitgrantproperties.ts +0 -40
- package/src/models/components/bodysubscriptionsimport.ts +0 -116
- package/src/models/components/productpricerecurringcreate.ts +0 -116
- package/src/models/components/subscriptioncreateemail.ts +0 -67
- package/src/models/components/subscriptionsimported.ts +0 -48
- package/src/models/components/subscriptiontiertype.ts +0 -34
- package/src/models/components/userfreesubscriptioncreate.ts +0 -66
- package/src/models/errors/alreadysubscribed.ts +0 -102
- package/src/models/errors/freesubscriptionupgrade.ts +0 -106
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { SubscriptionRecurringInterval } from "./subscriptionrecurringinterval.js";
|
|
4
|
-
export declare const ProductPriceRecurringCreateType: {
|
|
5
|
-
readonly Recurring: "recurring";
|
|
6
|
-
};
|
|
7
|
-
export type ProductPriceRecurringCreateType = ClosedEnum<typeof ProductPriceRecurringCreateType>;
|
|
8
|
-
/**
|
|
9
|
-
* Schema to create a recurring product price, i.e. a subscription.
|
|
10
|
-
*/
|
|
11
|
-
export type ProductPriceRecurringCreate = {
|
|
12
|
-
type?: "recurring" | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* The currency. Currently, only `usd` is supported.
|
|
15
|
-
*/
|
|
16
|
-
priceCurrency?: string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* The price in cents.
|
|
19
|
-
*/
|
|
20
|
-
priceAmount: number;
|
|
21
|
-
/**
|
|
22
|
-
* The recurring interval of the price.
|
|
23
|
-
*/
|
|
24
|
-
recurringInterval: SubscriptionRecurringInterval;
|
|
25
|
-
};
|
|
26
|
-
/** @internal */
|
|
27
|
-
export declare const ProductPriceRecurringCreateType$inboundSchema: z.ZodNativeEnum<typeof ProductPriceRecurringCreateType>;
|
|
28
|
-
/** @internal */
|
|
29
|
-
export declare const ProductPriceRecurringCreateType$outboundSchema: z.ZodNativeEnum<typeof ProductPriceRecurringCreateType>;
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export declare namespace ProductPriceRecurringCreateType$ {
|
|
35
|
-
/** @deprecated use `ProductPriceRecurringCreateType$inboundSchema` instead. */
|
|
36
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
37
|
-
readonly Recurring: "recurring";
|
|
38
|
-
}>;
|
|
39
|
-
/** @deprecated use `ProductPriceRecurringCreateType$outboundSchema` instead. */
|
|
40
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
41
|
-
readonly Recurring: "recurring";
|
|
42
|
-
}>;
|
|
43
|
-
}
|
|
44
|
-
/** @internal */
|
|
45
|
-
export declare const ProductPriceRecurringCreate$inboundSchema: z.ZodType<ProductPriceRecurringCreate, z.ZodTypeDef, unknown>;
|
|
46
|
-
/** @internal */
|
|
47
|
-
export type ProductPriceRecurringCreate$Outbound = {
|
|
48
|
-
type: "recurring";
|
|
49
|
-
price_currency: string;
|
|
50
|
-
price_amount: number;
|
|
51
|
-
recurring_interval: string;
|
|
52
|
-
};
|
|
53
|
-
/** @internal */
|
|
54
|
-
export declare const ProductPriceRecurringCreate$outboundSchema: z.ZodType<ProductPriceRecurringCreate$Outbound, z.ZodTypeDef, ProductPriceRecurringCreate>;
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
export declare namespace ProductPriceRecurringCreate$ {
|
|
60
|
-
/** @deprecated use `ProductPriceRecurringCreate$inboundSchema` instead. */
|
|
61
|
-
const inboundSchema: z.ZodType<ProductPriceRecurringCreate, z.ZodTypeDef, unknown>;
|
|
62
|
-
/** @deprecated use `ProductPriceRecurringCreate$outboundSchema` instead. */
|
|
63
|
-
const outboundSchema: z.ZodType<ProductPriceRecurringCreate$Outbound, z.ZodTypeDef, ProductPriceRecurringCreate>;
|
|
64
|
-
/** @deprecated use `ProductPriceRecurringCreate$Outbound` instead. */
|
|
65
|
-
type Outbound = ProductPriceRecurringCreate$Outbound;
|
|
66
|
-
}
|
|
67
|
-
//# sourceMappingURL=productpricerecurringcreate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"productpricerecurringcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/productpricerecurringcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,6BAA6B,EAG9B,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,+BAA+B;;CAElC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,iBAAiB,EAAE,6BAA6B,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,+BAA+B,CACS,CAAC;AAElD,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,aAAa,CAC1E,OAAO,+BAA+B,CACS,CAAC;AAElD;;;GAGG;AACH,yBAAiB,gCAAgC,CAAC;IAChD,+EAA+E;IACxE,MAAM,aAAa;;MAAgD,CAAC;IAC3E,gFAAgF;IACzE,MAAM,cAAc;;MAAiD,CAAC;CAC9E;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,EAAE,WAAW,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAY3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ProductPriceRecurringCreate$ = exports.ProductPriceRecurringCreate$outboundSchema = exports.ProductPriceRecurringCreate$inboundSchema = exports.ProductPriceRecurringCreateType$ = exports.ProductPriceRecurringCreateType$outboundSchema = exports.ProductPriceRecurringCreateType$inboundSchema = exports.ProductPriceRecurringCreateType = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const subscriptionrecurringinterval_js_1 = require("./subscriptionrecurringinterval.js");
|
|
33
|
-
exports.ProductPriceRecurringCreateType = {
|
|
34
|
-
Recurring: "recurring",
|
|
35
|
-
};
|
|
36
|
-
/** @internal */
|
|
37
|
-
exports.ProductPriceRecurringCreateType$inboundSchema = z.nativeEnum(exports.ProductPriceRecurringCreateType);
|
|
38
|
-
/** @internal */
|
|
39
|
-
exports.ProductPriceRecurringCreateType$outboundSchema = exports.ProductPriceRecurringCreateType$inboundSchema;
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
-
*/
|
|
44
|
-
var ProductPriceRecurringCreateType$;
|
|
45
|
-
(function (ProductPriceRecurringCreateType$) {
|
|
46
|
-
/** @deprecated use `ProductPriceRecurringCreateType$inboundSchema` instead. */
|
|
47
|
-
ProductPriceRecurringCreateType$.inboundSchema = exports.ProductPriceRecurringCreateType$inboundSchema;
|
|
48
|
-
/** @deprecated use `ProductPriceRecurringCreateType$outboundSchema` instead. */
|
|
49
|
-
ProductPriceRecurringCreateType$.outboundSchema = exports.ProductPriceRecurringCreateType$outboundSchema;
|
|
50
|
-
})(ProductPriceRecurringCreateType$ || (exports.ProductPriceRecurringCreateType$ = ProductPriceRecurringCreateType$ = {}));
|
|
51
|
-
/** @internal */
|
|
52
|
-
exports.ProductPriceRecurringCreate$inboundSchema = z.object({
|
|
53
|
-
type: z.literal("recurring").optional(),
|
|
54
|
-
price_currency: z.string().default("usd"),
|
|
55
|
-
price_amount: z.number().int(),
|
|
56
|
-
recurring_interval: subscriptionrecurringinterval_js_1.SubscriptionRecurringInterval$inboundSchema,
|
|
57
|
-
}).transform((v) => {
|
|
58
|
-
return (0, primitives_js_1.remap)(v, {
|
|
59
|
-
"price_currency": "priceCurrency",
|
|
60
|
-
"price_amount": "priceAmount",
|
|
61
|
-
"recurring_interval": "recurringInterval",
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
/** @internal */
|
|
65
|
-
exports.ProductPriceRecurringCreate$outboundSchema = z.object({
|
|
66
|
-
type: z.literal("recurring").default("recurring"),
|
|
67
|
-
priceCurrency: z.string().default("usd"),
|
|
68
|
-
priceAmount: z.number().int(),
|
|
69
|
-
recurringInterval: subscriptionrecurringinterval_js_1.SubscriptionRecurringInterval$outboundSchema,
|
|
70
|
-
}).transform((v) => {
|
|
71
|
-
return (0, primitives_js_1.remap)(v, {
|
|
72
|
-
priceCurrency: "price_currency",
|
|
73
|
-
priceAmount: "price_amount",
|
|
74
|
-
recurringInterval: "recurring_interval",
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
-
*/
|
|
81
|
-
var ProductPriceRecurringCreate$;
|
|
82
|
-
(function (ProductPriceRecurringCreate$) {
|
|
83
|
-
/** @deprecated use `ProductPriceRecurringCreate$inboundSchema` instead. */
|
|
84
|
-
ProductPriceRecurringCreate$.inboundSchema = exports.ProductPriceRecurringCreate$inboundSchema;
|
|
85
|
-
/** @deprecated use `ProductPriceRecurringCreate$outboundSchema` instead. */
|
|
86
|
-
ProductPriceRecurringCreate$.outboundSchema = exports.ProductPriceRecurringCreate$outboundSchema;
|
|
87
|
-
})(ProductPriceRecurringCreate$ || (exports.ProductPriceRecurringCreate$ = ProductPriceRecurringCreate$ = {}));
|
|
88
|
-
//# sourceMappingURL=productpricerecurringcreate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"productpricerecurringcreate.js","sourceRoot":"","sources":["../../src/models/components/productpricerecurringcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAE1D,yFAI4C;AAE/B,QAAA,+BAA+B,GAAG;IAC7C,SAAS,EAAE,WAAW;CACd,CAAC;AAwBX,gBAAgB;AACH,QAAA,6CAA6C,GAEtD,CAAC,CAAC,UAAU,CAAC,uCAA+B,CAAC,CAAC;AAElD,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,qDAA6C,CAAC;AAElD;;;GAGG;AACH,IAAiB,gCAAgC,CAKhD;AALD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,qDAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,sDAA8C,CAAC;AAC/E,CAAC,EALgB,gCAAgC,gDAAhC,gCAAgC,QAKhD;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;IACvC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACzC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,kBAAkB,EAAE,8EAA2C;CAChE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,eAAe;QACjC,cAAc,EAAE,aAAa;QAC7B,oBAAoB,EAAE,mBAAmB;KAC1C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACjD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,iBAAiB,EAAE,+EAA4C;CAChE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,gBAAgB;QAC/B,WAAW,EAAE,cAAc;QAC3B,iBAAiB,EAAE,oBAAoB;KACxC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC3C,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG3E,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Request schema for creating a subscription by email.
|
|
4
|
-
*/
|
|
5
|
-
export type SubscriptionCreateEmail = {
|
|
6
|
-
/**
|
|
7
|
-
* The email address of the user.
|
|
8
|
-
*/
|
|
9
|
-
email: string;
|
|
10
|
-
/**
|
|
11
|
-
* The ID of the product. **Must be the free subscription tier**.
|
|
12
|
-
*/
|
|
13
|
-
productId: string;
|
|
14
|
-
};
|
|
15
|
-
/** @internal */
|
|
16
|
-
export declare const SubscriptionCreateEmail$inboundSchema: z.ZodType<SubscriptionCreateEmail, z.ZodTypeDef, unknown>;
|
|
17
|
-
/** @internal */
|
|
18
|
-
export type SubscriptionCreateEmail$Outbound = {
|
|
19
|
-
email: string;
|
|
20
|
-
product_id: string;
|
|
21
|
-
};
|
|
22
|
-
/** @internal */
|
|
23
|
-
export declare const SubscriptionCreateEmail$outboundSchema: z.ZodType<SubscriptionCreateEmail$Outbound, z.ZodTypeDef, SubscriptionCreateEmail>;
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
-
*/
|
|
28
|
-
export declare namespace SubscriptionCreateEmail$ {
|
|
29
|
-
/** @deprecated use `SubscriptionCreateEmail$inboundSchema` instead. */
|
|
30
|
-
const inboundSchema: z.ZodType<SubscriptionCreateEmail, z.ZodTypeDef, unknown>;
|
|
31
|
-
/** @deprecated use `SubscriptionCreateEmail$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodType<SubscriptionCreateEmail$Outbound, z.ZodTypeDef, SubscriptionCreateEmail>;
|
|
33
|
-
/** @deprecated use `SubscriptionCreateEmail$Outbound` instead. */
|
|
34
|
-
type Outbound = SubscriptionCreateEmail$Outbound;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=subscriptioncreateemail.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptioncreateemail.d.ts","sourceRoot":"","sources":["../../src/models/components/subscriptioncreateemail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAQvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptioncreateemail.js","sourceRoot":"","sources":["../../src/models/components/subscriptioncreateemail.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAgB1D,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Result of a subscription import operation.
|
|
4
|
-
*/
|
|
5
|
-
export type SubscriptionsImported = {
|
|
6
|
-
count: number;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export declare const SubscriptionsImported$inboundSchema: z.ZodType<SubscriptionsImported, z.ZodTypeDef, unknown>;
|
|
10
|
-
/** @internal */
|
|
11
|
-
export type SubscriptionsImported$Outbound = {
|
|
12
|
-
count: number;
|
|
13
|
-
};
|
|
14
|
-
/** @internal */
|
|
15
|
-
export declare const SubscriptionsImported$outboundSchema: z.ZodType<SubscriptionsImported$Outbound, z.ZodTypeDef, SubscriptionsImported>;
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
19
|
-
*/
|
|
20
|
-
export declare namespace SubscriptionsImported$ {
|
|
21
|
-
/** @deprecated use `SubscriptionsImported$inboundSchema` instead. */
|
|
22
|
-
const inboundSchema: z.ZodType<SubscriptionsImported, z.ZodTypeDef, unknown>;
|
|
23
|
-
/** @deprecated use `SubscriptionsImported$outboundSchema` instead. */
|
|
24
|
-
const outboundSchema: z.ZodType<SubscriptionsImported$Outbound, z.ZodTypeDef, SubscriptionsImported>;
|
|
25
|
-
/** @deprecated use `SubscriptionsImported$Outbound` instead. */
|
|
26
|
-
type Outbound = SubscriptionsImported$Outbound;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=subscriptionsimported.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsimported.d.ts","sourceRoot":"","sources":["../../src/models/components/subscriptionsimported.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAGrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsimported.js","sourceRoot":"","sources":["../../src/models/components/subscriptionsimported.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AASzB,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACxB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACxB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const SubscriptionTierType: {
|
|
4
|
-
readonly Free: "free";
|
|
5
|
-
readonly Individual: "individual";
|
|
6
|
-
readonly Business: "business";
|
|
7
|
-
};
|
|
8
|
-
export type SubscriptionTierType = ClosedEnum<typeof SubscriptionTierType>;
|
|
9
|
-
/** @internal */
|
|
10
|
-
export declare const SubscriptionTierType$inboundSchema: z.ZodNativeEnum<typeof SubscriptionTierType>;
|
|
11
|
-
/** @internal */
|
|
12
|
-
export declare const SubscriptionTierType$outboundSchema: z.ZodNativeEnum<typeof SubscriptionTierType>;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
16
|
-
*/
|
|
17
|
-
export declare namespace SubscriptionTierType$ {
|
|
18
|
-
/** @deprecated use `SubscriptionTierType$inboundSchema` instead. */
|
|
19
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
20
|
-
readonly Free: "free";
|
|
21
|
-
readonly Individual: "individual";
|
|
22
|
-
readonly Business: "business";
|
|
23
|
-
}>;
|
|
24
|
-
/** @deprecated use `SubscriptionTierType$outboundSchema` instead. */
|
|
25
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
26
|
-
readonly Free: "free";
|
|
27
|
-
readonly Individual: "individual";
|
|
28
|
-
readonly Business: "business";
|
|
29
|
-
}>;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=subscriptiontiertype.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptiontiertype.d.ts","sourceRoot":"","sources":["../../src/models/components/subscriptiontiertype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,oBAAoB;;;;CAIvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,oBAAoB,CACS,CAAC;AAEvC,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,oBAAoB,CACS,CAAC;AAEvC;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa;;;;MAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc;;;;MAAsC,CAAC;CACnE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptiontiertype.js","sourceRoot":"","sources":["../../src/models/components/subscriptiontiertype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,oBAAoB,GAAG;IAClC,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,CAAC,CAAC,UAAU,CAAC,4BAAoB,CAAC,CAAC;AAEvC,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,0CAAkC,CAAC;AAEvC;;;GAGG;AACH,IAAiB,qBAAqB,CAKrC;AALD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AACpE,CAAC,EALgB,qBAAqB,qCAArB,qBAAqB,QAKrC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
export type UserFreeSubscriptionCreate = {
|
|
3
|
-
/**
|
|
4
|
-
* ID of the free tier to subscribe to.
|
|
5
|
-
*/
|
|
6
|
-
productId: string;
|
|
7
|
-
/**
|
|
8
|
-
* Email of the customer. This field is required if the API is called outside the Polar app.
|
|
9
|
-
*/
|
|
10
|
-
customerEmail?: string | null | undefined;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const UserFreeSubscriptionCreate$inboundSchema: z.ZodType<UserFreeSubscriptionCreate, z.ZodTypeDef, unknown>;
|
|
14
|
-
/** @internal */
|
|
15
|
-
export type UserFreeSubscriptionCreate$Outbound = {
|
|
16
|
-
product_id: string;
|
|
17
|
-
customer_email?: string | null | undefined;
|
|
18
|
-
};
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare const UserFreeSubscriptionCreate$outboundSchema: z.ZodType<UserFreeSubscriptionCreate$Outbound, z.ZodTypeDef, UserFreeSubscriptionCreate>;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export declare namespace UserFreeSubscriptionCreate$ {
|
|
26
|
-
/** @deprecated use `UserFreeSubscriptionCreate$inboundSchema` instead. */
|
|
27
|
-
const inboundSchema: z.ZodType<UserFreeSubscriptionCreate, z.ZodTypeDef, unknown>;
|
|
28
|
-
/** @deprecated use `UserFreeSubscriptionCreate$outboundSchema` instead. */
|
|
29
|
-
const outboundSchema: z.ZodType<UserFreeSubscriptionCreate$Outbound, z.ZodTypeDef, UserFreeSubscriptionCreate>;
|
|
30
|
-
/** @deprecated use `UserFreeSubscriptionCreate$Outbound` instead. */
|
|
31
|
-
type Outbound = UserFreeSubscriptionCreate$Outbound;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=userfreesubscriptioncreate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"userfreesubscriptioncreate.d.ts","sourceRoot":"","sources":["../../src/models/components/userfreesubscriptioncreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAS1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"userfreesubscriptioncreate.js","sourceRoot":"","sources":["../../src/models/components/userfreesubscriptioncreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAa1D,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,aAAa,EAAE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const AlreadySubscribedType: {
|
|
4
|
-
readonly AlreadySubscribed: "AlreadySubscribed";
|
|
5
|
-
};
|
|
6
|
-
export type AlreadySubscribedType = ClosedEnum<typeof AlreadySubscribedType>;
|
|
7
|
-
export type AlreadySubscribedData = {
|
|
8
|
-
type: "AlreadySubscribed";
|
|
9
|
-
detail: string;
|
|
10
|
-
};
|
|
11
|
-
export declare class AlreadySubscribed extends Error {
|
|
12
|
-
type: "AlreadySubscribed";
|
|
13
|
-
detail: string;
|
|
14
|
-
/** The original data that was passed to this error instance. */
|
|
15
|
-
data$: AlreadySubscribedData;
|
|
16
|
-
constructor(err: AlreadySubscribedData);
|
|
17
|
-
}
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const AlreadySubscribedType$inboundSchema: z.ZodNativeEnum<typeof AlreadySubscribedType>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const AlreadySubscribedType$outboundSchema: z.ZodNativeEnum<typeof AlreadySubscribedType>;
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
-
*/
|
|
26
|
-
export declare namespace AlreadySubscribedType$ {
|
|
27
|
-
/** @deprecated use `AlreadySubscribedType$inboundSchema` instead. */
|
|
28
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
29
|
-
readonly AlreadySubscribed: "AlreadySubscribed";
|
|
30
|
-
}>;
|
|
31
|
-
/** @deprecated use `AlreadySubscribedType$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
33
|
-
readonly AlreadySubscribed: "AlreadySubscribed";
|
|
34
|
-
}>;
|
|
35
|
-
}
|
|
36
|
-
/** @internal */
|
|
37
|
-
export declare const AlreadySubscribed$inboundSchema: z.ZodType<AlreadySubscribed, z.ZodTypeDef, unknown>;
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type AlreadySubscribed$Outbound = {
|
|
40
|
-
type: "AlreadySubscribed";
|
|
41
|
-
detail: string;
|
|
42
|
-
};
|
|
43
|
-
/** @internal */
|
|
44
|
-
export declare const AlreadySubscribed$outboundSchema: z.ZodType<AlreadySubscribed$Outbound, z.ZodTypeDef, AlreadySubscribed>;
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
-
*/
|
|
49
|
-
export declare namespace AlreadySubscribed$ {
|
|
50
|
-
/** @deprecated use `AlreadySubscribed$inboundSchema` instead. */
|
|
51
|
-
const inboundSchema: z.ZodType<AlreadySubscribed, z.ZodTypeDef, unknown>;
|
|
52
|
-
/** @deprecated use `AlreadySubscribed$outboundSchema` instead. */
|
|
53
|
-
const outboundSchema: z.ZodType<AlreadySubscribed$Outbound, z.ZodTypeDef, AlreadySubscribed>;
|
|
54
|
-
/** @deprecated use `AlreadySubscribed$Outbound` instead. */
|
|
55
|
-
type Outbound = AlreadySubscribed$Outbound;
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=alreadysubscribed.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alreadysubscribed.d.ts","sourceRoot":"","sources":["../../src/models/errors/alreadysubscribed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,qBAAqB;;CAExB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,KAAK;IAC1C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IAEf,gEAAgE;IAChE,KAAK,EAAE,qBAAqB,CAAC;gBAEjB,GAAG,EAAE,qBAAqB;CAYvC;AAED,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,qBAAqB,CACS,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,qBAAqB,CACS,CAAC;AAExC;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa;;MAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc;;MAAuC,CAAC;CACpE;AAED,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAMd,CAAC;AAEN;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AlreadySubscribed$ = exports.AlreadySubscribed$outboundSchema = exports.AlreadySubscribed$inboundSchema = exports.AlreadySubscribedType$ = exports.AlreadySubscribedType$outboundSchema = exports.AlreadySubscribedType$inboundSchema = exports.AlreadySubscribed = exports.AlreadySubscribedType = void 0;
|
|
30
|
-
const z = __importStar(require("zod"));
|
|
31
|
-
exports.AlreadySubscribedType = {
|
|
32
|
-
AlreadySubscribed: "AlreadySubscribed",
|
|
33
|
-
};
|
|
34
|
-
class AlreadySubscribed extends Error {
|
|
35
|
-
constructor(err) {
|
|
36
|
-
const message = "message" in err && typeof err.message === "string"
|
|
37
|
-
? err.message
|
|
38
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
39
|
-
super(message);
|
|
40
|
-
this.data$ = err;
|
|
41
|
-
this.type = err.type;
|
|
42
|
-
this.detail = err.detail;
|
|
43
|
-
this.name = "AlreadySubscribed";
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.AlreadySubscribed = AlreadySubscribed;
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.AlreadySubscribedType$inboundSchema = z.nativeEnum(exports.AlreadySubscribedType);
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.AlreadySubscribedType$outboundSchema = exports.AlreadySubscribedType$inboundSchema;
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
-
*/
|
|
55
|
-
var AlreadySubscribedType$;
|
|
56
|
-
(function (AlreadySubscribedType$) {
|
|
57
|
-
/** @deprecated use `AlreadySubscribedType$inboundSchema` instead. */
|
|
58
|
-
AlreadySubscribedType$.inboundSchema = exports.AlreadySubscribedType$inboundSchema;
|
|
59
|
-
/** @deprecated use `AlreadySubscribedType$outboundSchema` instead. */
|
|
60
|
-
AlreadySubscribedType$.outboundSchema = exports.AlreadySubscribedType$outboundSchema;
|
|
61
|
-
})(AlreadySubscribedType$ || (exports.AlreadySubscribedType$ = AlreadySubscribedType$ = {}));
|
|
62
|
-
/** @internal */
|
|
63
|
-
exports.AlreadySubscribed$inboundSchema = z.object({
|
|
64
|
-
type: z.literal("AlreadySubscribed"),
|
|
65
|
-
detail: z.string(),
|
|
66
|
-
})
|
|
67
|
-
.transform((v) => {
|
|
68
|
-
return new AlreadySubscribed(v);
|
|
69
|
-
});
|
|
70
|
-
/** @internal */
|
|
71
|
-
exports.AlreadySubscribed$outboundSchema = z.instanceof(AlreadySubscribed)
|
|
72
|
-
.transform(v => v.data$)
|
|
73
|
-
.pipe(z.object({
|
|
74
|
-
type: z.literal("AlreadySubscribed").default("AlreadySubscribed"),
|
|
75
|
-
detail: z.string(),
|
|
76
|
-
}));
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
-
*/
|
|
81
|
-
var AlreadySubscribed$;
|
|
82
|
-
(function (AlreadySubscribed$) {
|
|
83
|
-
/** @deprecated use `AlreadySubscribed$inboundSchema` instead. */
|
|
84
|
-
AlreadySubscribed$.inboundSchema = exports.AlreadySubscribed$inboundSchema;
|
|
85
|
-
/** @deprecated use `AlreadySubscribed$outboundSchema` instead. */
|
|
86
|
-
AlreadySubscribed$.outboundSchema = exports.AlreadySubscribed$outboundSchema;
|
|
87
|
-
})(AlreadySubscribed$ || (exports.AlreadySubscribed$ = AlreadySubscribed$ = {}));
|
|
88
|
-
//# sourceMappingURL=alreadysubscribed.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alreadysubscribed.js","sourceRoot":"","sources":["../../src/models/errors/alreadysubscribed.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,qBAAqB,GAAG;IACnC,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AAQX,MAAa,iBAAkB,SAAQ,KAAK;IAO1C,YAAY,GAA0B;QACpC,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEzB,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAC;IAClC,CAAC;CACF;AAnBD,8CAmBC;AAED,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AAExC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC;AAExC;;;GAGG;AACH,IAAiB,sBAAsB,CAKtC;AALD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AACrE,CAAC,EALgB,sBAAsB,sCAAtB,sBAAsB,QAKtC;AAED,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACpC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAClC,CAAC,CAAC,CAAC;AAQL,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC;KAChC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACjE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const FreeSubscriptionUpgradeType: {
|
|
4
|
-
readonly FreeSubscriptionUpgrade: "FreeSubscriptionUpgrade";
|
|
5
|
-
};
|
|
6
|
-
export type FreeSubscriptionUpgradeType = ClosedEnum<typeof FreeSubscriptionUpgradeType>;
|
|
7
|
-
export type FreeSubscriptionUpgradeData = {
|
|
8
|
-
type: "FreeSubscriptionUpgrade";
|
|
9
|
-
detail: string;
|
|
10
|
-
};
|
|
11
|
-
export declare class FreeSubscriptionUpgrade extends Error {
|
|
12
|
-
type: "FreeSubscriptionUpgrade";
|
|
13
|
-
detail: string;
|
|
14
|
-
/** The original data that was passed to this error instance. */
|
|
15
|
-
data$: FreeSubscriptionUpgradeData;
|
|
16
|
-
constructor(err: FreeSubscriptionUpgradeData);
|
|
17
|
-
}
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const FreeSubscriptionUpgradeType$inboundSchema: z.ZodNativeEnum<typeof FreeSubscriptionUpgradeType>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const FreeSubscriptionUpgradeType$outboundSchema: z.ZodNativeEnum<typeof FreeSubscriptionUpgradeType>;
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
-
*/
|
|
26
|
-
export declare namespace FreeSubscriptionUpgradeType$ {
|
|
27
|
-
/** @deprecated use `FreeSubscriptionUpgradeType$inboundSchema` instead. */
|
|
28
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
29
|
-
readonly FreeSubscriptionUpgrade: "FreeSubscriptionUpgrade";
|
|
30
|
-
}>;
|
|
31
|
-
/** @deprecated use `FreeSubscriptionUpgradeType$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
33
|
-
readonly FreeSubscriptionUpgrade: "FreeSubscriptionUpgrade";
|
|
34
|
-
}>;
|
|
35
|
-
}
|
|
36
|
-
/** @internal */
|
|
37
|
-
export declare const FreeSubscriptionUpgrade$inboundSchema: z.ZodType<FreeSubscriptionUpgrade, z.ZodTypeDef, unknown>;
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type FreeSubscriptionUpgrade$Outbound = {
|
|
40
|
-
type: "FreeSubscriptionUpgrade";
|
|
41
|
-
detail: string;
|
|
42
|
-
};
|
|
43
|
-
/** @internal */
|
|
44
|
-
export declare const FreeSubscriptionUpgrade$outboundSchema: z.ZodType<FreeSubscriptionUpgrade$Outbound, z.ZodTypeDef, FreeSubscriptionUpgrade>;
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
-
*/
|
|
49
|
-
export declare namespace FreeSubscriptionUpgrade$ {
|
|
50
|
-
/** @deprecated use `FreeSubscriptionUpgrade$inboundSchema` instead. */
|
|
51
|
-
const inboundSchema: z.ZodType<FreeSubscriptionUpgrade, z.ZodTypeDef, unknown>;
|
|
52
|
-
/** @deprecated use `FreeSubscriptionUpgrade$outboundSchema` instead. */
|
|
53
|
-
const outboundSchema: z.ZodType<FreeSubscriptionUpgrade$Outbound, z.ZodTypeDef, FreeSubscriptionUpgrade>;
|
|
54
|
-
/** @deprecated use `FreeSubscriptionUpgrade$Outbound` instead. */
|
|
55
|
-
type Outbound = FreeSubscriptionUpgrade$Outbound;
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=freesubscriptionupgrade.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"freesubscriptionupgrade.d.ts","sourceRoot":"","sources":["../../src/models/errors/freesubscriptionupgrade.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,2BAA2B;;CAE9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,yBAAyB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,IAAI,EAAE,yBAAyB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IAEf,gEAAgE;IAChE,KAAK,EAAE,2BAA2B,CAAC;gBAEvB,GAAG,EAAE,2BAA2B;CAY7C;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,aAAa,CACrE,OAAO,2BAA2B,CACS,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,aAAa,CACtE,OAAO,2BAA2B,CACS,CAAC;AAE9C;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa;;MAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc;;MAA6C,CAAC;CAC1E;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,IAAI,EAAE,yBAAyB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAQpB,CAAC;AAEN;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD"}
|