@polar-sh/sdk 0.46.6 → 0.46.7
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/dist/commonjs/funcs/benefitsDelete.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGet.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGrants.js.map +1 -1
- package/dist/commonjs/funcs/benefitsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsDelete.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsGet.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerMetersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomerMetersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersDeletePaymentMethod.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalMembersRemoveMember.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalMembersUpdateMember.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersConfirmRetryPayment.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGenerateInvoice.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGetPaymentStatus.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalWalletsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerSeatsGetClaimInfo.js.map +1 -1
- package/dist/commonjs/funcs/customerSeatsResendInvitation.js.map +1 -1
- package/dist/commonjs/funcs/customerSeatsRevokeSeat.js.map +1 -1
- package/dist/commonjs/funcs/customersDelete.js.map +1 -1
- package/dist/commonjs/funcs/customersDeleteExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersGet.js.map +1 -1
- package/dist/commonjs/funcs/customersGetExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersGetState.js.map +1 -1
- package/dist/commonjs/funcs/customersGetStateExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdateExternal.js.map +1 -1
- package/dist/commonjs/funcs/discountsDelete.js.map +1 -1
- package/dist/commonjs/funcs/discountsGet.js.map +1 -1
- package/dist/commonjs/funcs/discountsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/disputesGet.js.map +1 -1
- package/dist/commonjs/funcs/eventTypesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/filesDelete.js.map +1 -1
- package/dist/commonjs/funcs/filesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/filesUploaded.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/commonjs/funcs/membersDeleteMember.js.map +1 -1
- package/dist/commonjs/funcs/membersGetMember.js.map +1 -1
- package/dist/commonjs/funcs/membersUpdateMember.js.map +1 -1
- package/dist/commonjs/funcs/metersGet.js.map +1 -1
- package/dist/commonjs/funcs/metersQuantities.js.map +1 -1
- package/dist/commonjs/funcs/metersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/ordersGenerateInvoice.js.map +1 -1
- package/dist/commonjs/funcs/ordersGet.js.map +1 -1
- package/dist/commonjs/funcs/ordersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/ordersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/organizationAccessTokensDelete.js.map +1 -1
- package/dist/commonjs/funcs/organizationAccessTokensUpdate.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/organizationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
- package/dist/commonjs/funcs/productsGet.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
- package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +20 -5
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +8 -4
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/lib/url.d.ts.map +1 -1
- package/dist/commonjs/lib/url.js +4 -2
- package/dist/commonjs/lib/url.js.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts +6 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js +5 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts +6 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js +5 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts +6 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.js +5 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.js.map +1 -1
- package/dist/commonjs/models/components/organization.d.ts +3 -0
- package/dist/commonjs/models/components/organization.d.ts.map +1 -1
- package/dist/commonjs/models/components/organization.js +5 -0
- package/dist/commonjs/models/components/organization.js.map +1 -1
- package/dist/commonjs/models/components/organizationcreate.d.ts +3 -0
- package/dist/commonjs/models/components/organizationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationcreate.js +3 -0
- package/dist/commonjs/models/components/organizationcreate.js.map +1 -1
- package/dist/commonjs/models/components/organizationupdate.d.ts +6 -0
- package/dist/commonjs/models/components/organizationupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationupdate.js +3 -0
- package/dist/commonjs/models/components/organizationupdate.js.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.d.ts +6 -0
- package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.js +5 -0
- package/dist/commonjs/models/components/productpricecustom.js.map +1 -1
- package/dist/commonjs/models/components/productpricecustomcreate.d.ts +6 -0
- package/dist/commonjs/models/components/productpricecustomcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricecustomcreate.js +3 -0
- package/dist/commonjs/models/components/productpricecustomcreate.js.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.d.ts +6 -0
- package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefixed.js +5 -0
- package/dist/commonjs/models/components/productpricefixed.js.map +1 -1
- package/dist/commonjs/models/components/productpricefixedcreate.d.ts +6 -0
- package/dist/commonjs/models/components/productpricefixedcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefixedcreate.js +3 -0
- package/dist/commonjs/models/components/productpricefixedcreate.js.map +1 -1
- package/dist/commonjs/models/components/productpricefree.d.ts +6 -0
- package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefree.js +5 -0
- package/dist/commonjs/models/components/productpricefree.js.map +1 -1
- package/dist/commonjs/models/components/productpricefreecreate.d.ts +6 -0
- package/dist/commonjs/models/components/productpricefreecreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricefreecreate.js +3 -0
- package/dist/commonjs/models/components/productpricefreecreate.js.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts +6 -0
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.js +5 -0
- package/dist/commonjs/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunitcreate.d.ts +6 -0
- package/dist/commonjs/models/components/productpricemeteredunitcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunitcreate.js +3 -0
- package/dist/commonjs/models/components/productpricemeteredunitcreate.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.d.ts +6 -0
- package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.js +5 -0
- package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts +6 -0
- package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbasedcreate.js +3 -0
- package/dist/commonjs/models/components/productpriceseatbasedcreate.js.map +1 -1
- package/dist/commonjs/models/components/taxbehavioroption.d.ts +13 -0
- package/dist/commonjs/models/components/taxbehavioroption.d.ts.map +1 -0
- package/dist/commonjs/models/components/taxbehavioroption.js +50 -0
- package/dist/commonjs/models/components/taxbehavioroption.js.map +1 -0
- package/dist/esm/funcs/benefitsDelete.js.map +1 -1
- package/dist/esm/funcs/benefitsGet.js.map +1 -1
- package/dist/esm/funcs/benefitsGrants.js.map +1 -1
- package/dist/esm/funcs/benefitsUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/esm/funcs/customFieldsDelete.js.map +1 -1
- package/dist/esm/funcs/customFieldsGet.js.map +1 -1
- package/dist/esm/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerMetersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomerMetersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersDeletePaymentMethod.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalMembersRemoveMember.js.map +1 -1
- package/dist/esm/funcs/customerPortalMembersUpdateMember.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersConfirmRetryPayment.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGenerateInvoice.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGetPaymentStatus.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSeatsResendInvitation.js.map +1 -1
- package/dist/esm/funcs/customerPortalSeatsRevokeSeat.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalWalletsGet.js.map +1 -1
- package/dist/esm/funcs/customerSeatsGetClaimInfo.js.map +1 -1
- package/dist/esm/funcs/customerSeatsResendInvitation.js.map +1 -1
- package/dist/esm/funcs/customerSeatsRevokeSeat.js.map +1 -1
- package/dist/esm/funcs/customersDelete.js.map +1 -1
- package/dist/esm/funcs/customersDeleteExternal.js.map +1 -1
- package/dist/esm/funcs/customersGet.js.map +1 -1
- package/dist/esm/funcs/customersGetExternal.js.map +1 -1
- package/dist/esm/funcs/customersGetState.js.map +1 -1
- package/dist/esm/funcs/customersGetStateExternal.js.map +1 -1
- package/dist/esm/funcs/customersUpdate.js.map +1 -1
- package/dist/esm/funcs/customersUpdateExternal.js.map +1 -1
- package/dist/esm/funcs/discountsDelete.js.map +1 -1
- package/dist/esm/funcs/discountsGet.js.map +1 -1
- package/dist/esm/funcs/discountsUpdate.js.map +1 -1
- package/dist/esm/funcs/disputesGet.js.map +1 -1
- package/dist/esm/funcs/eventTypesUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/filesDelete.js.map +1 -1
- package/dist/esm/funcs/filesUpdate.js.map +1 -1
- package/dist/esm/funcs/filesUploaded.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/esm/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/esm/funcs/membersDeleteMember.js.map +1 -1
- package/dist/esm/funcs/membersGetMember.js.map +1 -1
- package/dist/esm/funcs/membersUpdateMember.js.map +1 -1
- package/dist/esm/funcs/metersGet.js.map +1 -1
- package/dist/esm/funcs/metersQuantities.js.map +1 -1
- package/dist/esm/funcs/metersUpdate.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsDelete.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsGet.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/dist/esm/funcs/ordersGenerateInvoice.js.map +1 -1
- package/dist/esm/funcs/ordersGet.js.map +1 -1
- package/dist/esm/funcs/ordersInvoice.js.map +1 -1
- package/dist/esm/funcs/ordersUpdate.js.map +1 -1
- package/dist/esm/funcs/organizationAccessTokensDelete.js.map +1 -1
- package/dist/esm/funcs/organizationAccessTokensUpdate.js.map +1 -1
- package/dist/esm/funcs/organizationsGet.js.map +1 -1
- package/dist/esm/funcs/organizationsUpdate.js.map +1 -1
- package/dist/esm/funcs/paymentsGet.js.map +1 -1
- package/dist/esm/funcs/productsGet.js.map +1 -1
- package/dist/esm/funcs/productsUpdate.js.map +1 -1
- package/dist/esm/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
- package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
- package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +20 -5
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +8 -4
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/lib/url.d.ts.map +1 -1
- package/dist/esm/lib/url.js +4 -2
- package/dist/esm/lib/url.js.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts +6 -0
- package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricecustom.js +5 -0
- package/dist/esm/models/components/legacyrecurringproductpricecustom.js.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts +6 -0
- package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefixed.js +5 -0
- package/dist/esm/models/components/legacyrecurringproductpricefixed.js.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts +6 -0
- package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductpricefree.js +5 -0
- package/dist/esm/models/components/legacyrecurringproductpricefree.js.map +1 -1
- package/dist/esm/models/components/organization.d.ts +3 -0
- package/dist/esm/models/components/organization.d.ts.map +1 -1
- package/dist/esm/models/components/organization.js +5 -0
- package/dist/esm/models/components/organization.js.map +1 -1
- package/dist/esm/models/components/organizationcreate.d.ts +3 -0
- package/dist/esm/models/components/organizationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/organizationcreate.js +3 -0
- package/dist/esm/models/components/organizationcreate.js.map +1 -1
- package/dist/esm/models/components/organizationupdate.d.ts +6 -0
- package/dist/esm/models/components/organizationupdate.d.ts.map +1 -1
- package/dist/esm/models/components/organizationupdate.js +3 -0
- package/dist/esm/models/components/organizationupdate.js.map +1 -1
- package/dist/esm/models/components/productpricecustom.d.ts +6 -0
- package/dist/esm/models/components/productpricecustom.d.ts.map +1 -1
- package/dist/esm/models/components/productpricecustom.js +5 -0
- package/dist/esm/models/components/productpricecustom.js.map +1 -1
- package/dist/esm/models/components/productpricecustomcreate.d.ts +6 -0
- package/dist/esm/models/components/productpricecustomcreate.d.ts.map +1 -1
- package/dist/esm/models/components/productpricecustomcreate.js +3 -0
- package/dist/esm/models/components/productpricecustomcreate.js.map +1 -1
- package/dist/esm/models/components/productpricefixed.d.ts +6 -0
- package/dist/esm/models/components/productpricefixed.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefixed.js +5 -0
- package/dist/esm/models/components/productpricefixed.js.map +1 -1
- package/dist/esm/models/components/productpricefixedcreate.d.ts +6 -0
- package/dist/esm/models/components/productpricefixedcreate.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefixedcreate.js +3 -0
- package/dist/esm/models/components/productpricefixedcreate.js.map +1 -1
- package/dist/esm/models/components/productpricefree.d.ts +6 -0
- package/dist/esm/models/components/productpricefree.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefree.js +5 -0
- package/dist/esm/models/components/productpricefree.js.map +1 -1
- package/dist/esm/models/components/productpricefreecreate.d.ts +6 -0
- package/dist/esm/models/components/productpricefreecreate.d.ts.map +1 -1
- package/dist/esm/models/components/productpricefreecreate.js +3 -0
- package/dist/esm/models/components/productpricefreecreate.js.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.d.ts +6 -0
- package/dist/esm/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.js +5 -0
- package/dist/esm/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/esm/models/components/productpricemeteredunitcreate.d.ts +6 -0
- package/dist/esm/models/components/productpricemeteredunitcreate.d.ts.map +1 -1
- package/dist/esm/models/components/productpricemeteredunitcreate.js +3 -0
- package/dist/esm/models/components/productpricemeteredunitcreate.js.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.d.ts +6 -0
- package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.js +5 -0
- package/dist/esm/models/components/productpriceseatbased.js.map +1 -1
- package/dist/esm/models/components/productpriceseatbasedcreate.d.ts +6 -0
- package/dist/esm/models/components/productpriceseatbasedcreate.d.ts.map +1 -1
- package/dist/esm/models/components/productpriceseatbasedcreate.js +3 -0
- package/dist/esm/models/components/productpriceseatbasedcreate.js.map +1 -1
- package/dist/esm/models/components/taxbehavioroption.d.ts +13 -0
- package/dist/esm/models/components/taxbehavioroption.d.ts.map +1 -0
- package/dist/esm/models/components/taxbehavioroption.js +14 -0
- package/dist/esm/models/components/taxbehavioroption.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/benefitsDelete.ts +0 -1
- package/src/funcs/benefitsGet.ts +0 -1
- package/src/funcs/benefitsGrants.ts +0 -1
- package/src/funcs/benefitsUpdate.ts +0 -1
- package/src/funcs/checkoutLinksDelete.ts +0 -1
- package/src/funcs/checkoutLinksGet.ts +0 -1
- package/src/funcs/checkoutLinksUpdate.ts +0 -1
- package/src/funcs/checkoutsClientConfirm.ts +0 -1
- package/src/funcs/checkoutsClientGet.ts +0 -1
- package/src/funcs/checkoutsClientUpdate.ts +0 -1
- package/src/funcs/checkoutsGet.ts +0 -1
- package/src/funcs/checkoutsUpdate.ts +0 -1
- package/src/funcs/customFieldsDelete.ts +0 -1
- package/src/funcs/customFieldsGet.ts +0 -1
- package/src/funcs/customFieldsUpdate.ts +0 -1
- package/src/funcs/customerMetersGet.ts +0 -1
- package/src/funcs/customerPortalBenefitGrantsGet.ts +0 -1
- package/src/funcs/customerPortalBenefitGrantsUpdate.ts +0 -1
- package/src/funcs/customerPortalCustomerMetersGet.ts +0 -1
- package/src/funcs/customerPortalCustomersDeletePaymentMethod.ts +0 -1
- package/src/funcs/customerPortalLicenseKeysGet.ts +0 -1
- package/src/funcs/customerPortalMembersRemoveMember.ts +0 -1
- package/src/funcs/customerPortalMembersUpdateMember.ts +0 -1
- package/src/funcs/customerPortalOrdersConfirmRetryPayment.ts +0 -1
- package/src/funcs/customerPortalOrdersGenerateInvoice.ts +0 -1
- package/src/funcs/customerPortalOrdersGet.ts +0 -1
- package/src/funcs/customerPortalOrdersGetPaymentStatus.ts +0 -1
- package/src/funcs/customerPortalOrdersInvoice.ts +0 -1
- package/src/funcs/customerPortalOrdersUpdate.ts +0 -1
- package/src/funcs/customerPortalOrganizationsGet.ts +0 -1
- package/src/funcs/customerPortalSeatsResendInvitation.ts +0 -1
- package/src/funcs/customerPortalSeatsRevokeSeat.ts +0 -1
- package/src/funcs/customerPortalSubscriptionsCancel.ts +0 -1
- package/src/funcs/customerPortalSubscriptionsGet.ts +0 -1
- package/src/funcs/customerPortalSubscriptionsUpdate.ts +0 -1
- package/src/funcs/customerPortalWalletsGet.ts +0 -1
- package/src/funcs/customerSeatsGetClaimInfo.ts +0 -1
- package/src/funcs/customerSeatsResendInvitation.ts +0 -1
- package/src/funcs/customerSeatsRevokeSeat.ts +0 -1
- package/src/funcs/customersDelete.ts +0 -1
- package/src/funcs/customersDeleteExternal.ts +0 -1
- package/src/funcs/customersGet.ts +0 -1
- package/src/funcs/customersGetExternal.ts +0 -1
- package/src/funcs/customersGetState.ts +0 -1
- package/src/funcs/customersGetStateExternal.ts +0 -1
- package/src/funcs/customersUpdate.ts +0 -1
- package/src/funcs/customersUpdateExternal.ts +0 -1
- package/src/funcs/discountsDelete.ts +0 -1
- package/src/funcs/discountsGet.ts +0 -1
- package/src/funcs/discountsUpdate.ts +0 -1
- package/src/funcs/disputesGet.ts +0 -1
- package/src/funcs/eventTypesUpdate.ts +0 -1
- package/src/funcs/eventsGet.ts +0 -1
- package/src/funcs/filesDelete.ts +0 -1
- package/src/funcs/filesUpdate.ts +0 -1
- package/src/funcs/filesUploaded.ts +0 -1
- package/src/funcs/licenseKeysGet.ts +0 -1
- package/src/funcs/licenseKeysGetActivation.ts +0 -1
- package/src/funcs/licenseKeysUpdate.ts +0 -1
- package/src/funcs/membersDeleteMember.ts +0 -1
- package/src/funcs/membersGetMember.ts +0 -1
- package/src/funcs/membersUpdateMember.ts +0 -1
- package/src/funcs/metersGet.ts +0 -1
- package/src/funcs/metersQuantities.ts +0 -1
- package/src/funcs/metersUpdate.ts +0 -1
- package/src/funcs/oauth2ClientsDelete.ts +0 -1
- package/src/funcs/oauth2ClientsGet.ts +0 -1
- package/src/funcs/oauth2ClientsUpdate.ts +0 -1
- package/src/funcs/ordersGenerateInvoice.ts +0 -1
- package/src/funcs/ordersGet.ts +0 -1
- package/src/funcs/ordersInvoice.ts +0 -1
- package/src/funcs/ordersUpdate.ts +0 -1
- package/src/funcs/organizationAccessTokensDelete.ts +0 -1
- package/src/funcs/organizationAccessTokensUpdate.ts +0 -1
- package/src/funcs/organizationsGet.ts +0 -1
- package/src/funcs/organizationsUpdate.ts +0 -1
- package/src/funcs/paymentsGet.ts +0 -1
- package/src/funcs/productsGet.ts +0 -1
- package/src/funcs/productsUpdate.ts +0 -1
- package/src/funcs/productsUpdateBenefits.ts +0 -1
- package/src/funcs/subscriptionsGet.ts +0 -1
- package/src/funcs/subscriptionsRevoke.ts +0 -1
- package/src/funcs/subscriptionsUpdate.ts +0 -1
- package/src/funcs/webhooksDeleteWebhookEndpoint.ts +0 -1
- package/src/funcs/webhooksGetWebhookEndpoint.ts +0 -1
- package/src/funcs/webhooksRedeliverWebhookEvent.ts +0 -1
- package/src/funcs/webhooksResetWebhookEndpointSecret.ts +0 -1
- package/src/funcs/webhooksUpdateWebhookEndpoint.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +23 -4
- package/src/lib/sdks.ts +7 -5
- package/src/lib/url.ts +16 -14
- package/src/models/components/legacyrecurringproductpricecustom.ts +14 -0
- package/src/models/components/legacyrecurringproductpricefixed.ts +14 -0
- package/src/models/components/legacyrecurringproductpricefree.ts +14 -0
- package/src/models/components/organization.ts +11 -0
- package/src/models/components/organizationcreate.ts +8 -0
- package/src/models/components/organizationupdate.ts +13 -0
- package/src/models/components/productpricecustom.ts +14 -0
- package/src/models/components/productpricecustomcreate.ts +11 -0
- package/src/models/components/productpricefixed.ts +14 -0
- package/src/models/components/productpricefixedcreate.ts +11 -0
- package/src/models/components/productpricefree.ts +14 -0
- package/src/models/components/productpricefreecreate.ts +11 -0
- package/src/models/components/productpricemeteredunit.ts +14 -0
- package/src/models/components/productpricemeteredunitcreate.ts +11 -0
- package/src/models/components/productpriceseatbased.ts +14 -0
- package/src/models/components/productpriceseatbasedcreate.ts +11 -0
- package/src/models/components/taxbehavioroption.ts +25 -0
package/src/funcs/filesUpdate.ts
CHANGED
package/src/funcs/metersGet.ts
CHANGED
package/src/funcs/ordersGet.ts
CHANGED
package/src/funcs/paymentsGet.ts
CHANGED
package/src/funcs/productsGet.ts
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
66
|
openapiDocVersion: "0.1.0",
|
|
67
|
-
sdkVersion: "0.46.
|
|
68
|
-
genVersion: "2.
|
|
69
|
-
userAgent: "speakeasy-sdk/typescript 0.46.
|
|
67
|
+
sdkVersion: "0.46.7",
|
|
68
|
+
genVersion: "2.869.25",
|
|
69
|
+
userAgent: "speakeasy-sdk/typescript 0.46.7 2.869.25 0.1.0 @polar-sh/sdk",
|
|
70
70
|
} as const;
|
package/src/lib/encodings.ts
CHANGED
|
@@ -479,6 +479,23 @@ export const encodeSpaceDelimitedQuery = queryEncoder(encodeSpaceDelimited);
|
|
|
479
479
|
export const encodePipeDelimitedQuery = queryEncoder(encodePipeDelimited);
|
|
480
480
|
export const encodeDeepObjectQuery = queryEncoder(encodeDeepObject);
|
|
481
481
|
|
|
482
|
+
function isBlobLike(val: unknown): val is Blob {
|
|
483
|
+
if (val instanceof Blob) {
|
|
484
|
+
return true;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
488
|
+
return false;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
const tag = val[Symbol.toStringTag];
|
|
492
|
+
if (tag !== "Blob" && tag !== "File") {
|
|
493
|
+
return false;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
return "stream" in val && typeof val.stream === "function";
|
|
497
|
+
}
|
|
498
|
+
|
|
482
499
|
export function appendForm(
|
|
483
500
|
fd: FormData,
|
|
484
501
|
key: string,
|
|
@@ -487,10 +504,12 @@ export function appendForm(
|
|
|
487
504
|
): void {
|
|
488
505
|
if (value == null) {
|
|
489
506
|
return;
|
|
490
|
-
} else if (value
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
507
|
+
} else if (isBlobLike(value)) {
|
|
508
|
+
if (fileName) {
|
|
509
|
+
fd.append(key, value as Blob, fileName);
|
|
510
|
+
} else {
|
|
511
|
+
fd.append(key, value as Blob);
|
|
512
|
+
}
|
|
494
513
|
} else {
|
|
495
514
|
fd.append(key, String(value));
|
|
496
515
|
}
|
package/src/lib/sdks.ts
CHANGED
|
@@ -128,13 +128,15 @@ export class ClientSDK {
|
|
|
128
128
|
if (!base) {
|
|
129
129
|
return ERR(new InvalidRequestError("No base URL provided for operation"));
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
const baseURL = new URL(base);
|
|
132
|
+
let reqURL: URL;
|
|
134
133
|
if (path) {
|
|
135
|
-
|
|
136
|
-
reqURL
|
|
134
|
+
baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
|
|
135
|
+
reqURL = new URL(path, baseURL);
|
|
136
|
+
} else {
|
|
137
|
+
reqURL = baseURL;
|
|
137
138
|
}
|
|
139
|
+
reqURL.hash = "";
|
|
138
140
|
|
|
139
141
|
let finalQuery = query || "";
|
|
140
142
|
|
package/src/lib/url.ts
CHANGED
|
@@ -13,21 +13,23 @@ export function pathToFunc(
|
|
|
13
13
|
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
14
14
|
|
|
15
15
|
return function buildURLPath(params: Record<string, unknown> = {}): string {
|
|
16
|
-
return pathPattern
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
return pathPattern
|
|
17
|
+
.replace(paramRE, function (_, placeholder) {
|
|
18
|
+
if (!hasOwn.call(params, placeholder)) {
|
|
19
|
+
throw new Error(`Parameter '${placeholder}' is required`);
|
|
20
|
+
}
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
const value = params[placeholder];
|
|
23
|
+
if (typeof value !== "string" && typeof value !== "number") {
|
|
24
|
+
throw new Error(
|
|
25
|
+
`Parameter '${placeholder}' must be a string or number`,
|
|
26
|
+
);
|
|
27
|
+
}
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
return options?.charEncoding === "percent"
|
|
30
|
+
? encodeURIComponent(`${value}`)
|
|
31
|
+
: `${value}`;
|
|
32
|
+
})
|
|
33
|
+
.replace(/^\/+/, "");
|
|
32
34
|
};
|
|
33
35
|
}
|
|
@@ -17,6 +17,11 @@ import {
|
|
|
17
17
|
SubscriptionRecurringInterval$inboundSchema,
|
|
18
18
|
SubscriptionRecurringInterval$outboundSchema,
|
|
19
19
|
} from "./subscriptionrecurringinterval.js";
|
|
20
|
+
import {
|
|
21
|
+
TaxBehaviorOption,
|
|
22
|
+
TaxBehaviorOption$inboundSchema,
|
|
23
|
+
TaxBehaviorOption$outboundSchema,
|
|
24
|
+
} from "./taxbehavioroption.js";
|
|
20
25
|
|
|
21
26
|
/**
|
|
22
27
|
* A pay-what-you-want recurring price for a product, i.e. a subscription.
|
|
@@ -44,6 +49,10 @@ export type LegacyRecurringProductPriceCustom = {
|
|
|
44
49
|
* The currency in which the customer will be charged.
|
|
45
50
|
*/
|
|
46
51
|
priceCurrency: string;
|
|
52
|
+
/**
|
|
53
|
+
* The tax behavior of the price. If null, it defaults to the organization's default tax behavior.
|
|
54
|
+
*/
|
|
55
|
+
taxBehavior: TaxBehaviorOption | null;
|
|
47
56
|
/**
|
|
48
57
|
* Whether the price is archived and no longer available.
|
|
49
58
|
*/
|
|
@@ -89,6 +98,7 @@ export const LegacyRecurringProductPriceCustom$inboundSchema: z.ZodMiniType<
|
|
|
89
98
|
source: ProductPriceSource$inboundSchema,
|
|
90
99
|
amount_type: z.literal("custom"),
|
|
91
100
|
price_currency: z.string(),
|
|
101
|
+
tax_behavior: z.nullable(TaxBehaviorOption$inboundSchema),
|
|
92
102
|
is_archived: z.boolean(),
|
|
93
103
|
product_id: z.string(),
|
|
94
104
|
type: z.literal("recurring"),
|
|
@@ -104,6 +114,7 @@ export const LegacyRecurringProductPriceCustom$inboundSchema: z.ZodMiniType<
|
|
|
104
114
|
"modified_at": "modifiedAt",
|
|
105
115
|
"amount_type": "amountType",
|
|
106
116
|
"price_currency": "priceCurrency",
|
|
117
|
+
"tax_behavior": "taxBehavior",
|
|
107
118
|
"is_archived": "isArchived",
|
|
108
119
|
"product_id": "productId",
|
|
109
120
|
"recurring_interval": "recurringInterval",
|
|
@@ -121,6 +132,7 @@ export type LegacyRecurringProductPriceCustom$Outbound = {
|
|
|
121
132
|
source: string;
|
|
122
133
|
amount_type: "custom";
|
|
123
134
|
price_currency: string;
|
|
135
|
+
tax_behavior: string | null;
|
|
124
136
|
is_archived: boolean;
|
|
125
137
|
product_id: string;
|
|
126
138
|
type: "recurring";
|
|
@@ -143,6 +155,7 @@ export const LegacyRecurringProductPriceCustom$outboundSchema: z.ZodMiniType<
|
|
|
143
155
|
source: ProductPriceSource$outboundSchema,
|
|
144
156
|
amountType: z.literal("custom"),
|
|
145
157
|
priceCurrency: z.string(),
|
|
158
|
+
taxBehavior: z.nullable(TaxBehaviorOption$outboundSchema),
|
|
146
159
|
isArchived: z.boolean(),
|
|
147
160
|
productId: z.string(),
|
|
148
161
|
type: z.literal("recurring"),
|
|
@@ -158,6 +171,7 @@ export const LegacyRecurringProductPriceCustom$outboundSchema: z.ZodMiniType<
|
|
|
158
171
|
modifiedAt: "modified_at",
|
|
159
172
|
amountType: "amount_type",
|
|
160
173
|
priceCurrency: "price_currency",
|
|
174
|
+
taxBehavior: "tax_behavior",
|
|
161
175
|
isArchived: "is_archived",
|
|
162
176
|
productId: "product_id",
|
|
163
177
|
recurringInterval: "recurring_interval",
|
|
@@ -17,6 +17,11 @@ import {
|
|
|
17
17
|
SubscriptionRecurringInterval$inboundSchema,
|
|
18
18
|
SubscriptionRecurringInterval$outboundSchema,
|
|
19
19
|
} from "./subscriptionrecurringinterval.js";
|
|
20
|
+
import {
|
|
21
|
+
TaxBehaviorOption,
|
|
22
|
+
TaxBehaviorOption$inboundSchema,
|
|
23
|
+
TaxBehaviorOption$outboundSchema,
|
|
24
|
+
} from "./taxbehavioroption.js";
|
|
20
25
|
|
|
21
26
|
/**
|
|
22
27
|
* A recurring price for a product, i.e. a subscription.
|
|
@@ -44,6 +49,10 @@ export type LegacyRecurringProductPriceFixed = {
|
|
|
44
49
|
* The currency in which the customer will be charged.
|
|
45
50
|
*/
|
|
46
51
|
priceCurrency: string;
|
|
52
|
+
/**
|
|
53
|
+
* The tax behavior of the price. If null, it defaults to the organization's default tax behavior.
|
|
54
|
+
*/
|
|
55
|
+
taxBehavior: TaxBehaviorOption | null;
|
|
47
56
|
/**
|
|
48
57
|
* Whether the price is archived and no longer available.
|
|
49
58
|
*/
|
|
@@ -81,6 +90,7 @@ export const LegacyRecurringProductPriceFixed$inboundSchema: z.ZodMiniType<
|
|
|
81
90
|
source: ProductPriceSource$inboundSchema,
|
|
82
91
|
amount_type: z.literal("fixed"),
|
|
83
92
|
price_currency: z.string(),
|
|
93
|
+
tax_behavior: z.nullable(TaxBehaviorOption$inboundSchema),
|
|
84
94
|
is_archived: z.boolean(),
|
|
85
95
|
product_id: z.string(),
|
|
86
96
|
type: z.literal("recurring"),
|
|
@@ -94,6 +104,7 @@ export const LegacyRecurringProductPriceFixed$inboundSchema: z.ZodMiniType<
|
|
|
94
104
|
"modified_at": "modifiedAt",
|
|
95
105
|
"amount_type": "amountType",
|
|
96
106
|
"price_currency": "priceCurrency",
|
|
107
|
+
"tax_behavior": "taxBehavior",
|
|
97
108
|
"is_archived": "isArchived",
|
|
98
109
|
"product_id": "productId",
|
|
99
110
|
"recurring_interval": "recurringInterval",
|
|
@@ -109,6 +120,7 @@ export type LegacyRecurringProductPriceFixed$Outbound = {
|
|
|
109
120
|
source: string;
|
|
110
121
|
amount_type: "fixed";
|
|
111
122
|
price_currency: string;
|
|
123
|
+
tax_behavior: string | null;
|
|
112
124
|
is_archived: boolean;
|
|
113
125
|
product_id: string;
|
|
114
126
|
type: "recurring";
|
|
@@ -129,6 +141,7 @@ export const LegacyRecurringProductPriceFixed$outboundSchema: z.ZodMiniType<
|
|
|
129
141
|
source: ProductPriceSource$outboundSchema,
|
|
130
142
|
amountType: z.literal("fixed"),
|
|
131
143
|
priceCurrency: z.string(),
|
|
144
|
+
taxBehavior: z.nullable(TaxBehaviorOption$outboundSchema),
|
|
132
145
|
isArchived: z.boolean(),
|
|
133
146
|
productId: z.string(),
|
|
134
147
|
type: z.literal("recurring"),
|
|
@@ -142,6 +155,7 @@ export const LegacyRecurringProductPriceFixed$outboundSchema: z.ZodMiniType<
|
|
|
142
155
|
modifiedAt: "modified_at",
|
|
143
156
|
amountType: "amount_type",
|
|
144
157
|
priceCurrency: "price_currency",
|
|
158
|
+
taxBehavior: "tax_behavior",
|
|
145
159
|
isArchived: "is_archived",
|
|
146
160
|
productId: "product_id",
|
|
147
161
|
recurringInterval: "recurring_interval",
|
|
@@ -17,6 +17,11 @@ import {
|
|
|
17
17
|
SubscriptionRecurringInterval$inboundSchema,
|
|
18
18
|
SubscriptionRecurringInterval$outboundSchema,
|
|
19
19
|
} from "./subscriptionrecurringinterval.js";
|
|
20
|
+
import {
|
|
21
|
+
TaxBehaviorOption,
|
|
22
|
+
TaxBehaviorOption$inboundSchema,
|
|
23
|
+
TaxBehaviorOption$outboundSchema,
|
|
24
|
+
} from "./taxbehavioroption.js";
|
|
20
25
|
|
|
21
26
|
/**
|
|
22
27
|
* A free recurring price for a product, i.e. a subscription.
|
|
@@ -44,6 +49,10 @@ export type LegacyRecurringProductPriceFree = {
|
|
|
44
49
|
* The currency in which the customer will be charged.
|
|
45
50
|
*/
|
|
46
51
|
priceCurrency: string;
|
|
52
|
+
/**
|
|
53
|
+
* The tax behavior of the price. If null, it defaults to the organization's default tax behavior.
|
|
54
|
+
*/
|
|
55
|
+
taxBehavior: TaxBehaviorOption | null;
|
|
47
56
|
/**
|
|
48
57
|
* Whether the price is archived and no longer available.
|
|
49
58
|
*/
|
|
@@ -77,6 +86,7 @@ export const LegacyRecurringProductPriceFree$inboundSchema: z.ZodMiniType<
|
|
|
77
86
|
source: ProductPriceSource$inboundSchema,
|
|
78
87
|
amount_type: z.literal("free"),
|
|
79
88
|
price_currency: z.string(),
|
|
89
|
+
tax_behavior: z.nullable(TaxBehaviorOption$inboundSchema),
|
|
80
90
|
is_archived: z.boolean(),
|
|
81
91
|
product_id: z.string(),
|
|
82
92
|
type: z.literal("recurring"),
|
|
@@ -89,6 +99,7 @@ export const LegacyRecurringProductPriceFree$inboundSchema: z.ZodMiniType<
|
|
|
89
99
|
"modified_at": "modifiedAt",
|
|
90
100
|
"amount_type": "amountType",
|
|
91
101
|
"price_currency": "priceCurrency",
|
|
102
|
+
"tax_behavior": "taxBehavior",
|
|
92
103
|
"is_archived": "isArchived",
|
|
93
104
|
"product_id": "productId",
|
|
94
105
|
"recurring_interval": "recurringInterval",
|
|
@@ -103,6 +114,7 @@ export type LegacyRecurringProductPriceFree$Outbound = {
|
|
|
103
114
|
source: string;
|
|
104
115
|
amount_type: "free";
|
|
105
116
|
price_currency: string;
|
|
117
|
+
tax_behavior: string | null;
|
|
106
118
|
is_archived: boolean;
|
|
107
119
|
product_id: string;
|
|
108
120
|
type: "recurring";
|
|
@@ -122,6 +134,7 @@ export const LegacyRecurringProductPriceFree$outboundSchema: z.ZodMiniType<
|
|
|
122
134
|
source: ProductPriceSource$outboundSchema,
|
|
123
135
|
amountType: z.literal("free"),
|
|
124
136
|
priceCurrency: z.string(),
|
|
137
|
+
taxBehavior: z.nullable(TaxBehaviorOption$outboundSchema),
|
|
125
138
|
isArchived: z.boolean(),
|
|
126
139
|
productId: z.string(),
|
|
127
140
|
type: z.literal("recurring"),
|
|
@@ -134,6 +147,7 @@ export const LegacyRecurringProductPriceFree$outboundSchema: z.ZodMiniType<
|
|
|
134
147
|
modifiedAt: "modified_at",
|
|
135
148
|
amountType: "amount_type",
|
|
136
149
|
priceCurrency: "price_currency",
|
|
150
|
+
taxBehavior: "tax_behavior",
|
|
137
151
|
isArchived: "is_archived",
|
|
138
152
|
productId: "product_id",
|
|
139
153
|
recurringInterval: "recurring_interval",
|