@polar-sh/sdk 0.9.0 → 0.10.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/benefits/README.md +4 -13
- package/docs/sdks/clients/README.md +4 -4
- package/docs/sdks/files/README.md +9 -9
- package/docs/sdks/oauth2/README.md +2 -2
- package/docs/sdks/polarsubscriptions/README.md +5 -89
- package/docs/sdks/products/README.md +2 -5
- package/docs/sdks/subscriptions/README.md +0 -164
- 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/index.d.ts +5 -6
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -6
- 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/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/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/index.ts +5 -6
- 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/errors/index.ts +0 -2
- 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/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 +0 -61
- 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 +0 -50
- 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 +0 -51
- 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 +0 -63
- 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/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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productpriceonetimefixedcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefixedcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,kCAAkC;;CAErC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B
|
|
1
|
+
{"version":3,"file":"productpriceonetimefixedcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefixedcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,kCAAkC;;CAErC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,eAAO,MAAM,wCAAwC;;CAE3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,UAAU,CAC/D,OAAO,wCAAwC,CAChD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAA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AAC;IAC1E,+EAA+E;IACxE,MAAM,cAAc,kGAAgD,CAAC;IAC5E,yEAAyE;IACzE,KAAY,QAAQ,GAAG,uCAAuC,CAAC;CAChE"}
|
|
@@ -26,12 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ProductPriceOneTimeFixedCreate$ = exports.ProductPriceOneTimeFixedCreate$outboundSchema = exports.ProductPriceOneTimeFixedCreate$inboundSchema = exports.ProductPriceOneTimeFixedCreateType$ = exports.ProductPriceOneTimeFixedCreateType$outboundSchema = exports.ProductPriceOneTimeFixedCreateType$inboundSchema = exports.ProductPriceOneTimeFixedCreateType = void 0;
|
|
29
|
+
exports.ProductPriceOneTimeFixedCreate$ = exports.ProductPriceOneTimeFixedCreate$outboundSchema = exports.ProductPriceOneTimeFixedCreate$inboundSchema = exports.ProductPriceOneTimeFixedCreateAmountType$ = exports.ProductPriceOneTimeFixedCreateAmountType$outboundSchema = exports.ProductPriceOneTimeFixedCreateAmountType$inboundSchema = exports.ProductPriceOneTimeFixedCreateType$ = exports.ProductPriceOneTimeFixedCreateType$outboundSchema = exports.ProductPriceOneTimeFixedCreateType$inboundSchema = exports.ProductPriceOneTimeFixedCreateAmountType = exports.ProductPriceOneTimeFixedCreateType = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
exports.ProductPriceOneTimeFixedCreateType = {
|
|
33
33
|
OneTime: "one_time",
|
|
34
34
|
};
|
|
35
|
+
exports.ProductPriceOneTimeFixedCreateAmountType = {
|
|
36
|
+
Fixed: "fixed",
|
|
37
|
+
};
|
|
35
38
|
/** @internal */
|
|
36
39
|
exports.ProductPriceOneTimeFixedCreateType$inboundSchema = z.nativeEnum(exports.ProductPriceOneTimeFixedCreateType);
|
|
37
40
|
/** @internal */
|
|
@@ -48,25 +51,45 @@ var ProductPriceOneTimeFixedCreateType$;
|
|
|
48
51
|
ProductPriceOneTimeFixedCreateType$.outboundSchema = exports.ProductPriceOneTimeFixedCreateType$outboundSchema;
|
|
49
52
|
})(ProductPriceOneTimeFixedCreateType$ || (exports.ProductPriceOneTimeFixedCreateType$ = ProductPriceOneTimeFixedCreateType$ = {}));
|
|
50
53
|
/** @internal */
|
|
54
|
+
exports.ProductPriceOneTimeFixedCreateAmountType$inboundSchema = z
|
|
55
|
+
.nativeEnum(exports.ProductPriceOneTimeFixedCreateAmountType);
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.ProductPriceOneTimeFixedCreateAmountType$outboundSchema = exports.ProductPriceOneTimeFixedCreateAmountType$inboundSchema;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var ProductPriceOneTimeFixedCreateAmountType$;
|
|
63
|
+
(function (ProductPriceOneTimeFixedCreateAmountType$) {
|
|
64
|
+
/** @deprecated use `ProductPriceOneTimeFixedCreateAmountType$inboundSchema` instead. */
|
|
65
|
+
ProductPriceOneTimeFixedCreateAmountType$.inboundSchema = exports.ProductPriceOneTimeFixedCreateAmountType$inboundSchema;
|
|
66
|
+
/** @deprecated use `ProductPriceOneTimeFixedCreateAmountType$outboundSchema` instead. */
|
|
67
|
+
ProductPriceOneTimeFixedCreateAmountType$.outboundSchema = exports.ProductPriceOneTimeFixedCreateAmountType$outboundSchema;
|
|
68
|
+
})(ProductPriceOneTimeFixedCreateAmountType$ || (exports.ProductPriceOneTimeFixedCreateAmountType$ = ProductPriceOneTimeFixedCreateAmountType$ = {}));
|
|
69
|
+
/** @internal */
|
|
51
70
|
exports.ProductPriceOneTimeFixedCreate$inboundSchema = z.object({
|
|
52
71
|
type: z.literal("one_time").optional(),
|
|
53
|
-
|
|
72
|
+
amount_type: z.literal("fixed").optional(),
|
|
54
73
|
price_amount: z.number().int(),
|
|
74
|
+
price_currency: z.string().default("usd"),
|
|
55
75
|
}).transform((v) => {
|
|
56
76
|
return (0, primitives_js_1.remap)(v, {
|
|
57
|
-
"
|
|
77
|
+
"amount_type": "amountType",
|
|
58
78
|
"price_amount": "priceAmount",
|
|
79
|
+
"price_currency": "priceCurrency",
|
|
59
80
|
});
|
|
60
81
|
});
|
|
61
82
|
/** @internal */
|
|
62
83
|
exports.ProductPriceOneTimeFixedCreate$outboundSchema = z.object({
|
|
63
84
|
type: z.literal("one_time").default("one_time"),
|
|
64
|
-
|
|
85
|
+
amountType: z.literal("fixed").default("fixed"),
|
|
65
86
|
priceAmount: z.number().int(),
|
|
87
|
+
priceCurrency: z.string().default("usd"),
|
|
66
88
|
}).transform((v) => {
|
|
67
89
|
return (0, primitives_js_1.remap)(v, {
|
|
68
|
-
|
|
90
|
+
amountType: "amount_type",
|
|
69
91
|
priceAmount: "price_amount",
|
|
92
|
+
priceCurrency: "price_currency",
|
|
70
93
|
});
|
|
71
94
|
});
|
|
72
95
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productpriceonetimefixedcreate.js","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefixedcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAG7C,QAAA,kCAAkC,GAAG;IAChD,OAAO,EAAE,UAAU;CACX,CAAC;
|
|
1
|
+
{"version":3,"file":"productpriceonetimefixedcreate.js","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefixedcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAG7C,QAAA,kCAAkC,GAAG;IAChD,OAAO,EAAE,UAAU;CACX,CAAC;AAKE,QAAA,wCAAwC,GAAG;IACtD,KAAK,EAAE,OAAO;CACN,CAAC;AAqBX,gBAAgB;AACH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AC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/C,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC/C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACzC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,WAAW,EAAE,cAAc;QAC3B,aAAa,EAAE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,+BAA+B,CAO/C;AAPD,WAAiB,+BAA+B;IAC9C,8EAA8E;IACjE,6CAAa,GAAG,oDAA4C,CAAC;IAC1E,+EAA+E;IAClE,8CAAc,GAAG,qDAA6C,CAAC;AAG9E,CAAC,EAPgB,+BAA+B,+CAA/B,+BAA+B,QAO/C"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const ProductPriceOneTimeFreeAmountType: {
|
|
4
|
+
readonly Free: "free";
|
|
5
|
+
};
|
|
6
|
+
export type ProductPriceOneTimeFreeAmountType = ClosedEnum<typeof ProductPriceOneTimeFreeAmountType>;
|
|
7
|
+
/**
|
|
8
|
+
* The type of the price.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ProductPriceOneTimeFreeType: {
|
|
11
|
+
readonly OneTime: "one_time";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The type of the price.
|
|
15
|
+
*/
|
|
16
|
+
export type ProductPriceOneTimeFreeType = ClosedEnum<typeof ProductPriceOneTimeFreeType>;
|
|
17
|
+
/**
|
|
18
|
+
* A free one-time price for a product.
|
|
19
|
+
*/
|
|
20
|
+
export type ProductPriceOneTimeFree = {
|
|
21
|
+
/**
|
|
22
|
+
* Creation timestamp of the object.
|
|
23
|
+
*/
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Last modification timestamp of the object.
|
|
27
|
+
*/
|
|
28
|
+
modifiedAt: Date | null;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the price.
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
amountType?: "free" | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the price is archived and no longer available.
|
|
36
|
+
*/
|
|
37
|
+
isArchived: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The type of the price.
|
|
40
|
+
*/
|
|
41
|
+
type?: "one_time" | undefined;
|
|
42
|
+
};
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const ProductPriceOneTimeFreeAmountType$inboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeAmountType>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const ProductPriceOneTimeFreeAmountType$outboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeAmountType>;
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
+
*/
|
|
51
|
+
export declare namespace ProductPriceOneTimeFreeAmountType$ {
|
|
52
|
+
/** @deprecated use `ProductPriceOneTimeFreeAmountType$inboundSchema` instead. */
|
|
53
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
54
|
+
readonly Free: "free";
|
|
55
|
+
}>;
|
|
56
|
+
/** @deprecated use `ProductPriceOneTimeFreeAmountType$outboundSchema` instead. */
|
|
57
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
58
|
+
readonly Free: "free";
|
|
59
|
+
}>;
|
|
60
|
+
}
|
|
61
|
+
/** @internal */
|
|
62
|
+
export declare const ProductPriceOneTimeFreeType$inboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeType>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
export declare const ProductPriceOneTimeFreeType$outboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeType>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
+
*/
|
|
69
|
+
export declare namespace ProductPriceOneTimeFreeType$ {
|
|
70
|
+
/** @deprecated use `ProductPriceOneTimeFreeType$inboundSchema` instead. */
|
|
71
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
72
|
+
readonly OneTime: "one_time";
|
|
73
|
+
}>;
|
|
74
|
+
/** @deprecated use `ProductPriceOneTimeFreeType$outboundSchema` instead. */
|
|
75
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
76
|
+
readonly OneTime: "one_time";
|
|
77
|
+
}>;
|
|
78
|
+
}
|
|
79
|
+
/** @internal */
|
|
80
|
+
export declare const ProductPriceOneTimeFree$inboundSchema: z.ZodType<ProductPriceOneTimeFree, z.ZodTypeDef, unknown>;
|
|
81
|
+
/** @internal */
|
|
82
|
+
export type ProductPriceOneTimeFree$Outbound = {
|
|
83
|
+
created_at: string;
|
|
84
|
+
modified_at: string | null;
|
|
85
|
+
id: string;
|
|
86
|
+
amount_type: "free";
|
|
87
|
+
is_archived: boolean;
|
|
88
|
+
type: "one_time";
|
|
89
|
+
};
|
|
90
|
+
/** @internal */
|
|
91
|
+
export declare const ProductPriceOneTimeFree$outboundSchema: z.ZodType<ProductPriceOneTimeFree$Outbound, z.ZodTypeDef, ProductPriceOneTimeFree>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
+
*/
|
|
96
|
+
export declare namespace ProductPriceOneTimeFree$ {
|
|
97
|
+
/** @deprecated use `ProductPriceOneTimeFree$inboundSchema` instead. */
|
|
98
|
+
const inboundSchema: z.ZodType<ProductPriceOneTimeFree, z.ZodTypeDef, unknown>;
|
|
99
|
+
/** @deprecated use `ProductPriceOneTimeFree$outboundSchema` instead. */
|
|
100
|
+
const outboundSchema: z.ZodType<ProductPriceOneTimeFree$Outbound, z.ZodTypeDef, ProductPriceOneTimeFree>;
|
|
101
|
+
/** @deprecated use `ProductPriceOneTimeFree$Outbound` instead. */
|
|
102
|
+
type Outbound = ProductPriceOneTimeFree$Outbound;
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=productpriceonetimefree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpriceonetimefree.d.ts","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefree.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,iCAAiC;;CAEpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;CAE9B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAE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,uBAAuB,CAevB,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"}
|
|
@@ -0,0 +1,114 @@
|
|
|
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.ProductPriceOneTimeFree$ = exports.ProductPriceOneTimeFree$outboundSchema = exports.ProductPriceOneTimeFree$inboundSchema = exports.ProductPriceOneTimeFreeType$ = exports.ProductPriceOneTimeFreeType$outboundSchema = exports.ProductPriceOneTimeFreeType$inboundSchema = exports.ProductPriceOneTimeFreeAmountType$ = exports.ProductPriceOneTimeFreeAmountType$outboundSchema = exports.ProductPriceOneTimeFreeAmountType$inboundSchema = exports.ProductPriceOneTimeFreeType = exports.ProductPriceOneTimeFreeAmountType = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
+
exports.ProductPriceOneTimeFreeAmountType = {
|
|
33
|
+
Free: "free",
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The type of the price.
|
|
37
|
+
*/
|
|
38
|
+
exports.ProductPriceOneTimeFreeType = {
|
|
39
|
+
OneTime: "one_time",
|
|
40
|
+
};
|
|
41
|
+
/** @internal */
|
|
42
|
+
exports.ProductPriceOneTimeFreeAmountType$inboundSchema = z.nativeEnum(exports.ProductPriceOneTimeFreeAmountType);
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.ProductPriceOneTimeFreeAmountType$outboundSchema = exports.ProductPriceOneTimeFreeAmountType$inboundSchema;
|
|
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
|
+
var ProductPriceOneTimeFreeAmountType$;
|
|
50
|
+
(function (ProductPriceOneTimeFreeAmountType$) {
|
|
51
|
+
/** @deprecated use `ProductPriceOneTimeFreeAmountType$inboundSchema` instead. */
|
|
52
|
+
ProductPriceOneTimeFreeAmountType$.inboundSchema = exports.ProductPriceOneTimeFreeAmountType$inboundSchema;
|
|
53
|
+
/** @deprecated use `ProductPriceOneTimeFreeAmountType$outboundSchema` instead. */
|
|
54
|
+
ProductPriceOneTimeFreeAmountType$.outboundSchema = exports.ProductPriceOneTimeFreeAmountType$outboundSchema;
|
|
55
|
+
})(ProductPriceOneTimeFreeAmountType$ || (exports.ProductPriceOneTimeFreeAmountType$ = ProductPriceOneTimeFreeAmountType$ = {}));
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.ProductPriceOneTimeFreeType$inboundSchema = z.nativeEnum(exports.ProductPriceOneTimeFreeType);
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.ProductPriceOneTimeFreeType$outboundSchema = exports.ProductPriceOneTimeFreeType$inboundSchema;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
var ProductPriceOneTimeFreeType$;
|
|
65
|
+
(function (ProductPriceOneTimeFreeType$) {
|
|
66
|
+
/** @deprecated use `ProductPriceOneTimeFreeType$inboundSchema` instead. */
|
|
67
|
+
ProductPriceOneTimeFreeType$.inboundSchema = exports.ProductPriceOneTimeFreeType$inboundSchema;
|
|
68
|
+
/** @deprecated use `ProductPriceOneTimeFreeType$outboundSchema` instead. */
|
|
69
|
+
ProductPriceOneTimeFreeType$.outboundSchema = exports.ProductPriceOneTimeFreeType$outboundSchema;
|
|
70
|
+
})(ProductPriceOneTimeFreeType$ || (exports.ProductPriceOneTimeFreeType$ = ProductPriceOneTimeFreeType$ = {}));
|
|
71
|
+
/** @internal */
|
|
72
|
+
exports.ProductPriceOneTimeFree$inboundSchema = z.object({
|
|
73
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
74
|
+
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
75
|
+
id: z.string(),
|
|
76
|
+
amount_type: z.literal("free").optional(),
|
|
77
|
+
is_archived: z.boolean(),
|
|
78
|
+
type: z.literal("one_time").optional(),
|
|
79
|
+
}).transform((v) => {
|
|
80
|
+
return (0, primitives_js_1.remap)(v, {
|
|
81
|
+
"created_at": "createdAt",
|
|
82
|
+
"modified_at": "modifiedAt",
|
|
83
|
+
"amount_type": "amountType",
|
|
84
|
+
"is_archived": "isArchived",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.ProductPriceOneTimeFree$outboundSchema = z.object({
|
|
89
|
+
createdAt: z.date().transform(v => v.toISOString()),
|
|
90
|
+
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
91
|
+
id: z.string(),
|
|
92
|
+
amountType: z.literal("free").default("free"),
|
|
93
|
+
isArchived: z.boolean(),
|
|
94
|
+
type: z.literal("one_time").default("one_time"),
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return (0, primitives_js_1.remap)(v, {
|
|
97
|
+
createdAt: "created_at",
|
|
98
|
+
modifiedAt: "modified_at",
|
|
99
|
+
amountType: "amount_type",
|
|
100
|
+
isArchived: "is_archived",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
+
*/
|
|
107
|
+
var ProductPriceOneTimeFree$;
|
|
108
|
+
(function (ProductPriceOneTimeFree$) {
|
|
109
|
+
/** @deprecated use `ProductPriceOneTimeFree$inboundSchema` instead. */
|
|
110
|
+
ProductPriceOneTimeFree$.inboundSchema = exports.ProductPriceOneTimeFree$inboundSchema;
|
|
111
|
+
/** @deprecated use `ProductPriceOneTimeFree$outboundSchema` instead. */
|
|
112
|
+
ProductPriceOneTimeFree$.outboundSchema = exports.ProductPriceOneTimeFree$outboundSchema;
|
|
113
|
+
})(ProductPriceOneTimeFree$ || (exports.ProductPriceOneTimeFree$ = ProductPriceOneTimeFree$ = {}));
|
|
114
|
+
//# sourceMappingURL=productpriceonetimefree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpriceonetimefree.js","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefree.ts"],"names":[],"mappings":";AAA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OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;KAC1B,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"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const ProductPriceOneTimeFreeCreateType: {
|
|
4
|
+
readonly OneTime: "one_time";
|
|
5
|
+
};
|
|
6
|
+
export type ProductPriceOneTimeFreeCreateType = ClosedEnum<typeof ProductPriceOneTimeFreeCreateType>;
|
|
7
|
+
export declare const ProductPriceOneTimeFreeCreateAmountType: {
|
|
8
|
+
readonly Free: "free";
|
|
9
|
+
};
|
|
10
|
+
export type ProductPriceOneTimeFreeCreateAmountType = ClosedEnum<typeof ProductPriceOneTimeFreeCreateAmountType>;
|
|
11
|
+
/**
|
|
12
|
+
* Schema to create a free one-time product price.
|
|
13
|
+
*/
|
|
14
|
+
export type ProductPriceOneTimeFreeCreate = {
|
|
15
|
+
type?: "one_time" | undefined;
|
|
16
|
+
amountType?: "free" | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const ProductPriceOneTimeFreeCreateType$inboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeCreateType>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const ProductPriceOneTimeFreeCreateType$outboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeCreateType>;
|
|
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 ProductPriceOneTimeFreeCreateType$ {
|
|
27
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateType$inboundSchema` instead. */
|
|
28
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
29
|
+
readonly OneTime: "one_time";
|
|
30
|
+
}>;
|
|
31
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateType$outboundSchema` instead. */
|
|
32
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
33
|
+
readonly OneTime: "one_time";
|
|
34
|
+
}>;
|
|
35
|
+
}
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const ProductPriceOneTimeFreeCreateAmountType$inboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeCreateAmountType>;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const ProductPriceOneTimeFreeCreateAmountType$outboundSchema: z.ZodNativeEnum<typeof ProductPriceOneTimeFreeCreateAmountType>;
|
|
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
|
+
export declare namespace ProductPriceOneTimeFreeCreateAmountType$ {
|
|
45
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateAmountType$inboundSchema` instead. */
|
|
46
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
47
|
+
readonly Free: "free";
|
|
48
|
+
}>;
|
|
49
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateAmountType$outboundSchema` instead. */
|
|
50
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
51
|
+
readonly Free: "free";
|
|
52
|
+
}>;
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
export declare const ProductPriceOneTimeFreeCreate$inboundSchema: z.ZodType<ProductPriceOneTimeFreeCreate, z.ZodTypeDef, unknown>;
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type ProductPriceOneTimeFreeCreate$Outbound = {
|
|
58
|
+
type: "one_time";
|
|
59
|
+
amount_type: "free";
|
|
60
|
+
};
|
|
61
|
+
/** @internal */
|
|
62
|
+
export declare const ProductPriceOneTimeFreeCreate$outboundSchema: z.ZodType<ProductPriceOneTimeFreeCreate$Outbound, z.ZodTypeDef, ProductPriceOneTimeFreeCreate>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
+
*/
|
|
67
|
+
export declare namespace ProductPriceOneTimeFreeCreate$ {
|
|
68
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreate$inboundSchema` instead. */
|
|
69
|
+
const inboundSchema: z.ZodType<ProductPriceOneTimeFreeCreate, z.ZodTypeDef, unknown>;
|
|
70
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreate$outboundSchema` instead. */
|
|
71
|
+
const outboundSchema: z.ZodType<ProductPriceOneTimeFreeCreate$Outbound, z.ZodTypeDef, ProductPriceOneTimeFreeCreate>;
|
|
72
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreate$Outbound` instead. */
|
|
73
|
+
type Outbound = ProductPriceOneTimeFreeCreate$Outbound;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=productpriceonetimefreecreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpriceonetimefreecreate.d.ts","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefreecreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,iCAAiC;;CAEpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,eAAO,MAAM,uCA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AAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAQ7B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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.ProductPriceOneTimeFreeCreate$ = exports.ProductPriceOneTimeFreeCreate$outboundSchema = exports.ProductPriceOneTimeFreeCreate$inboundSchema = exports.ProductPriceOneTimeFreeCreateAmountType$ = exports.ProductPriceOneTimeFreeCreateAmountType$outboundSchema = exports.ProductPriceOneTimeFreeCreateAmountType$inboundSchema = exports.ProductPriceOneTimeFreeCreateType$ = exports.ProductPriceOneTimeFreeCreateType$outboundSchema = exports.ProductPriceOneTimeFreeCreateType$inboundSchema = exports.ProductPriceOneTimeFreeCreateAmountType = exports.ProductPriceOneTimeFreeCreateType = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
+
exports.ProductPriceOneTimeFreeCreateType = {
|
|
33
|
+
OneTime: "one_time",
|
|
34
|
+
};
|
|
35
|
+
exports.ProductPriceOneTimeFreeCreateAmountType = {
|
|
36
|
+
Free: "free",
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.ProductPriceOneTimeFreeCreateType$inboundSchema = z.nativeEnum(exports.ProductPriceOneTimeFreeCreateType);
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.ProductPriceOneTimeFreeCreateType$outboundSchema = exports.ProductPriceOneTimeFreeCreateType$inboundSchema;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
var ProductPriceOneTimeFreeCreateType$;
|
|
47
|
+
(function (ProductPriceOneTimeFreeCreateType$) {
|
|
48
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateType$inboundSchema` instead. */
|
|
49
|
+
ProductPriceOneTimeFreeCreateType$.inboundSchema = exports.ProductPriceOneTimeFreeCreateType$inboundSchema;
|
|
50
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateType$outboundSchema` instead. */
|
|
51
|
+
ProductPriceOneTimeFreeCreateType$.outboundSchema = exports.ProductPriceOneTimeFreeCreateType$outboundSchema;
|
|
52
|
+
})(ProductPriceOneTimeFreeCreateType$ || (exports.ProductPriceOneTimeFreeCreateType$ = ProductPriceOneTimeFreeCreateType$ = {}));
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.ProductPriceOneTimeFreeCreateAmountType$inboundSchema = z
|
|
55
|
+
.nativeEnum(exports.ProductPriceOneTimeFreeCreateAmountType);
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.ProductPriceOneTimeFreeCreateAmountType$outboundSchema = exports.ProductPriceOneTimeFreeCreateAmountType$inboundSchema;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var ProductPriceOneTimeFreeCreateAmountType$;
|
|
63
|
+
(function (ProductPriceOneTimeFreeCreateAmountType$) {
|
|
64
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateAmountType$inboundSchema` instead. */
|
|
65
|
+
ProductPriceOneTimeFreeCreateAmountType$.inboundSchema = exports.ProductPriceOneTimeFreeCreateAmountType$inboundSchema;
|
|
66
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreateAmountType$outboundSchema` instead. */
|
|
67
|
+
ProductPriceOneTimeFreeCreateAmountType$.outboundSchema = exports.ProductPriceOneTimeFreeCreateAmountType$outboundSchema;
|
|
68
|
+
})(ProductPriceOneTimeFreeCreateAmountType$ || (exports.ProductPriceOneTimeFreeCreateAmountType$ = ProductPriceOneTimeFreeCreateAmountType$ = {}));
|
|
69
|
+
/** @internal */
|
|
70
|
+
exports.ProductPriceOneTimeFreeCreate$inboundSchema = z.object({
|
|
71
|
+
type: z.literal("one_time").optional(),
|
|
72
|
+
amount_type: z.literal("free").optional(),
|
|
73
|
+
}).transform((v) => {
|
|
74
|
+
return (0, primitives_js_1.remap)(v, {
|
|
75
|
+
"amount_type": "amountType",
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.ProductPriceOneTimeFreeCreate$outboundSchema = z.object({
|
|
80
|
+
type: z.literal("one_time").default("one_time"),
|
|
81
|
+
amountType: z.literal("free").default("free"),
|
|
82
|
+
}).transform((v) => {
|
|
83
|
+
return (0, primitives_js_1.remap)(v, {
|
|
84
|
+
amountType: "amount_type",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
+
*/
|
|
91
|
+
var ProductPriceOneTimeFreeCreate$;
|
|
92
|
+
(function (ProductPriceOneTimeFreeCreate$) {
|
|
93
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreate$inboundSchema` instead. */
|
|
94
|
+
ProductPriceOneTimeFreeCreate$.inboundSchema = exports.ProductPriceOneTimeFreeCreate$inboundSchema;
|
|
95
|
+
/** @deprecated use `ProductPriceOneTimeFreeCreate$outboundSchema` instead. */
|
|
96
|
+
ProductPriceOneTimeFreeCreate$.outboundSchema = exports.ProductPriceOneTimeFreeCreate$outboundSchema;
|
|
97
|
+
})(ProductPriceOneTimeFreeCreate$ || (exports.ProductPriceOneTimeFreeCreate$ = ProductPriceOneTimeFreeCreate$ = {}));
|
|
98
|
+
//# sourceMappingURL=productpriceonetimefreecreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpriceonetimefreecreate.js","sourceRoot":"","sources":["../../src/models/components/productpriceonetimefreecreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAG7C,QAAA,iCAAiC,GAAG;IAC/C,OAAO,EAAE,UAAU;CACX,CAAC;AAKE,QAAA,uCAAuC,GAAG;IACrD,IAAI,EAAE,MAAM;CACJ,CAAC;AAaX,gBAAgB;AACH,QA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CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;CAC9C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
|
|
@@ -32,14 +32,14 @@ export type ProductPriceRecurringCustom = {
|
|
|
32
32
|
*/
|
|
33
33
|
id: string;
|
|
34
34
|
amountType?: "custom" | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* The currency.
|
|
37
|
-
*/
|
|
38
|
-
priceCurrency: string;
|
|
39
35
|
/**
|
|
40
36
|
* Whether the price is archived and no longer available.
|
|
41
37
|
*/
|
|
42
38
|
isArchived: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The currency.
|
|
41
|
+
*/
|
|
42
|
+
priceCurrency: string;
|
|
43
43
|
/**
|
|
44
44
|
* The minimum amount the customer can pay.
|
|
45
45
|
*/
|
|
@@ -105,8 +105,8 @@ export type ProductPriceRecurringCustom$Outbound = {
|
|
|
105
105
|
modified_at: string | null;
|
|
106
106
|
id: string;
|
|
107
107
|
amount_type: "custom";
|
|
108
|
-
price_currency: string;
|
|
109
108
|
is_archived: boolean;
|
|
109
|
+
price_currency: string;
|
|
110
110
|
minimum_amount: number | null;
|
|
111
111
|
maximum_amount: number | null;
|
|
112
112
|
preset_amount: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productpricerecurringcustom.d.ts","sourceRoot":"","sources":["../../src/models/components/productpricerecurringcustom.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,qCAAqC;;CAExC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,qCAAqC,CAC7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B;;CAElC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"productpricerecurringcustom.d.ts","sourceRoot":"","sources":["../../src/models/components/productpricerecurringcustom.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,qCAAqC;;CAExC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAC5D,OAAO,qCAAqC,CAC7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B;;CAElC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IACh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AAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CA2BP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,QAAQ,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAyB3B,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"}
|
|
@@ -75,8 +75,8 @@ exports.ProductPriceRecurringCustom$inboundSchema = z.object({
|
|
|
75
75
|
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
76
76
|
id: z.string(),
|
|
77
77
|
amount_type: z.literal("custom").optional(),
|
|
78
|
-
price_currency: z.string(),
|
|
79
78
|
is_archived: z.boolean(),
|
|
79
|
+
price_currency: z.string(),
|
|
80
80
|
minimum_amount: z.nullable(z.number().int()),
|
|
81
81
|
maximum_amount: z.nullable(z.number().int()),
|
|
82
82
|
preset_amount: z.nullable(z.number().int()),
|
|
@@ -87,8 +87,8 @@ exports.ProductPriceRecurringCustom$inboundSchema = z.object({
|
|
|
87
87
|
"created_at": "createdAt",
|
|
88
88
|
"modified_at": "modifiedAt",
|
|
89
89
|
"amount_type": "amountType",
|
|
90
|
-
"price_currency": "priceCurrency",
|
|
91
90
|
"is_archived": "isArchived",
|
|
91
|
+
"price_currency": "priceCurrency",
|
|
92
92
|
"minimum_amount": "minimumAmount",
|
|
93
93
|
"maximum_amount": "maximumAmount",
|
|
94
94
|
"preset_amount": "presetAmount",
|
|
@@ -101,8 +101,8 @@ exports.ProductPriceRecurringCustom$outboundSchema = z.object({
|
|
|
101
101
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
102
102
|
id: z.string(),
|
|
103
103
|
amountType: z.literal("custom").default("custom"),
|
|
104
|
-
priceCurrency: z.string(),
|
|
105
104
|
isArchived: z.boolean(),
|
|
105
|
+
priceCurrency: z.string(),
|
|
106
106
|
minimumAmount: z.nullable(z.number().int()),
|
|
107
107
|
maximumAmount: z.nullable(z.number().int()),
|
|
108
108
|
presetAmount: z.nullable(z.number().int()),
|
|
@@ -113,8 +113,8 @@ exports.ProductPriceRecurringCustom$outboundSchema = z.object({
|
|
|
113
113
|
createdAt: "created_at",
|
|
114
114
|
modifiedAt: "modified_at",
|
|
115
115
|
amountType: "amount_type",
|
|
116
|
-
priceCurrency: "price_currency",
|
|
117
116
|
isArchived: "is_archived",
|
|
117
|
+
priceCurrency: "price_currency",
|
|
118
118
|
minimumAmount: "minimum_amount",
|
|
119
119
|
maximumAmount: "maximum_amount",
|
|
120
120
|
presetAmount: "preset_amount",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productpricerecurringcustom.js","sourceRoot":"","sources":["../../src/models/components/productpricerecurringcustom.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAE1D,yFAI4C;AAE/B,QAAA,qCAAqC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I,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE;IAC3C,
|
|
1
|
+
{"version":3,"file":"productpricerecurringcustom.js","sourceRoot":"","sources":["../../src/models/components/productpricerecurringcustom.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAE1D,yFAI4C;AAE/B,QAAA,qCAAqC,GAAG;IACnD,MAAM,EAAE,QAAQ;CACR,CAAC;AAKX;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC7C,SAAS,EAAE,WAAW;CACd,CAAC;AAuDX,gBAAgB;AACH,QAAA,mDAAmD,GACE,CAAC,CAAC,UAAU,CAC1E,6CAAqC,CACtC,CAAC;AAEJ,gBAAgB;AACH,QAAA,oDAAoD,GAE7D,2DAAmD,CAAC;AAExD;;;GAGG;AACH,IAAiB,sCAAsC,CAOtD;AAPD,WAAiB,sCAAsC;IACrD,qFAAqF;IACxE,oDAAa,GACxB,2DAAmD,CAAC;IACtD,sFAAsF;IACzE,qDAAc,GACzB,4DAAoD,CAAC;AACzD,CAAC,EAPgB,sCAAsC,sDAAtC,sCAAsC,QAOtD;AAED,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,CA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EAAE,aAAa;QACzB,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,YAAY,EAAE,eAAe;QAC7B,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"}
|
|
@@ -32,14 +32,14 @@ export type ProductPriceRecurringFixed = {
|
|
|
32
32
|
*/
|
|
33
33
|
id: string;
|
|
34
34
|
amountType?: "fixed" | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* The currency.
|
|
37
|
-
*/
|
|
38
|
-
priceCurrency: string;
|
|
39
35
|
/**
|
|
40
36
|
* Whether the price is archived and no longer available.
|
|
41
37
|
*/
|
|
42
38
|
isArchived: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The currency.
|
|
41
|
+
*/
|
|
42
|
+
priceCurrency: string;
|
|
43
43
|
/**
|
|
44
44
|
* The price in cents.
|
|
45
45
|
*/
|
|
@@ -97,8 +97,8 @@ export type ProductPriceRecurringFixed$Outbound = {
|
|
|
97
97
|
modified_at: string | null;
|
|
98
98
|
id: string;
|
|
99
99
|
amount_type: "fixed";
|
|
100
|
-
price_currency: string;
|
|
101
100
|
is_archived: boolean;
|
|
101
|
+
price_currency: string;
|
|
102
102
|
price_amount: number;
|
|
103
103
|
type: "recurring";
|
|
104
104
|
recurring_interval: string;
|