@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
|
@@ -0,0 +1,260 @@
|
|
|
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.BenefitGrantWebhook$ = exports.BenefitGrantWebhook$outboundSchema = exports.BenefitGrantWebhook$inboundSchema = exports.PreviousProperties$ = exports.PreviousProperties$outboundSchema = exports.PreviousProperties$inboundSchema = exports.BenefitGrantWebhookBenefit$ = exports.BenefitGrantWebhookBenefit$outboundSchema = exports.BenefitGrantWebhookBenefit$inboundSchema = exports.BenefitGrantWebhookProperties$ = exports.BenefitGrantWebhookProperties$outboundSchema = exports.BenefitGrantWebhookProperties$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
+
const benefitads_js_1 = require("./benefitads.js");
|
|
33
|
+
const benefitarticles_js_1 = require("./benefitarticles.js");
|
|
34
|
+
const benefitcustom_js_1 = require("./benefitcustom.js");
|
|
35
|
+
const benefitdiscordinput_js_1 = require("./benefitdiscordinput.js");
|
|
36
|
+
const benefitdownloadables_js_1 = require("./benefitdownloadables.js");
|
|
37
|
+
const benefitgithubrepository_js_1 = require("./benefitgithubrepository.js");
|
|
38
|
+
const benefitgrantadsproperties_js_1 = require("./benefitgrantadsproperties.js");
|
|
39
|
+
const benefitgrantarticlesproperties_js_1 = require("./benefitgrantarticlesproperties.js");
|
|
40
|
+
const benefitgrantcustomproperties_js_1 = require("./benefitgrantcustomproperties.js");
|
|
41
|
+
const benefitgrantdiscordproperties_js_1 = require("./benefitgrantdiscordproperties.js");
|
|
42
|
+
const benefitgrantdownloadablesproperties_js_1 = require("./benefitgrantdownloadablesproperties.js");
|
|
43
|
+
const benefitgrantgithubrepositoryproperties_js_1 = require("./benefitgrantgithubrepositoryproperties.js");
|
|
44
|
+
const benefitgrantlicensekeysproperties_js_1 = require("./benefitgrantlicensekeysproperties.js");
|
|
45
|
+
const benefitlicensekeysinput_js_1 = require("./benefitlicensekeysinput.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.BenefitGrantWebhookProperties$inboundSchema = z.union([
|
|
48
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$inboundSchema,
|
|
49
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$inboundSchema,
|
|
50
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$inboundSchema,
|
|
51
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$inboundSchema,
|
|
52
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$inboundSchema,
|
|
53
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$inboundSchema,
|
|
54
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$inboundSchema,
|
|
55
|
+
]);
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.BenefitGrantWebhookProperties$outboundSchema = z.union([
|
|
58
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$outboundSchema,
|
|
59
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$outboundSchema,
|
|
60
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$outboundSchema,
|
|
61
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$outboundSchema,
|
|
62
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$outboundSchema,
|
|
63
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$outboundSchema,
|
|
64
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$outboundSchema,
|
|
65
|
+
]);
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var BenefitGrantWebhookProperties$;
|
|
71
|
+
(function (BenefitGrantWebhookProperties$) {
|
|
72
|
+
/** @deprecated use `BenefitGrantWebhookProperties$inboundSchema` instead. */
|
|
73
|
+
BenefitGrantWebhookProperties$.inboundSchema = exports.BenefitGrantWebhookProperties$inboundSchema;
|
|
74
|
+
/** @deprecated use `BenefitGrantWebhookProperties$outboundSchema` instead. */
|
|
75
|
+
BenefitGrantWebhookProperties$.outboundSchema = exports.BenefitGrantWebhookProperties$outboundSchema;
|
|
76
|
+
})(BenefitGrantWebhookProperties$ || (exports.BenefitGrantWebhookProperties$ = BenefitGrantWebhookProperties$ = {}));
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.BenefitGrantWebhookBenefit$inboundSchema = z.union([
|
|
79
|
+
benefitarticles_js_1.BenefitArticles$inboundSchema,
|
|
80
|
+
benefitads_js_1.BenefitAds$inboundSchema,
|
|
81
|
+
benefitdiscordinput_js_1.BenefitDiscordInput$inboundSchema,
|
|
82
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$inboundSchema,
|
|
83
|
+
benefitdownloadables_js_1.BenefitDownloadables$inboundSchema,
|
|
84
|
+
benefitlicensekeysinput_js_1.BenefitLicenseKeysInput$inboundSchema,
|
|
85
|
+
benefitcustom_js_1.BenefitCustom$inboundSchema,
|
|
86
|
+
]);
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.BenefitGrantWebhookBenefit$outboundSchema = z.union([
|
|
89
|
+
benefitarticles_js_1.BenefitArticles$outboundSchema,
|
|
90
|
+
benefitads_js_1.BenefitAds$outboundSchema,
|
|
91
|
+
benefitdiscordinput_js_1.BenefitDiscordInput$outboundSchema,
|
|
92
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$outboundSchema,
|
|
93
|
+
benefitdownloadables_js_1.BenefitDownloadables$outboundSchema,
|
|
94
|
+
benefitlicensekeysinput_js_1.BenefitLicenseKeysInput$outboundSchema,
|
|
95
|
+
benefitcustom_js_1.BenefitCustom$outboundSchema,
|
|
96
|
+
]);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
+
*/
|
|
101
|
+
var BenefitGrantWebhookBenefit$;
|
|
102
|
+
(function (BenefitGrantWebhookBenefit$) {
|
|
103
|
+
/** @deprecated use `BenefitGrantWebhookBenefit$inboundSchema` instead. */
|
|
104
|
+
BenefitGrantWebhookBenefit$.inboundSchema = exports.BenefitGrantWebhookBenefit$inboundSchema;
|
|
105
|
+
/** @deprecated use `BenefitGrantWebhookBenefit$outboundSchema` instead. */
|
|
106
|
+
BenefitGrantWebhookBenefit$.outboundSchema = exports.BenefitGrantWebhookBenefit$outboundSchema;
|
|
107
|
+
})(BenefitGrantWebhookBenefit$ || (exports.BenefitGrantWebhookBenefit$ = BenefitGrantWebhookBenefit$ = {}));
|
|
108
|
+
/** @internal */
|
|
109
|
+
exports.PreviousProperties$inboundSchema = z.union([
|
|
110
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$inboundSchema,
|
|
111
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$inboundSchema,
|
|
112
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$inboundSchema,
|
|
113
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$inboundSchema,
|
|
114
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$inboundSchema,
|
|
115
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$inboundSchema,
|
|
116
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$inboundSchema,
|
|
117
|
+
]);
|
|
118
|
+
/** @internal */
|
|
119
|
+
exports.PreviousProperties$outboundSchema = z.union([
|
|
120
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$outboundSchema,
|
|
121
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$outboundSchema,
|
|
122
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$outboundSchema,
|
|
123
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$outboundSchema,
|
|
124
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$outboundSchema,
|
|
125
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$outboundSchema,
|
|
126
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$outboundSchema,
|
|
127
|
+
]);
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
131
|
+
*/
|
|
132
|
+
var PreviousProperties$;
|
|
133
|
+
(function (PreviousProperties$) {
|
|
134
|
+
/** @deprecated use `PreviousProperties$inboundSchema` instead. */
|
|
135
|
+
PreviousProperties$.inboundSchema = exports.PreviousProperties$inboundSchema;
|
|
136
|
+
/** @deprecated use `PreviousProperties$outboundSchema` instead. */
|
|
137
|
+
PreviousProperties$.outboundSchema = exports.PreviousProperties$outboundSchema;
|
|
138
|
+
})(PreviousProperties$ || (exports.PreviousProperties$ = PreviousProperties$ = {}));
|
|
139
|
+
/** @internal */
|
|
140
|
+
exports.BenefitGrantWebhook$inboundSchema = z.object({
|
|
141
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
142
|
+
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
143
|
+
id: z.string(),
|
|
144
|
+
granted_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
145
|
+
is_granted: z.boolean(),
|
|
146
|
+
revoked_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
147
|
+
is_revoked: z.boolean(),
|
|
148
|
+
subscription_id: z.nullable(z.string()),
|
|
149
|
+
order_id: z.nullable(z.string()),
|
|
150
|
+
user_id: z.string(),
|
|
151
|
+
benefit_id: z.string(),
|
|
152
|
+
properties: z.union([
|
|
153
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$inboundSchema,
|
|
154
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$inboundSchema,
|
|
155
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$inboundSchema,
|
|
156
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$inboundSchema,
|
|
157
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$inboundSchema,
|
|
158
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$inboundSchema,
|
|
159
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$inboundSchema,
|
|
160
|
+
]),
|
|
161
|
+
benefit: z.union([
|
|
162
|
+
benefitarticles_js_1.BenefitArticles$inboundSchema,
|
|
163
|
+
benefitads_js_1.BenefitAds$inboundSchema,
|
|
164
|
+
benefitdiscordinput_js_1.BenefitDiscordInput$inboundSchema,
|
|
165
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$inboundSchema,
|
|
166
|
+
benefitdownloadables_js_1.BenefitDownloadables$inboundSchema,
|
|
167
|
+
benefitlicensekeysinput_js_1.BenefitLicenseKeysInput$inboundSchema,
|
|
168
|
+
benefitcustom_js_1.BenefitCustom$inboundSchema,
|
|
169
|
+
]),
|
|
170
|
+
previous_properties: z.nullable(z.union([
|
|
171
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$inboundSchema,
|
|
172
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$inboundSchema,
|
|
173
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$inboundSchema,
|
|
174
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$inboundSchema,
|
|
175
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$inboundSchema,
|
|
176
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$inboundSchema,
|
|
177
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$inboundSchema,
|
|
178
|
+
])).optional(),
|
|
179
|
+
}).transform((v) => {
|
|
180
|
+
return (0, primitives_js_1.remap)(v, {
|
|
181
|
+
"created_at": "createdAt",
|
|
182
|
+
"modified_at": "modifiedAt",
|
|
183
|
+
"granted_at": "grantedAt",
|
|
184
|
+
"is_granted": "isGranted",
|
|
185
|
+
"revoked_at": "revokedAt",
|
|
186
|
+
"is_revoked": "isRevoked",
|
|
187
|
+
"subscription_id": "subscriptionId",
|
|
188
|
+
"order_id": "orderId",
|
|
189
|
+
"user_id": "userId",
|
|
190
|
+
"benefit_id": "benefitId",
|
|
191
|
+
"previous_properties": "previousProperties",
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
/** @internal */
|
|
195
|
+
exports.BenefitGrantWebhook$outboundSchema = z.object({
|
|
196
|
+
createdAt: z.date().transform(v => v.toISOString()),
|
|
197
|
+
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
198
|
+
id: z.string(),
|
|
199
|
+
grantedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
200
|
+
isGranted: z.boolean(),
|
|
201
|
+
revokedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
202
|
+
isRevoked: z.boolean(),
|
|
203
|
+
subscriptionId: z.nullable(z.string()),
|
|
204
|
+
orderId: z.nullable(z.string()),
|
|
205
|
+
userId: z.string(),
|
|
206
|
+
benefitId: z.string(),
|
|
207
|
+
properties: z.union([
|
|
208
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$outboundSchema,
|
|
209
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$outboundSchema,
|
|
210
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$outboundSchema,
|
|
211
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$outboundSchema,
|
|
212
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$outboundSchema,
|
|
213
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$outboundSchema,
|
|
214
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$outboundSchema,
|
|
215
|
+
]),
|
|
216
|
+
benefit: z.union([
|
|
217
|
+
benefitarticles_js_1.BenefitArticles$outboundSchema,
|
|
218
|
+
benefitads_js_1.BenefitAds$outboundSchema,
|
|
219
|
+
benefitdiscordinput_js_1.BenefitDiscordInput$outboundSchema,
|
|
220
|
+
benefitgithubrepository_js_1.BenefitGitHubRepository$outboundSchema,
|
|
221
|
+
benefitdownloadables_js_1.BenefitDownloadables$outboundSchema,
|
|
222
|
+
benefitlicensekeysinput_js_1.BenefitLicenseKeysInput$outboundSchema,
|
|
223
|
+
benefitcustom_js_1.BenefitCustom$outboundSchema,
|
|
224
|
+
]),
|
|
225
|
+
previousProperties: z.nullable(z.union([
|
|
226
|
+
benefitgrantcustomproperties_js_1.BenefitGrantCustomProperties$outboundSchema,
|
|
227
|
+
benefitgrantarticlesproperties_js_1.BenefitGrantArticlesProperties$outboundSchema,
|
|
228
|
+
benefitgrantdownloadablesproperties_js_1.BenefitGrantDownloadablesProperties$outboundSchema,
|
|
229
|
+
benefitgrantadsproperties_js_1.BenefitGrantAdsProperties$outboundSchema,
|
|
230
|
+
benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$outboundSchema,
|
|
231
|
+
benefitgrantdiscordproperties_js_1.BenefitGrantDiscordProperties$outboundSchema,
|
|
232
|
+
benefitgrantgithubrepositoryproperties_js_1.BenefitGrantGitHubRepositoryProperties$outboundSchema,
|
|
233
|
+
])).optional(),
|
|
234
|
+
}).transform((v) => {
|
|
235
|
+
return (0, primitives_js_1.remap)(v, {
|
|
236
|
+
createdAt: "created_at",
|
|
237
|
+
modifiedAt: "modified_at",
|
|
238
|
+
grantedAt: "granted_at",
|
|
239
|
+
isGranted: "is_granted",
|
|
240
|
+
revokedAt: "revoked_at",
|
|
241
|
+
isRevoked: "is_revoked",
|
|
242
|
+
subscriptionId: "subscription_id",
|
|
243
|
+
orderId: "order_id",
|
|
244
|
+
userId: "user_id",
|
|
245
|
+
benefitId: "benefit_id",
|
|
246
|
+
previousProperties: "previous_properties",
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
252
|
+
*/
|
|
253
|
+
var BenefitGrantWebhook$;
|
|
254
|
+
(function (BenefitGrantWebhook$) {
|
|
255
|
+
/** @deprecated use `BenefitGrantWebhook$inboundSchema` instead. */
|
|
256
|
+
BenefitGrantWebhook$.inboundSchema = exports.BenefitGrantWebhook$inboundSchema;
|
|
257
|
+
/** @deprecated use `BenefitGrantWebhook$outboundSchema` instead. */
|
|
258
|
+
BenefitGrantWebhook$.outboundSchema = exports.BenefitGrantWebhook$outboundSchema;
|
|
259
|
+
})(BenefitGrantWebhook$ || (exports.BenefitGrantWebhook$ = BenefitGrantWebhook$ = {}));
|
|
260
|
+
//# sourceMappingURL=benefitgrantwebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefitgrantwebhook.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantwebhook.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,mDAKyB;AACzB,6DAK8B;AAC9B,yDAK4B;AAC5B,qEAKkC;AAClC,uEAKmC;AACnC,6EAKsC;AACtC,iFAKwC;AACxC,2FAK6C;AAC7C,uFAK2C;AAC3C,yFAK4C;AAC5C,qGAKkD;AAClD,2GAKqD;AACrD,iGAKgD;AAChD,6EAKsC;AAsGtC,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,KAAK,CAAC;IACV,4EAA0C;IAC1C,gFAA4C;IAC5C,0FAAiD;IACjD,sEAAuC;IACvC,sFAA+C;IAC/C,8EAA2C;IAC3C,gGAAoD;CACrD,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,KAAK,CAAC;IACV,6EAA2C;IAC3C,iFAA6C;IAC7C,2FAAkD;IAClD,uEAAwC;IACxC,uFAAgD;IAChD,+EAA4C;IAC5C,iGAAqD;CACtD,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;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,KAAK,CAAC;IACV,kDAA6B;IAC7B,wCAAwB;IACxB,0DAAiC;IACjC,kEAAqC;IACrC,4DAAkC;IAClC,kEAAqC;IACrC,8CAA2B;CAC5B,CAAC,CAAC;AAYH,gBAAgB;AACH,Q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EAAE,YAAY;QACvB,cAAc,EAAE,iBAAiB;QACjC,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,YAAY;QACvB,kBAAkB,EAAE,qBAAqB;KAC1C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC"}
|
|
@@ -12,6 +12,10 @@ export type CheckoutCreate = {
|
|
|
12
12
|
* If you already know the email of your customer, you can set it. It'll be pre-filled on the checkout page.
|
|
13
13
|
*/
|
|
14
14
|
customerEmail?: string | null | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* ID of the subscription to update. If not provided, a new subscription will be created.
|
|
17
|
+
*/
|
|
18
|
+
subscriptionId?: string | null | undefined;
|
|
15
19
|
};
|
|
16
20
|
/** @internal */
|
|
17
21
|
export declare const CheckoutCreate$inboundSchema: z.ZodType<CheckoutCreate, z.ZodTypeDef, unknown>;
|
|
@@ -20,6 +24,7 @@ export type CheckoutCreate$Outbound = {
|
|
|
20
24
|
product_price_id: string;
|
|
21
25
|
success_url: string;
|
|
22
26
|
customer_email?: string | null | undefined;
|
|
27
|
+
subscription_id?: string | null | undefined;
|
|
23
28
|
};
|
|
24
29
|
/** @internal */
|
|
25
30
|
export declare const CheckoutCreate$outboundSchema: z.ZodType<CheckoutCreate$Outbound, z.ZodTypeDef, CheckoutCreate>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkoutcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/checkoutcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAE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AuB,CAAC;CAChD"}
|
|
@@ -34,11 +34,13 @@ exports.CheckoutCreate$inboundSchema = z.object({
|
|
|
34
34
|
product_price_id: z.string(),
|
|
35
35
|
success_url: z.string(),
|
|
36
36
|
customer_email: z.nullable(z.string()).optional(),
|
|
37
|
+
subscription_id: z.nullable(z.string()).optional(),
|
|
37
38
|
}).transform((v) => {
|
|
38
39
|
return (0, primitives_js_1.remap)(v, {
|
|
39
40
|
"product_price_id": "productPriceId",
|
|
40
41
|
"success_url": "successUrl",
|
|
41
42
|
"customer_email": "customerEmail",
|
|
43
|
+
"subscription_id": "subscriptionId",
|
|
42
44
|
});
|
|
43
45
|
});
|
|
44
46
|
/** @internal */
|
|
@@ -46,11 +48,13 @@ exports.CheckoutCreate$outboundSchema = z.object({
|
|
|
46
48
|
productPriceId: z.string(),
|
|
47
49
|
successUrl: z.string(),
|
|
48
50
|
customerEmail: z.nullable(z.string()).optional(),
|
|
51
|
+
subscriptionId: z.nullable(z.string()).optional(),
|
|
49
52
|
}).transform((v) => {
|
|
50
53
|
return (0, primitives_js_1.remap)(v, {
|
|
51
54
|
productPriceId: "product_price_id",
|
|
52
55
|
successUrl: "success_url",
|
|
53
56
|
customerEmail: "customer_email",
|
|
57
|
+
subscriptionId: "subscription_id",
|
|
54
58
|
});
|
|
55
59
|
});
|
|
56
60
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkoutcreate.js","sourceRoot":"","sources":["../../src/models/components/checkoutcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;
|
|
1
|
+
{"version":3,"file":"checkoutcreate.js","sourceRoot":"","sources":["../../src/models/components/checkoutcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAqB1D,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MA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,8BAAc,GAAG,qCAA6B,CAAC;AAG9D,CAAC,EAPgB,eAAe,+BAAf,eAAe,QAO/B"}
|
|
@@ -53,9 +53,16 @@ export * from "./benefitgithubrepositoryupdate.js";
|
|
|
53
53
|
export * from "./benefitgrant.js";
|
|
54
54
|
export * from "./benefitgrantads.js";
|
|
55
55
|
export * from "./benefitgrantadsproperties.js";
|
|
56
|
+
export * from "./benefitgrantadssubscriberproperties.js";
|
|
57
|
+
export * from "./benefitgrantarticlesproperties.js";
|
|
58
|
+
export * from "./benefitgrantcustomproperties.js";
|
|
59
|
+
export * from "./benefitgrantdiscordproperties.js";
|
|
60
|
+
export * from "./benefitgrantdownloadablesproperties.js";
|
|
61
|
+
export * from "./benefitgrantgithubrepositoryproperties.js";
|
|
56
62
|
export * from "./benefitgrantlicensekeys.js";
|
|
57
63
|
export * from "./benefitgrantlicensekeysproperties.js";
|
|
58
|
-
export * from "./
|
|
64
|
+
export * from "./benefitgrantsubscriber.js";
|
|
65
|
+
export * from "./benefitgrantwebhook.js";
|
|
59
66
|
export * from "./benefitlicensekeyactivationproperties.js";
|
|
60
67
|
export * from "./benefitlicensekeyexpirationproperties.js";
|
|
61
68
|
export * from "./benefitlicensekeyscreate.js";
|
|
@@ -67,7 +74,6 @@ export * from "./benefitlicensekeyssubscriber.js";
|
|
|
67
74
|
export * from "./benefitlicensekeyssubscriberproperties.js";
|
|
68
75
|
export * from "./benefitlicensekeysupdate.js";
|
|
69
76
|
export * from "./benefittype.js";
|
|
70
|
-
export * from "./bodysubscriptionsimport.js";
|
|
71
77
|
export * from "./bylineprofile.js";
|
|
72
78
|
export * from "./checkout.js";
|
|
73
79
|
export * from "./checkoutcreate.js";
|
|
@@ -165,10 +171,14 @@ export * from "./productpriceonetimecustom.js";
|
|
|
165
171
|
export * from "./productpriceonetimecustomcreate.js";
|
|
166
172
|
export * from "./productpriceonetimefixed.js";
|
|
167
173
|
export * from "./productpriceonetimefixedcreate.js";
|
|
174
|
+
export * from "./productpriceonetimefree.js";
|
|
175
|
+
export * from "./productpriceonetimefreecreate.js";
|
|
168
176
|
export * from "./productpriceoutput.js";
|
|
169
|
-
export * from "./productpricerecurringcreate.js";
|
|
170
177
|
export * from "./productpricerecurringcustom.js";
|
|
171
178
|
export * from "./productpricerecurringfixed.js";
|
|
179
|
+
export * from "./productpricerecurringfixedcreate.js";
|
|
180
|
+
export * from "./productpricerecurringfree.js";
|
|
181
|
+
export * from "./productpricerecurringfreecreate.js";
|
|
172
182
|
export * from "./productpricerecurringinput.js";
|
|
173
183
|
export * from "./productpricerecurringoutput.js";
|
|
174
184
|
export * from "./productpricetype.js";
|
|
@@ -190,14 +200,11 @@ export * from "./s3fileuploadmultipart.js";
|
|
|
190
200
|
export * from "./s3fileuploadpart.js";
|
|
191
201
|
export * from "./security.js";
|
|
192
202
|
export * from "./state.js";
|
|
193
|
-
export * from "./subscriptioncreateemail.js";
|
|
194
203
|
export * from "./subscriptioninput.js";
|
|
195
204
|
export * from "./subscriptionoutput.js";
|
|
196
205
|
export * from "./subscriptionrecurringinterval.js";
|
|
197
|
-
export * from "./subscriptionsimported.js";
|
|
198
206
|
export * from "./subscriptionsortproperty.js";
|
|
199
207
|
export * from "./subscriptionstatus.js";
|
|
200
|
-
export * from "./subscriptiontiertype.js";
|
|
201
208
|
export * from "./subscriptionuser.js";
|
|
202
209
|
export * from "./subtype.js";
|
|
203
210
|
export * from "./tokenresponse.js";
|
|
@@ -207,7 +214,6 @@ export * from "./useradvertisementcampaignenable.js";
|
|
|
207
214
|
export * from "./useradvertisementcampaignupdate.js";
|
|
208
215
|
export * from "./useradvertisementsortproperty.js";
|
|
209
216
|
export * from "./userbenefitsortproperty.js";
|
|
210
|
-
export * from "./userfreesubscriptioncreate.js";
|
|
211
217
|
export * from "./userinfoorganization.js";
|
|
212
218
|
export * from "./userinfouser.js";
|
|
213
219
|
export * from "./userorder.js";
|
|
@@ -222,6 +228,9 @@ export * from "./usersubscriptionupdate.js";
|
|
|
222
228
|
export * from "./validatedlicensekey.js";
|
|
223
229
|
export * from "./validationerror.js";
|
|
224
230
|
export * from "./webhookbenefitcreatedpayload.js";
|
|
231
|
+
export * from "./webhookbenefitgrantcreatedpayload.js";
|
|
232
|
+
export * from "./webhookbenefitgrantrevokedpayload.js";
|
|
233
|
+
export * from "./webhookbenefitgrantupdatedpayload.js";
|
|
225
234
|
export * from "./webhookbenefitupdatedpayload.js";
|
|
226
235
|
export * from "./webhookdonationcreatedpayload.js";
|
|
227
236
|
export * from "./webhookordercreatedpayload.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0CAA0C,CAAC;AACzD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,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vD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC"}
|
|
@@ -72,9 +72,16 @@ __exportStar(require("./benefitgithubrepositoryupdate.js"), exports);
|
|
|
72
72
|
__exportStar(require("./benefitgrant.js"), exports);
|
|
73
73
|
__exportStar(require("./benefitgrantads.js"), exports);
|
|
74
74
|
__exportStar(require("./benefitgrantadsproperties.js"), exports);
|
|
75
|
+
__exportStar(require("./benefitgrantadssubscriberproperties.js"), exports);
|
|
76
|
+
__exportStar(require("./benefitgrantarticlesproperties.js"), exports);
|
|
77
|
+
__exportStar(require("./benefitgrantcustomproperties.js"), exports);
|
|
78
|
+
__exportStar(require("./benefitgrantdiscordproperties.js"), exports);
|
|
79
|
+
__exportStar(require("./benefitgrantdownloadablesproperties.js"), exports);
|
|
80
|
+
__exportStar(require("./benefitgrantgithubrepositoryproperties.js"), exports);
|
|
75
81
|
__exportStar(require("./benefitgrantlicensekeys.js"), exports);
|
|
76
82
|
__exportStar(require("./benefitgrantlicensekeysproperties.js"), exports);
|
|
77
|
-
__exportStar(require("./
|
|
83
|
+
__exportStar(require("./benefitgrantsubscriber.js"), exports);
|
|
84
|
+
__exportStar(require("./benefitgrantwebhook.js"), exports);
|
|
78
85
|
__exportStar(require("./benefitlicensekeyactivationproperties.js"), exports);
|
|
79
86
|
__exportStar(require("./benefitlicensekeyexpirationproperties.js"), exports);
|
|
80
87
|
__exportStar(require("./benefitlicensekeyscreate.js"), exports);
|
|
@@ -86,7 +93,6 @@ __exportStar(require("./benefitlicensekeyssubscriber.js"), exports);
|
|
|
86
93
|
__exportStar(require("./benefitlicensekeyssubscriberproperties.js"), exports);
|
|
87
94
|
__exportStar(require("./benefitlicensekeysupdate.js"), exports);
|
|
88
95
|
__exportStar(require("./benefittype.js"), exports);
|
|
89
|
-
__exportStar(require("./bodysubscriptionsimport.js"), exports);
|
|
90
96
|
__exportStar(require("./bylineprofile.js"), exports);
|
|
91
97
|
__exportStar(require("./checkout.js"), exports);
|
|
92
98
|
__exportStar(require("./checkoutcreate.js"), exports);
|
|
@@ -184,10 +190,14 @@ __exportStar(require("./productpriceonetimecustom.js"), exports);
|
|
|
184
190
|
__exportStar(require("./productpriceonetimecustomcreate.js"), exports);
|
|
185
191
|
__exportStar(require("./productpriceonetimefixed.js"), exports);
|
|
186
192
|
__exportStar(require("./productpriceonetimefixedcreate.js"), exports);
|
|
193
|
+
__exportStar(require("./productpriceonetimefree.js"), exports);
|
|
194
|
+
__exportStar(require("./productpriceonetimefreecreate.js"), exports);
|
|
187
195
|
__exportStar(require("./productpriceoutput.js"), exports);
|
|
188
|
-
__exportStar(require("./productpricerecurringcreate.js"), exports);
|
|
189
196
|
__exportStar(require("./productpricerecurringcustom.js"), exports);
|
|
190
197
|
__exportStar(require("./productpricerecurringfixed.js"), exports);
|
|
198
|
+
__exportStar(require("./productpricerecurringfixedcreate.js"), exports);
|
|
199
|
+
__exportStar(require("./productpricerecurringfree.js"), exports);
|
|
200
|
+
__exportStar(require("./productpricerecurringfreecreate.js"), exports);
|
|
191
201
|
__exportStar(require("./productpricerecurringinput.js"), exports);
|
|
192
202
|
__exportStar(require("./productpricerecurringoutput.js"), exports);
|
|
193
203
|
__exportStar(require("./productpricetype.js"), exports);
|
|
@@ -209,14 +219,11 @@ __exportStar(require("./s3fileuploadmultipart.js"), exports);
|
|
|
209
219
|
__exportStar(require("./s3fileuploadpart.js"), exports);
|
|
210
220
|
__exportStar(require("./security.js"), exports);
|
|
211
221
|
__exportStar(require("./state.js"), exports);
|
|
212
|
-
__exportStar(require("./subscriptioncreateemail.js"), exports);
|
|
213
222
|
__exportStar(require("./subscriptioninput.js"), exports);
|
|
214
223
|
__exportStar(require("./subscriptionoutput.js"), exports);
|
|
215
224
|
__exportStar(require("./subscriptionrecurringinterval.js"), exports);
|
|
216
|
-
__exportStar(require("./subscriptionsimported.js"), exports);
|
|
217
225
|
__exportStar(require("./subscriptionsortproperty.js"), exports);
|
|
218
226
|
__exportStar(require("./subscriptionstatus.js"), exports);
|
|
219
|
-
__exportStar(require("./subscriptiontiertype.js"), exports);
|
|
220
227
|
__exportStar(require("./subscriptionuser.js"), exports);
|
|
221
228
|
__exportStar(require("./subtype.js"), exports);
|
|
222
229
|
__exportStar(require("./tokenresponse.js"), exports);
|
|
@@ -226,7 +233,6 @@ __exportStar(require("./useradvertisementcampaignenable.js"), exports);
|
|
|
226
233
|
__exportStar(require("./useradvertisementcampaignupdate.js"), exports);
|
|
227
234
|
__exportStar(require("./useradvertisementsortproperty.js"), exports);
|
|
228
235
|
__exportStar(require("./userbenefitsortproperty.js"), exports);
|
|
229
|
-
__exportStar(require("./userfreesubscriptioncreate.js"), exports);
|
|
230
236
|
__exportStar(require("./userinfoorganization.js"), exports);
|
|
231
237
|
__exportStar(require("./userinfouser.js"), exports);
|
|
232
238
|
__exportStar(require("./userorder.js"), exports);
|
|
@@ -241,6 +247,9 @@ __exportStar(require("./usersubscriptionupdate.js"), exports);
|
|
|
241
247
|
__exportStar(require("./validatedlicensekey.js"), exports);
|
|
242
248
|
__exportStar(require("./validationerror.js"), exports);
|
|
243
249
|
__exportStar(require("./webhookbenefitcreatedpayload.js"), exports);
|
|
250
|
+
__exportStar(require("./webhookbenefitgrantcreatedpayload.js"), exports);
|
|
251
|
+
__exportStar(require("./webhookbenefitgrantrevokedpayload.js"), exports);
|
|
252
|
+
__exportStar(require("./webhookbenefitgrantupdatedpayload.js"), exports);
|
|
244
253
|
__exportStar(require("./webhookbenefitupdatedpayload.js"), exports);
|
|
245
254
|
__exportStar(require("./webhookdonationcreatedpayload.js"), exports);
|
|
246
255
|
__exportStar(require("./webhookordercreatedpayload.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6DAA2C;AAC3C,yEAAuD;AACvD,iEAA+C;AAC/C,+CAA6B;AAC7B,qDAAmC;AACnC,qDAAmC;AACnC,sDAAoC;AACpC,wDAAsC;AACtC,qDAAmC;AACnC,yDAAuC;AACvC,gDAA8B;AAC9B,8CAA4B;AAC5B,kDAAgC;AAChC,wDAAsC;AACtC,4DAA0C;AAC1C,4DAA0C;AAC1C,wDAAsC;AACtC,uDAAqC;AACrC,iEAA+C;AAC/C,iEAA+C;AAC/C,2EAAyD;AACzD,6DAA2C;AAC3C,mDAAiC;AACjC,qDAAmC;AACnC,2DAAyC;AACzC,+DAA6C;AAC7C,+DAA6C;AAC7C,yEAAuD;AACvD,2DAAyC;AACzC,4DAA0C;AAC1C,sEAAoD;AACpD,2DAAyC;AACzC,4DAA0C;AAC1C,qEAAmD;AACnD,sEAAoD;AACpD,gEAA8C;AAC9C,0EAAwD;AACxD,4DAA0C;AAC1C,4DAA0C;AAC1C,kEAAgD;AAChD,4EAA0D;AAC1D,sEAAoD;AACpD,sEAAoD;AACpD,gFAA8D;AAC9D,kEAAgD;AAChD,+DAA6C;AAC7C,qEAAmD;AACnD,+EAA6D;AAC7D,yEAAuD;AACvD,yEAAuD;AACvD,mFAAiE;AACjE,qEAAmD;AACnD,oDAAkC;AAClC,uDAAqC;AACrC,iEAA+C;AAC/C,+DAA6C;AAC7C,yEAAuD;AACvD,8DAA4C;AAC5C,6EAA2D;AAC3D,6EAA2D;AAC3D,gEAA8C;AAC9C,0EAAwD;AACxD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,oEAAkD;AAClD,8EAA4D;AAC5D,gEAA8C;AAC9C,mDAAiC;AACjC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"m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
import * as z from "zod";
|
|
2
|
-
import { SubscriptionTierType } from "./subscriptiontiertype.js";
|
|
3
2
|
export type OrderProduct = {
|
|
4
3
|
/**
|
|
5
4
|
* Creation timestamp of the object.
|
|
@@ -33,14 +32,6 @@ export type OrderProduct = {
|
|
|
33
32
|
* The ID of the organization owning the product.
|
|
34
33
|
*/
|
|
35
34
|
organizationId: string;
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
|
-
*/
|
|
39
|
-
type: SubscriptionTierType | null;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
42
|
-
*/
|
|
43
|
-
isHighlighted: boolean | null;
|
|
44
35
|
};
|
|
45
36
|
/** @internal */
|
|
46
37
|
export declare const OrderProduct$inboundSchema: z.ZodType<OrderProduct, z.ZodTypeDef, unknown>;
|
|
@@ -54,8 +45,6 @@ export type OrderProduct$Outbound = {
|
|
|
54
45
|
is_recurring: boolean;
|
|
55
46
|
is_archived: boolean;
|
|
56
47
|
organization_id: string;
|
|
57
|
-
type: string | null;
|
|
58
|
-
is_highlighted: boolean | null;
|
|
59
48
|
};
|
|
60
49
|
/** @internal */
|
|
61
50
|
export declare const OrderProduct$outboundSchema: z.ZodType<OrderProduct$Outbound, z.ZodTypeDef, OrderProduct>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderproduct.d.ts","sourceRoot":"","sources":["../../src/models/components/orderproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"orderproduct.d.ts","sourceRoot":"","sources":["../../src/models/components/orderproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAoBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAkBZ,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C"}
|
|
@@ -29,7 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.OrderProduct$ = exports.OrderProduct$outboundSchema = exports.OrderProduct$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
-
const subscriptiontiertype_js_1 = require("./subscriptiontiertype.js");
|
|
33
32
|
/** @internal */
|
|
34
33
|
exports.OrderProduct$inboundSchema = z.object({
|
|
35
34
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -40,8 +39,6 @@ exports.OrderProduct$inboundSchema = z.object({
|
|
|
40
39
|
is_recurring: z.boolean(),
|
|
41
40
|
is_archived: z.boolean(),
|
|
42
41
|
organization_id: z.string(),
|
|
43
|
-
type: z.nullable(subscriptiontiertype_js_1.SubscriptionTierType$inboundSchema),
|
|
44
|
-
is_highlighted: z.nullable(z.boolean()),
|
|
45
42
|
}).transform((v) => {
|
|
46
43
|
return (0, primitives_js_1.remap)(v, {
|
|
47
44
|
"created_at": "createdAt",
|
|
@@ -49,7 +46,6 @@ exports.OrderProduct$inboundSchema = z.object({
|
|
|
49
46
|
"is_recurring": "isRecurring",
|
|
50
47
|
"is_archived": "isArchived",
|
|
51
48
|
"organization_id": "organizationId",
|
|
52
|
-
"is_highlighted": "isHighlighted",
|
|
53
49
|
});
|
|
54
50
|
});
|
|
55
51
|
/** @internal */
|
|
@@ -62,8 +58,6 @@ exports.OrderProduct$outboundSchema = z.object({
|
|
|
62
58
|
isRecurring: z.boolean(),
|
|
63
59
|
isArchived: z.boolean(),
|
|
64
60
|
organizationId: z.string(),
|
|
65
|
-
type: z.nullable(subscriptiontiertype_js_1.SubscriptionTierType$outboundSchema),
|
|
66
|
-
isHighlighted: z.nullable(z.boolean()),
|
|
67
61
|
}).transform((v) => {
|
|
68
62
|
return (0, primitives_js_1.remap)(v, {
|
|
69
63
|
createdAt: "created_at",
|
|
@@ -71,7 +65,6 @@ exports.OrderProduct$outboundSchema = z.object({
|
|
|
71
65
|
isRecurring: "is_recurring",
|
|
72
66
|
isArchived: "is_archived",
|
|
73
67
|
organizationId: "organization_id",
|
|
74
|
-
isHighlighted: "is_highlighted",
|
|
75
68
|
});
|
|
76
69
|
});
|
|
77
70
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderproduct.js","sourceRoot":"","sources":["../../src/models/components/orderproduct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;
|
|
1
|
+
{"version":3,"file":"orderproduct.js","sourceRoot":"","sources":["../../src/models/components/orderproduct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAqC1D,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,CAAC,CAAC,QAAQ,CACrB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;IACxB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QAC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