@polar-sh/sdk 0.34.2 → 0.34.4
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 +22 -37
- package/bin/mcp-server.js +25 -7
- package/bin/mcp-server.js.map +10 -10
- package/dist/commonjs/funcs/{customerPortalCustomersGetPaymentMethods.d.ts → customerPortalCustomersListPaymentMethods.d.ts} +4 -4
- package/dist/commonjs/funcs/customerPortalCustomersListPaymentMethods.d.ts.map +1 -0
- package/dist/commonjs/funcs/{customerPortalCustomersGetPaymentMethods.js → customerPortalCustomersListPaymentMethods.js} +9 -9
- package/dist/commonjs/funcs/customerPortalCustomersListPaymentMethods.js.map +1 -0
- package/dist/commonjs/funcs/metricsGet.js +1 -0
- package/dist/commonjs/funcs/metricsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js +1 -0
- package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/benefitdiscordcreateproperties.d.ts +5 -0
- package/dist/commonjs/models/components/benefitdiscordcreateproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitdiscordcreateproperties.js +4 -0
- package/dist/commonjs/models/components/benefitdiscordcreateproperties.js.map +1 -1
- package/dist/commonjs/models/components/benefitdiscordproperties.d.ts +5 -0
- package/dist/commonjs/models/components/benefitdiscordproperties.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitdiscordproperties.js +4 -0
- package/dist/commonjs/models/components/benefitdiscordproperties.js.map +1 -1
- package/dist/commonjs/models/components/billingaddressfieldmode.d.ts +31 -0
- package/dist/commonjs/models/components/billingaddressfieldmode.d.ts.map +1 -0
- package/dist/commonjs/models/components/billingaddressfieldmode.js +51 -0
- package/dist/commonjs/models/components/billingaddressfieldmode.js.map +1 -0
- package/dist/commonjs/models/components/checkout.d.ts +3 -3
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +5 -5
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutbillingaddressfields.d.ts +40 -0
- package/dist/commonjs/models/components/checkoutbillingaddressfields.d.ts.map +1 -0
- package/dist/commonjs/models/components/checkoutbillingaddressfields.js +79 -0
- package/dist/commonjs/models/components/checkoutbillingaddressfields.js.map +1 -0
- package/dist/commonjs/models/components/checkoutpublic.d.ts +3 -3
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +5 -5
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +3 -3
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +5 -5
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/customerportalcustomer.d.ts +2 -0
- package/dist/commonjs/models/components/customerportalcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerportalcustomer.js +4 -0
- package/dist/commonjs/models/components/customerportalcustomer.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 +5 -0
- package/dist/commonjs/models/components/organizationcreate.js.map +1 -1
- package/dist/commonjs/models/components/organizationfeaturesettings.d.ts +0 -5
- package/dist/commonjs/models/components/organizationfeaturesettings.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationfeaturesettings.js +0 -4
- package/dist/commonjs/models/components/organizationfeaturesettings.js.map +1 -1
- package/dist/commonjs/models/components/organizationnotificationsettings.d.ts +31 -0
- package/dist/commonjs/models/components/organizationnotificationsettings.d.ts.map +1 -0
- package/dist/commonjs/models/components/organizationnotificationsettings.js +72 -0
- package/dist/commonjs/models/components/organizationnotificationsettings.js.map +1 -0
- package/dist/commonjs/models/components/organizationupdate.d.ts +3 -0
- package/dist/commonjs/models/components/organizationupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationupdate.js +5 -0
- package/dist/commonjs/models/components/organizationupdate.js.map +1 -1
- package/dist/commonjs/models/components/paymentmethodcard.d.ts +21 -7
- package/dist/commonjs/models/components/paymentmethodcard.d.ts.map +1 -1
- package/dist/commonjs/models/components/paymentmethodcard.js +18 -7
- package/dist/commonjs/models/components/paymentmethodcard.js.map +1 -1
- package/dist/commonjs/models/components/paymentmethodcardmetadata.d.ts +37 -0
- package/dist/commonjs/models/components/paymentmethodcardmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/components/{paymentmethodcarddata.js → paymentmethodcardmetadata.js} +17 -17
- package/dist/commonjs/models/components/paymentmethodcardmetadata.js.map +1 -0
- package/dist/commonjs/models/components/paymentmethodgeneric.d.ts +18 -4
- package/dist/commonjs/models/components/paymentmethodgeneric.d.ts.map +1 -1
- package/dist/commonjs/models/components/paymentmethodgeneric.js +13 -4
- package/dist/commonjs/models/components/paymentmethodgeneric.js.map +1 -1
- package/dist/commonjs/models/operations/customerportalcustomerslistpaymentmethods.d.ts +88 -0
- package/dist/commonjs/models/operations/customerportalcustomerslistpaymentmethods.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalcustomerslistpaymentmethods.js +133 -0
- package/dist/commonjs/models/operations/customerportalcustomerslistpaymentmethods.js.map +1 -0
- package/dist/commonjs/models/operations/eventslist.d.ts +13 -13
- package/dist/commonjs/models/operations/eventslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/eventslist.js +16 -16
- package/dist/commonjs/models/operations/eventslist.js.map +1 -1
- package/dist/commonjs/models/operations/eventslistnames.d.ts +13 -13
- package/dist/commonjs/models/operations/eventslistnames.d.ts.map +1 -1
- package/dist/commonjs/models/operations/eventslistnames.js +16 -16
- package/dist/commonjs/models/operations/eventslistnames.js.map +1 -1
- package/dist/commonjs/models/operations/metricsget.d.ts +5 -0
- package/dist/commonjs/models/operations/metricsget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/metricsget.js +2 -0
- package/dist/commonjs/models/operations/metricsget.js.map +1 -1
- package/dist/commonjs/models/operations/subscriptionslist.d.ts +29 -0
- package/dist/commonjs/models/operations/subscriptionslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/subscriptionslist.js +30 -1
- package/dist/commonjs/models/operations/subscriptionslist.js.map +1 -1
- package/dist/commonjs/sdk/downloadables.d.ts +0 -5
- package/dist/commonjs/sdk/downloadables.d.ts.map +1 -1
- package/dist/commonjs/sdk/downloadables.js +0 -8
- package/dist/commonjs/sdk/downloadables.js.map +1 -1
- package/dist/commonjs/sdk/oauth2.d.ts +0 -3
- package/dist/commonjs/sdk/oauth2.d.ts.map +1 -1
- package/dist/commonjs/sdk/oauth2.js +0 -4
- package/dist/commonjs/sdk/oauth2.js.map +1 -1
- package/dist/commonjs/sdk/polarcustomers.d.ts +3 -3
- package/dist/commonjs/sdk/polarcustomers.d.ts.map +1 -1
- package/dist/commonjs/sdk/polarcustomers.js +4 -4
- package/dist/commonjs/sdk/polarcustomers.js.map +1 -1
- package/dist/esm/funcs/{customerPortalCustomersGetPaymentMethods.d.ts → customerPortalCustomersListPaymentMethods.d.ts} +4 -4
- package/dist/esm/funcs/customerPortalCustomersListPaymentMethods.d.ts.map +1 -0
- package/dist/esm/funcs/{customerPortalCustomersGetPaymentMethods.js → customerPortalCustomersListPaymentMethods.js} +8 -8
- package/dist/esm/funcs/customerPortalCustomersListPaymentMethods.js.map +1 -0
- package/dist/esm/funcs/metricsGet.js +1 -0
- package/dist/esm/funcs/metricsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsList.js +1 -0
- package/dist/esm/funcs/subscriptionsList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/benefitdiscordcreateproperties.d.ts +5 -0
- package/dist/esm/models/components/benefitdiscordcreateproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitdiscordcreateproperties.js +4 -0
- package/dist/esm/models/components/benefitdiscordcreateproperties.js.map +1 -1
- package/dist/esm/models/components/benefitdiscordproperties.d.ts +5 -0
- package/dist/esm/models/components/benefitdiscordproperties.d.ts.map +1 -1
- package/dist/esm/models/components/benefitdiscordproperties.js +4 -0
- package/dist/esm/models/components/benefitdiscordproperties.js.map +1 -1
- package/dist/esm/models/components/billingaddressfieldmode.d.ts +31 -0
- package/dist/esm/models/components/billingaddressfieldmode.d.ts.map +1 -0
- package/dist/esm/models/components/billingaddressfieldmode.js +25 -0
- package/dist/esm/models/components/billingaddressfieldmode.js.map +1 -0
- package/dist/esm/models/components/checkout.d.ts +3 -3
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +5 -5
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutbillingaddressfields.d.ts +40 -0
- package/dist/esm/models/components/checkoutbillingaddressfields.d.ts.map +1 -0
- package/dist/esm/models/components/checkoutbillingaddressfields.js +51 -0
- package/dist/esm/models/components/checkoutbillingaddressfields.js.map +1 -0
- package/dist/esm/models/components/checkoutpublic.d.ts +3 -3
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +5 -5
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +3 -3
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +5 -5
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/customerportalcustomer.d.ts +2 -0
- package/dist/esm/models/components/customerportalcustomer.d.ts.map +1 -1
- package/dist/esm/models/components/customerportalcustomer.js +4 -0
- package/dist/esm/models/components/customerportalcustomer.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 +5 -0
- package/dist/esm/models/components/organizationcreate.js.map +1 -1
- package/dist/esm/models/components/organizationfeaturesettings.d.ts +0 -5
- package/dist/esm/models/components/organizationfeaturesettings.d.ts.map +1 -1
- package/dist/esm/models/components/organizationfeaturesettings.js +0 -4
- package/dist/esm/models/components/organizationfeaturesettings.js.map +1 -1
- package/dist/esm/models/components/organizationnotificationsettings.d.ts +31 -0
- package/dist/esm/models/components/organizationnotificationsettings.d.ts.map +1 -0
- package/dist/esm/models/components/organizationnotificationsettings.js +44 -0
- package/dist/esm/models/components/organizationnotificationsettings.js.map +1 -0
- package/dist/esm/models/components/organizationupdate.d.ts +3 -0
- package/dist/esm/models/components/organizationupdate.d.ts.map +1 -1
- package/dist/esm/models/components/organizationupdate.js +5 -0
- package/dist/esm/models/components/organizationupdate.js.map +1 -1
- package/dist/esm/models/components/paymentmethodcard.d.ts +21 -7
- package/dist/esm/models/components/paymentmethodcard.d.ts.map +1 -1
- package/dist/esm/models/components/paymentmethodcard.js +18 -7
- package/dist/esm/models/components/paymentmethodcard.js.map +1 -1
- package/dist/esm/models/components/paymentmethodcardmetadata.d.ts +37 -0
- package/dist/esm/models/components/paymentmethodcardmetadata.d.ts.map +1 -0
- package/dist/esm/models/components/paymentmethodcardmetadata.js +50 -0
- package/dist/esm/models/components/paymentmethodcardmetadata.js.map +1 -0
- package/dist/esm/models/components/paymentmethodgeneric.d.ts +18 -4
- package/dist/esm/models/components/paymentmethodgeneric.d.ts.map +1 -1
- package/dist/esm/models/components/paymentmethodgeneric.js +13 -4
- package/dist/esm/models/components/paymentmethodgeneric.js.map +1 -1
- package/dist/esm/models/operations/customerportalcustomerslistpaymentmethods.d.ts +88 -0
- package/dist/esm/models/operations/customerportalcustomerslistpaymentmethods.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalcustomerslistpaymentmethods.js +101 -0
- package/dist/esm/models/operations/customerportalcustomerslistpaymentmethods.js.map +1 -0
- package/dist/esm/models/operations/eventslist.d.ts +13 -13
- package/dist/esm/models/operations/eventslist.d.ts.map +1 -1
- package/dist/esm/models/operations/eventslist.js +13 -13
- package/dist/esm/models/operations/eventslist.js.map +1 -1
- package/dist/esm/models/operations/eventslistnames.d.ts +13 -13
- package/dist/esm/models/operations/eventslistnames.d.ts.map +1 -1
- package/dist/esm/models/operations/eventslistnames.js +13 -13
- package/dist/esm/models/operations/eventslistnames.js.map +1 -1
- package/dist/esm/models/operations/metricsget.d.ts +5 -0
- package/dist/esm/models/operations/metricsget.d.ts.map +1 -1
- package/dist/esm/models/operations/metricsget.js +2 -0
- package/dist/esm/models/operations/metricsget.js.map +1 -1
- package/dist/esm/models/operations/subscriptionslist.d.ts +29 -0
- package/dist/esm/models/operations/subscriptionslist.d.ts.map +1 -1
- package/dist/esm/models/operations/subscriptionslist.js +27 -0
- package/dist/esm/models/operations/subscriptionslist.js.map +1 -1
- package/dist/esm/sdk/downloadables.d.ts +0 -5
- package/dist/esm/sdk/downloadables.d.ts.map +1 -1
- package/dist/esm/sdk/downloadables.js +0 -8
- package/dist/esm/sdk/downloadables.js.map +1 -1
- package/dist/esm/sdk/oauth2.d.ts +0 -3
- package/dist/esm/sdk/oauth2.d.ts.map +1 -1
- package/dist/esm/sdk/oauth2.js +0 -4
- package/dist/esm/sdk/oauth2.js.map +1 -1
- package/dist/esm/sdk/polarcustomers.d.ts +3 -3
- package/dist/esm/sdk/polarcustomers.d.ts.map +1 -1
- package/dist/esm/sdk/polarcustomers.js +4 -4
- package/dist/esm/sdk/polarcustomers.js.map +1 -1
- package/docs/sdks/downloadables/README.md +0 -70
- package/docs/sdks/polarcustomers/README.md +9 -9
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{customerPortalCustomersGetPaymentMethods.ts → customerPortalCustomersListPaymentMethods.ts} +20 -20
- package/src/funcs/metricsGet.ts +1 -0
- package/src/funcs/subscriptionsList.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/benefitdiscordcreateproperties.ts +9 -0
- package/src/models/components/benefitdiscordproperties.ts +9 -0
- package/src/models/components/billingaddressfieldmode.ts +36 -0
- package/src/models/components/checkout.ts +11 -14
- package/src/models/components/checkoutbillingaddressfields.ts +102 -0
- package/src/models/components/checkoutpublic.ts +11 -14
- package/src/models/components/checkoutpublicconfirmed.ts +11 -14
- package/src/models/components/customerportalcustomer.ts +6 -0
- package/src/models/components/organization.ts +12 -0
- package/src/models/components/organizationcreate.ts +19 -0
- package/src/models/components/organizationfeaturesettings.ts +0 -9
- package/src/models/components/organizationnotificationsettings.ts +83 -0
- package/src/models/components/organizationupdate.ts +19 -0
- package/src/models/components/paymentmethodcard.ts +47 -17
- package/src/models/components/{paymentmethodcarddata.ts → paymentmethodcardmetadata.ts} +21 -21
- package/src/models/components/paymentmethodgeneric.ts +36 -8
- package/src/models/operations/customerportalcustomerslistpaymentmethods.ts +259 -0
- package/src/models/operations/eventslist.ts +27 -21
- package/src/models/operations/eventslistnames.ts +39 -27
- package/src/models/operations/metricsget.ts +7 -0
- package/src/models/operations/subscriptionslist.ts +64 -0
- package/src/sdk/downloadables.ts +0 -17
- package/src/sdk/oauth2.ts +0 -6
- package/src/sdk/polarcustomers.ts +11 -11
- package/dist/commonjs/funcs/customerPortalCustomersGetPaymentMethods.d.ts.map +0 -1
- package/dist/commonjs/funcs/customerPortalCustomersGetPaymentMethods.js.map +0 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.d.ts +0 -15
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.d.ts.map +0 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.js +0 -107
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.js.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts +0 -18
- package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsCreate.js +0 -109
- package/dist/commonjs/funcs/oauth2ClientsCreate.js.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts +0 -18
- package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.js +0 -114
- package/dist/commonjs/funcs/oauth2ClientsDelete.js.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.d.ts +0 -18
- package/dist/commonjs/funcs/oauth2ClientsGet.d.ts.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.js +0 -114
- package/dist/commonjs/funcs/oauth2ClientsGet.js.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsList.d.ts +0 -21
- package/dist/commonjs/funcs/oauth2ClientsList.d.ts.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsList.js +0 -147
- package/dist/commonjs/funcs/oauth2ClientsList.js.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts +0 -18
- package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts.map +0 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js +0 -117
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +0 -1
- package/dist/commonjs/models/components/checkoutcustomerbillingaddressfields.d.ts +0 -39
- package/dist/commonjs/models/components/checkoutcustomerbillingaddressfields.d.ts.map +0 -1
- package/dist/commonjs/models/components/checkoutcustomerbillingaddressfields.js +0 -78
- package/dist/commonjs/models/components/checkoutcustomerbillingaddressfields.js.map +0 -1
- package/dist/commonjs/models/components/listresourceoauth2client.d.ts +0 -33
- package/dist/commonjs/models/components/listresourceoauth2client.d.ts.map +0 -1
- package/dist/commonjs/models/components/listresourceoauth2client.js +0 -63
- package/dist/commonjs/models/components/listresourceoauth2client.js.map +0 -1
- package/dist/commonjs/models/components/oauth2client.d.ts +0 -119
- package/dist/commonjs/models/components/oauth2client.d.ts.map +0 -1
- package/dist/commonjs/models/components/oauth2client.js +0 -166
- package/dist/commonjs/models/components/oauth2client.js.map +0 -1
- package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts +0 -101
- package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts.map +0 -1
- package/dist/commonjs/models/components/oauth2clientconfiguration.js +0 -144
- package/dist/commonjs/models/components/oauth2clientconfiguration.js.map +0 -1
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts +0 -103
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts.map +0 -1
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js +0 -150
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js.map +0 -1
- package/dist/commonjs/models/components/paymentmethodcarddata.d.ts +0 -37
- package/dist/commonjs/models/components/paymentmethodcarddata.d.ts.map +0 -1
- package/dist/commonjs/models/components/paymentmethodcarddata.js.map +0 -1
- package/dist/commonjs/models/operations/customerportalcustomersgetpaymentmethods.d.ts +0 -88
- package/dist/commonjs/models/operations/customerportalcustomersgetpaymentmethods.d.ts.map +0 -1
- package/dist/commonjs/models/operations/customerportalcustomersgetpaymentmethods.js +0 -133
- package/dist/commonjs/models/operations/customerportalcustomersgetpaymentmethods.js.map +0 -1
- package/dist/commonjs/models/operations/customerportaldownloadablescustomerportaldownloadablesget.d.ts +0 -29
- package/dist/commonjs/models/operations/customerportaldownloadablescustomerportaldownloadablesget.d.ts.map +0 -1
- package/dist/commonjs/models/operations/customerportaldownloadablescustomerportaldownloadablesget.js +0 -61
- package/dist/commonjs/models/operations/customerportaldownloadablescustomerportaldownloadablesget.js.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientslist.d.ts +0 -63
- package/dist/commonjs/models/operations/oauth2clientslist.d.ts.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientslist.js +0 -98
- package/dist/commonjs/models/operations/oauth2clientslist.js.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.d.ts +0 -29
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.d.ts.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.js +0 -68
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.js.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.d.ts +0 -29
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.d.ts.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.js +0 -68
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.js.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.d.ts +0 -32
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.d.ts.map +0 -1
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.js +0 -73
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.js.map +0 -1
- package/dist/commonjs/sdk/clients.d.ts +0 -47
- package/dist/commonjs/sdk/clients.d.ts.map +0 -1
- package/dist/commonjs/sdk/clients.js +0 -63
- package/dist/commonjs/sdk/clients.js.map +0 -1
- package/dist/esm/funcs/customerPortalCustomersGetPaymentMethods.d.ts.map +0 -1
- package/dist/esm/funcs/customerPortalCustomersGetPaymentMethods.js.map +0 -1
- package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts +0 -15
- package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts.map +0 -1
- package/dist/esm/funcs/customerPortalDownloadablesGet.js +0 -81
- package/dist/esm/funcs/customerPortalDownloadablesGet.js.map +0 -1
- package/dist/esm/funcs/oauth2ClientsCreate.d.ts +0 -18
- package/dist/esm/funcs/oauth2ClientsCreate.d.ts.map +0 -1
- package/dist/esm/funcs/oauth2ClientsCreate.js +0 -83
- package/dist/esm/funcs/oauth2ClientsCreate.js.map +0 -1
- package/dist/esm/funcs/oauth2ClientsDelete.d.ts +0 -18
- package/dist/esm/funcs/oauth2ClientsDelete.d.ts.map +0 -1
- package/dist/esm/funcs/oauth2ClientsDelete.js +0 -88
- package/dist/esm/funcs/oauth2ClientsDelete.js.map +0 -1
- package/dist/esm/funcs/oauth2ClientsGet.d.ts +0 -18
- package/dist/esm/funcs/oauth2ClientsGet.d.ts.map +0 -1
- package/dist/esm/funcs/oauth2ClientsGet.js +0 -88
- package/dist/esm/funcs/oauth2ClientsGet.js.map +0 -1
- package/dist/esm/funcs/oauth2ClientsList.d.ts +0 -21
- package/dist/esm/funcs/oauth2ClientsList.d.ts.map +0 -1
- package/dist/esm/funcs/oauth2ClientsList.js +0 -121
- package/dist/esm/funcs/oauth2ClientsList.js.map +0 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.d.ts +0 -18
- package/dist/esm/funcs/oauth2ClientsUpdate.d.ts.map +0 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.js +0 -91
- package/dist/esm/funcs/oauth2ClientsUpdate.js.map +0 -1
- package/dist/esm/models/components/checkoutcustomerbillingaddressfields.d.ts +0 -39
- package/dist/esm/models/components/checkoutcustomerbillingaddressfields.d.ts.map +0 -1
- package/dist/esm/models/components/checkoutcustomerbillingaddressfields.js +0 -50
- package/dist/esm/models/components/checkoutcustomerbillingaddressfields.js.map +0 -1
- package/dist/esm/models/components/listresourceoauth2client.d.ts +0 -33
- package/dist/esm/models/components/listresourceoauth2client.d.ts.map +0 -1
- package/dist/esm/models/components/listresourceoauth2client.js +0 -35
- package/dist/esm/models/components/listresourceoauth2client.js.map +0 -1
- package/dist/esm/models/components/oauth2client.d.ts +0 -119
- package/dist/esm/models/components/oauth2client.d.ts.map +0 -1
- package/dist/esm/models/components/oauth2client.js +0 -138
- package/dist/esm/models/components/oauth2client.js.map +0 -1
- package/dist/esm/models/components/oauth2clientconfiguration.d.ts +0 -101
- package/dist/esm/models/components/oauth2clientconfiguration.d.ts.map +0 -1
- package/dist/esm/models/components/oauth2clientconfiguration.js +0 -116
- package/dist/esm/models/components/oauth2clientconfiguration.js.map +0 -1
- package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts +0 -103
- package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts.map +0 -1
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js +0 -122
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js.map +0 -1
- package/dist/esm/models/components/paymentmethodcarddata.d.ts +0 -37
- package/dist/esm/models/components/paymentmethodcarddata.d.ts.map +0 -1
- package/dist/esm/models/components/paymentmethodcarddata.js +0 -50
- package/dist/esm/models/components/paymentmethodcarddata.js.map +0 -1
- package/dist/esm/models/operations/customerportalcustomersgetpaymentmethods.d.ts +0 -88
- package/dist/esm/models/operations/customerportalcustomersgetpaymentmethods.d.ts.map +0 -1
- package/dist/esm/models/operations/customerportalcustomersgetpaymentmethods.js +0 -101
- package/dist/esm/models/operations/customerportalcustomersgetpaymentmethods.js.map +0 -1
- package/dist/esm/models/operations/customerportaldownloadablescustomerportaldownloadablesget.d.ts +0 -29
- package/dist/esm/models/operations/customerportaldownloadablescustomerportaldownloadablesget.d.ts.map +0 -1
- package/dist/esm/models/operations/customerportaldownloadablescustomerportaldownloadablesget.js +0 -33
- package/dist/esm/models/operations/customerportaldownloadablescustomerportaldownloadablesget.js.map +0 -1
- package/dist/esm/models/operations/oauth2clientslist.d.ts +0 -63
- package/dist/esm/models/operations/oauth2clientslist.d.ts.map +0 -1
- package/dist/esm/models/operations/oauth2clientslist.js +0 -68
- package/dist/esm/models/operations/oauth2clientslist.js.map +0 -1
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.d.ts +0 -29
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.d.ts.map +0 -1
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.js +0 -40
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.js.map +0 -1
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.d.ts +0 -29
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.d.ts.map +0 -1
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.js +0 -40
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.js.map +0 -1
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.d.ts +0 -32
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.d.ts.map +0 -1
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.js +0 -45
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.js.map +0 -1
- package/dist/esm/sdk/clients.d.ts +0 -47
- package/dist/esm/sdk/clients.d.ts.map +0 -1
- package/dist/esm/sdk/clients.js +0 -59
- package/dist/esm/sdk/clients.js.map +0 -1
- package/docs/sdks/clients/README.md +0 -401
- package/src/funcs/customerPortalDownloadablesGet.ts +0 -179
- package/src/funcs/oauth2ClientsCreate.ts +0 -176
- package/src/funcs/oauth2ClientsDelete.ts +0 -183
- package/src/funcs/oauth2ClientsGet.ts +0 -182
- package/src/funcs/oauth2ClientsList.ts +0 -255
- package/src/funcs/oauth2ClientsUpdate.ts +0 -186
- package/src/models/components/checkoutcustomerbillingaddressfields.ts +0 -100
- package/src/models/components/listresourceoauth2client.ts +0 -82
- package/src/models/components/oauth2client.ts +0 -231
- package/src/models/components/oauth2clientconfiguration.ts +0 -205
- package/src/models/components/oauth2clientconfigurationupdate.ts +0 -213
- package/src/models/operations/customerportalcustomersgetpaymentmethods.ts +0 -259
- package/src/models/operations/customerportaldownloadablescustomerportaldownloadablesget.ts +0 -79
- package/src/models/operations/oauth2clientslist.ts +0 -149
- package/src/models/operations/oauth2clientsoauth2deleteclient.ts +0 -81
- package/src/models/operations/oauth2clientsoauth2getclient.ts +0 -80
- package/src/models/operations/oauth2clientsoauth2updateclient.ts +0 -95
- package/src/sdk/clients.ts +0 -107
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import {
|
|
10
|
-
ListResourceUnionPaymentMethodCardPaymentMethodGeneric,
|
|
11
|
-
ListResourceUnionPaymentMethodCardPaymentMethodGeneric$inboundSchema,
|
|
12
|
-
ListResourceUnionPaymentMethodCardPaymentMethodGeneric$Outbound,
|
|
13
|
-
ListResourceUnionPaymentMethodCardPaymentMethodGeneric$outboundSchema,
|
|
14
|
-
} from "../components/listresourceunionpaymentmethodcardpaymentmethodgeneric.js";
|
|
15
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
16
|
-
|
|
17
|
-
export type CustomerPortalCustomersGetPaymentMethodsSecurity = {
|
|
18
|
-
customerSession: string;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export type CustomerPortalCustomersGetPaymentMethodsRequest = {
|
|
22
|
-
/**
|
|
23
|
-
* Page number, defaults to 1.
|
|
24
|
-
*/
|
|
25
|
-
page?: number | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Size of a page, defaults to 10. Maximum is 100.
|
|
28
|
-
*/
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export type CustomerPortalCustomersGetPaymentMethodsResponse = {
|
|
33
|
-
result: ListResourceUnionPaymentMethodCardPaymentMethodGeneric;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export const CustomerPortalCustomersGetPaymentMethodsSecurity$inboundSchema:
|
|
38
|
-
z.ZodType<
|
|
39
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity,
|
|
40
|
-
z.ZodTypeDef,
|
|
41
|
-
unknown
|
|
42
|
-
> = z.object({
|
|
43
|
-
customer_session: z.string(),
|
|
44
|
-
}).transform((v) => {
|
|
45
|
-
return remap$(v, {
|
|
46
|
-
"customer_session": "customerSession",
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
/** @internal */
|
|
51
|
-
export type CustomerPortalCustomersGetPaymentMethodsSecurity$Outbound = {
|
|
52
|
-
customer_session: string;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
/** @internal */
|
|
56
|
-
export const CustomerPortalCustomersGetPaymentMethodsSecurity$outboundSchema:
|
|
57
|
-
z.ZodType<
|
|
58
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity$Outbound,
|
|
59
|
-
z.ZodTypeDef,
|
|
60
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity
|
|
61
|
-
> = z.object({
|
|
62
|
-
customerSession: z.string(),
|
|
63
|
-
}).transform((v) => {
|
|
64
|
-
return remap$(v, {
|
|
65
|
-
customerSession: "customer_session",
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
-
*/
|
|
73
|
-
export namespace CustomerPortalCustomersGetPaymentMethodsSecurity$ {
|
|
74
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsSecurity$inboundSchema` instead. */
|
|
75
|
-
export const inboundSchema =
|
|
76
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity$inboundSchema;
|
|
77
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsSecurity$outboundSchema` instead. */
|
|
78
|
-
export const outboundSchema =
|
|
79
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity$outboundSchema;
|
|
80
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsSecurity$Outbound` instead. */
|
|
81
|
-
export type Outbound =
|
|
82
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity$Outbound;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function customerPortalCustomersGetPaymentMethodsSecurityToJSON(
|
|
86
|
-
customerPortalCustomersGetPaymentMethodsSecurity:
|
|
87
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity,
|
|
88
|
-
): string {
|
|
89
|
-
return JSON.stringify(
|
|
90
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity$outboundSchema.parse(
|
|
91
|
-
customerPortalCustomersGetPaymentMethodsSecurity,
|
|
92
|
-
),
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function customerPortalCustomersGetPaymentMethodsSecurityFromJSON(
|
|
97
|
-
jsonString: string,
|
|
98
|
-
): SafeParseResult<
|
|
99
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity,
|
|
100
|
-
SDKValidationError
|
|
101
|
-
> {
|
|
102
|
-
return safeParse(
|
|
103
|
-
jsonString,
|
|
104
|
-
(x) =>
|
|
105
|
-
CustomerPortalCustomersGetPaymentMethodsSecurity$inboundSchema.parse(
|
|
106
|
-
JSON.parse(x),
|
|
107
|
-
),
|
|
108
|
-
`Failed to parse 'CustomerPortalCustomersGetPaymentMethodsSecurity' from JSON`,
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const CustomerPortalCustomersGetPaymentMethodsRequest$inboundSchema:
|
|
114
|
-
z.ZodType<
|
|
115
|
-
CustomerPortalCustomersGetPaymentMethodsRequest,
|
|
116
|
-
z.ZodTypeDef,
|
|
117
|
-
unknown
|
|
118
|
-
> = z.object({
|
|
119
|
-
page: z.number().int().default(1),
|
|
120
|
-
limit: z.number().int().default(10),
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
/** @internal */
|
|
124
|
-
export type CustomerPortalCustomersGetPaymentMethodsRequest$Outbound = {
|
|
125
|
-
page: number;
|
|
126
|
-
limit: number;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
/** @internal */
|
|
130
|
-
export const CustomerPortalCustomersGetPaymentMethodsRequest$outboundSchema:
|
|
131
|
-
z.ZodType<
|
|
132
|
-
CustomerPortalCustomersGetPaymentMethodsRequest$Outbound,
|
|
133
|
-
z.ZodTypeDef,
|
|
134
|
-
CustomerPortalCustomersGetPaymentMethodsRequest
|
|
135
|
-
> = z.object({
|
|
136
|
-
page: z.number().int().default(1),
|
|
137
|
-
limit: z.number().int().default(10),
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
143
|
-
*/
|
|
144
|
-
export namespace CustomerPortalCustomersGetPaymentMethodsRequest$ {
|
|
145
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsRequest$inboundSchema` instead. */
|
|
146
|
-
export const inboundSchema =
|
|
147
|
-
CustomerPortalCustomersGetPaymentMethodsRequest$inboundSchema;
|
|
148
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsRequest$outboundSchema` instead. */
|
|
149
|
-
export const outboundSchema =
|
|
150
|
-
CustomerPortalCustomersGetPaymentMethodsRequest$outboundSchema;
|
|
151
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsRequest$Outbound` instead. */
|
|
152
|
-
export type Outbound =
|
|
153
|
-
CustomerPortalCustomersGetPaymentMethodsRequest$Outbound;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export function customerPortalCustomersGetPaymentMethodsRequestToJSON(
|
|
157
|
-
customerPortalCustomersGetPaymentMethodsRequest:
|
|
158
|
-
CustomerPortalCustomersGetPaymentMethodsRequest,
|
|
159
|
-
): string {
|
|
160
|
-
return JSON.stringify(
|
|
161
|
-
CustomerPortalCustomersGetPaymentMethodsRequest$outboundSchema.parse(
|
|
162
|
-
customerPortalCustomersGetPaymentMethodsRequest,
|
|
163
|
-
),
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export function customerPortalCustomersGetPaymentMethodsRequestFromJSON(
|
|
168
|
-
jsonString: string,
|
|
169
|
-
): SafeParseResult<
|
|
170
|
-
CustomerPortalCustomersGetPaymentMethodsRequest,
|
|
171
|
-
SDKValidationError
|
|
172
|
-
> {
|
|
173
|
-
return safeParse(
|
|
174
|
-
jsonString,
|
|
175
|
-
(x) =>
|
|
176
|
-
CustomerPortalCustomersGetPaymentMethodsRequest$inboundSchema.parse(
|
|
177
|
-
JSON.parse(x),
|
|
178
|
-
),
|
|
179
|
-
`Failed to parse 'CustomerPortalCustomersGetPaymentMethodsRequest' from JSON`,
|
|
180
|
-
);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/** @internal */
|
|
184
|
-
export const CustomerPortalCustomersGetPaymentMethodsResponse$inboundSchema:
|
|
185
|
-
z.ZodType<
|
|
186
|
-
CustomerPortalCustomersGetPaymentMethodsResponse,
|
|
187
|
-
z.ZodTypeDef,
|
|
188
|
-
unknown
|
|
189
|
-
> = z.object({
|
|
190
|
-
Result:
|
|
191
|
-
ListResourceUnionPaymentMethodCardPaymentMethodGeneric$inboundSchema,
|
|
192
|
-
}).transform((v) => {
|
|
193
|
-
return remap$(v, {
|
|
194
|
-
"Result": "result",
|
|
195
|
-
});
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
/** @internal */
|
|
199
|
-
export type CustomerPortalCustomersGetPaymentMethodsResponse$Outbound = {
|
|
200
|
-
Result: ListResourceUnionPaymentMethodCardPaymentMethodGeneric$Outbound;
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
/** @internal */
|
|
204
|
-
export const CustomerPortalCustomersGetPaymentMethodsResponse$outboundSchema:
|
|
205
|
-
z.ZodType<
|
|
206
|
-
CustomerPortalCustomersGetPaymentMethodsResponse$Outbound,
|
|
207
|
-
z.ZodTypeDef,
|
|
208
|
-
CustomerPortalCustomersGetPaymentMethodsResponse
|
|
209
|
-
> = z.object({
|
|
210
|
-
result:
|
|
211
|
-
ListResourceUnionPaymentMethodCardPaymentMethodGeneric$outboundSchema,
|
|
212
|
-
}).transform((v) => {
|
|
213
|
-
return remap$(v, {
|
|
214
|
-
result: "Result",
|
|
215
|
-
});
|
|
216
|
-
});
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @internal
|
|
220
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
221
|
-
*/
|
|
222
|
-
export namespace CustomerPortalCustomersGetPaymentMethodsResponse$ {
|
|
223
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsResponse$inboundSchema` instead. */
|
|
224
|
-
export const inboundSchema =
|
|
225
|
-
CustomerPortalCustomersGetPaymentMethodsResponse$inboundSchema;
|
|
226
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsResponse$outboundSchema` instead. */
|
|
227
|
-
export const outboundSchema =
|
|
228
|
-
CustomerPortalCustomersGetPaymentMethodsResponse$outboundSchema;
|
|
229
|
-
/** @deprecated use `CustomerPortalCustomersGetPaymentMethodsResponse$Outbound` instead. */
|
|
230
|
-
export type Outbound =
|
|
231
|
-
CustomerPortalCustomersGetPaymentMethodsResponse$Outbound;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
export function customerPortalCustomersGetPaymentMethodsResponseToJSON(
|
|
235
|
-
customerPortalCustomersGetPaymentMethodsResponse:
|
|
236
|
-
CustomerPortalCustomersGetPaymentMethodsResponse,
|
|
237
|
-
): string {
|
|
238
|
-
return JSON.stringify(
|
|
239
|
-
CustomerPortalCustomersGetPaymentMethodsResponse$outboundSchema.parse(
|
|
240
|
-
customerPortalCustomersGetPaymentMethodsResponse,
|
|
241
|
-
),
|
|
242
|
-
);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
export function customerPortalCustomersGetPaymentMethodsResponseFromJSON(
|
|
246
|
-
jsonString: string,
|
|
247
|
-
): SafeParseResult<
|
|
248
|
-
CustomerPortalCustomersGetPaymentMethodsResponse,
|
|
249
|
-
SDKValidationError
|
|
250
|
-
> {
|
|
251
|
-
return safeParse(
|
|
252
|
-
jsonString,
|
|
253
|
-
(x) =>
|
|
254
|
-
CustomerPortalCustomersGetPaymentMethodsResponse$inboundSchema.parse(
|
|
255
|
-
JSON.parse(x),
|
|
256
|
-
),
|
|
257
|
-
`Failed to parse 'CustomerPortalCustomersGetPaymentMethodsResponse' from JSON`,
|
|
258
|
-
);
|
|
259
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest = {
|
|
11
|
-
token: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$inboundSchema:
|
|
16
|
-
z.ZodType<
|
|
17
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest,
|
|
18
|
-
z.ZodTypeDef,
|
|
19
|
-
unknown
|
|
20
|
-
> = z.object({
|
|
21
|
-
token: z.string(),
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
/** @internal */
|
|
25
|
-
export type CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$Outbound =
|
|
26
|
-
{
|
|
27
|
-
token: string;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/** @internal */
|
|
31
|
-
export const CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$outboundSchema:
|
|
32
|
-
z.ZodType<
|
|
33
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$Outbound,
|
|
34
|
-
z.ZodTypeDef,
|
|
35
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest
|
|
36
|
-
> = z.object({
|
|
37
|
-
token: z.string(),
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
-
*/
|
|
44
|
-
export namespace CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$ {
|
|
45
|
-
/** @deprecated use `CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$inboundSchema` instead. */
|
|
46
|
-
export const inboundSchema =
|
|
47
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$inboundSchema;
|
|
48
|
-
/** @deprecated use `CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$outboundSchema` instead. */
|
|
49
|
-
export const outboundSchema =
|
|
50
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$outboundSchema;
|
|
51
|
-
/** @deprecated use `CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$Outbound` instead. */
|
|
52
|
-
export type Outbound =
|
|
53
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$Outbound;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function customerPortalDownloadablesCustomerPortalDownloadablesGetRequestToJSON(
|
|
57
|
-
customerPortalDownloadablesCustomerPortalDownloadablesGetRequest:
|
|
58
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest,
|
|
59
|
-
): string {
|
|
60
|
-
return JSON.stringify(
|
|
61
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$outboundSchema
|
|
62
|
-
.parse(customerPortalDownloadablesCustomerPortalDownloadablesGetRequest),
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function customerPortalDownloadablesCustomerPortalDownloadablesGetRequestFromJSON(
|
|
67
|
-
jsonString: string,
|
|
68
|
-
): SafeParseResult<
|
|
69
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest,
|
|
70
|
-
SDKValidationError
|
|
71
|
-
> {
|
|
72
|
-
return safeParse(
|
|
73
|
-
jsonString,
|
|
74
|
-
(x) =>
|
|
75
|
-
CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest$inboundSchema
|
|
76
|
-
.parse(JSON.parse(x)),
|
|
77
|
-
`Failed to parse 'CustomerPortalDownloadablesCustomerPortalDownloadablesGetRequest' from JSON`,
|
|
78
|
-
);
|
|
79
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import {
|
|
10
|
-
ListResourceOAuth2Client,
|
|
11
|
-
ListResourceOAuth2Client$inboundSchema,
|
|
12
|
-
ListResourceOAuth2Client$Outbound,
|
|
13
|
-
ListResourceOAuth2Client$outboundSchema,
|
|
14
|
-
} from "../components/listresourceoauth2client.js";
|
|
15
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
16
|
-
|
|
17
|
-
export type Oauth2ClientsListRequest = {
|
|
18
|
-
/**
|
|
19
|
-
* Page number, defaults to 1.
|
|
20
|
-
*/
|
|
21
|
-
page?: number | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Size of a page, defaults to 10. Maximum is 100.
|
|
24
|
-
*/
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export type Oauth2ClientsListResponse = {
|
|
29
|
-
result: ListResourceOAuth2Client;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
/** @internal */
|
|
33
|
-
export const Oauth2ClientsListRequest$inboundSchema: z.ZodType<
|
|
34
|
-
Oauth2ClientsListRequest,
|
|
35
|
-
z.ZodTypeDef,
|
|
36
|
-
unknown
|
|
37
|
-
> = z.object({
|
|
38
|
-
page: z.number().int().default(1),
|
|
39
|
-
limit: z.number().int().default(10),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
/** @internal */
|
|
43
|
-
export type Oauth2ClientsListRequest$Outbound = {
|
|
44
|
-
page: number;
|
|
45
|
-
limit: number;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
/** @internal */
|
|
49
|
-
export const Oauth2ClientsListRequest$outboundSchema: z.ZodType<
|
|
50
|
-
Oauth2ClientsListRequest$Outbound,
|
|
51
|
-
z.ZodTypeDef,
|
|
52
|
-
Oauth2ClientsListRequest
|
|
53
|
-
> = z.object({
|
|
54
|
-
page: z.number().int().default(1),
|
|
55
|
-
limit: z.number().int().default(10),
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
-
*/
|
|
62
|
-
export namespace Oauth2ClientsListRequest$ {
|
|
63
|
-
/** @deprecated use `Oauth2ClientsListRequest$inboundSchema` instead. */
|
|
64
|
-
export const inboundSchema = Oauth2ClientsListRequest$inboundSchema;
|
|
65
|
-
/** @deprecated use `Oauth2ClientsListRequest$outboundSchema` instead. */
|
|
66
|
-
export const outboundSchema = Oauth2ClientsListRequest$outboundSchema;
|
|
67
|
-
/** @deprecated use `Oauth2ClientsListRequest$Outbound` instead. */
|
|
68
|
-
export type Outbound = Oauth2ClientsListRequest$Outbound;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function oauth2ClientsListRequestToJSON(
|
|
72
|
-
oauth2ClientsListRequest: Oauth2ClientsListRequest,
|
|
73
|
-
): string {
|
|
74
|
-
return JSON.stringify(
|
|
75
|
-
Oauth2ClientsListRequest$outboundSchema.parse(oauth2ClientsListRequest),
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function oauth2ClientsListRequestFromJSON(
|
|
80
|
-
jsonString: string,
|
|
81
|
-
): SafeParseResult<Oauth2ClientsListRequest, SDKValidationError> {
|
|
82
|
-
return safeParse(
|
|
83
|
-
jsonString,
|
|
84
|
-
(x) => Oauth2ClientsListRequest$inboundSchema.parse(JSON.parse(x)),
|
|
85
|
-
`Failed to parse 'Oauth2ClientsListRequest' from JSON`,
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/** @internal */
|
|
90
|
-
export const Oauth2ClientsListResponse$inboundSchema: z.ZodType<
|
|
91
|
-
Oauth2ClientsListResponse,
|
|
92
|
-
z.ZodTypeDef,
|
|
93
|
-
unknown
|
|
94
|
-
> = z.object({
|
|
95
|
-
Result: ListResourceOAuth2Client$inboundSchema,
|
|
96
|
-
}).transform((v) => {
|
|
97
|
-
return remap$(v, {
|
|
98
|
-
"Result": "result",
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
/** @internal */
|
|
103
|
-
export type Oauth2ClientsListResponse$Outbound = {
|
|
104
|
-
Result: ListResourceOAuth2Client$Outbound;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
/** @internal */
|
|
108
|
-
export const Oauth2ClientsListResponse$outboundSchema: z.ZodType<
|
|
109
|
-
Oauth2ClientsListResponse$Outbound,
|
|
110
|
-
z.ZodTypeDef,
|
|
111
|
-
Oauth2ClientsListResponse
|
|
112
|
-
> = z.object({
|
|
113
|
-
result: ListResourceOAuth2Client$outboundSchema,
|
|
114
|
-
}).transform((v) => {
|
|
115
|
-
return remap$(v, {
|
|
116
|
-
result: "Result",
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
123
|
-
*/
|
|
124
|
-
export namespace Oauth2ClientsListResponse$ {
|
|
125
|
-
/** @deprecated use `Oauth2ClientsListResponse$inboundSchema` instead. */
|
|
126
|
-
export const inboundSchema = Oauth2ClientsListResponse$inboundSchema;
|
|
127
|
-
/** @deprecated use `Oauth2ClientsListResponse$outboundSchema` instead. */
|
|
128
|
-
export const outboundSchema = Oauth2ClientsListResponse$outboundSchema;
|
|
129
|
-
/** @deprecated use `Oauth2ClientsListResponse$Outbound` instead. */
|
|
130
|
-
export type Outbound = Oauth2ClientsListResponse$Outbound;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export function oauth2ClientsListResponseToJSON(
|
|
134
|
-
oauth2ClientsListResponse: Oauth2ClientsListResponse,
|
|
135
|
-
): string {
|
|
136
|
-
return JSON.stringify(
|
|
137
|
-
Oauth2ClientsListResponse$outboundSchema.parse(oauth2ClientsListResponse),
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export function oauth2ClientsListResponseFromJSON(
|
|
142
|
-
jsonString: string,
|
|
143
|
-
): SafeParseResult<Oauth2ClientsListResponse, SDKValidationError> {
|
|
144
|
-
return safeParse(
|
|
145
|
-
jsonString,
|
|
146
|
-
(x) => Oauth2ClientsListResponse$inboundSchema.parse(JSON.parse(x)),
|
|
147
|
-
`Failed to parse 'Oauth2ClientsListResponse' from JSON`,
|
|
148
|
-
);
|
|
149
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
export type Oauth2ClientsOauth2DeleteClientRequest = {
|
|
12
|
-
clientId: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const Oauth2ClientsOauth2DeleteClientRequest$inboundSchema: z.ZodType<
|
|
17
|
-
Oauth2ClientsOauth2DeleteClientRequest,
|
|
18
|
-
z.ZodTypeDef,
|
|
19
|
-
unknown
|
|
20
|
-
> = z.object({
|
|
21
|
-
client_id: z.string(),
|
|
22
|
-
}).transform((v) => {
|
|
23
|
-
return remap$(v, {
|
|
24
|
-
"client_id": "clientId",
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type Oauth2ClientsOauth2DeleteClientRequest$Outbound = {
|
|
30
|
-
client_id: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const Oauth2ClientsOauth2DeleteClientRequest$outboundSchema: z.ZodType<
|
|
35
|
-
Oauth2ClientsOauth2DeleteClientRequest$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
Oauth2ClientsOauth2DeleteClientRequest
|
|
38
|
-
> = z.object({
|
|
39
|
-
clientId: z.string(),
|
|
40
|
-
}).transform((v) => {
|
|
41
|
-
return remap$(v, {
|
|
42
|
-
clientId: "client_id",
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace Oauth2ClientsOauth2DeleteClientRequest$ {
|
|
51
|
-
/** @deprecated use `Oauth2ClientsOauth2DeleteClientRequest$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema =
|
|
53
|
-
Oauth2ClientsOauth2DeleteClientRequest$inboundSchema;
|
|
54
|
-
/** @deprecated use `Oauth2ClientsOauth2DeleteClientRequest$outboundSchema` instead. */
|
|
55
|
-
export const outboundSchema =
|
|
56
|
-
Oauth2ClientsOauth2DeleteClientRequest$outboundSchema;
|
|
57
|
-
/** @deprecated use `Oauth2ClientsOauth2DeleteClientRequest$Outbound` instead. */
|
|
58
|
-
export type Outbound = Oauth2ClientsOauth2DeleteClientRequest$Outbound;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function oauth2ClientsOauth2DeleteClientRequestToJSON(
|
|
62
|
-
oauth2ClientsOauth2DeleteClientRequest:
|
|
63
|
-
Oauth2ClientsOauth2DeleteClientRequest,
|
|
64
|
-
): string {
|
|
65
|
-
return JSON.stringify(
|
|
66
|
-
Oauth2ClientsOauth2DeleteClientRequest$outboundSchema.parse(
|
|
67
|
-
oauth2ClientsOauth2DeleteClientRequest,
|
|
68
|
-
),
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function oauth2ClientsOauth2DeleteClientRequestFromJSON(
|
|
73
|
-
jsonString: string,
|
|
74
|
-
): SafeParseResult<Oauth2ClientsOauth2DeleteClientRequest, SDKValidationError> {
|
|
75
|
-
return safeParse(
|
|
76
|
-
jsonString,
|
|
77
|
-
(x) =>
|
|
78
|
-
Oauth2ClientsOauth2DeleteClientRequest$inboundSchema.parse(JSON.parse(x)),
|
|
79
|
-
`Failed to parse 'Oauth2ClientsOauth2DeleteClientRequest' from JSON`,
|
|
80
|
-
);
|
|
81
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
export type Oauth2ClientsOauth2GetClientRequest = {
|
|
12
|
-
clientId: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const Oauth2ClientsOauth2GetClientRequest$inboundSchema: z.ZodType<
|
|
17
|
-
Oauth2ClientsOauth2GetClientRequest,
|
|
18
|
-
z.ZodTypeDef,
|
|
19
|
-
unknown
|
|
20
|
-
> = z.object({
|
|
21
|
-
client_id: z.string(),
|
|
22
|
-
}).transform((v) => {
|
|
23
|
-
return remap$(v, {
|
|
24
|
-
"client_id": "clientId",
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type Oauth2ClientsOauth2GetClientRequest$Outbound = {
|
|
30
|
-
client_id: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const Oauth2ClientsOauth2GetClientRequest$outboundSchema: z.ZodType<
|
|
35
|
-
Oauth2ClientsOauth2GetClientRequest$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
Oauth2ClientsOauth2GetClientRequest
|
|
38
|
-
> = z.object({
|
|
39
|
-
clientId: z.string(),
|
|
40
|
-
}).transform((v) => {
|
|
41
|
-
return remap$(v, {
|
|
42
|
-
clientId: "client_id",
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace Oauth2ClientsOauth2GetClientRequest$ {
|
|
51
|
-
/** @deprecated use `Oauth2ClientsOauth2GetClientRequest$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema =
|
|
53
|
-
Oauth2ClientsOauth2GetClientRequest$inboundSchema;
|
|
54
|
-
/** @deprecated use `Oauth2ClientsOauth2GetClientRequest$outboundSchema` instead. */
|
|
55
|
-
export const outboundSchema =
|
|
56
|
-
Oauth2ClientsOauth2GetClientRequest$outboundSchema;
|
|
57
|
-
/** @deprecated use `Oauth2ClientsOauth2GetClientRequest$Outbound` instead. */
|
|
58
|
-
export type Outbound = Oauth2ClientsOauth2GetClientRequest$Outbound;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function oauth2ClientsOauth2GetClientRequestToJSON(
|
|
62
|
-
oauth2ClientsOauth2GetClientRequest: Oauth2ClientsOauth2GetClientRequest,
|
|
63
|
-
): string {
|
|
64
|
-
return JSON.stringify(
|
|
65
|
-
Oauth2ClientsOauth2GetClientRequest$outboundSchema.parse(
|
|
66
|
-
oauth2ClientsOauth2GetClientRequest,
|
|
67
|
-
),
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function oauth2ClientsOauth2GetClientRequestFromJSON(
|
|
72
|
-
jsonString: string,
|
|
73
|
-
): SafeParseResult<Oauth2ClientsOauth2GetClientRequest, SDKValidationError> {
|
|
74
|
-
return safeParse(
|
|
75
|
-
jsonString,
|
|
76
|
-
(x) =>
|
|
77
|
-
Oauth2ClientsOauth2GetClientRequest$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
-
`Failed to parse 'Oauth2ClientsOauth2GetClientRequest' from JSON`,
|
|
79
|
-
);
|
|
80
|
-
}
|