@flexprice/mcp-server 2.1.20 → 2.1.25
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/bin/mcp-server.js +5454 -3805
- package/bin/mcp-server.js.map +188 -139
- package/bun.lock +46 -39
- package/esm/funcs/customersGetCustomerEntitlementsByExternalID.d.ts +16 -0
- package/esm/funcs/customersGetCustomerEntitlementsByExternalID.d.ts.map +1 -0
- package/esm/funcs/customersGetCustomerEntitlementsByExternalID.js +87 -0
- package/esm/funcs/customersGetCustomerEntitlementsByExternalID.js.map +1 -0
- package/esm/funcs/customersGetSubscriptionsForCustomer.d.ts +16 -0
- package/esm/funcs/customersGetSubscriptionsForCustomer.d.ts.map +1 -0
- package/esm/funcs/customersGetSubscriptionsForCustomer.js +91 -0
- package/esm/funcs/customersGetSubscriptionsForCustomer.js.map +1 -0
- package/esm/funcs/eventsGetEvent.d.ts +1 -1
- package/esm/funcs/eventsGetEvent.js +7 -9
- package/esm/funcs/eventsGetEvent.js.map +1 -1
- package/esm/funcs/eventsGetHuggingfaceInferenceData.d.ts +3 -2
- package/esm/funcs/eventsGetHuggingfaceInferenceData.d.ts.map +1 -1
- package/esm/funcs/eventsGetHuggingfaceInferenceData.js +15 -4
- package/esm/funcs/eventsGetHuggingfaceInferenceData.js.map +1 -1
- package/esm/funcs/invoicesGetInvoice.js +1 -0
- package/esm/funcs/invoicesGetInvoice.js.map +1 -1
- package/esm/funcs/invoicesUpdateInvoice.d.ts +1 -1
- package/esm/funcs/invoicesUpdateInvoice.js +1 -1
- package/esm/funcs/subscriptionsAddSubscriptionAddon.d.ts +3 -0
- package/esm/funcs/subscriptionsAddSubscriptionAddon.d.ts.map +1 -1
- package/esm/funcs/subscriptionsAddSubscriptionAddon.js +3 -0
- package/esm/funcs/subscriptionsAddSubscriptionAddon.js.map +1 -1
- package/esm/funcs/subscriptionsExecuteSubscriptionModify.d.ts +1 -1
- package/esm/funcs/subscriptionsExecuteSubscriptionModify.js +1 -1
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts +22 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts.map +1 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.js +94 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.js.map +1 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionModify.d.ts +1 -1
- package/esm/funcs/subscriptionsPreviewSubscriptionModify.js +1 -1
- package/esm/funcs/subscriptionsPreviewSubscriptionPlanChangeV2.d.ts +16 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionPlanChangeV2.d.ts.map +1 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionPlanChangeV2.js +88 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionPlanChangeV2.js.map +1 -0
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.d.ts +3 -0
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.d.ts.map +1 -1
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.js +3 -0
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/http.d.ts +1 -1
- package/esm/lib/http.d.ts.map +1 -1
- package/esm/lib/http.js +1 -1
- package/esm/lib/http.js.map +1 -1
- package/esm/lib/security.d.ts +5 -4
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +4 -5
- package/esm/lib/security.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +10 -2
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerEntitlementsByExternalID.d.ts +7 -0
- package/esm/mcp-server/tools/customersGetCustomerEntitlementsByExternalID.d.ts.map +1 -0
- package/esm/mcp-server/tools/customersGetCustomerEntitlementsByExternalID.js +35 -0
- package/esm/mcp-server/tools/customersGetCustomerEntitlementsByExternalID.js.map +1 -0
- package/esm/mcp-server/tools/customersGetSubscriptionsForCustomer.d.ts +7 -0
- package/esm/mcp-server/tools/customersGetSubscriptionsForCustomer.d.ts.map +1 -0
- package/esm/mcp-server/tools/customersGetSubscriptionsForCustomer.js +35 -0
- package/esm/mcp-server/tools/customersGetSubscriptionsForCustomer.js.map +1 -0
- package/esm/mcp-server/tools/eventsGetEvent.js +1 -1
- package/esm/mcp-server/tools/eventsGetEvent.js.map +1 -1
- package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.d.ts +5 -1
- package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js +8 -3
- package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js.map +1 -1
- package/esm/mcp-server/tools/invoicesUpdateInvoice.js +1 -1
- package/esm/mcp-server/tools/invoicesUpdateInvoice.js.map +1 -1
- package/esm/mcp-server/tools/subscriptionsAddSubscriptionAddon.d.ts.map +1 -1
- package/esm/mcp-server/tools/subscriptionsAddSubscriptionAddon.js +1 -0
- package/esm/mcp-server/tools/subscriptionsAddSubscriptionAddon.js.map +1 -1
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionModify.js +1 -1
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionModify.js.map +1 -1
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.js +41 -0
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionModify.js +1 -1
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionModify.js.map +1 -1
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionPlanChangeV2.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionPlanChangeV2.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionPlanChangeV2.js +35 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionPlanChangeV2.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.d.ts.map +1 -1
- package/esm/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.js +1 -0
- package/esm/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.js.map +1 -1
- package/esm/mcp-server/tools.d.ts.map +1 -1
- package/esm/mcp-server/tools.js +2 -0
- package/esm/mcp-server/tools.js.map +1 -1
- package/esm/models/addaddonparams.d.ts +8 -0
- package/esm/models/addaddonparams.d.ts.map +1 -0
- package/esm/models/addaddonparams.js +10 -0
- package/esm/models/addaddonparams.js.map +1 -0
- package/esm/models/addaddonref.d.ts +12 -0
- package/esm/models/addaddonref.d.ts.map +1 -0
- package/esm/models/addaddonref.js +14 -0
- package/esm/models/addaddonref.js.map +1 -0
- package/esm/models/addaddonrequest.d.ts +4 -0
- package/esm/models/addaddonrequest.d.ts.map +1 -1
- package/esm/models/addaddonrequest.js +5 -0
- package/esm/models/addaddonrequest.js.map +1 -1
- package/esm/models/addaddontosubscriptionrequest.d.ts +2 -0
- package/esm/models/addaddontosubscriptionrequest.d.ts.map +1 -1
- package/esm/models/addaddontosubscriptionrequest.js +3 -0
- package/esm/models/addaddontosubscriptionrequest.js.map +1 -1
- package/esm/models/addaddontosubscriptionresponse.d.ts +31 -0
- package/esm/models/addaddontosubscriptionresponse.d.ts.map +1 -0
- package/esm/models/addaddontosubscriptionresponse.js +31 -0
- package/esm/models/addaddontosubscriptionresponse.js.map +1 -0
- package/esm/models/addonresponse.d.ts +2 -0
- package/esm/models/addonresponse.d.ts.map +1 -1
- package/esm/models/addonresponse.js +2 -0
- package/esm/models/addonresponse.js.map +1 -1
- package/esm/models/addonstatus.d.ts +1 -1
- package/esm/models/addsubscriptionaddonop.d.ts +2 -2
- package/esm/models/addsubscriptionaddonop.d.ts.map +1 -1
- package/esm/models/addsubscriptionaddonop.js +2 -2
- package/esm/models/addsubscriptionaddonop.js.map +1 -1
- package/esm/models/aggregatedentitlement.d.ts +9 -0
- package/esm/models/aggregatedentitlement.d.ts.map +1 -1
- package/esm/models/aggregatedentitlement.js +7 -1
- package/esm/models/aggregatedentitlement.js.map +1 -1
- package/esm/models/aggregatedentitlementbucket.d.ts +14 -0
- package/esm/models/aggregatedentitlementbucket.d.ts.map +1 -0
- package/esm/models/aggregatedentitlementbucket.js +16 -0
- package/esm/models/aggregatedentitlementbucket.js.map +1 -0
- package/esm/models/alertthreshold.d.ts +1 -1
- package/esm/models/alertthreshold.js +1 -1
- package/esm/models/applicationstatus.d.ts +3 -3
- package/esm/models/autotopup.d.ts +7 -0
- package/esm/models/autotopup.d.ts.map +1 -1
- package/esm/models/autotopup.js +7 -0
- package/esm/models/autotopup.js.map +1 -1
- package/esm/models/checkoutaction.d.ts +16 -0
- package/esm/models/checkoutaction.d.ts.map +1 -0
- package/esm/models/checkoutaction.js +17 -0
- package/esm/models/checkoutaction.js.map +1 -0
- package/esm/models/checkoutjsonbcheckoutconfiguration.d.ts +13 -0
- package/esm/models/checkoutjsonbcheckoutconfiguration.d.ts.map +1 -0
- package/esm/models/checkoutjsonbcheckoutconfiguration.js +15 -0
- package/esm/models/checkoutjsonbcheckoutconfiguration.js.map +1 -0
- package/esm/models/checkoutjsonbcheckoutpaymentproviderconfig.d.ts +10 -0
- package/esm/models/checkoutjsonbcheckoutpaymentproviderconfig.d.ts.map +1 -0
- package/esm/models/checkoutjsonbcheckoutpaymentproviderconfig.js +12 -0
- package/esm/models/checkoutjsonbcheckoutpaymentproviderconfig.js.map +1 -0
- package/esm/models/checkoutjsonbcheckoutproviderresult.d.ts +13 -0
- package/esm/models/checkoutjsonbcheckoutproviderresult.d.ts.map +1 -0
- package/esm/models/checkoutjsonbcheckoutproviderresult.js +13 -0
- package/esm/models/checkoutjsonbcheckoutproviderresult.js.map +1 -0
- package/esm/models/checkoutjsonbcheckoutresult.d.ts +7 -0
- package/esm/models/checkoutjsonbcheckoutresult.d.ts.map +1 -0
- package/esm/models/checkoutjsonbcheckoutresult.js +9 -0
- package/esm/models/checkoutjsonbcheckoutresult.js.map +1 -0
- package/esm/models/checkoutparams.d.ts +16 -0
- package/esm/models/checkoutparams.d.ts.map +1 -0
- package/esm/models/checkoutparams.js +16 -0
- package/esm/models/checkoutparams.js.map +1 -0
- package/esm/models/checkoutpaymentprovider.d.ts +10 -0
- package/esm/models/checkoutpaymentprovider.d.ts.map +1 -0
- package/esm/models/checkoutpaymentprovider.js +11 -0
- package/esm/models/checkoutpaymentprovider.js.map +1 -0
- package/esm/models/checkoutpaymentproviderconfig.d.ts +10 -0
- package/esm/models/checkoutpaymentproviderconfig.d.ts.map +1 -0
- package/esm/models/checkoutpaymentproviderconfig.js +12 -0
- package/esm/models/checkoutpaymentproviderconfig.js.map +1 -0
- package/esm/models/checkoutsessionresponse.d.ts +44 -0
- package/esm/models/checkoutsessionresponse.d.ts.map +1 -0
- package/esm/models/checkoutsessionresponse.js +45 -0
- package/esm/models/checkoutsessionresponse.js.map +1 -0
- package/esm/models/checkoutstatus.d.ts +18 -0
- package/esm/models/checkoutstatus.d.ts.map +1 -0
- package/esm/models/checkoutstatus.js +19 -0
- package/esm/models/checkoutstatus.js.map +1 -0
- package/esm/models/couponassociationresponse.d.ts +4 -2
- package/esm/models/couponassociationresponse.d.ts.map +1 -1
- package/esm/models/couponassociationresponse.js +4 -2
- package/esm/models/couponassociationresponse.js.map +1 -1
- package/esm/models/{coupon.d.ts → couponresponse.d.ts} +3 -3
- package/esm/models/couponresponse.d.ts.map +1 -0
- package/esm/models/{coupon.js → couponresponse.js} +2 -2
- package/esm/models/couponresponse.js.map +1 -0
- package/esm/models/createcreditgrantrequest.d.ts +1 -0
- package/esm/models/createcreditgrantrequest.d.ts.map +1 -1
- package/esm/models/createcreditgrantrequest.js +1 -0
- package/esm/models/createcreditgrantrequest.js.map +1 -1
- package/esm/models/createcustomerrequest.d.ts +4 -1
- package/esm/models/createcustomerrequest.d.ts.map +1 -1
- package/esm/models/createcustomerrequest.js +4 -1
- package/esm/models/createcustomerrequest.js.map +1 -1
- package/esm/models/createinvoicerequest.d.ts +1 -0
- package/esm/models/createinvoicerequest.d.ts.map +1 -1
- package/esm/models/createinvoicerequest.js +1 -0
- package/esm/models/createinvoicerequest.js.map +1 -1
- package/esm/models/createsubscriptionparams.d.ts +16 -0
- package/esm/models/createsubscriptionparams.d.ts.map +1 -0
- package/esm/models/createsubscriptionparams.js +16 -0
- package/esm/models/createsubscriptionparams.js.map +1 -0
- package/esm/models/createsubscriptionrequest.d.ts +3 -1
- package/esm/models/createsubscriptionrequest.d.ts.map +1 -1
- package/esm/models/createsubscriptionrequest.js +19 -18
- package/esm/models/createsubscriptionrequest.js.map +1 -1
- package/esm/models/createsubscriptionresult.d.ts +8 -0
- package/esm/models/createsubscriptionresult.d.ts.map +1 -0
- package/esm/models/createsubscriptionresult.js +10 -0
- package/esm/models/createsubscriptionresult.js.map +1 -0
- package/esm/models/creditgrantresponse.d.ts +1 -0
- package/esm/models/creditgrantresponse.d.ts.map +1 -1
- package/esm/models/creditgrantresponse.js +1 -0
- package/esm/models/creditgrantresponse.js.map +1 -1
- package/esm/models/creditgrantscope.d.ts +2 -0
- package/esm/models/creditgrantscope.d.ts.map +1 -1
- package/esm/models/creditgrantscope.js +2 -0
- package/esm/models/creditgrantscope.js.map +1 -1
- package/esm/models/customer.d.ts +2 -0
- package/esm/models/customer.d.ts.map +1 -1
- package/esm/models/customer.js +2 -0
- package/esm/models/customer.js.map +1 -1
- package/esm/models/customerentitlementsresponse.d.ts +2 -0
- package/esm/models/customerentitlementsresponse.d.ts.map +1 -1
- package/esm/models/customerentitlementsresponse.js +2 -0
- package/esm/models/customerentitlementsresponse.js.map +1 -1
- package/esm/models/customerresponse.d.ts +2 -0
- package/esm/models/customerresponse.d.ts.map +1 -1
- package/esm/models/customerresponse.js +2 -0
- package/esm/models/customerresponse.js.map +1 -1
- package/esm/models/durationunit.d.ts +16 -0
- package/esm/models/durationunit.d.ts.map +1 -0
- package/esm/models/durationunit.js +17 -0
- package/esm/models/durationunit.js.map +1 -0
- package/esm/models/entitlementaggregationmode.d.ts +12 -0
- package/esm/models/entitlementaggregationmode.d.ts.map +1 -0
- package/esm/models/entitlementaggregationmode.js +13 -0
- package/esm/models/entitlementaggregationmode.js.map +1 -0
- package/esm/models/entitlementgrantallocationbehavior.d.ts +12 -0
- package/esm/models/entitlementgrantallocationbehavior.d.ts.map +1 -0
- package/esm/models/entitlementgrantallocationbehavior.js +13 -0
- package/esm/models/entitlementgrantallocationbehavior.js.map +1 -0
- package/esm/models/entitlementgrantdurationunit.d.ts +16 -0
- package/esm/models/entitlementgrantdurationunit.d.ts.map +1 -0
- package/esm/models/entitlementgrantdurationunit.js +17 -0
- package/esm/models/entitlementgrantdurationunit.js.map +1 -0
- package/esm/models/entitlementgrantmeasure.d.ts +12 -0
- package/esm/models/entitlementgrantmeasure.d.ts.map +1 -0
- package/esm/models/entitlementgrantmeasure.js +13 -0
- package/esm/models/entitlementgrantmeasure.js.map +1 -0
- package/esm/models/entitlementresponse.d.ts +13 -0
- package/esm/models/entitlementresponse.d.ts.map +1 -1
- package/esm/models/entitlementresponse.js +12 -0
- package/esm/models/entitlementresponse.js.map +1 -1
- package/esm/models/entitlementsource.d.ts +3 -0
- package/esm/models/entitlementsource.d.ts.map +1 -1
- package/esm/models/entitlementsource.js +1 -0
- package/esm/models/entitlementsource.js.map +1 -1
- package/esm/models/entitychangebehaviour.d.ts +12 -0
- package/esm/models/entitychangebehaviour.d.ts.map +1 -0
- package/esm/models/entitychangebehaviour.js +13 -0
- package/esm/models/entitychangebehaviour.js.map +1 -0
- package/esm/models/entitychangepolicy.d.ts +10 -0
- package/esm/models/entitychangepolicy.d.ts.map +1 -0
- package/esm/models/entitychangepolicy.js +12 -0
- package/esm/models/entitychangepolicy.js.map +1 -0
- package/esm/models/entitychangeresult.d.ts +11 -0
- package/esm/models/entitychangeresult.d.ts.map +1 -0
- package/esm/models/entitychangeresult.js +14 -0
- package/esm/models/entitychangeresult.js.map +1 -0
- package/esm/models/errorcode.d.ts +2 -0
- package/esm/models/errorcode.d.ts.map +1 -1
- package/esm/models/errorcode.js +2 -0
- package/esm/models/errorcode.js.map +1 -1
- package/esm/models/executesubscriptionmodifyrequest.d.ts +4 -0
- package/esm/models/executesubscriptionmodifyrequest.d.ts.map +1 -1
- package/esm/models/executesubscriptionmodifyrequest.js +4 -0
- package/esm/models/executesubscriptionmodifyrequest.js.map +1 -1
- package/esm/models/executesubscriptionplanchangev2op.d.ts +12 -0
- package/esm/models/executesubscriptionplanchangev2op.d.ts.map +1 -0
- package/esm/models/executesubscriptionplanchangev2op.js +16 -0
- package/esm/models/executesubscriptionplanchangev2op.js.map +1 -0
- package/esm/models/featuretype.d.ts +2 -0
- package/esm/models/featuretype.d.ts.map +1 -1
- package/esm/models/featuretype.js +2 -0
- package/esm/models/featuretype.js.map +1 -1
- package/esm/models/filteroperatortype.d.ts +2 -0
- package/esm/models/filteroperatortype.d.ts.map +1 -1
- package/esm/models/filteroperatortype.js +2 -0
- package/esm/models/filteroperatortype.js.map +1 -1
- package/esm/models/getcustomerentitlementsbyexternalidop.d.ts +10 -0
- package/esm/models/getcustomerentitlementsbyexternalidop.d.ts.map +1 -0
- package/esm/models/getcustomerentitlementsbyexternalidop.js +14 -0
- package/esm/models/getcustomerentitlementsbyexternalidop.js.map +1 -0
- package/esm/models/gethuggingfacebillingdatarequest.d.ts +6 -0
- package/esm/models/gethuggingfacebillingdatarequest.d.ts.map +1 -0
- package/esm/models/gethuggingfacebillingdatarequest.js +8 -0
- package/esm/models/gethuggingfacebillingdatarequest.js.map +1 -0
- package/esm/models/getinvoiceop.d.ts +1 -0
- package/esm/models/getinvoiceop.d.ts.map +1 -1
- package/esm/models/getinvoiceop.js +1 -0
- package/esm/models/getinvoiceop.js.map +1 -1
- package/esm/models/getsubscriptionsforcustomerop.d.ts +11 -0
- package/esm/models/getsubscriptionsforcustomerop.d.ts.map +1 -0
- package/esm/models/getsubscriptionsforcustomerop.js +15 -0
- package/esm/models/getsubscriptionsforcustomerop.js.map +1 -0
- package/esm/models/getusageanalyticsresponse.d.ts +2 -0
- package/esm/models/getusageanalyticsresponse.d.ts.map +1 -1
- package/esm/models/getusageanalyticsresponse.js +3 -1
- package/esm/models/getusageanalyticsresponse.js.map +1 -1
- package/esm/models/getusagebymeterrequest.d.ts +1 -0
- package/esm/models/getusagebymeterrequest.d.ts.map +1 -1
- package/esm/models/getusagebymeterrequest.js +1 -0
- package/esm/models/getusagebymeterrequest.js.map +1 -1
- package/esm/models/getusagerequest.d.ts +1 -0
- package/esm/models/getusagerequest.d.ts.map +1 -1
- package/esm/models/getusagerequest.js +1 -0
- package/esm/models/getusagerequest.js.map +1 -1
- package/esm/models/groupedinvoicingchildrequest.d.ts +37 -0
- package/esm/models/groupedinvoicingchildrequest.d.ts.map +1 -0
- package/esm/models/groupedinvoicingchildrequest.js +40 -0
- package/esm/models/groupedinvoicingchildrequest.js.map +1 -0
- package/esm/models/integrationentitytype.d.ts +4 -0
- package/esm/models/integrationentitytype.d.ts.map +1 -1
- package/esm/models/integrationentitytype.js +4 -0
- package/esm/models/integrationentitytype.js.map +1 -1
- package/esm/models/invoicelineitemcoupon.d.ts +1 -0
- package/esm/models/invoicelineitemcoupon.d.ts.map +1 -1
- package/esm/models/invoicelineitemcoupon.js +1 -0
- package/esm/models/invoicelineitemcoupon.js.map +1 -1
- package/esm/models/invoicelineitemresponse.d.ts +1 -0
- package/esm/models/invoicelineitemresponse.d.ts.map +1 -1
- package/esm/models/invoicelineitemresponse.js +1 -0
- package/esm/models/invoicelineitemresponse.js.map +1 -1
- package/esm/models/invoiceresponse.d.ts +1 -0
- package/esm/models/invoiceresponse.d.ts.map +1 -1
- package/esm/models/invoiceresponse.js +1 -0
- package/esm/models/invoiceresponse.js.map +1 -1
- package/esm/models/lineitemcommitmentconfig.d.ts.map +1 -1
- package/esm/models/lineitemcommitmentconfig.js +6 -6
- package/esm/models/lineitemcommitmentconfig.js.map +1 -1
- package/esm/models/lineitemquantitychange.d.ts +1 -1
- package/esm/models/lineitemquantitychange.d.ts.map +1 -1
- package/esm/models/lineitemquantitychange.js +1 -1
- package/esm/models/lineitemquantitychange.js.map +1 -1
- package/esm/models/modifysubscriptionlineitem.d.ts +8 -0
- package/esm/models/modifysubscriptionlineitem.d.ts.map +1 -0
- package/esm/models/modifysubscriptionlineitem.js +10 -0
- package/esm/models/modifysubscriptionlineitem.js.map +1 -0
- package/esm/models/modifysubscriptionparams.d.ts +8 -0
- package/esm/models/modifysubscriptionparams.d.ts.map +1 -0
- package/esm/models/modifysubscriptionparams.js +11 -0
- package/esm/models/modifysubscriptionparams.js.map +1 -0
- package/esm/models/overrideentitlementrequest.d.ts +3 -0
- package/esm/models/overrideentitlementrequest.d.ts.map +1 -1
- package/esm/models/overrideentitlementrequest.js +1 -0
- package/esm/models/overrideentitlementrequest.js.map +1 -1
- package/esm/models/pausestatus.d.ts +2 -2
- package/esm/models/paymentaction.d.ts +8 -0
- package/esm/models/paymentaction.d.ts.map +1 -0
- package/esm/models/paymentaction.js +10 -0
- package/esm/models/paymentaction.js.map +1 -0
- package/esm/models/paymentactiontype.d.ts +12 -0
- package/esm/models/paymentactiontype.d.ts.map +1 -0
- package/esm/models/paymentactiontype.js +13 -0
- package/esm/models/paymentactiontype.js.map +1 -0
- package/esm/models/paymentmethodtype.d.ts +20 -0
- package/esm/models/paymentmethodtype.d.ts.map +1 -0
- package/esm/models/paymentmethodtype.js +21 -0
- package/esm/models/paymentmethodtype.js.map +1 -0
- package/esm/models/paymentstatus.d.ts +2 -0
- package/esm/models/paymentstatus.d.ts.map +1 -1
- package/esm/models/paymentstatus.js +2 -0
- package/esm/models/paymentstatus.js.map +1 -1
- package/esm/models/previewsubscriptionplanchangev2op.d.ts +12 -0
- package/esm/models/previewsubscriptionplanchangev2op.d.ts.map +1 -0
- package/esm/models/previewsubscriptionplanchangev2op.js +16 -0
- package/esm/models/previewsubscriptionplanchangev2op.js.map +1 -0
- package/esm/models/removeaddonrequest.js +1 -1
- package/esm/models/removeaddonrequest.js.map +1 -1
- package/esm/models/schedulestatus.d.ts +1 -1
- package/esm/models/submodifyaddonparams.d.ts +11 -0
- package/esm/models/submodifyaddonparams.d.ts.map +1 -0
- package/esm/models/submodifyaddonparams.js +14 -0
- package/esm/models/submodifyaddonparams.js.map +1 -0
- package/esm/models/subscriptionchangeentitypolicies.d.ts +7 -0
- package/esm/models/subscriptionchangeentitypolicies.d.ts.map +1 -0
- package/esm/models/subscriptionchangeentitypolicies.js +9 -0
- package/esm/models/subscriptionchangeentitypolicies.js.map +1 -0
- package/esm/models/subscriptionchangev2request.d.ts +16 -0
- package/esm/models/subscriptionchangev2request.d.ts.map +1 -0
- package/esm/models/subscriptionchangev2request.js +16 -0
- package/esm/models/subscriptionchangev2request.js.map +1 -0
- package/esm/models/subscriptionchangev2response.d.ts +24 -0
- package/esm/models/subscriptionchangev2response.d.ts.map +1 -0
- package/esm/models/subscriptionchangev2response.js +24 -0
- package/esm/models/subscriptionchangev2response.js.map +1 -0
- package/esm/models/subscriptioncouponinput.d.ts.map +1 -1
- package/esm/models/subscriptioncouponinput.js +4 -4
- package/esm/models/subscriptioncouponinput.js.map +1 -1
- package/esm/models/subscriptionfilter.d.ts +1 -0
- package/esm/models/subscriptionfilter.d.ts.map +1 -1
- package/esm/models/subscriptionfilter.js +2 -1
- package/esm/models/subscriptionfilter.js.map +1 -1
- package/esm/models/subscriptioninheritanceconfig.d.ts +2 -0
- package/esm/models/subscriptioninheritanceconfig.d.ts.map +1 -1
- package/esm/models/subscriptioninheritanceconfig.js +6 -4
- package/esm/models/subscriptioninheritanceconfig.js.map +1 -1
- package/esm/models/subscriptionlineitemfilter.d.ts +1 -0
- package/esm/models/subscriptionlineitemfilter.d.ts.map +1 -1
- package/esm/models/subscriptionlineitemfilter.js +2 -1
- package/esm/models/subscriptionlineitemfilter.js.map +1 -1
- package/esm/models/subscriptionlineitemresponse.d.ts +2 -0
- package/esm/models/subscriptionlineitemresponse.d.ts.map +1 -1
- package/esm/models/subscriptionlineitemresponse.js +2 -0
- package/esm/models/subscriptionlineitemresponse.js.map +1 -1
- package/esm/models/subscriptionmodificationaction.d.ts +12 -0
- package/esm/models/subscriptionmodificationaction.d.ts.map +1 -0
- package/esm/models/subscriptionmodificationaction.js +13 -0
- package/esm/models/subscriptionmodificationaction.js.map +1 -0
- package/esm/models/subscriptionmodifyresponse.d.ts +2 -0
- package/esm/models/subscriptionmodifyresponse.d.ts.map +1 -1
- package/esm/models/subscriptionmodifyresponse.js +2 -0
- package/esm/models/subscriptionmodifyresponse.js.map +1 -1
- package/esm/models/subscriptionmodifytype.d.ts +2 -0
- package/esm/models/subscriptionmodifytype.d.ts.map +1 -1
- package/esm/models/subscriptionmodifytype.js +2 -0
- package/esm/models/subscriptionmodifytype.js.map +1 -1
- package/esm/models/subscriptionphasecreaterequest.js +2 -2
- package/esm/models/subscriptionphasecreaterequest.js.map +1 -1
- package/esm/models/subscriptionresponse.d.ts +5 -1
- package/esm/models/subscriptionresponse.d.ts.map +1 -1
- package/esm/models/subscriptionresponse.js +5 -1
- package/esm/models/subscriptionresponse.js.map +1 -1
- package/esm/models/subscriptionresponsev2.d.ts +1 -1
- package/esm/models/subscriptionresponsev2.d.ts.map +1 -1
- package/esm/models/subscriptionresponsev2.js +1 -1
- package/esm/models/subscriptionresponsev2.js.map +1 -1
- package/esm/models/subscriptionstatus.d.ts +1 -1
- package/esm/models/subscriptionsubscriptionlineitem.d.ts +2 -0
- package/esm/models/subscriptionsubscriptionlineitem.d.ts.map +1 -1
- package/esm/models/subscriptionsubscriptionlineitem.js +2 -0
- package/esm/models/subscriptionsubscriptionlineitem.js.map +1 -1
- package/esm/models/transactionreason.d.ts +2 -0
- package/esm/models/transactionreason.d.ts.map +1 -1
- package/esm/models/transactionreason.js +2 -0
- package/esm/models/transactionreason.js.map +1 -1
- package/esm/models/transactionstatus.d.ts +1 -1
- package/esm/models/updatecustomerrequest.d.ts +2 -0
- package/esm/models/updatecustomerrequest.d.ts.map +1 -1
- package/esm/models/updatecustomerrequest.js +2 -0
- package/esm/models/updatecustomerrequest.js.map +1 -1
- package/esm/models/updateinvoicerequest.d.ts +1 -0
- package/esm/models/updateinvoicerequest.d.ts.map +1 -1
- package/esm/models/updateinvoicerequest.js +1 -0
- package/esm/models/updateinvoicerequest.js.map +1 -1
- package/esm/models/usageanalyticitem.d.ts +2 -0
- package/esm/models/usageanalyticitem.d.ts.map +1 -1
- package/esm/models/usageanalyticitem.js +3 -1
- package/esm/models/usageanalyticitem.js.map +1 -1
- package/esm/models/usageanalyticpoint.d.ts +2 -0
- package/esm/models/usageanalyticpoint.d.ts.map +1 -1
- package/esm/models/usageanalyticpoint.js +3 -1
- package/esm/models/usageanalyticpoint.js.map +1 -1
- package/esm/models/walletresponse.d.ts +2 -0
- package/esm/models/walletresponse.d.ts.map +1 -1
- package/esm/models/walletresponse.js +2 -0
- package/esm/models/walletresponse.js.map +1 -1
- package/esm/models/wallettopupparams.d.ts +7 -0
- package/esm/models/wallettopupparams.d.ts.map +1 -0
- package/esm/models/wallettopupparams.js +10 -0
- package/esm/models/wallettopupparams.js.map +1 -0
- package/esm/models/wallettransactionresponse.d.ts +1 -0
- package/esm/models/wallettransactionresponse.d.ts.map +1 -1
- package/esm/models/wallettransactionresponse.js +1 -0
- package/esm/models/wallettransactionresponse.js.map +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +26 -10
- package/esm/tool-names.js.map +1 -1
- package/esm/tsconfig.tsbuildinfo +1 -1
- package/manifest.json +27 -11
- package/package.json +9 -2
- package/src/funcs/customersGetCustomerEntitlementsByExternalID.ts +153 -0
- package/src/funcs/customersGetSubscriptionsForCustomer.ts +156 -0
- package/src/funcs/eventsGetEvent.ts +7 -12
- package/src/funcs/eventsGetHuggingfaceInferenceData.ts +22 -1
- package/src/funcs/invoicesGetInvoice.ts +1 -0
- package/src/funcs/invoicesUpdateInvoice.ts +1 -1
- package/src/funcs/subscriptionsAddSubscriptionAddon.ts +3 -0
- package/src/funcs/subscriptionsExecuteSubscriptionModify.ts +1 -1
- package/src/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.ts +159 -0
- package/src/funcs/subscriptionsPreviewSubscriptionModify.ts +1 -1
- package/src/funcs/subscriptionsPreviewSubscriptionPlanChangeV2.ts +153 -0
- package/src/funcs/subscriptionsRemoveSubscriptionAddon.ts +3 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +10 -2
- package/src/mcp-server/tools/customersGetCustomerEntitlementsByExternalID.ts +45 -0
- package/src/mcp-server/tools/customersGetSubscriptionsForCustomer.ts +45 -0
- package/src/mcp-server/tools/eventsGetEvent.ts +1 -1
- package/src/mcp-server/tools/eventsGetHuggingfaceInferenceData.ts +12 -3
- package/src/mcp-server/tools/invoicesUpdateInvoice.ts +1 -1
- package/src/mcp-server/tools/subscriptionsAddSubscriptionAddon.ts +1 -0
- package/src/mcp-server/tools/subscriptionsExecuteSubscriptionModify.ts +1 -1
- package/src/mcp-server/tools/subscriptionsExecuteSubscriptionPlanChangeV2.ts +51 -0
- package/src/mcp-server/tools/subscriptionsPreviewSubscriptionModify.ts +1 -1
- package/src/mcp-server/tools/subscriptionsPreviewSubscriptionPlanChangeV2.ts +45 -0
- package/src/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.ts +1 -0
- package/src/mcp-server/tools.ts +2 -0
- package/src/models/addaddonparams.ts +16 -0
- package/src/models/addaddonref.ts +26 -0
- package/src/models/addaddonrequest.ts +12 -0
- package/src/models/addaddontosubscriptionrequest.ts +9 -0
- package/src/models/addaddontosubscriptionresponse.ts +65 -0
- package/src/models/addonresponse.ts +6 -0
- package/src/models/addsubscriptionaddonop.ts +5 -5
- package/src/models/aggregatedentitlement.ts +21 -3
- package/src/models/aggregatedentitlementbucket.ts +35 -0
- package/src/models/alertthreshold.ts +2 -2
- package/src/models/autotopup.ts +14 -0
- package/src/models/checkoutaction.ts +21 -0
- package/src/models/checkoutjsonbcheckoutconfiguration.ts +34 -0
- package/src/models/checkoutjsonbcheckoutpaymentproviderconfig.ts +27 -0
- package/src/models/checkoutjsonbcheckoutproviderresult.ts +32 -0
- package/src/models/checkoutjsonbcheckoutresult.ts +19 -0
- package/src/models/checkoutparams.ts +33 -0
- package/src/models/checkoutpaymentprovider.ts +17 -0
- package/src/models/checkoutpaymentproviderconfig.ts +27 -0
- package/src/models/checkoutsessionresponse.ts +106 -0
- package/src/models/checkoutstatus.ts +23 -0
- package/src/models/couponassociationresponse.ts +9 -3
- package/src/models/{coupon.ts → couponresponse.ts} +2 -2
- package/src/models/createcreditgrantrequest.ts +2 -0
- package/src/models/createcustomerrequest.ts +14 -2
- package/src/models/createinvoicerequest.ts +4 -0
- package/src/models/createsubscriptionparams.ts +30 -0
- package/src/models/createsubscriptionrequest.ts +21 -39
- package/src/models/createsubscriptionresult.ts +19 -0
- package/src/models/creditgrantresponse.ts +2 -0
- package/src/models/creditgrantscope.ts +2 -0
- package/src/models/customer.ts +8 -0
- package/src/models/customerentitlementsresponse.ts +6 -0
- package/src/models/customerresponse.ts +8 -0
- package/src/models/durationunit.ts +21 -0
- package/src/models/entitlementaggregationmode.ts +19 -0
- package/src/models/entitlementgrantallocationbehavior.ts +19 -0
- package/src/models/entitlementgrantdurationunit.ts +23 -0
- package/src/models/entitlementgrantmeasure.ts +19 -0
- package/src/models/entitlementresponse.ts +31 -0
- package/src/models/entitlementsource.ts +2 -0
- package/src/models/entitychangebehaviour.ts +17 -0
- package/src/models/entitychangepolicy.ts +23 -0
- package/src/models/entitychangeresult.ts +28 -0
- package/src/models/errorcode.ts +2 -0
- package/src/models/executesubscriptionmodifyrequest.ts +9 -0
- package/src/models/executesubscriptionplanchangev2op.ts +37 -0
- package/src/models/featuretype.ts +2 -0
- package/src/models/filteroperatortype.ts +2 -0
- package/src/models/getcustomerentitlementsbyexternalidop.ts +31 -0
- package/src/models/gethuggingfacebillingdatarequest.ts +13 -0
- package/src/models/getinvoiceop.ts +4 -0
- package/src/models/getsubscriptionsforcustomerop.ts +35 -0
- package/src/models/getusageanalyticsresponse.ts +7 -1
- package/src/models/getusagebymeterrequest.ts +2 -0
- package/src/models/getusagerequest.ts +2 -0
- package/src/models/groupedinvoicingchildrequest.ts +104 -0
- package/src/models/integrationentitytype.ts +4 -0
- package/src/models/invoicelineitemcoupon.ts +2 -0
- package/src/models/invoicelineitemresponse.ts +4 -0
- package/src/models/invoiceresponse.ts +4 -0
- package/src/models/lineitemcommitmentconfig.ts +6 -10
- package/src/models/lineitemquantitychange.ts +2 -2
- package/src/models/modifysubscriptionlineitem.ts +19 -0
- package/src/models/modifysubscriptionparams.ts +22 -0
- package/src/models/overrideentitlementrequest.ts +4 -0
- package/src/models/paymentaction.ts +19 -0
- package/src/models/paymentactiontype.ts +17 -0
- package/src/models/paymentmethodtype.ts +25 -0
- package/src/models/paymentstatus.ts +2 -0
- package/src/models/previewsubscriptionplanchangev2op.ts +37 -0
- package/src/models/removeaddonrequest.ts +1 -1
- package/src/models/submodifyaddonparams.ts +30 -0
- package/src/models/subscriptionchangeentitypolicies.ts +19 -0
- package/src/models/subscriptionchangev2request.ts +34 -0
- package/src/models/subscriptionchangev2response.ts +56 -0
- package/src/models/subscriptioncouponinput.ts +4 -12
- package/src/models/subscriptionfilter.ts +5 -1
- package/src/models/subscriptioninheritanceconfig.ts +14 -4
- package/src/models/subscriptionlineitemfilter.ts +5 -1
- package/src/models/subscriptionlineitemresponse.ts +3 -0
- package/src/models/subscriptionmodificationaction.ts +19 -0
- package/src/models/subscriptionmodifyresponse.ts +6 -0
- package/src/models/subscriptionmodifytype.ts +2 -0
- package/src/models/subscriptionphasecreaterequest.ts +2 -2
- package/src/models/subscriptionresponse.ts +16 -2
- package/src/models/subscriptionresponsev2.ts +2 -2
- package/src/models/subscriptionsubscriptionlineitem.ts +3 -0
- package/src/models/transactionreason.ts +2 -0
- package/src/models/updatecustomerrequest.ts +8 -0
- package/src/models/updateinvoicerequest.ts +4 -0
- package/src/models/usageanalyticitem.ts +7 -1
- package/src/models/usageanalyticpoint.ts +7 -1
- package/src/models/walletresponse.ts +4 -0
- package/src/models/wallettopupparams.ts +16 -0
- package/src/models/wallettransactionresponse.ts +4 -0
- package/src/tool-names.ts +26 -10
- package/esm/models/coupon.d.ts.map +0 -1
- package/esm/models/coupon.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoiceresponse.js","sourceRoot":"","sources":["../../src/models/invoiceresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,mCAAmC,GACpC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAe,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAU,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"invoiceresponse.js","sourceRoot":"","sources":["../../src/models/invoiceresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAA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AAc,GAAG,SAAS,CAAC;IAC7C,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,
|
|
1
|
+
{"version":3,"file":"lineitemcommitmentconfig.d.ts","sourceRoot":"","sources":["../../src/models/lineitemcommitmentconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,uBAAuB,EAExB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,cAAc,EAA4B,MAAM,qBAAqB,CAAC;AAE/E,MAAM,MAAM,wBAAwB,GAAG;IACrC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,mBAAmB,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAChD,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,uBAAuB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC;IACrE,eAAe,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC7C,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAmBxB,CAAC"}
|
|
@@ -6,14 +6,14 @@ import { BillingPeriod$zodSchema } from "./billingperiod.js";
|
|
|
6
6
|
import { CommitmentBucketRequest$zodSchema, } from "./commitmentbucketrequest.js";
|
|
7
7
|
import { CommitmentType$zodSchema } from "./commitmenttype.js";
|
|
8
8
|
export const LineItemCommitmentConfig$zodSchema = z.object({
|
|
9
|
-
commitment_amount: z.number().optional()
|
|
9
|
+
commitment_amount: z.number().optional(),
|
|
10
10
|
commitment_duration: BillingPeriod$zodSchema.optional(),
|
|
11
|
-
commitment_quantity: z.number().optional()
|
|
11
|
+
commitment_quantity: z.number().optional(),
|
|
12
12
|
commitment_time_buckets: z.array(CommitmentBucketRequest$zodSchema).optional()
|
|
13
|
-
.describe("CommitmentTimeBuckets
|
|
13
|
+
.describe("CommitmentTimeBuckets scopes commitment to specific UTC-hour windows; requires IsWindowCommitment=true."),
|
|
14
14
|
commitment_type: CommitmentType$zodSchema.optional(),
|
|
15
|
-
enable_true_up: z.boolean().optional().describe("EnableTrueUp
|
|
16
|
-
is_window_commitment: z.boolean().optional().describe("IsWindowCommitment
|
|
17
|
-
overage_factor: z.number().optional().describe("OverageFactor is a multiplier
|
|
15
|
+
enable_true_up: z.boolean().optional().describe("EnableTrueUp charges the shortfall when usage is below commitment."),
|
|
16
|
+
is_window_commitment: z.boolean().optional().describe("IsWindowCommitment applies commitment per window (e.g. per day) rather than per billing period."),
|
|
17
|
+
overage_factor: z.number().optional().describe("OverageFactor is a multiplier on usage beyond commitment; 1.0 = base rate."),
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=lineitemcommitmentconfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineitemcommitmentconfig.js","sourceRoot":"","sources":["../../src/models/lineitemcommitmentconfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAkB,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAa/E,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE
|
|
1
|
+
{"version":3,"file":"lineitemcommitmentconfig.js","sourceRoot":"","sources":["../../src/models/lineitemcommitmentconfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAkB,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAa/E,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,mBAAmB,EAAE,uBAAuB,CAAC,QAAQ,EAAE;IACvD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC,QAAQ,EAAE;SAC3E,QAAQ,CACP,yGAAyG,CAC1G;IACH,eAAe,EAAE,wBAAwB,CAAC,QAAQ,EAAE;IACpD,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7C,oEAAoE,CACrE;IACD,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnD,iGAAiG,CAClG;IACD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,4EAA4E,CAC7E;CACF,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
export type LineItemQuantityChange = {
|
|
3
3
|
effective_date?: string | undefined;
|
|
4
4
|
id: string;
|
|
5
|
-
quantity
|
|
5
|
+
quantity?: string | undefined;
|
|
6
6
|
};
|
|
7
7
|
export declare const LineItemQuantityChange$zodSchema: z.ZodType<LineItemQuantityChange>;
|
|
8
8
|
//# sourceMappingURL=lineitemquantitychange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineitemquantitychange.d.ts","sourceRoot":"","sources":["../../src/models/lineitemquantitychange.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"lineitemquantitychange.d.ts","sourceRoot":"","sources":["../../src/models/lineitemquantitychange.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,sBAAsB,CAOtB,CAAC"}
|
|
@@ -5,6 +5,6 @@ import * as z from "zod";
|
|
|
5
5
|
export const LineItemQuantityChange$zodSchema = z.object({
|
|
6
6
|
effective_date: z.iso.datetime({ offset: true }).optional().describe("EffectiveDate is when the quantity change takes effect.\nIf omitted, the change is effective immediately (now)."),
|
|
7
7
|
id: z.string(),
|
|
8
|
-
quantity: z.string(),
|
|
8
|
+
quantity: z.string().optional(),
|
|
9
9
|
});
|
|
10
10
|
//# sourceMappingURL=lineitemquantitychange.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineitemquantitychange.js","sourceRoot":"","sources":["../../src/models/lineitemquantitychange.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,MAAM,CAAC,MAAM,gCAAgC,GAEzC,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClE,iHAAiH,CAClH;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"lineitemquantitychange.js","sourceRoot":"","sources":["../../src/models/lineitemquantitychange.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,MAAM,CAAC,MAAM,gCAAgC,GAEzC,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClE,iHAAiH,CAClH;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type ModifySubscriptionLineItem = {
|
|
3
|
+
effective_date?: string | undefined;
|
|
4
|
+
line_item_id?: string | undefined;
|
|
5
|
+
quantity?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare const ModifySubscriptionLineItem$zodSchema: z.ZodType<ModifySubscriptionLineItem>;
|
|
8
|
+
//# sourceMappingURL=modifysubscriptionlineitem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modifysubscriptionlineitem.d.ts","sourceRoot":"","sources":["../../src/models/modifysubscriptionlineitem.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,0BAA0B,GAAG;IACvC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,CAK1B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
export const ModifySubscriptionLineItem$zodSchema = z.object({
|
|
6
|
+
effective_date: z.iso.datetime({ offset: true }).optional(),
|
|
7
|
+
line_item_id: z.string().optional(),
|
|
8
|
+
quantity: z.string().optional(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=modifysubscriptionlineitem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modifysubscriptionlineitem.js","sourceRoot":"","sources":["../../src/models/modifysubscriptionlineitem.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,MAAM,CAAC,MAAM,oCAAoC,GAE7C,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ModifySubscriptionLineItem } from "./modifysubscriptionlineitem.js";
|
|
3
|
+
export type ModifySubscriptionParams = {
|
|
4
|
+
line_item_modifications?: Array<ModifySubscriptionLineItem> | undefined;
|
|
5
|
+
subscription_id?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare const ModifySubscriptionParams$zodSchema: z.ZodType<ModifySubscriptionParams>;
|
|
8
|
+
//# sourceMappingURL=modifysubscriptionparams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modifysubscriptionparams.d.ts","sourceRoot":"","sources":["../../src/models/modifysubscriptionparams.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,0BAA0B,EAE3B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,wBAAwB,GAAG;IACrC,uBAAuB,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC;IACxE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAKxB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { ModifySubscriptionLineItem$zodSchema, } from "./modifysubscriptionlineitem.js";
|
|
6
|
+
export const ModifySubscriptionParams$zodSchema = z.object({
|
|
7
|
+
line_item_modifications: z.array(ModifySubscriptionLineItem$zodSchema)
|
|
8
|
+
.optional(),
|
|
9
|
+
subscription_id: z.string().optional(),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=modifysubscriptionparams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modifysubscriptionparams.js","sourceRoot":"","sources":["../../src/models/modifysubscriptionparams.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,oCAAoC,GACrC,MAAM,iCAAiC,CAAC;AAOzC,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC;SACnE,QAAQ,EAAE;IACb,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overrideentitlementrequest.d.ts","sourceRoot":"","sources":["../../src/models/overrideentitlementrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,0BAA0B,GAAG;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,
|
|
1
|
+
{"version":3,"file":"overrideentitlementrequest.d.ts","sourceRoot":"","sources":["../../src/models/overrideentitlementrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAChD,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,CAiB1B,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
export const OverrideEntitlementRequest$zodSchema = z.object({
|
|
6
|
+
config_value: z.record(z.string(), z.any()).optional().describe("ConfigValue is the config value for config features"),
|
|
6
7
|
entitlement_id: z.string().describe("EntitlementID references the plan/addon entitlement to override"),
|
|
7
8
|
is_enabled: z.boolean().optional().describe("IsEnabled determines if the entitlement is enabled or disabled"),
|
|
8
9
|
static_value: z.string().optional().describe("StaticValue is the static value for static features"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overrideentitlementrequest.js","sourceRoot":"","sources":["../../src/models/overrideentitlementrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"overrideentitlementrequest.js","sourceRoot":"","sources":["../../src/models/overrideentitlementrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAUzB,MAAM,CAAC,MAAM,oCAAoC,GAE7C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7D,qDAAqD,CACtD;IACD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACjC,iEAAiE,CAClE;IACD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzC,gEAAgE,CACjE;IACD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,qDAAqD,CACtD;IACD,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtC,4HAA4H,CAC7H;CACF,CAAC,CAAC"}
|
|
@@ -10,9 +10,9 @@ export declare const PauseStatus: {
|
|
|
10
10
|
export type PauseStatus = ClosedEnum<typeof PauseStatus>;
|
|
11
11
|
export declare const PauseStatus$zodSchema: z.ZodEnum<{
|
|
12
12
|
none: "none";
|
|
13
|
-
|
|
13
|
+
completed: "completed";
|
|
14
14
|
active: "active";
|
|
15
15
|
scheduled: "scheduled";
|
|
16
|
-
|
|
16
|
+
cancelled: "cancelled";
|
|
17
17
|
}>;
|
|
18
18
|
//# sourceMappingURL=pausestatus.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { PaymentActionType } from "./paymentactiontype.js";
|
|
3
|
+
export type PaymentAction = {
|
|
4
|
+
type?: PaymentActionType | undefined;
|
|
5
|
+
url?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare const PaymentAction$zodSchema: z.ZodType<PaymentAction>;
|
|
8
|
+
//# sourceMappingURL=paymentaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentaction.d.ts","sourceRoot":"","sources":["../../src/models/paymentaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACrC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAG3D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { PaymentActionType$zodSchema, } from "./paymentactiontype.js";
|
|
6
|
+
export const PaymentAction$zodSchema = z.object({
|
|
7
|
+
type: PaymentActionType$zodSchema.optional(),
|
|
8
|
+
url: z.string().optional(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=paymentaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentaction.js","sourceRoot":"","sources":["../../src/models/paymentaction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAOhC,MAAM,CAAC,MAAM,uBAAuB,GAA6B,CAAC,CAAC,MAAM,CAAC;IACxE,IAAI,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IAC5C,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const PaymentActionType: {
|
|
4
|
+
readonly CheckoutUrl: "checkout_url";
|
|
5
|
+
readonly PaymentLink: "payment_link";
|
|
6
|
+
};
|
|
7
|
+
export type PaymentActionType = ClosedEnum<typeof PaymentActionType>;
|
|
8
|
+
export declare const PaymentActionType$zodSchema: z.ZodEnum<{
|
|
9
|
+
checkout_url: "checkout_url";
|
|
10
|
+
payment_link: "payment_link";
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=paymentactiontype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentactiontype.d.ts","sourceRoot":"","sources":["../../src/models/paymentactiontype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,eAAO,MAAM,2BAA2B;;;EAGtC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
export const PaymentActionType = {
|
|
6
|
+
CheckoutUrl: "checkout_url",
|
|
7
|
+
PaymentLink: "payment_link",
|
|
8
|
+
};
|
|
9
|
+
export const PaymentActionType$zodSchema = z.enum([
|
|
10
|
+
"checkout_url",
|
|
11
|
+
"payment_link",
|
|
12
|
+
]);
|
|
13
|
+
//# sourceMappingURL=paymentactiontype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentactiontype.js","sourceRoot":"","sources":["../../src/models/paymentactiontype.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAGX,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC;IAChD,cAAc;IACd,cAAc;CACf,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const PaymentMethodType: {
|
|
4
|
+
readonly Card: "CARD";
|
|
5
|
+
readonly Ach: "ACH";
|
|
6
|
+
readonly Offline: "OFFLINE";
|
|
7
|
+
readonly Credits: "CREDITS";
|
|
8
|
+
readonly PaymentLink: "PAYMENT_LINK";
|
|
9
|
+
readonly Upi: "UPI";
|
|
10
|
+
};
|
|
11
|
+
export type PaymentMethodType = ClosedEnum<typeof PaymentMethodType>;
|
|
12
|
+
export declare const PaymentMethodType$zodSchema: z.ZodEnum<{
|
|
13
|
+
CARD: "CARD";
|
|
14
|
+
ACH: "ACH";
|
|
15
|
+
OFFLINE: "OFFLINE";
|
|
16
|
+
CREDITS: "CREDITS";
|
|
17
|
+
PAYMENT_LINK: "PAYMENT_LINK";
|
|
18
|
+
UPI: "UPI";
|
|
19
|
+
}>;
|
|
20
|
+
//# sourceMappingURL=paymentmethodtype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentmethodtype.d.ts","sourceRoot":"","sources":["../../src/models/paymentmethodtype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,eAAO,MAAM,2BAA2B;;;;;;;EAOtC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
export const PaymentMethodType = {
|
|
6
|
+
Card: "CARD",
|
|
7
|
+
Ach: "ACH",
|
|
8
|
+
Offline: "OFFLINE",
|
|
9
|
+
Credits: "CREDITS",
|
|
10
|
+
PaymentLink: "PAYMENT_LINK",
|
|
11
|
+
Upi: "UPI",
|
|
12
|
+
};
|
|
13
|
+
export const PaymentMethodType$zodSchema = z.enum([
|
|
14
|
+
"CARD",
|
|
15
|
+
"ACH",
|
|
16
|
+
"OFFLINE",
|
|
17
|
+
"CREDITS",
|
|
18
|
+
"PAYMENT_LINK",
|
|
19
|
+
"UPI",
|
|
20
|
+
]);
|
|
21
|
+
//# sourceMappingURL=paymentmethodtype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentmethodtype.js","sourceRoot":"","sources":["../../src/models/paymentmethodtype.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,cAAc;IAC3B,GAAG,EAAE,KAAK;CACF,CAAC;AAGX,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC;IAChD,MAAM;IACN,KAAK;IACL,SAAS;IACT,SAAS;IACT,cAAc;IACd,KAAK;CACN,CAAC,CAAC"}
|
|
@@ -9,9 +9,11 @@ export declare const PaymentStatus: {
|
|
|
9
9
|
readonly Failed: "FAILED";
|
|
10
10
|
readonly Refunded: "REFUNDED";
|
|
11
11
|
readonly PartiallyRefunded: "PARTIALLY_REFUNDED";
|
|
12
|
+
readonly Voided: "VOIDED";
|
|
12
13
|
};
|
|
13
14
|
export type PaymentStatus = ClosedEnum<typeof PaymentStatus>;
|
|
14
15
|
export declare const PaymentStatus$zodSchema: z.ZodEnum<{
|
|
16
|
+
VOIDED: "VOIDED";
|
|
15
17
|
INITIATED: "INITIATED";
|
|
16
18
|
PENDING: "PENDING";
|
|
17
19
|
PROCESSING: "PROCESSING";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentstatus.d.ts","sourceRoot":"","sources":["../../src/models/paymentstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"paymentstatus.d.ts","sourceRoot":"","sources":["../../src/models/paymentstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,aAAa;;;;;;;;;;CAUhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,eAAO,MAAM,uBAAuB;;;;;;;;;;EAUlC,CAAC"}
|
|
@@ -11,6 +11,7 @@ export const PaymentStatus = {
|
|
|
11
11
|
Failed: "FAILED",
|
|
12
12
|
Refunded: "REFUNDED",
|
|
13
13
|
PartiallyRefunded: "PARTIALLY_REFUNDED",
|
|
14
|
+
Voided: "VOIDED",
|
|
14
15
|
};
|
|
15
16
|
export const PaymentStatus$zodSchema = z.enum([
|
|
16
17
|
"INITIATED",
|
|
@@ -21,5 +22,6 @@ export const PaymentStatus$zodSchema = z.enum([
|
|
|
21
22
|
"FAILED",
|
|
22
23
|
"REFUNDED",
|
|
23
24
|
"PARTIALLY_REFUNDED",
|
|
25
|
+
"VOIDED",
|
|
24
26
|
]);
|
|
25
27
|
//# sourceMappingURL=paymentstatus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentstatus.js","sourceRoot":"","sources":["../../src/models/paymentstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,oBAAoB;
|
|
1
|
+
{"version":3,"file":"paymentstatus.js","sourceRoot":"","sources":["../../src/models/paymentstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,oBAAoB;IACvC,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5C,WAAW;IACX,SAAS;IACT,YAAY;IACZ,WAAW;IACX,UAAU;IACV,QAAQ;IACR,UAAU;IACV,oBAAoB;IACpB,QAAQ;CACT,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ErrorResponse } from "./errorresponse.js";
|
|
3
|
+
import { SubscriptionChangeV2Request } from "./subscriptionchangev2request.js";
|
|
4
|
+
import { SubscriptionChangeV2Response } from "./subscriptionchangev2response.js";
|
|
5
|
+
export type PreviewSubscriptionPlanChangeV2Request = {
|
|
6
|
+
id: string;
|
|
7
|
+
body: SubscriptionChangeV2Request;
|
|
8
|
+
};
|
|
9
|
+
export declare const PreviewSubscriptionPlanChangeV2Request$zodSchema: z.ZodType<PreviewSubscriptionPlanChangeV2Request>;
|
|
10
|
+
export type PreviewSubscriptionPlanChangeV2Response = SubscriptionChangeV2Response | ErrorResponse;
|
|
11
|
+
export declare const PreviewSubscriptionPlanChangeV2Response$zodSchema: z.ZodType<PreviewSubscriptionPlanChangeV2Response>;
|
|
12
|
+
//# sourceMappingURL=previewsubscriptionplanchangev2op.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewsubscriptionplanchangev2op.d.ts","sourceRoot":"","sources":["../../src/models/previewsubscriptionplanchangev2op.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAE3C,MAAM,MAAM,sCAAsC,GAAG;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,2BAA2B,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAItC,CAAC;AAEH,MAAM,MAAM,uCAAuC,GAC/C,4BAA4B,GAC5B,aAAa,CAAC;AAElB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,uCAAuC,CAIvC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { ErrorResponse$zodSchema } from "./errorresponse.js";
|
|
6
|
+
import { SubscriptionChangeV2Request$zodSchema, } from "./subscriptionchangev2request.js";
|
|
7
|
+
import { SubscriptionChangeV2Response$zodSchema, } from "./subscriptionchangev2response.js";
|
|
8
|
+
export const PreviewSubscriptionPlanChangeV2Request$zodSchema = z.object({
|
|
9
|
+
body: SubscriptionChangeV2Request$zodSchema.describe("Plan change request"),
|
|
10
|
+
id: z.string().describe("Subscription ID"),
|
|
11
|
+
});
|
|
12
|
+
export const PreviewSubscriptionPlanChangeV2Response$zodSchema = z.union([
|
|
13
|
+
SubscriptionChangeV2Response$zodSchema,
|
|
14
|
+
ErrorResponse$zodSchema,
|
|
15
|
+
]);
|
|
16
|
+
//# sourceMappingURL=previewsubscriptionplanchangev2op.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewsubscriptionplanchangev2op.js","sourceRoot":"","sources":["../../src/models/previewsubscriptionplanchangev2op.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAEL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,sCAAsC,GACvC,MAAM,mCAAmC,CAAC;AAO3C,MAAM,CAAC,MAAM,gDAAgD,GAEzD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,qCAAqC,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAC3E,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;CAC3C,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,iDAAiD,GAE1D,CAAC,CAAC,KAAK,CAAC;IACV,sCAAsC;IACtC,uBAAuB;CACxB,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { ProrationBehavior$zodSchema, } from "./prorationbehavior.js";
|
|
|
6
6
|
export const RemoveAddonRequest$zodSchema = z
|
|
7
7
|
.object({
|
|
8
8
|
addon_association_id: z.string(),
|
|
9
|
-
effective_date: z.iso.datetime({ offset: true }).optional().describe("EffectiveDate
|
|
9
|
+
effective_date: z.iso.datetime({ offset: true }).optional().describe("EffectiveDate defaults to period end when nil; mid-period with create_prorations issues a wallet credit."),
|
|
10
10
|
proration_behavior: ProrationBehavior$zodSchema.optional(),
|
|
11
11
|
reason: z.string().optional(),
|
|
12
12
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeaddonrequest.js","sourceRoot":"","sources":["../../src/models/removeaddonrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAShC,MAAM,CAAC,MAAM,4BAA4B,GAAkC,CAAC;KACzE,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE;IAChC,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClE,
|
|
1
|
+
{"version":3,"file":"removeaddonrequest.js","sourceRoot":"","sources":["../../src/models/removeaddonrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAShC,MAAM,CAAC,MAAM,4BAA4B,GAAkC,CAAC;KACzE,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE;IAChC,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClE,0GAA0G,CAC3G;IACD,kBAAkB,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IAC1D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC"}
|
|
@@ -9,8 +9,8 @@ export declare const ScheduleStatus: {
|
|
|
9
9
|
};
|
|
10
10
|
export type ScheduleStatus = ClosedEnum<typeof ScheduleStatus>;
|
|
11
11
|
export declare const ScheduleStatus$zodSchema: z.ZodEnum<{
|
|
12
|
-
failed: "failed";
|
|
13
12
|
pending: "pending";
|
|
13
|
+
failed: "failed";
|
|
14
14
|
cancelled: "cancelled";
|
|
15
15
|
executing: "executing";
|
|
16
16
|
executed: "executed";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { AddAddonToSubscriptionRequest } from "./addaddontosubscriptionrequest.js";
|
|
3
|
+
import { RemoveAddonRequest } from "./removeaddonrequest.js";
|
|
4
|
+
import { SubscriptionModificationAction } from "./subscriptionmodificationaction.js";
|
|
5
|
+
export type SubModifyAddonParams = {
|
|
6
|
+
action: SubscriptionModificationAction;
|
|
7
|
+
add?: AddAddonToSubscriptionRequest | undefined;
|
|
8
|
+
remove?: RemoveAddonRequest | undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare const SubModifyAddonParams$zodSchema: z.ZodType<SubModifyAddonParams>;
|
|
11
|
+
//# sourceMappingURL=submodifyaddonparams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submodifyaddonparams.d.ts","sourceRoot":"","sources":["../../src/models/submodifyaddonparams.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,6BAA6B,EAE9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAE7C,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,8BAA8B,CAAC;IACvC,GAAG,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAKvE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { AddAddonToSubscriptionRequest$zodSchema, } from "./addaddontosubscriptionrequest.js";
|
|
6
|
+
import { RemoveAddonRequest$zodSchema, } from "./removeaddonrequest.js";
|
|
7
|
+
import { SubscriptionModificationAction$zodSchema, } from "./subscriptionmodificationaction.js";
|
|
8
|
+
export const SubModifyAddonParams$zodSchema = z
|
|
9
|
+
.object({
|
|
10
|
+
action: SubscriptionModificationAction$zodSchema,
|
|
11
|
+
add: AddAddonToSubscriptionRequest$zodSchema.optional(),
|
|
12
|
+
remove: RemoveAddonRequest$zodSchema.optional(),
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=submodifyaddonparams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submodifyaddonparams.js","sourceRoot":"","sources":["../../src/models/submodifyaddonparams.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,uCAAuC,GACxC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,wCAAwC,GACzC,MAAM,qCAAqC,CAAC;AAQ7C,MAAM,CAAC,MAAM,8BAA8B,GAAoC,CAAC;KAC7E,MAAM,CAAC;IACN,MAAM,EAAE,wCAAwC;IAChD,GAAG,EAAE,uCAAuC,CAAC,QAAQ,EAAE;IACvD,MAAM,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { EntityChangePolicy } from "./entitychangepolicy.js";
|
|
3
|
+
export type SubscriptionChangeEntityPolicies = {
|
|
4
|
+
addons?: EntityChangePolicy | undefined;
|
|
5
|
+
};
|
|
6
|
+
export declare const SubscriptionChangeEntityPolicies$zodSchema: z.ZodType<SubscriptionChangeEntityPolicies>;
|
|
7
|
+
//# sourceMappingURL=subscriptionchangeentitypolicies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionchangeentitypolicies.d.ts","sourceRoot":"","sources":["../../src/models/subscriptionchangeentitypolicies.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,gCAAgC,CAGhC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { EntityChangePolicy$zodSchema, } from "./entitychangepolicy.js";
|
|
6
|
+
export const SubscriptionChangeEntityPolicies$zodSchema = z.object({
|
|
7
|
+
addons: EntityChangePolicy$zodSchema.optional(),
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=subscriptionchangeentitypolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionchangeentitypolicies.js","sourceRoot":"","sources":["../../src/models/subscriptionchangeentitypolicies.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;AAMjC,MAAM,CAAC,MAAM,0CAA0C,GAEnD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ProrationBehavior } from "./prorationbehavior.js";
|
|
3
|
+
import { ScheduleType } from "./scheduletype.js";
|
|
4
|
+
import { SubscriptionChangeEntityPolicies } from "./subscriptionchangeentitypolicies.js";
|
|
5
|
+
export type SubscriptionChangeV2Request = {
|
|
6
|
+
change_at?: ScheduleType | undefined;
|
|
7
|
+
entity_policies?: SubscriptionChangeEntityPolicies | undefined;
|
|
8
|
+
idempotency_key?: string | undefined;
|
|
9
|
+
metadata?: {
|
|
10
|
+
[k: string]: string;
|
|
11
|
+
} | undefined;
|
|
12
|
+
proration_behavior: ProrationBehavior;
|
|
13
|
+
target_plan_id: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const SubscriptionChangeV2Request$zodSchema: z.ZodType<SubscriptionChangeV2Request>;
|
|
16
|
+
//# sourceMappingURL=subscriptionchangev2request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionchangev2request.d.ts","sourceRoot":"","sources":["../../src/models/subscriptionchangev2request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AACzE,OAAO,EACL,gCAAgC,EAEjC,MAAM,uCAAuC,CAAC;AAE/C,MAAM,MAAM,2BAA2B,GAAG;IACxC,SAAS,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACrC,eAAe,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC/D,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/C,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,2BAA2B,CAQ3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { ProrationBehavior$zodSchema, } from "./prorationbehavior.js";
|
|
6
|
+
import { ScheduleType$zodSchema } from "./scheduletype.js";
|
|
7
|
+
import { SubscriptionChangeEntityPolicies$zodSchema, } from "./subscriptionchangeentitypolicies.js";
|
|
8
|
+
export const SubscriptionChangeV2Request$zodSchema = z.object({
|
|
9
|
+
change_at: ScheduleType$zodSchema.optional(),
|
|
10
|
+
entity_policies: SubscriptionChangeEntityPolicies$zodSchema.optional(),
|
|
11
|
+
idempotency_key: z.string().optional(),
|
|
12
|
+
metadata: z.record(z.string(), z.string()).optional(),
|
|
13
|
+
proration_behavior: ProrationBehavior$zodSchema,
|
|
14
|
+
target_plan_id: z.string(),
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=subscriptionchangev2request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionchangev2request.js","sourceRoot":"","sources":["../../src/models/subscriptionchangev2request.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAEL,0CAA0C,GAC3C,MAAM,uCAAuC,CAAC;AAW/C,MAAM,CAAC,MAAM,qCAAqC,GAE9C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAC5C,eAAe,EAAE,0CAA0C,CAAC,QAAQ,EAAE;IACtE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrD,kBAAkB,EAAE,2BAA2B;IAC/C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ChangedResources } from "./changedresources.js";
|
|
3
|
+
import { EntityChangeResult } from "./entitychangeresult.js";
|
|
4
|
+
import { PlanSummary } from "./plansummary.js";
|
|
5
|
+
import { SubscriptionChangeType } from "./subscriptionchangetype.js";
|
|
6
|
+
import { SubscriptionResponse } from "./subscriptionresponse.js";
|
|
7
|
+
export type SubscriptionChangeV2Response = {
|
|
8
|
+
change_type?: SubscriptionChangeType | undefined;
|
|
9
|
+
changed_resources?: ChangedResources | undefined;
|
|
10
|
+
effective_at?: string | undefined;
|
|
11
|
+
entity_changes?: Array<EntityChangeResult> | undefined;
|
|
12
|
+
from_plan?: PlanSummary | undefined;
|
|
13
|
+
is_scheduled?: boolean | undefined;
|
|
14
|
+
metadata?: {
|
|
15
|
+
[k: string]: string;
|
|
16
|
+
} | undefined;
|
|
17
|
+
schedule_id?: string | undefined;
|
|
18
|
+
scheduled_at?: string | undefined;
|
|
19
|
+
subscription?: SubscriptionResponse | undefined;
|
|
20
|
+
to_plan?: PlanSummary | undefined;
|
|
21
|
+
warnings?: Array<string> | undefined;
|
|
22
|
+
};
|
|
23
|
+
export declare const SubscriptionChangeV2Response$zodSchema: z.ZodType<SubscriptionChangeV2Response>;
|
|
24
|
+
//# sourceMappingURL=subscriptionchangev2response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionchangev2response.d.ts","sourceRoot":"","sources":["../../src/models/subscriptionchangev2response.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACjD,iBAAiB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACjD,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;IACvD,SAAS,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAChD,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,4BAA4B,CAgB5B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { ChangedResources$zodSchema, } from "./changedresources.js";
|
|
6
|
+
import { EntityChangeResult$zodSchema, } from "./entitychangeresult.js";
|
|
7
|
+
import { PlanSummary$zodSchema } from "./plansummary.js";
|
|
8
|
+
import { SubscriptionChangeType$zodSchema, } from "./subscriptionchangetype.js";
|
|
9
|
+
import { SubscriptionResponse$zodSchema, } from "./subscriptionresponse.js";
|
|
10
|
+
export const SubscriptionChangeV2Response$zodSchema = z.object({
|
|
11
|
+
change_type: SubscriptionChangeType$zodSchema.optional(),
|
|
12
|
+
changed_resources: ChangedResources$zodSchema.optional(),
|
|
13
|
+
effective_at: z.iso.datetime({ offset: true }).optional(),
|
|
14
|
+
entity_changes: z.array(EntityChangeResult$zodSchema).optional(),
|
|
15
|
+
from_plan: PlanSummary$zodSchema.optional(),
|
|
16
|
+
is_scheduled: z.boolean().optional().describe("IsScheduled is true when the change was deferred to the period end instead\nof being applied immediately."),
|
|
17
|
+
metadata: z.record(z.string(), z.string()).optional(),
|
|
18
|
+
schedule_id: z.string().optional(),
|
|
19
|
+
scheduled_at: z.iso.datetime({ offset: true }).optional(),
|
|
20
|
+
subscription: SubscriptionResponse$zodSchema.optional(),
|
|
21
|
+
to_plan: PlanSummary$zodSchema.optional(),
|
|
22
|
+
warnings: z.array(z.string()).optional(),
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=subscriptionchangev2response.js.map
|