@polar-sh/sdk 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -44
- package/docs/sdks/advertisements/README.md +4 -4
- package/docs/sdks/articles/README.md +21 -19
- package/docs/sdks/benefits/README.md +17 -21
- package/docs/sdks/checkouts/README.md +6 -6
- package/docs/sdks/clients/README.md +17 -17
- package/docs/sdks/downloadables/README.md +4 -4
- package/docs/sdks/externalorganizations/README.md +1 -1
- package/docs/sdks/files/README.md +21 -19
- package/docs/sdks/licensekeys/README.md +10 -10
- package/docs/sdks/metrics/README.md +6 -6
- package/docs/sdks/oauth2/README.md +16 -16
- package/docs/sdks/orders/README.md +7 -7
- package/docs/sdks/organizations/README.md +10 -10
- package/docs/sdks/polaradvertisements/README.md +15 -13
- package/docs/sdks/polarbenefits/README.md +4 -4
- package/docs/sdks/polarlicensekeys/README.md +12 -10
- package/docs/sdks/polarorders/README.md +7 -7
- package/docs/sdks/polarsubscriptions/README.md +15 -99
- package/docs/sdks/products/README.md +15 -18
- package/docs/sdks/repositories/README.md +7 -7
- package/docs/sdks/subscriptions/README.md +4 -168
- package/funcs/advertisementsGet.d.ts +1 -1
- package/funcs/advertisementsGet.d.ts.map +1 -1
- package/funcs/advertisementsGet.js +32 -32
- package/funcs/advertisementsGet.js.map +1 -1
- package/funcs/advertisementsList.d.ts +1 -1
- package/funcs/advertisementsList.d.ts.map +1 -1
- package/funcs/advertisementsList.js +42 -42
- package/funcs/advertisementsList.js.map +1 -1
- package/funcs/articlesCreate.d.ts +1 -1
- package/funcs/articlesCreate.d.ts.map +1 -1
- package/funcs/articlesCreate.js +30 -30
- package/funcs/articlesCreate.js.map +1 -1
- package/funcs/articlesDelete.d.ts +1 -1
- package/funcs/articlesDelete.d.ts.map +1 -1
- package/funcs/articlesDelete.js +32 -32
- package/funcs/articlesDelete.js.map +1 -1
- package/funcs/articlesGet.d.ts +1 -1
- package/funcs/articlesGet.d.ts.map +1 -1
- package/funcs/articlesGet.js +32 -32
- package/funcs/articlesGet.js.map +1 -1
- package/funcs/articlesList.d.ts +1 -1
- package/funcs/articlesList.d.ts.map +1 -1
- package/funcs/articlesList.js +46 -46
- package/funcs/articlesList.js.map +1 -1
- package/funcs/articlesPreview.d.ts +1 -1
- package/funcs/articlesPreview.d.ts.map +1 -1
- package/funcs/articlesPreview.js +32 -32
- package/funcs/articlesPreview.js.map +1 -1
- package/funcs/articlesReceivers.d.ts +1 -1
- package/funcs/articlesReceivers.d.ts.map +1 -1
- package/funcs/articlesReceivers.js +32 -32
- package/funcs/articlesReceivers.js.map +1 -1
- package/funcs/articlesSend.d.ts +1 -1
- package/funcs/articlesSend.d.ts.map +1 -1
- package/funcs/articlesSend.js +32 -32
- package/funcs/articlesSend.js.map +1 -1
- package/funcs/articlesUpdate.d.ts +1 -1
- package/funcs/articlesUpdate.d.ts.map +1 -1
- package/funcs/articlesUpdate.js +32 -32
- package/funcs/articlesUpdate.js.map +1 -1
- package/funcs/benefitsCreate.d.ts +1 -1
- package/funcs/benefitsCreate.d.ts.map +1 -1
- package/funcs/benefitsCreate.js +30 -30
- package/funcs/benefitsCreate.js.map +1 -1
- package/funcs/benefitsDelete.d.ts +1 -1
- package/funcs/benefitsDelete.d.ts.map +1 -1
- package/funcs/benefitsDelete.js +32 -32
- package/funcs/benefitsDelete.js.map +1 -1
- package/funcs/benefitsGet.d.ts +1 -1
- package/funcs/benefitsGet.d.ts.map +1 -1
- package/funcs/benefitsGet.js +32 -32
- package/funcs/benefitsGet.js.map +1 -1
- package/funcs/benefitsGrants.d.ts +1 -1
- package/funcs/benefitsGrants.d.ts.map +1 -1
- package/funcs/benefitsGrants.js +45 -45
- package/funcs/benefitsGrants.js.map +1 -1
- package/funcs/benefitsList.d.ts +1 -1
- package/funcs/benefitsList.d.ts.map +1 -1
- package/funcs/benefitsList.js +42 -42
- package/funcs/benefitsList.js.map +1 -1
- package/funcs/benefitsUpdate.d.ts +1 -1
- package/funcs/benefitsUpdate.d.ts.map +1 -1
- package/funcs/benefitsUpdate.js +32 -32
- package/funcs/benefitsUpdate.js.map +1 -1
- package/funcs/checkoutsCreate.d.ts +1 -1
- package/funcs/checkoutsCreate.d.ts.map +1 -1
- package/funcs/checkoutsCreate.js +30 -30
- package/funcs/checkoutsCreate.js.map +1 -1
- package/funcs/checkoutsGet.d.ts +1 -1
- package/funcs/checkoutsGet.d.ts.map +1 -1
- package/funcs/checkoutsGet.js +32 -32
- package/funcs/checkoutsGet.js.map +1 -1
- package/funcs/externalOrganizationsList.d.ts +1 -1
- package/funcs/externalOrganizationsList.d.ts.map +1 -1
- package/funcs/externalOrganizationsList.js +44 -44
- package/funcs/externalOrganizationsList.js.map +1 -1
- package/funcs/filesCreate.d.ts +1 -1
- package/funcs/filesCreate.d.ts.map +1 -1
- package/funcs/filesCreate.js +30 -30
- package/funcs/filesCreate.js.map +1 -1
- package/funcs/filesDelete.d.ts +1 -1
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +32 -32
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesList.d.ts +1 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +41 -41
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpdate.d.ts +1 -1
- package/funcs/filesUpdate.d.ts.map +1 -1
- package/funcs/filesUpdate.js +32 -32
- package/funcs/filesUpdate.js.map +1 -1
- package/funcs/filesUploaded.d.ts +1 -1
- package/funcs/filesUploaded.d.ts.map +1 -1
- package/funcs/filesUploaded.js +32 -32
- package/funcs/filesUploaded.js.map +1 -1
- package/funcs/licenseKeysGet.d.ts +1 -1
- package/funcs/licenseKeysGet.d.ts.map +1 -1
- package/funcs/licenseKeysGet.js +32 -32
- package/funcs/licenseKeysGet.js.map +1 -1
- package/funcs/licenseKeysGetActivation.d.ts +1 -1
- package/funcs/licenseKeysGetActivation.d.ts.map +1 -1
- package/funcs/licenseKeysGetActivation.js +33 -33
- package/funcs/licenseKeysGetActivation.js.map +1 -1
- package/funcs/licenseKeysList.d.ts +1 -1
- package/funcs/licenseKeysList.d.ts.map +1 -1
- package/funcs/licenseKeysList.js +41 -41
- package/funcs/licenseKeysList.js.map +1 -1
- package/funcs/licenseKeysUpdate.d.ts +1 -1
- package/funcs/licenseKeysUpdate.d.ts.map +1 -1
- package/funcs/licenseKeysUpdate.js +32 -34
- package/funcs/licenseKeysUpdate.js.map +1 -1
- package/funcs/metricsGet.d.ts +1 -1
- package/funcs/metricsGet.d.ts.map +1 -1
- package/funcs/metricsGet.js +38 -38
- package/funcs/metricsGet.js.map +1 -1
- package/funcs/metricsLimits.d.ts +1 -1
- package/funcs/metricsLimits.d.ts.map +1 -1
- package/funcs/metricsLimits.js +20 -20
- package/funcs/metricsLimits.js.map +1 -1
- package/funcs/oauth2ClientsCreate.d.ts +1 -1
- package/funcs/oauth2ClientsCreate.d.ts.map +1 -1
- package/funcs/oauth2ClientsCreate.js +30 -30
- package/funcs/oauth2ClientsCreate.js.map +1 -1
- package/funcs/oauth2ClientsDelete.d.ts +1 -1
- package/funcs/oauth2ClientsDelete.d.ts.map +1 -1
- package/funcs/oauth2ClientsDelete.js +32 -32
- package/funcs/oauth2ClientsDelete.js.map +1 -1
- package/funcs/oauth2ClientsGet.d.ts +1 -1
- package/funcs/oauth2ClientsGet.d.ts.map +1 -1
- package/funcs/oauth2ClientsGet.js +32 -32
- package/funcs/oauth2ClientsGet.js.map +1 -1
- package/funcs/oauth2ClientsList.d.ts +1 -1
- package/funcs/oauth2ClientsList.d.ts.map +1 -1
- package/funcs/oauth2ClientsList.js +40 -40
- package/funcs/oauth2ClientsList.js.map +1 -1
- package/funcs/oauth2ClientsUpdate.d.ts +1 -1
- package/funcs/oauth2ClientsUpdate.d.ts.map +1 -1
- package/funcs/oauth2ClientsUpdate.js +32 -32
- package/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/funcs/oauth2Introspect.d.ts +1 -1
- package/funcs/oauth2Introspect.d.ts.map +1 -1
- package/funcs/oauth2Introspect.js +29 -29
- package/funcs/oauth2Introspect.js.map +1 -1
- package/funcs/oauth2Revoke.d.ts +1 -1
- package/funcs/oauth2Revoke.d.ts.map +1 -1
- package/funcs/oauth2Revoke.js +28 -28
- package/funcs/oauth2Revoke.js.map +1 -1
- package/funcs/oauth2Token.d.ts +1 -1
- package/funcs/oauth2Token.d.ts.map +1 -1
- package/funcs/oauth2Token.js +28 -28
- package/funcs/oauth2Token.js.map +1 -1
- package/funcs/oauth2Userinfo.d.ts +1 -1
- package/funcs/oauth2Userinfo.d.ts.map +1 -1
- package/funcs/oauth2Userinfo.js +20 -20
- package/funcs/oauth2Userinfo.js.map +1 -1
- package/funcs/ordersGet.d.ts +1 -1
- package/funcs/ordersGet.d.ts.map +1 -1
- package/funcs/ordersGet.js +32 -32
- package/funcs/ordersGet.js.map +1 -1
- package/funcs/ordersInvoice.d.ts +1 -1
- package/funcs/ordersInvoice.d.ts.map +1 -1
- package/funcs/ordersInvoice.js +32 -32
- package/funcs/ordersInvoice.js.map +1 -1
- package/funcs/ordersList.d.ts +1 -1
- package/funcs/ordersList.d.ts.map +1 -1
- package/funcs/ordersList.js +44 -46
- package/funcs/ordersList.js.map +1 -1
- package/funcs/organizationsCreate.d.ts +1 -1
- package/funcs/organizationsCreate.d.ts.map +1 -1
- package/funcs/organizationsCreate.js +30 -30
- package/funcs/organizationsCreate.js.map +1 -1
- package/funcs/organizationsGet.d.ts +1 -1
- package/funcs/organizationsGet.d.ts.map +1 -1
- package/funcs/organizationsGet.js +32 -32
- package/funcs/organizationsGet.js.map +1 -1
- package/funcs/organizationsList.d.ts +1 -1
- package/funcs/organizationsList.d.ts.map +1 -1
- package/funcs/organizationsList.js +43 -43
- package/funcs/organizationsList.js.map +1 -1
- package/funcs/organizationsUpdate.d.ts +1 -1
- package/funcs/organizationsUpdate.d.ts.map +1 -1
- package/funcs/organizationsUpdate.js +32 -32
- package/funcs/organizationsUpdate.js.map +1 -1
- package/funcs/productsCreate.d.ts +1 -1
- package/funcs/productsCreate.d.ts.map +1 -1
- package/funcs/productsCreate.js +30 -30
- package/funcs/productsCreate.js.map +1 -1
- package/funcs/productsGet.d.ts +1 -1
- package/funcs/productsGet.d.ts.map +1 -1
- package/funcs/productsGet.js +32 -32
- package/funcs/productsGet.js.map +1 -1
- package/funcs/productsList.d.ts +1 -1
- package/funcs/productsList.d.ts.map +1 -1
- package/funcs/productsList.js +44 -45
- package/funcs/productsList.js.map +1 -1
- package/funcs/productsUpdate.d.ts +1 -1
- package/funcs/productsUpdate.d.ts.map +1 -1
- package/funcs/productsUpdate.js +32 -32
- package/funcs/productsUpdate.js.map +1 -1
- package/funcs/productsUpdateBenefits.d.ts +1 -1
- package/funcs/productsUpdateBenefits.d.ts.map +1 -1
- package/funcs/productsUpdateBenefits.js +32 -32
- package/funcs/productsUpdateBenefits.js.map +1 -1
- package/funcs/repositoriesGet.d.ts +1 -1
- package/funcs/repositoriesGet.d.ts.map +1 -1
- package/funcs/repositoriesGet.js +32 -32
- package/funcs/repositoriesGet.js.map +1 -1
- package/funcs/repositoriesList.d.ts +1 -1
- package/funcs/repositoriesList.d.ts.map +1 -1
- package/funcs/repositoriesList.js +46 -46
- package/funcs/repositoriesList.js.map +1 -1
- package/funcs/repositoriesUpdate.d.ts +1 -1
- package/funcs/repositoriesUpdate.d.ts.map +1 -1
- package/funcs/repositoriesUpdate.js +32 -34
- package/funcs/repositoriesUpdate.js.map +1 -1
- package/funcs/subscriptionsExport.d.ts +1 -1
- package/funcs/subscriptionsExport.d.ts.map +1 -1
- package/funcs/subscriptionsExport.js +33 -33
- package/funcs/subscriptionsExport.js.map +1 -1
- package/funcs/subscriptionsList.d.ts +1 -1
- package/funcs/subscriptionsList.d.ts.map +1 -1
- package/funcs/subscriptionsList.js +44 -45
- package/funcs/subscriptionsList.js.map +1 -1
- package/funcs/usersAdvertisementsCreate.d.ts +1 -1
- package/funcs/usersAdvertisementsCreate.d.ts.map +1 -1
- package/funcs/usersAdvertisementsCreate.js +30 -30
- package/funcs/usersAdvertisementsCreate.js.map +1 -1
- package/funcs/usersAdvertisementsDelete.d.ts +1 -1
- package/funcs/usersAdvertisementsDelete.d.ts.map +1 -1
- package/funcs/usersAdvertisementsDelete.js +32 -32
- package/funcs/usersAdvertisementsDelete.js.map +1 -1
- package/funcs/usersAdvertisementsEnable.d.ts +1 -1
- package/funcs/usersAdvertisementsEnable.d.ts.map +1 -1
- package/funcs/usersAdvertisementsEnable.js +32 -32
- package/funcs/usersAdvertisementsEnable.js.map +1 -1
- package/funcs/usersAdvertisementsGet.d.ts +1 -1
- package/funcs/usersAdvertisementsGet.d.ts.map +1 -1
- package/funcs/usersAdvertisementsGet.js +32 -32
- package/funcs/usersAdvertisementsGet.js.map +1 -1
- package/funcs/usersAdvertisementsList.d.ts +1 -1
- package/funcs/usersAdvertisementsList.d.ts.map +1 -1
- package/funcs/usersAdvertisementsList.js +41 -41
- package/funcs/usersAdvertisementsList.js.map +1 -1
- package/funcs/usersAdvertisementsUpdate.d.ts +1 -1
- package/funcs/usersAdvertisementsUpdate.d.ts.map +1 -1
- package/funcs/usersAdvertisementsUpdate.js +32 -32
- package/funcs/usersAdvertisementsUpdate.js.map +1 -1
- package/funcs/usersBenefitsGet.d.ts +1 -1
- package/funcs/usersBenefitsGet.d.ts.map +1 -1
- package/funcs/usersBenefitsGet.js +32 -32
- package/funcs/usersBenefitsGet.js.map +1 -1
- package/funcs/usersBenefitsList.d.ts +1 -1
- package/funcs/usersBenefitsList.d.ts.map +1 -1
- package/funcs/usersBenefitsList.js +45 -45
- package/funcs/usersBenefitsList.js.map +1 -1
- package/funcs/usersDownloadablesGet.d.ts +1 -1
- package/funcs/usersDownloadablesGet.d.ts.map +1 -1
- package/funcs/usersDownloadablesGet.js +32 -32
- package/funcs/usersDownloadablesGet.js.map +1 -1
- package/funcs/usersDownloadablesList.d.ts +1 -1
- package/funcs/usersDownloadablesList.d.ts.map +1 -1
- package/funcs/usersDownloadablesList.js +42 -42
- package/funcs/usersDownloadablesList.js.map +1 -1
- package/funcs/usersLicenseKeysActivate.d.ts +1 -1
- package/funcs/usersLicenseKeysActivate.d.ts.map +1 -1
- package/funcs/usersLicenseKeysActivate.js +30 -30
- package/funcs/usersLicenseKeysActivate.js.map +1 -1
- package/funcs/usersLicenseKeysDeactivate.d.ts +1 -1
- package/funcs/usersLicenseKeysDeactivate.d.ts.map +1 -1
- package/funcs/usersLicenseKeysDeactivate.js +30 -30
- package/funcs/usersLicenseKeysDeactivate.js.map +1 -1
- package/funcs/usersLicenseKeysGet.d.ts +1 -1
- package/funcs/usersLicenseKeysGet.d.ts.map +1 -1
- package/funcs/usersLicenseKeysGet.js +32 -32
- package/funcs/usersLicenseKeysGet.js.map +1 -1
- package/funcs/usersLicenseKeysList.d.ts +1 -1
- package/funcs/usersLicenseKeysList.d.ts.map +1 -1
- package/funcs/usersLicenseKeysList.js +42 -42
- package/funcs/usersLicenseKeysList.js.map +1 -1
- package/funcs/usersLicenseKeysValidate.d.ts +1 -1
- package/funcs/usersLicenseKeysValidate.d.ts.map +1 -1
- package/funcs/usersLicenseKeysValidate.js +30 -30
- package/funcs/usersLicenseKeysValidate.js.map +1 -1
- package/funcs/usersOrdersGet.d.ts +1 -1
- package/funcs/usersOrdersGet.d.ts.map +1 -1
- package/funcs/usersOrdersGet.js +32 -32
- package/funcs/usersOrdersGet.js.map +1 -1
- package/funcs/usersOrdersInvoice.d.ts +1 -1
- package/funcs/usersOrdersInvoice.d.ts.map +1 -1
- package/funcs/usersOrdersInvoice.js +32 -32
- package/funcs/usersOrdersInvoice.js.map +1 -1
- package/funcs/usersOrdersList.d.ts +1 -1
- package/funcs/usersOrdersList.d.ts.map +1 -1
- package/funcs/usersOrdersList.js +46 -46
- package/funcs/usersOrdersList.js.map +1 -1
- package/funcs/usersSubscriptionsCancel.d.ts +1 -1
- package/funcs/usersSubscriptionsCancel.d.ts.map +1 -1
- package/funcs/usersSubscriptionsCancel.js +32 -32
- package/funcs/usersSubscriptionsCancel.js.map +1 -1
- package/funcs/usersSubscriptionsGet.d.ts +1 -1
- package/funcs/usersSubscriptionsGet.d.ts.map +1 -1
- package/funcs/usersSubscriptionsGet.js +32 -32
- package/funcs/usersSubscriptionsGet.js.map +1 -1
- package/funcs/usersSubscriptionsList.d.ts +1 -1
- package/funcs/usersSubscriptionsList.d.ts.map +1 -1
- package/funcs/usersSubscriptionsList.js +45 -45
- package/funcs/usersSubscriptionsList.js.map +1 -1
- package/funcs/usersSubscriptionsUpdate.d.ts +1 -1
- package/funcs/usersSubscriptionsUpdate.d.ts.map +1 -1
- package/funcs/usersSubscriptionsUpdate.js +33 -33
- package/funcs/usersSubscriptionsUpdate.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +5 -8
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +36 -20
- package/lib/sdks.js.map +1 -1
- package/models/components/benefitcustomsubscriber.d.ts +3 -3
- package/models/components/benefitcustomsubscriber.d.ts.map +1 -1
- package/models/components/benefitcustomsubscriber.js +3 -3
- package/models/components/benefitcustomsubscriber.js.map +1 -1
- package/models/components/benefitgrant.d.ts +28 -9
- package/models/components/benefitgrant.d.ts.map +1 -1
- package/models/components/benefitgrant.js +57 -4
- package/models/components/benefitgrant.js.map +1 -1
- package/models/components/benefitgrantads.d.ts +3 -3
- package/models/components/benefitgrantads.d.ts.map +1 -1
- package/models/components/benefitgrantads.js +3 -3
- package/models/components/benefitgrantads.js.map +1 -1
- package/models/components/benefitgrantadsproperties.d.ts +2 -5
- package/models/components/benefitgrantadsproperties.d.ts.map +1 -1
- package/models/components/benefitgrantadsproperties.js +2 -2
- package/models/components/benefitgrantadsproperties.js.map +1 -1
- package/models/components/benefitgrantadssubscriberproperties.d.ts +28 -0
- package/models/components/benefitgrantadssubscriberproperties.d.ts.map +1 -0
- package/models/components/{userfreesubscriptioncreate.js → benefitgrantadssubscriberproperties.js} +15 -19
- package/models/components/benefitgrantadssubscriberproperties.js.map +1 -0
- package/models/components/benefitgrantarticlesproperties.d.ts +21 -0
- package/models/components/benefitgrantarticlesproperties.d.ts.map +1 -0
- package/models/components/{benefitgrantproperties.js → benefitgrantarticlesproperties.js} +11 -11
- package/models/components/benefitgrantarticlesproperties.js.map +1 -0
- package/models/components/benefitgrantcustomproperties.d.ts +21 -0
- package/models/components/benefitgrantcustomproperties.d.ts.map +1 -0
- package/models/components/{subscriptionsimported.js → benefitgrantcustomproperties.js} +11 -15
- package/models/components/benefitgrantcustomproperties.js.map +1 -0
- package/models/components/benefitgrantdiscordproperties.d.ts +29 -0
- package/models/components/benefitgrantdiscordproperties.d.ts.map +1 -0
- package/models/components/{subscriptioncreateemail.js → benefitgrantdiscordproperties.js} +23 -17
- package/models/components/benefitgrantdiscordproperties.js.map +1 -0
- package/models/components/benefitgrantdownloadablesproperties.d.ts +25 -0
- package/models/components/benefitgrantdownloadablesproperties.d.ts.map +1 -0
- package/models/components/{subscriptiontiertype.js → benefitgrantdownloadablesproperties.js} +15 -16
- package/models/components/benefitgrantdownloadablesproperties.js.map +1 -0
- package/models/components/benefitgrantgithubrepositoryproperties.d.ts +66 -0
- package/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -0
- package/models/components/benefitgrantgithubrepositoryproperties.js +94 -0
- package/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -0
- package/models/components/benefitgrantlicensekeys.d.ts +2 -2
- package/models/components/benefitgrantlicensekeys.d.ts.map +1 -1
- package/models/components/benefitgrantlicensekeys.js +2 -2
- package/models/components/benefitgrantlicensekeys.js.map +1 -1
- package/models/components/benefitgrantlicensekeysproperties.d.ts +4 -4
- package/models/components/benefitgrantlicensekeysproperties.d.ts.map +1 -1
- package/models/components/benefitgrantlicensekeysproperties.js +4 -4
- package/models/components/benefitgrantlicensekeysproperties.js.map +1 -1
- package/models/components/benefitgrantsubscriber.d.ts +78 -0
- package/models/components/benefitgrantsubscriber.d.ts.map +1 -0
- package/models/components/benefitgrantsubscriber.js +97 -0
- package/models/components/benefitgrantsubscriber.js.map +1 -0
- package/models/components/benefitgrantwebhook.d.ts +155 -0
- package/models/components/benefitgrantwebhook.d.ts.map +1 -0
- package/models/components/benefitgrantwebhook.js +260 -0
- package/models/components/benefitgrantwebhook.js.map +1 -0
- package/models/components/checkoutcreate.d.ts +5 -0
- package/models/components/checkoutcreate.d.ts.map +1 -1
- package/models/components/checkoutcreate.js +4 -0
- package/models/components/checkoutcreate.js.map +1 -1
- package/models/components/index.d.ts +16 -7
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -7
- package/models/components/index.js.map +1 -1
- package/models/components/orderproduct.d.ts +0 -11
- package/models/components/orderproduct.d.ts.map +1 -1
- package/models/components/orderproduct.js +0 -7
- package/models/components/orderproduct.js.map +1 -1
- package/models/components/ordersubscription.d.ts +2 -2
- package/models/components/ordersubscription.d.ts.map +1 -1
- package/models/components/ordersubscription.js +2 -2
- package/models/components/ordersubscription.js.map +1 -1
- package/models/components/productinput.d.ts +0 -11
- package/models/components/productinput.d.ts.map +1 -1
- package/models/components/productinput.js +0 -7
- package/models/components/productinput.js.map +1 -1
- package/models/components/productonetimecreate.d.ts +5 -4
- package/models/components/productonetimecreate.d.ts.map +1 -1
- package/models/components/productonetimecreate.js +5 -0
- package/models/components/productonetimecreate.js.map +1 -1
- package/models/components/productoutput.d.ts +0 -11
- package/models/components/productoutput.d.ts.map +1 -1
- package/models/components/productoutput.js +0 -7
- package/models/components/productoutput.js.map +1 -1
- package/models/components/productpriceonetime.d.ts +3 -2
- package/models/components/productpriceonetime.d.ts.map +1 -1
- package/models/components/productpriceonetime.js +3 -0
- package/models/components/productpriceonetime.js.map +1 -1
- package/models/components/productpriceonetimecustom.d.ts +5 -5
- package/models/components/productpriceonetimecustom.d.ts.map +1 -1
- package/models/components/productpriceonetimecustom.js +4 -4
- package/models/components/productpriceonetimecustom.js.map +1 -1
- package/models/components/productpriceonetimecustomcreate.d.ts +24 -0
- package/models/components/productpriceonetimecustomcreate.d.ts.map +1 -1
- package/models/components/productpriceonetimecustomcreate.js +24 -1
- package/models/components/productpriceonetimecustomcreate.js.map +1 -1
- package/models/components/productpriceonetimefixed.d.ts +5 -5
- package/models/components/productpriceonetimefixed.d.ts.map +1 -1
- package/models/components/productpriceonetimefixed.js +4 -4
- package/models/components/productpriceonetimefixed.js.map +1 -1
- package/models/components/productpriceonetimefixedcreate.d.ts +29 -5
- package/models/components/productpriceonetimefixedcreate.d.ts.map +1 -1
- package/models/components/productpriceonetimefixedcreate.js +28 -5
- package/models/components/productpriceonetimefixedcreate.js.map +1 -1
- package/models/components/productpriceonetimefree.d.ts +104 -0
- package/models/components/productpriceonetimefree.d.ts.map +1 -0
- package/models/components/productpriceonetimefree.js +114 -0
- package/models/components/productpriceonetimefree.js.map +1 -0
- package/models/components/productpriceonetimefreecreate.d.ts +75 -0
- package/models/components/productpriceonetimefreecreate.d.ts.map +1 -0
- package/models/components/productpriceonetimefreecreate.js +98 -0
- package/models/components/productpriceonetimefreecreate.js.map +1 -0
- package/models/components/productpricerecurringcustom.d.ts +5 -5
- package/models/components/productpricerecurringcustom.d.ts.map +1 -1
- package/models/components/productpricerecurringcustom.js +4 -4
- package/models/components/productpricerecurringcustom.js.map +1 -1
- package/models/components/productpricerecurringfixed.d.ts +5 -5
- package/models/components/productpricerecurringfixed.d.ts.map +1 -1
- package/models/components/productpricerecurringfixed.js +4 -4
- package/models/components/productpricerecurringfixed.js.map +1 -1
- package/models/components/productpricerecurringfixedcreate.d.ts +91 -0
- package/models/components/productpricerecurringfixedcreate.d.ts.map +1 -0
- package/models/components/productpricerecurringfixedcreate.js +111 -0
- package/models/components/productpricerecurringfixedcreate.js.map +1 -0
- package/models/components/productpricerecurringfree.d.ts +110 -0
- package/models/components/productpricerecurringfree.d.ts.map +1 -0
- package/models/components/productpricerecurringfree.js +119 -0
- package/models/components/productpricerecurringfree.js.map +1 -0
- package/models/components/productpricerecurringfreecreate.d.ts +81 -0
- package/models/components/productpricerecurringfreecreate.d.ts.map +1 -0
- package/models/components/productpricerecurringfreecreate.js +103 -0
- package/models/components/productpricerecurringfreecreate.js.map +1 -0
- package/models/components/productpricerecurringinput.d.ts +7 -2
- package/models/components/productpricerecurringinput.d.ts.map +1 -1
- package/models/components/productpricerecurringinput.js +7 -0
- package/models/components/productpricerecurringinput.js.map +1 -1
- package/models/components/productpricerecurringoutput.d.ts +7 -2
- package/models/components/productpricerecurringoutput.d.ts.map +1 -1
- package/models/components/productpricerecurringoutput.js +7 -0
- package/models/components/productpricerecurringoutput.js.map +1 -1
- package/models/components/productrecurringcreate.d.ts +17 -36
- package/models/components/productrecurringcreate.d.ts.map +1 -1
- package/models/components/productrecurringcreate.js +26 -26
- package/models/components/productrecurringcreate.js.map +1 -1
- package/models/components/productupdate.d.ts +7 -10
- package/models/components/productupdate.d.ts.map +1 -1
- package/models/components/productupdate.js +15 -9
- package/models/components/productupdate.js.map +1 -1
- package/models/components/subscriptioninput.d.ts +4 -4
- package/models/components/subscriptioninput.d.ts.map +1 -1
- package/models/components/subscriptioninput.js +4 -4
- package/models/components/subscriptioninput.js.map +1 -1
- package/models/components/subscriptionoutput.d.ts +4 -4
- package/models/components/subscriptionoutput.d.ts.map +1 -1
- package/models/components/subscriptionoutput.js +4 -4
- package/models/components/subscriptionoutput.js.map +1 -1
- package/models/components/subscriptionsortproperty.d.ts +0 -6
- package/models/components/subscriptionsortproperty.d.ts.map +1 -1
- package/models/components/subscriptionsortproperty.js +0 -2
- package/models/components/subscriptionsortproperty.js.map +1 -1
- package/models/components/userorderproduct.d.ts +0 -11
- package/models/components/userorderproduct.d.ts.map +1 -1
- package/models/components/userorderproduct.js +0 -7
- package/models/components/userorderproduct.js.map +1 -1
- package/models/components/userordersubscription.d.ts +2 -2
- package/models/components/userordersubscription.d.ts.map +1 -1
- package/models/components/userordersubscription.js +2 -2
- package/models/components/userordersubscription.js.map +1 -1
- package/models/components/usersubscription.d.ts +4 -4
- package/models/components/usersubscription.d.ts.map +1 -1
- package/models/components/usersubscription.js +4 -4
- package/models/components/usersubscription.js.map +1 -1
- package/models/components/usersubscriptionproduct.d.ts +0 -11
- package/models/components/usersubscriptionproduct.d.ts.map +1 -1
- package/models/components/usersubscriptionproduct.js +0 -7
- package/models/components/usersubscriptionproduct.js.map +1 -1
- package/models/components/webhookbenefitgrantcreatedpayload.d.ts +58 -0
- package/models/components/webhookbenefitgrantcreatedpayload.d.ts.map +1 -0
- package/models/components/webhookbenefitgrantcreatedpayload.js +71 -0
- package/models/components/webhookbenefitgrantcreatedpayload.js.map +1 -0
- package/models/components/webhookbenefitgrantrevokedpayload.d.ts +58 -0
- package/models/components/webhookbenefitgrantrevokedpayload.d.ts.map +1 -0
- package/models/components/webhookbenefitgrantrevokedpayload.js +71 -0
- package/models/components/webhookbenefitgrantrevokedpayload.js.map +1 -0
- package/models/components/webhookbenefitgrantupdatedpayload.d.ts +58 -0
- package/models/components/webhookbenefitgrantupdatedpayload.d.ts.map +1 -0
- package/models/components/webhookbenefitgrantupdatedpayload.js +71 -0
- package/models/components/webhookbenefitgrantupdatedpayload.js.map +1 -0
- package/models/errors/httpvalidationerror.d.ts +0 -6
- package/models/errors/httpvalidationerror.d.ts.map +1 -1
- package/models/errors/httpvalidationerror.js +0 -3
- package/models/errors/httpvalidationerror.js.map +1 -1
- package/models/errors/index.d.ts +0 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -2
- package/models/errors/index.js.map +1 -1
- package/models/errors/notpermitted.d.ts +0 -6
- package/models/errors/notpermitted.d.ts.map +1 -1
- package/models/errors/notpermitted.js +0 -3
- package/models/errors/notpermitted.js.map +1 -1
- package/models/errors/resourcenotfound.d.ts +0 -6
- package/models/errors/resourcenotfound.d.ts.map +1 -1
- package/models/errors/resourcenotfound.js +0 -3
- package/models/errors/resourcenotfound.js.map +1 -1
- package/models/errors/unauthorized.d.ts +0 -6
- package/models/errors/unauthorized.d.ts.map +1 -1
- package/models/errors/unauthorized.js +0 -3
- package/models/errors/unauthorized.js.map +1 -1
- package/models/operations/productscreate.d.ts +2 -2
- package/models/operations/productscreate.d.ts.map +1 -1
- package/models/operations/productscreate.js +2 -2
- package/models/operations/productscreate.js.map +1 -1
- package/models/operations/productslist.d.ts +0 -27
- package/models/operations/productslist.d.ts.map +1 -1
- package/models/operations/productslist.js +1 -32
- package/models/operations/productslist.js.map +1 -1
- package/models/operations/subscriptionslist.d.ts +0 -29
- package/models/operations/subscriptionslist.d.ts.map +1 -1
- package/models/operations/subscriptionslist.js +1 -32
- package/models/operations/subscriptionslist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/oauth2.js +1 -1
- package/sdk/polarsubscriptions.d.ts +0 -9
- package/sdk/polarsubscriptions.d.ts.map +1 -1
- package/sdk/polarsubscriptions.js +0 -12
- package/sdk/polarsubscriptions.js.map +1 -1
- package/sdk/sdk.js +15 -15
- package/sdk/subscriptions.d.ts +0 -15
- package/sdk/subscriptions.d.ts.map +1 -1
- package/sdk/subscriptions.js +0 -20
- package/sdk/subscriptions.js.map +1 -1
- package/sdk/users.js +6 -6
- package/src/funcs/advertisementsGet.ts +40 -41
- package/src/funcs/advertisementsList.ts +48 -49
- package/src/funcs/articlesCreate.ts +37 -37
- package/src/funcs/articlesDelete.ts +41 -41
- package/src/funcs/articlesGet.ts +40 -40
- package/src/funcs/articlesList.ts +52 -52
- package/src/funcs/articlesPreview.ts +41 -44
- package/src/funcs/articlesReceivers.ts +39 -40
- package/src/funcs/articlesSend.ts +41 -41
- package/src/funcs/articlesUpdate.ts +41 -44
- package/src/funcs/benefitsCreate.ts +38 -38
- package/src/funcs/benefitsDelete.ts +41 -41
- package/src/funcs/benefitsGet.ts +40 -40
- package/src/funcs/benefitsGrants.ts +52 -55
- package/src/funcs/benefitsList.ts +48 -48
- package/src/funcs/benefitsUpdate.ts +41 -44
- package/src/funcs/checkoutsCreate.ts +37 -37
- package/src/funcs/checkoutsGet.ts +39 -39
- package/src/funcs/externalOrganizationsList.ts +51 -51
- package/src/funcs/filesCreate.ts +37 -37
- package/src/funcs/filesDelete.ts +41 -41
- package/src/funcs/filesList.ts +48 -48
- package/src/funcs/filesUpdate.ts +39 -42
- package/src/funcs/filesUploaded.ts +39 -42
- package/src/funcs/licenseKeysGet.ts +41 -41
- package/src/funcs/licenseKeysGetActivation.ts +44 -44
- package/src/funcs/licenseKeysList.ts +49 -49
- package/src/funcs/licenseKeysUpdate.ts +41 -47
- package/src/funcs/metricsGet.ts +45 -45
- package/src/funcs/metricsLimits.ts +22 -22
- package/src/funcs/oauth2ClientsCreate.ts +37 -38
- package/src/funcs/oauth2ClientsDelete.ts +40 -40
- package/src/funcs/oauth2ClientsGet.ts +40 -40
- package/src/funcs/oauth2ClientsList.ts +46 -47
- package/src/funcs/oauth2ClientsUpdate.ts +40 -43
- package/src/funcs/oauth2Introspect.ts +35 -35
- package/src/funcs/oauth2Revoke.ts +35 -35
- package/src/funcs/oauth2Token.ts +35 -35
- package/src/funcs/oauth2Userinfo.ts +22 -22
- package/src/funcs/ordersGet.ts +40 -40
- package/src/funcs/ordersInvoice.ts +40 -40
- package/src/funcs/ordersList.ts +51 -53
- package/src/funcs/organizationsCreate.ts +37 -37
- package/src/funcs/organizationsGet.ts +40 -40
- package/src/funcs/organizationsList.ts +49 -50
- package/src/funcs/organizationsUpdate.ts +42 -45
- package/src/funcs/productsCreate.ts +38 -38
- package/src/funcs/productsGet.ts +40 -40
- package/src/funcs/productsList.ts +50 -51
- package/src/funcs/productsUpdate.ts +41 -44
- package/src/funcs/productsUpdateBenefits.ts +42 -45
- package/src/funcs/repositoriesGet.ts +40 -40
- package/src/funcs/repositoriesList.ts +52 -52
- package/src/funcs/repositoriesUpdate.ts +41 -47
- package/src/funcs/subscriptionsExport.ts +41 -41
- package/src/funcs/subscriptionsList.ts +50 -52
- package/src/funcs/usersAdvertisementsCreate.ts +38 -38
- package/src/funcs/usersAdvertisementsDelete.ts +42 -42
- package/src/funcs/usersAdvertisementsEnable.ts +41 -44
- package/src/funcs/usersAdvertisementsGet.ts +41 -41
- package/src/funcs/usersAdvertisementsList.ts +48 -48
- package/src/funcs/usersAdvertisementsUpdate.ts +41 -44
- package/src/funcs/usersBenefitsGet.ts +40 -40
- package/src/funcs/usersBenefitsList.ts +51 -52
- package/src/funcs/usersDownloadablesGet.ts +41 -41
- package/src/funcs/usersDownloadablesList.ts +49 -49
- package/src/funcs/usersLicenseKeysActivate.ts +39 -39
- package/src/funcs/usersLicenseKeysDeactivate.ts +38 -38
- package/src/funcs/usersLicenseKeysGet.ts +42 -42
- package/src/funcs/usersLicenseKeysList.ts +51 -51
- package/src/funcs/usersLicenseKeysValidate.ts +38 -38
- package/src/funcs/usersOrdersGet.ts +40 -40
- package/src/funcs/usersOrdersInvoice.ts +40 -41
- package/src/funcs/usersOrdersList.ts +52 -52
- package/src/funcs/usersSubscriptionsCancel.ts +42 -42
- package/src/funcs/usersSubscriptionsGet.ts +41 -41
- package/src/funcs/usersSubscriptionsList.ts +52 -52
- package/src/funcs/usersSubscriptionsUpdate.ts +42 -48
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +26 -26
- package/src/models/components/benefitcustomsubscriber.ts +9 -9
- package/src/models/components/benefitgrant.ts +137 -15
- package/src/models/components/benefitgrantads.ts +9 -9
- package/src/models/components/benefitgrantadsproperties.ts +4 -7
- package/src/models/components/benefitgrantadssubscriberproperties.ts +59 -0
- package/src/models/components/benefitgrantarticlesproperties.ts +37 -0
- package/src/models/components/benefitgrantcustomproperties.ts +37 -0
- package/src/models/components/benefitgrantdiscordproperties.ts +66 -0
- package/src/models/components/benefitgrantdownloadablesproperties.ts +47 -0
- package/src/models/components/benefitgrantgithubrepositoryproperties.ts +109 -0
- package/src/models/components/benefitgrantlicensekeys.ts +4 -4
- package/src/models/components/benefitgrantlicensekeysproperties.ts +8 -8
- package/src/models/components/benefitgrantsubscriber.ts +151 -0
- package/src/models/components/benefitgrantwebhook.ts +533 -0
- package/src/models/components/checkoutcreate.ts +9 -0
- package/src/models/components/index.ts +16 -7
- package/src/models/components/orderproduct.ts +0 -21
- package/src/models/components/ordersubscription.ts +4 -4
- package/src/models/components/productinput.ts +0 -21
- package/src/models/components/productonetimecreate.ts +16 -1
- package/src/models/components/productoutput.ts +0 -21
- package/src/models/components/productpriceonetime.ts +10 -0
- package/src/models/components/productpriceonetimecustom.ts +9 -9
- package/src/models/components/productpriceonetimecustomcreate.ts +36 -0
- package/src/models/components/productpriceonetimefixed.ts +9 -9
- package/src/models/components/productpriceonetimefixedcreate.ts +45 -9
- package/src/models/components/productpriceonetimefree.ts +164 -0
- package/src/models/components/productpriceonetimefreecreate.ts +121 -0
- package/src/models/components/productpricerecurringcustom.ts +9 -9
- package/src/models/components/productpricerecurringfixed.ts +9 -9
- package/src/models/components/productpricerecurringfixedcreate.ts +155 -0
- package/src/models/components/productpricerecurringfree.ts +179 -0
- package/src/models/components/productpricerecurringfreecreate.ts +136 -0
- package/src/models/components/productpricerecurringinput.ts +18 -0
- package/src/models/components/productpricerecurringoutput.ts +18 -0
- package/src/models/components/productrecurringcreate.ts +57 -48
- package/src/models/components/productupdate.ts +41 -22
- package/src/models/components/subscriptioninput.ts +8 -8
- package/src/models/components/subscriptionoutput.ts +8 -8
- package/src/models/components/subscriptionsortproperty.ts +0 -2
- package/src/models/components/userorderproduct.ts +0 -21
- package/src/models/components/userordersubscription.ts +4 -4
- package/src/models/components/usersubscription.ts +8 -8
- package/src/models/components/usersubscriptionproduct.ts +0 -21
- package/src/models/components/webhookbenefitgrantcreatedpayload.ts +95 -0
- package/src/models/components/webhookbenefitgrantrevokedpayload.ts +95 -0
- package/src/models/components/webhookbenefitgrantupdatedpayload.ts +95 -0
- package/src/models/errors/httpvalidationerror.ts +0 -6
- package/src/models/errors/index.ts +0 -2
- package/src/models/errors/notpermitted.ts +0 -6
- package/src/models/errors/resourcenotfound.ts +0 -6
- package/src/models/errors/unauthorized.ts +0 -6
- package/src/models/operations/productscreate.ts +6 -6
- package/src/models/operations/productslist.ts +0 -70
- package/src/models/operations/subscriptionslist.ts +0 -68
- package/src/sdk/oauth2.ts +1 -1
- package/src/sdk/polarsubscriptions.ts +0 -20
- package/src/sdk/sdk.ts +15 -15
- package/src/sdk/subscriptions.ts +0 -37
- package/src/sdk/users.ts +6 -6
- package/funcs/subscriptionsCreate.d.ts +0 -16
- package/funcs/subscriptionsCreate.d.ts.map +0 -1
- package/funcs/subscriptionsCreate.js +0 -96
- package/funcs/subscriptionsCreate.js.map +0 -1
- package/funcs/subscriptionsImportSubscriptions.d.ts +0 -16
- package/funcs/subscriptionsImportSubscriptions.d.ts.map +0 -1
- package/funcs/subscriptionsImportSubscriptions.js +0 -109
- package/funcs/subscriptionsImportSubscriptions.js.map +0 -1
- package/funcs/usersSubscriptionsCreate.d.ts +0 -18
- package/funcs/usersSubscriptionsCreate.d.ts.map +0 -1
- package/funcs/usersSubscriptionsCreate.js +0 -98
- package/funcs/usersSubscriptionsCreate.js.map +0 -1
- package/models/components/benefitgrantproperties.d.ts +0 -24
- package/models/components/benefitgrantproperties.d.ts.map +0 -1
- package/models/components/benefitgrantproperties.js.map +0 -1
- package/models/components/bodysubscriptionsimport.d.ts +0 -58
- package/models/components/bodysubscriptionsimport.d.ts.map +0 -1
- package/models/components/bodysubscriptionsimport.js +0 -94
- package/models/components/bodysubscriptionsimport.js.map +0 -1
- package/models/components/productpricerecurringcreate.d.ts +0 -67
- package/models/components/productpricerecurringcreate.d.ts.map +0 -1
- package/models/components/productpricerecurringcreate.js +0 -88
- package/models/components/productpricerecurringcreate.js.map +0 -1
- package/models/components/subscriptioncreateemail.d.ts +0 -36
- package/models/components/subscriptioncreateemail.d.ts.map +0 -1
- package/models/components/subscriptioncreateemail.js.map +0 -1
- package/models/components/subscriptionsimported.d.ts +0 -28
- package/models/components/subscriptionsimported.d.ts.map +0 -1
- package/models/components/subscriptionsimported.js.map +0 -1
- package/models/components/subscriptiontiertype.d.ts +0 -31
- package/models/components/subscriptiontiertype.d.ts.map +0 -1
- package/models/components/subscriptiontiertype.js.map +0 -1
- package/models/components/userfreesubscriptioncreate.d.ts +0 -33
- package/models/components/userfreesubscriptioncreate.d.ts.map +0 -1
- package/models/components/userfreesubscriptioncreate.js.map +0 -1
- package/models/errors/alreadysubscribed.d.ts +0 -57
- package/models/errors/alreadysubscribed.d.ts.map +0 -1
- package/models/errors/alreadysubscribed.js +0 -88
- package/models/errors/alreadysubscribed.js.map +0 -1
- package/models/errors/freesubscriptionupgrade.d.ts +0 -57
- package/models/errors/freesubscriptionupgrade.d.ts.map +0 -1
- package/models/errors/freesubscriptionupgrade.js +0 -88
- package/models/errors/freesubscriptionupgrade.js.map +0 -1
- package/src/funcs/subscriptionsCreate.ts +0 -126
- package/src/funcs/subscriptionsImportSubscriptions.ts +0 -142
- package/src/funcs/usersSubscriptionsCreate.ts +0 -135
- package/src/models/components/benefitgrantproperties.ts +0 -40
- package/src/models/components/bodysubscriptionsimport.ts +0 -116
- package/src/models/components/productpricerecurringcreate.ts +0 -116
- package/src/models/components/subscriptioncreateemail.ts +0 -67
- package/src/models/components/subscriptionsimported.ts +0 -48
- package/src/models/components/subscriptiontiertype.ts +0 -34
- package/src/models/components/userfreesubscriptioncreate.ts +0 -66
- package/src/models/errors/alreadysubscribed.ts +0 -102
- package/src/models/errors/freesubscriptionupgrade.ts +0 -106
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitgrantlicensekeys.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantlicensekeys.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,iCAAiC,EAEjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAEhD,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;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB
|
|
1
|
+
{"version":3,"file":"benefitgrantlicensekeys.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantlicensekeys.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,iCAAiC,EAEjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAEhD,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;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,iCAAiC,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAiCP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,0CAA0C,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CA2BvB,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"}
|
|
@@ -39,11 +39,11 @@ exports.BenefitGrantLicenseKeys$inboundSchema = z.object({
|
|
|
39
39
|
is_granted: z.boolean(),
|
|
40
40
|
revoked_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
41
41
|
is_revoked: z.boolean(),
|
|
42
|
-
properties: benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$inboundSchema,
|
|
43
42
|
subscription_id: z.nullable(z.string()),
|
|
44
43
|
order_id: z.nullable(z.string()),
|
|
45
44
|
user_id: z.string(),
|
|
46
45
|
benefit_id: z.string(),
|
|
46
|
+
properties: benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$inboundSchema,
|
|
47
47
|
}).transform((v) => {
|
|
48
48
|
return (0, primitives_js_1.remap)(v, {
|
|
49
49
|
"created_at": "createdAt",
|
|
@@ -67,11 +67,11 @@ exports.BenefitGrantLicenseKeys$outboundSchema = z.object({
|
|
|
67
67
|
isGranted: z.boolean(),
|
|
68
68
|
revokedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
69
69
|
isRevoked: z.boolean(),
|
|
70
|
-
properties: benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$outboundSchema,
|
|
71
70
|
subscriptionId: z.nullable(z.string()),
|
|
72
71
|
orderId: z.nullable(z.string()),
|
|
73
72
|
userId: z.string(),
|
|
74
73
|
benefitId: z.string(),
|
|
74
|
+
properties: benefitgrantlicensekeysproperties_js_1.BenefitGrantLicenseKeysProperties$outboundSchema,
|
|
75
75
|
}).transform((v) => {
|
|
76
76
|
return (0, primitives_js_1.remap)(v, {
|
|
77
77
|
createdAt: "created_at",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitgrantlicensekeys.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantlicensekeys.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,iGAKgD;AAkDhD,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,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,C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UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,cAAc,EAAE,iBAAiB;QACjC,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export type BenefitGrantLicenseKeysProperties = {
|
|
3
|
-
licenseKeyId
|
|
4
|
-
displayKey
|
|
3
|
+
licenseKeyId?: string | undefined;
|
|
4
|
+
displayKey?: string | undefined;
|
|
5
5
|
};
|
|
6
6
|
/** @internal */
|
|
7
7
|
export declare const BenefitGrantLicenseKeysProperties$inboundSchema: z.ZodType<BenefitGrantLicenseKeysProperties, z.ZodTypeDef, unknown>;
|
|
8
8
|
/** @internal */
|
|
9
9
|
export type BenefitGrantLicenseKeysProperties$Outbound = {
|
|
10
|
-
license_key_id
|
|
11
|
-
display_key
|
|
10
|
+
license_key_id?: string | undefined;
|
|
11
|
+
display_key?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
/** @internal */
|
|
14
14
|
export declare const BenefitGrantLicenseKeysProperties$outboundSchema: z.ZodType<BenefitGrantLicenseKeysProperties$Outbound, z.ZodTypeDef, BenefitGrantLicenseKeysProperties>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitgrantlicensekeysproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantlicensekeysproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,YAAY,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"benefitgrantlicensekeysproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantlicensekeysproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CASjC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kCAAkC,CAAC;IAClD,iFAAiF;IAC1E,MAAM,aAAa,qEAAkD,CAAC;IAC7E,kFAAkF;IAC3E,MAAM,cAAc,wGACuB,CAAC;IACnD,4EAA4E;IAC5E,KAAY,QAAQ,GAAG,0CAA0C,CAAC;CACnE"}
|
|
@@ -31,8 +31,8 @@ const z = __importStar(require("zod"));
|
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
/** @internal */
|
|
33
33
|
exports.BenefitGrantLicenseKeysProperties$inboundSchema = z.object({
|
|
34
|
-
license_key_id: z.string(),
|
|
35
|
-
display_key: z.string(),
|
|
34
|
+
license_key_id: z.string().optional(),
|
|
35
|
+
display_key: z.string().optional(),
|
|
36
36
|
}).transform((v) => {
|
|
37
37
|
return (0, primitives_js_1.remap)(v, {
|
|
38
38
|
"license_key_id": "licenseKeyId",
|
|
@@ -41,8 +41,8 @@ exports.BenefitGrantLicenseKeysProperties$inboundSchema = z.object({
|
|
|
41
41
|
});
|
|
42
42
|
/** @internal */
|
|
43
43
|
exports.BenefitGrantLicenseKeysProperties$outboundSchema = z.object({
|
|
44
|
-
licenseKeyId: z.string(),
|
|
45
|
-
displayKey: z.string(),
|
|
44
|
+
licenseKeyId: z.string().optional(),
|
|
45
|
+
displayKey: z.string().optional(),
|
|
46
46
|
}).transform((v) => {
|
|
47
47
|
return (0, primitives_js_1.remap)(v, {
|
|
48
48
|
licenseKeyId: "license_key_id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefitgrantlicensekeysproperties.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantlicensekeysproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAO1D,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"benefitgrantlicensekeysproperties.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantlicensekeysproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAO1D,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,cAAc;QAChC,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,gBAAgB;QAC9B,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kCAAkC,CAQlD;AARD,WAAiB,kCAAkC;IACjD,iFAAiF;IACpE,gDAAa,GAAG,uDAA+C,CAAC;IAC7E,kFAAkF;IACrE,iDAAc,GACzB,wDAAgD,CAAC;AAGrD,CAAC,EARgB,kCAAkC,kDAAlC,kCAAkC,QAQlD"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type BenefitGrantSubscriber = {
|
|
3
|
+
/**
|
|
4
|
+
* Creation timestamp of the object.
|
|
5
|
+
*/
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
/**
|
|
8
|
+
* Last modification timestamp of the object.
|
|
9
|
+
*/
|
|
10
|
+
modifiedAt: Date | null;
|
|
11
|
+
/**
|
|
12
|
+
* The ID of the grant.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* The timestamp when the benefit was granted. If `None`, the benefit is not granted.
|
|
17
|
+
*/
|
|
18
|
+
grantedAt?: Date | null | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the benefit is granted.
|
|
21
|
+
*/
|
|
22
|
+
isGranted: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
|
|
25
|
+
*/
|
|
26
|
+
revokedAt?: Date | null | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the benefit is revoked.
|
|
29
|
+
*/
|
|
30
|
+
isRevoked: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the subscription that granted this benefit.
|
|
33
|
+
*/
|
|
34
|
+
subscriptionId: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the order that granted this benefit.
|
|
37
|
+
*/
|
|
38
|
+
orderId: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* The ID of the user concerned by this grant.
|
|
41
|
+
*/
|
|
42
|
+
userId: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of the benefit concerned by this grant.
|
|
45
|
+
*/
|
|
46
|
+
benefitId: string;
|
|
47
|
+
};
|
|
48
|
+
/** @internal */
|
|
49
|
+
export declare const BenefitGrantSubscriber$inboundSchema: z.ZodType<BenefitGrantSubscriber, z.ZodTypeDef, unknown>;
|
|
50
|
+
/** @internal */
|
|
51
|
+
export type BenefitGrantSubscriber$Outbound = {
|
|
52
|
+
created_at: string;
|
|
53
|
+
modified_at: string | null;
|
|
54
|
+
id: string;
|
|
55
|
+
granted_at?: string | null | undefined;
|
|
56
|
+
is_granted: boolean;
|
|
57
|
+
revoked_at?: string | null | undefined;
|
|
58
|
+
is_revoked: boolean;
|
|
59
|
+
subscription_id: string | null;
|
|
60
|
+
order_id: string | null;
|
|
61
|
+
user_id: string;
|
|
62
|
+
benefit_id: string;
|
|
63
|
+
};
|
|
64
|
+
/** @internal */
|
|
65
|
+
export declare const BenefitGrantSubscriber$outboundSchema: z.ZodType<BenefitGrantSubscriber$Outbound, z.ZodTypeDef, BenefitGrantSubscriber>;
|
|
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
|
+
export declare namespace BenefitGrantSubscriber$ {
|
|
71
|
+
/** @deprecated use `BenefitGrantSubscriber$inboundSchema` instead. */
|
|
72
|
+
const inboundSchema: z.ZodType<BenefitGrantSubscriber, z.ZodTypeDef, unknown>;
|
|
73
|
+
/** @deprecated use `BenefitGrantSubscriber$outboundSchema` instead. */
|
|
74
|
+
const outboundSchema: z.ZodType<BenefitGrantSubscriber$Outbound, z.ZodTypeDef, BenefitGrantSubscriber>;
|
|
75
|
+
/** @deprecated use `BenefitGrantSubscriber$Outbound` instead. */
|
|
76
|
+
type Outbound = BenefitGrantSubscriber$Outbound;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=benefitgrantsubscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefitgrantsubscriber.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantsubscriber.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,MAAM,sBAAsB,GAAG;IACnC;;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,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgCP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CA0BtB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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.BenefitGrantSubscriber$ = exports.BenefitGrantSubscriber$outboundSchema = exports.BenefitGrantSubscriber$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
+
/** @internal */
|
|
33
|
+
exports.BenefitGrantSubscriber$inboundSchema = z.object({
|
|
34
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
35
|
+
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
36
|
+
id: z.string(),
|
|
37
|
+
granted_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
38
|
+
is_granted: z.boolean(),
|
|
39
|
+
revoked_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
40
|
+
is_revoked: z.boolean(),
|
|
41
|
+
subscription_id: z.nullable(z.string()),
|
|
42
|
+
order_id: z.nullable(z.string()),
|
|
43
|
+
user_id: z.string(),
|
|
44
|
+
benefit_id: z.string(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return (0, primitives_js_1.remap)(v, {
|
|
47
|
+
"created_at": "createdAt",
|
|
48
|
+
"modified_at": "modifiedAt",
|
|
49
|
+
"granted_at": "grantedAt",
|
|
50
|
+
"is_granted": "isGranted",
|
|
51
|
+
"revoked_at": "revokedAt",
|
|
52
|
+
"is_revoked": "isRevoked",
|
|
53
|
+
"subscription_id": "subscriptionId",
|
|
54
|
+
"order_id": "orderId",
|
|
55
|
+
"user_id": "userId",
|
|
56
|
+
"benefit_id": "benefitId",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.BenefitGrantSubscriber$outboundSchema = z.object({
|
|
61
|
+
createdAt: z.date().transform(v => v.toISOString()),
|
|
62
|
+
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
63
|
+
id: z.string(),
|
|
64
|
+
grantedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
65
|
+
isGranted: z.boolean(),
|
|
66
|
+
revokedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
67
|
+
isRevoked: z.boolean(),
|
|
68
|
+
subscriptionId: z.nullable(z.string()),
|
|
69
|
+
orderId: z.nullable(z.string()),
|
|
70
|
+
userId: z.string(),
|
|
71
|
+
benefitId: z.string(),
|
|
72
|
+
}).transform((v) => {
|
|
73
|
+
return (0, primitives_js_1.remap)(v, {
|
|
74
|
+
createdAt: "created_at",
|
|
75
|
+
modifiedAt: "modified_at",
|
|
76
|
+
grantedAt: "granted_at",
|
|
77
|
+
isGranted: "is_granted",
|
|
78
|
+
revokedAt: "revoked_at",
|
|
79
|
+
isRevoked: "is_revoked",
|
|
80
|
+
subscriptionId: "subscription_id",
|
|
81
|
+
orderId: "order_id",
|
|
82
|
+
userId: "user_id",
|
|
83
|
+
benefitId: "benefit_id",
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
89
|
+
*/
|
|
90
|
+
var BenefitGrantSubscriber$;
|
|
91
|
+
(function (BenefitGrantSubscriber$) {
|
|
92
|
+
/** @deprecated use `BenefitGrantSubscriber$inboundSchema` instead. */
|
|
93
|
+
BenefitGrantSubscriber$.inboundSchema = exports.BenefitGrantSubscriber$inboundSchema;
|
|
94
|
+
/** @deprecated use `BenefitGrantSubscriber$outboundSchema` instead. */
|
|
95
|
+
BenefitGrantSubscriber$.outboundSchema = exports.BenefitGrantSubscriber$outboundSchema;
|
|
96
|
+
})(BenefitGrantSubscriber$ || (exports.BenefitGrantSubscriber$ = BenefitGrantSubscriber$ = {}));
|
|
97
|
+
//# sourceMappingURL=benefitgrantsubscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefitgrantsubscriber.js","sourceRoot":"","sources":["../../src/models/components/benefitgrantsubscriber.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAiD1D,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,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,I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Y;QACvB,SAAS,EAAE,YAAY;QACvB,cAAc,EAAE,iBAAiB;QACjC,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { BenefitAds, BenefitAds$Outbound } from "./benefitads.js";
|
|
3
|
+
import { BenefitArticles, BenefitArticles$Outbound } from "./benefitarticles.js";
|
|
4
|
+
import { BenefitCustom, BenefitCustom$Outbound } from "./benefitcustom.js";
|
|
5
|
+
import { BenefitDiscordInput, BenefitDiscordInput$Outbound } from "./benefitdiscordinput.js";
|
|
6
|
+
import { BenefitDownloadables, BenefitDownloadables$Outbound } from "./benefitdownloadables.js";
|
|
7
|
+
import { BenefitGitHubRepository, BenefitGitHubRepository$Outbound } from "./benefitgithubrepository.js";
|
|
8
|
+
import { BenefitGrantAdsProperties, BenefitGrantAdsProperties$Outbound } from "./benefitgrantadsproperties.js";
|
|
9
|
+
import { BenefitGrantArticlesProperties, BenefitGrantArticlesProperties$Outbound } from "./benefitgrantarticlesproperties.js";
|
|
10
|
+
import { BenefitGrantCustomProperties, BenefitGrantCustomProperties$Outbound } from "./benefitgrantcustomproperties.js";
|
|
11
|
+
import { BenefitGrantDiscordProperties, BenefitGrantDiscordProperties$Outbound } from "./benefitgrantdiscordproperties.js";
|
|
12
|
+
import { BenefitGrantDownloadablesProperties, BenefitGrantDownloadablesProperties$Outbound } from "./benefitgrantdownloadablesproperties.js";
|
|
13
|
+
import { BenefitGrantGitHubRepositoryProperties, BenefitGrantGitHubRepositoryProperties$Outbound } from "./benefitgrantgithubrepositoryproperties.js";
|
|
14
|
+
import { BenefitGrantLicenseKeysProperties, BenefitGrantLicenseKeysProperties$Outbound } from "./benefitgrantlicensekeysproperties.js";
|
|
15
|
+
import { BenefitLicenseKeysInput, BenefitLicenseKeysInput$Outbound } from "./benefitlicensekeysinput.js";
|
|
16
|
+
export type BenefitGrantWebhookProperties = BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties;
|
|
17
|
+
export type BenefitGrantWebhookBenefit = BenefitArticles | BenefitAds | BenefitDiscordInput | BenefitGitHubRepository | BenefitDownloadables | BenefitLicenseKeysInput | BenefitCustom;
|
|
18
|
+
export type PreviousProperties = BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties;
|
|
19
|
+
export type BenefitGrantWebhook = {
|
|
20
|
+
/**
|
|
21
|
+
* Creation timestamp of the object.
|
|
22
|
+
*/
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
/**
|
|
25
|
+
* Last modification timestamp of the object.
|
|
26
|
+
*/
|
|
27
|
+
modifiedAt: Date | null;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the grant.
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* The timestamp when the benefit was granted. If `None`, the benefit is not granted.
|
|
34
|
+
*/
|
|
35
|
+
grantedAt?: Date | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the benefit is granted.
|
|
38
|
+
*/
|
|
39
|
+
isGranted: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The timestamp when the benefit was revoked. If `None`, the benefit is not revoked.
|
|
42
|
+
*/
|
|
43
|
+
revokedAt?: Date | null | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the benefit is revoked.
|
|
46
|
+
*/
|
|
47
|
+
isRevoked: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the subscription that granted this benefit.
|
|
50
|
+
*/
|
|
51
|
+
subscriptionId: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the order that granted this benefit.
|
|
54
|
+
*/
|
|
55
|
+
orderId: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the user concerned by this grant.
|
|
58
|
+
*/
|
|
59
|
+
userId: string;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the benefit concerned by this grant.
|
|
62
|
+
*/
|
|
63
|
+
benefitId: string;
|
|
64
|
+
properties: BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties;
|
|
65
|
+
benefit: BenefitArticles | BenefitAds | BenefitDiscordInput | BenefitGitHubRepository | BenefitDownloadables | BenefitLicenseKeysInput | BenefitCustom;
|
|
66
|
+
previousProperties?: BenefitGrantCustomProperties | BenefitGrantArticlesProperties | BenefitGrantDownloadablesProperties | BenefitGrantAdsProperties | BenefitGrantLicenseKeysProperties | BenefitGrantDiscordProperties | BenefitGrantGitHubRepositoryProperties | null | undefined;
|
|
67
|
+
};
|
|
68
|
+
/** @internal */
|
|
69
|
+
export declare const BenefitGrantWebhookProperties$inboundSchema: z.ZodType<BenefitGrantWebhookProperties, z.ZodTypeDef, unknown>;
|
|
70
|
+
/** @internal */
|
|
71
|
+
export type BenefitGrantWebhookProperties$Outbound = BenefitGrantCustomProperties$Outbound | BenefitGrantArticlesProperties$Outbound | BenefitGrantDownloadablesProperties$Outbound | BenefitGrantAdsProperties$Outbound | BenefitGrantLicenseKeysProperties$Outbound | BenefitGrantDiscordProperties$Outbound | BenefitGrantGitHubRepositoryProperties$Outbound;
|
|
72
|
+
/** @internal */
|
|
73
|
+
export declare const BenefitGrantWebhookProperties$outboundSchema: z.ZodType<BenefitGrantWebhookProperties$Outbound, z.ZodTypeDef, BenefitGrantWebhookProperties>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
+
*/
|
|
78
|
+
export declare namespace BenefitGrantWebhookProperties$ {
|
|
79
|
+
/** @deprecated use `BenefitGrantWebhookProperties$inboundSchema` instead. */
|
|
80
|
+
const inboundSchema: z.ZodType<BenefitGrantWebhookProperties, z.ZodTypeDef, unknown>;
|
|
81
|
+
/** @deprecated use `BenefitGrantWebhookProperties$outboundSchema` instead. */
|
|
82
|
+
const outboundSchema: z.ZodType<BenefitGrantWebhookProperties$Outbound, z.ZodTypeDef, BenefitGrantWebhookProperties>;
|
|
83
|
+
/** @deprecated use `BenefitGrantWebhookProperties$Outbound` instead. */
|
|
84
|
+
type Outbound = BenefitGrantWebhookProperties$Outbound;
|
|
85
|
+
}
|
|
86
|
+
/** @internal */
|
|
87
|
+
export declare const BenefitGrantWebhookBenefit$inboundSchema: z.ZodType<BenefitGrantWebhookBenefit, z.ZodTypeDef, unknown>;
|
|
88
|
+
/** @internal */
|
|
89
|
+
export type BenefitGrantWebhookBenefit$Outbound = BenefitArticles$Outbound | BenefitAds$Outbound | BenefitDiscordInput$Outbound | BenefitGitHubRepository$Outbound | BenefitDownloadables$Outbound | BenefitLicenseKeysInput$Outbound | BenefitCustom$Outbound;
|
|
90
|
+
/** @internal */
|
|
91
|
+
export declare const BenefitGrantWebhookBenefit$outboundSchema: z.ZodType<BenefitGrantWebhookBenefit$Outbound, z.ZodTypeDef, BenefitGrantWebhookBenefit>;
|
|
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 BenefitGrantWebhookBenefit$ {
|
|
97
|
+
/** @deprecated use `BenefitGrantWebhookBenefit$inboundSchema` instead. */
|
|
98
|
+
const inboundSchema: z.ZodType<BenefitGrantWebhookBenefit, z.ZodTypeDef, unknown>;
|
|
99
|
+
/** @deprecated use `BenefitGrantWebhookBenefit$outboundSchema` instead. */
|
|
100
|
+
const outboundSchema: z.ZodType<BenefitGrantWebhookBenefit$Outbound, z.ZodTypeDef, BenefitGrantWebhookBenefit>;
|
|
101
|
+
/** @deprecated use `BenefitGrantWebhookBenefit$Outbound` instead. */
|
|
102
|
+
type Outbound = BenefitGrantWebhookBenefit$Outbound;
|
|
103
|
+
}
|
|
104
|
+
/** @internal */
|
|
105
|
+
export declare const PreviousProperties$inboundSchema: z.ZodType<PreviousProperties, z.ZodTypeDef, unknown>;
|
|
106
|
+
/** @internal */
|
|
107
|
+
export type PreviousProperties$Outbound = BenefitGrantCustomProperties$Outbound | BenefitGrantArticlesProperties$Outbound | BenefitGrantDownloadablesProperties$Outbound | BenefitGrantAdsProperties$Outbound | BenefitGrantLicenseKeysProperties$Outbound | BenefitGrantDiscordProperties$Outbound | BenefitGrantGitHubRepositoryProperties$Outbound;
|
|
108
|
+
/** @internal */
|
|
109
|
+
export declare const PreviousProperties$outboundSchema: z.ZodType<PreviousProperties$Outbound, z.ZodTypeDef, PreviousProperties>;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
113
|
+
*/
|
|
114
|
+
export declare namespace PreviousProperties$ {
|
|
115
|
+
/** @deprecated use `PreviousProperties$inboundSchema` instead. */
|
|
116
|
+
const inboundSchema: z.ZodType<PreviousProperties, z.ZodTypeDef, unknown>;
|
|
117
|
+
/** @deprecated use `PreviousProperties$outboundSchema` instead. */
|
|
118
|
+
const outboundSchema: z.ZodType<PreviousProperties$Outbound, z.ZodTypeDef, PreviousProperties>;
|
|
119
|
+
/** @deprecated use `PreviousProperties$Outbound` instead. */
|
|
120
|
+
type Outbound = PreviousProperties$Outbound;
|
|
121
|
+
}
|
|
122
|
+
/** @internal */
|
|
123
|
+
export declare const BenefitGrantWebhook$inboundSchema: z.ZodType<BenefitGrantWebhook, z.ZodTypeDef, unknown>;
|
|
124
|
+
/** @internal */
|
|
125
|
+
export type BenefitGrantWebhook$Outbound = {
|
|
126
|
+
created_at: string;
|
|
127
|
+
modified_at: string | null;
|
|
128
|
+
id: string;
|
|
129
|
+
granted_at?: string | null | undefined;
|
|
130
|
+
is_granted: boolean;
|
|
131
|
+
revoked_at?: string | null | undefined;
|
|
132
|
+
is_revoked: boolean;
|
|
133
|
+
subscription_id: string | null;
|
|
134
|
+
order_id: string | null;
|
|
135
|
+
user_id: string;
|
|
136
|
+
benefit_id: string;
|
|
137
|
+
properties: BenefitGrantCustomProperties$Outbound | BenefitGrantArticlesProperties$Outbound | BenefitGrantDownloadablesProperties$Outbound | BenefitGrantAdsProperties$Outbound | BenefitGrantLicenseKeysProperties$Outbound | BenefitGrantDiscordProperties$Outbound | BenefitGrantGitHubRepositoryProperties$Outbound;
|
|
138
|
+
benefit: BenefitArticles$Outbound | BenefitAds$Outbound | BenefitDiscordInput$Outbound | BenefitGitHubRepository$Outbound | BenefitDownloadables$Outbound | BenefitLicenseKeysInput$Outbound | BenefitCustom$Outbound;
|
|
139
|
+
previous_properties?: BenefitGrantCustomProperties$Outbound | BenefitGrantArticlesProperties$Outbound | BenefitGrantDownloadablesProperties$Outbound | BenefitGrantAdsProperties$Outbound | BenefitGrantLicenseKeysProperties$Outbound | BenefitGrantDiscordProperties$Outbound | BenefitGrantGitHubRepositoryProperties$Outbound | null | undefined;
|
|
140
|
+
};
|
|
141
|
+
/** @internal */
|
|
142
|
+
export declare const BenefitGrantWebhook$outboundSchema: z.ZodType<BenefitGrantWebhook$Outbound, z.ZodTypeDef, BenefitGrantWebhook>;
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
146
|
+
*/
|
|
147
|
+
export declare namespace BenefitGrantWebhook$ {
|
|
148
|
+
/** @deprecated use `BenefitGrantWebhook$inboundSchema` instead. */
|
|
149
|
+
const inboundSchema: z.ZodType<BenefitGrantWebhook, z.ZodTypeDef, unknown>;
|
|
150
|
+
/** @deprecated use `BenefitGrantWebhook$outboundSchema` instead. */
|
|
151
|
+
const outboundSchema: z.ZodType<BenefitGrantWebhook$Outbound, z.ZodTypeDef, BenefitGrantWebhook>;
|
|
152
|
+
/** @deprecated use `BenefitGrantWebhook$Outbound` instead. */
|
|
153
|
+
type Outbound = BenefitGrantWebhook$Outbound;
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=benefitgrantwebhook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"benefitgrantwebhook.d.ts","sourceRoot":"","sources":["../../src/models/components/benefitgrantwebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MA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