@flexprice/mcp-server 2.1.20 → 2.1.24
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 +5424 -3807
- package/bin/mcp-server.js.map +187 -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 +16 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.d.ts.map +1 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionPlanChangeV2.js +88 -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 +35 -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/entitlementgrantdurationunit.d.ts +14 -0
- package/esm/models/entitlementgrantdurationunit.d.ts.map +1 -0
- package/esm/models/entitlementgrantdurationunit.js +15 -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 +11 -0
- package/esm/models/entitlementresponse.d.ts.map +1 -1
- package/esm/models/entitlementresponse.js +9 -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 +2 -0
- package/esm/models/integrationentitytype.d.ts.map +1 -1
- package/esm/models/integrationentitytype.js +2 -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 +14 -0
- package/esm/models/subscriptionchangev2request.d.ts.map +1 -0
- package/esm/models/subscriptionchangev2request.js +14 -0
- package/esm/models/subscriptionchangev2request.js.map +1 -0
- package/esm/models/subscriptionchangev2response.d.ts +21 -0
- package/esm/models/subscriptionchangev2response.d.ts.map +1 -0
- package/esm/models/subscriptionchangev2response.js +21 -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 +153 -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 +45 -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/entitlementgrantdurationunit.ts +21 -0
- package/src/models/entitlementgrantmeasure.ts +19 -0
- package/src/models/entitlementresponse.ts +24 -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 +2 -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 +31 -0
- package/src/models/subscriptionchangev2response.ts +48 -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":"customerresponse.d.ts","sourceRoot":"","sources":["../../src/models/customerresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gCAAgC,EAEjC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAoB,MAAM,aAAa,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC,gCAAgC,CAAC,GAAG,SAAS,CAAC;IACnE,Q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WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC,gCAAgC,CAAC,GAAG,SAAS,CAAC;IACnE,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CA+CO,CAAC"}
|
|
@@ -11,6 +11,7 @@ export const CustomerResponse$zodSchema = z.object({
|
|
|
11
11
|
address_line2: z.string().optional().describe("AddressLine2 is the second line of the customer's address"),
|
|
12
12
|
address_postal_code: z.string().optional().describe("AddressPostalCode is the postal code of the customer's address"),
|
|
13
13
|
address_state: z.string().optional().describe("AddressState is the state of the customer's address"),
|
|
14
|
+
contact: z.string().optional().describe("Contact is an optional contact number for the customer (e.g. phone)"),
|
|
14
15
|
created_at: z.iso.datetime({ offset: true }).optional(),
|
|
15
16
|
created_by: z.string().optional(),
|
|
16
17
|
email: z.string().optional().describe("Email is the email of the customer"),
|
|
@@ -23,6 +24,7 @@ export const CustomerResponse$zodSchema = z.object({
|
|
|
23
24
|
name: z.string().optional().describe("Name is the name of the customer"),
|
|
24
25
|
status: Status$zodSchema.optional(),
|
|
25
26
|
tenant_id: z.string().optional(),
|
|
27
|
+
timezone: z.string().optional().describe("Timezone is the customer's IANA timezone name (e.g. \"Asia/Kolkata\").\nDefaults to \"UTC\". Inherited by subscriptions at creation time."),
|
|
26
28
|
updated_at: z.iso.datetime({ offset: true }).optional(),
|
|
27
29
|
updated_by: z.string().optional(),
|
|
28
30
|
}).describe("Customer response object containing all customer information");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerresponse.js","sourceRoot":"","sources":["../../src/models/customerresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0CAA0C,GAC3C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAU,gBAAgB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"customerresponse.js","sourceRoot":"","sources":["../../src/models/customerresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0CAA0C,GAC3C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAU,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA6BvD,MAAM,CAAC,MAAM,0BAA0B,GAAgC,CAAC,CAAC,MAAM,CAC7E;IACE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,mDAAmD,CACpD;IACD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7C,8EAA8E,CAC/E;IACD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3C,0DAA0D,CAC3D;IACD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3C,2DAA2D,CAC5D;IACD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,gEAAgE,CACjE;IACD,aAAa,EAA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Q,CACtC,2IAA2I,CAC5I;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CACF,CAAC,QAAQ,CAAC,8DAA8D,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const DurationUnit: {
|
|
4
|
+
readonly Second: "second";
|
|
5
|
+
readonly Minute: "minute";
|
|
6
|
+
readonly Hour: "hour";
|
|
7
|
+
readonly Day: "day";
|
|
8
|
+
};
|
|
9
|
+
export type DurationUnit = ClosedEnum<typeof DurationUnit>;
|
|
10
|
+
export declare const DurationUnit$zodSchema: z.ZodEnum<{
|
|
11
|
+
hour: "hour";
|
|
12
|
+
day: "day";
|
|
13
|
+
minute: "minute";
|
|
14
|
+
second: "second";
|
|
15
|
+
}>;
|
|
16
|
+
//# sourceMappingURL=durationunit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"durationunit.d.ts","sourceRoot":"","sources":["../../src/models/durationunit.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3D,eAAO,MAAM,sBAAsB;;;;;EAKjC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
export const DurationUnit = {
|
|
6
|
+
Second: "second",
|
|
7
|
+
Minute: "minute",
|
|
8
|
+
Hour: "hour",
|
|
9
|
+
Day: "day",
|
|
10
|
+
};
|
|
11
|
+
export const DurationUnit$zodSchema = z.enum([
|
|
12
|
+
"second",
|
|
13
|
+
"minute",
|
|
14
|
+
"hour",
|
|
15
|
+
"day",
|
|
16
|
+
]);
|
|
17
|
+
//# sourceMappingURL=durationunit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"durationunit.js","sourceRoot":"","sources":["../../src/models/durationunit.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;CACF,CAAC;AAGX,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,KAAK;CACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const EntitlementAggregationMode: {
|
|
4
|
+
readonly Additive: "additive";
|
|
5
|
+
readonly Parallel: "parallel";
|
|
6
|
+
};
|
|
7
|
+
export type EntitlementAggregationMode = ClosedEnum<typeof EntitlementAggregationMode>;
|
|
8
|
+
export declare const EntitlementAggregationMode$zodSchema: z.ZodEnum<{
|
|
9
|
+
additive: "additive";
|
|
10
|
+
parallel: "parallel";
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=entitlementaggregationmode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlementaggregationmode.d.ts","sourceRoot":"","sources":["../../src/models/entitlementaggregationmode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;EAG/C,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 EntitlementAggregationMode = {
|
|
6
|
+
Additive: "additive",
|
|
7
|
+
Parallel: "parallel",
|
|
8
|
+
};
|
|
9
|
+
export const EntitlementAggregationMode$zodSchema = z.enum([
|
|
10
|
+
"additive",
|
|
11
|
+
"parallel",
|
|
12
|
+
]);
|
|
13
|
+
//# sourceMappingURL=entitlementaggregationmode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlementaggregationmode.js","sourceRoot":"","sources":["../../src/models/entitlementaggregationmode.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAKX,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,IAAI,CAAC;IACzD,UAAU;IACV,UAAU;CACX,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const EntitlementGrantDurationUnit: {
|
|
4
|
+
readonly Hour: "hour";
|
|
5
|
+
readonly Day: "day";
|
|
6
|
+
readonly Week: "week";
|
|
7
|
+
};
|
|
8
|
+
export type EntitlementGrantDurationUnit = ClosedEnum<typeof EntitlementGrantDurationUnit>;
|
|
9
|
+
export declare const EntitlementGrantDurationUnit$zodSchema: z.ZodEnum<{
|
|
10
|
+
hour: "hour";
|
|
11
|
+
day: "day";
|
|
12
|
+
week: "week";
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=entitlementgrantdurationunit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlementgrantdurationunit.d.ts","sourceRoot":"","sources":["../../src/models/entitlementgrantdurationunit.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;EAIjD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
export const EntitlementGrantDurationUnit = {
|
|
6
|
+
Hour: "hour",
|
|
7
|
+
Day: "day",
|
|
8
|
+
Week: "week",
|
|
9
|
+
};
|
|
10
|
+
export const EntitlementGrantDurationUnit$zodSchema = z.enum([
|
|
11
|
+
"hour",
|
|
12
|
+
"day",
|
|
13
|
+
"week",
|
|
14
|
+
]);
|
|
15
|
+
//# sourceMappingURL=entitlementgrantdurationunit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlementgrantdurationunit.js","sourceRoot":"","sources":["../../src/models/entitlementgrantdurationunit.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAKX,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3D,MAAM;IACN,KAAK;IACL,MAAM;CACP,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const EntitlementGrantMeasure: {
|
|
4
|
+
readonly Quantity: "quantity";
|
|
5
|
+
readonly Amount: "amount";
|
|
6
|
+
};
|
|
7
|
+
export type EntitlementGrantMeasure = ClosedEnum<typeof EntitlementGrantMeasure>;
|
|
8
|
+
export declare const EntitlementGrantMeasure$zodSchema: z.ZodEnum<{
|
|
9
|
+
quantity: "quantity";
|
|
10
|
+
amount: "amount";
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=entitlementgrantmeasure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlementgrantmeasure.d.ts","sourceRoot":"","sources":["../../src/models/entitlementgrantmeasure.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;EAG5C,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 EntitlementGrantMeasure = {
|
|
6
|
+
Quantity: "quantity",
|
|
7
|
+
Amount: "amount",
|
|
8
|
+
};
|
|
9
|
+
export const EntitlementGrantMeasure$zodSchema = z.enum([
|
|
10
|
+
"quantity",
|
|
11
|
+
"amount",
|
|
12
|
+
]);
|
|
13
|
+
//# sourceMappingURL=entitlementgrantmeasure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlementgrantmeasure.js","sourceRoot":"","sources":["../../src/models/entitlementgrantmeasure.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACR,CAAC;AAKX,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,UAAU;IACV,QAAQ;CACT,CAAC,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { AddonResponse } from "./addonresponse.js";
|
|
3
|
+
import { EntitlementAggregationMode } from "./entitlementaggregationmode.js";
|
|
3
4
|
import { EntitlementEntityType } from "./entitlemententitytype.js";
|
|
5
|
+
import { EntitlementGrantDurationUnit } from "./entitlementgrantdurationunit.js";
|
|
6
|
+
import { EntitlementGrantMeasure } from "./entitlementgrantmeasure.js";
|
|
4
7
|
import { EntitlementUsageResetPeriod } from "./entitlementusageresetperiod.js";
|
|
5
8
|
import { FeatureResponse } from "./featureresponse.js";
|
|
6
9
|
import { FeatureType } from "./featuretype.js";
|
|
@@ -8,6 +11,10 @@ import { PlanResponse } from "./planresponse.js";
|
|
|
8
11
|
import { Status } from "./status.js";
|
|
9
12
|
export type EntitlementResponse = {
|
|
10
13
|
addon?: AddonResponse | undefined;
|
|
14
|
+
aggregation_mode?: EntitlementAggregationMode | undefined;
|
|
15
|
+
config_value?: {
|
|
16
|
+
[k: string]: any;
|
|
17
|
+
} | undefined;
|
|
11
18
|
created_at?: string | undefined;
|
|
12
19
|
created_by?: string | undefined;
|
|
13
20
|
display_order?: number | undefined;
|
|
@@ -18,6 +25,10 @@ export type EntitlementResponse = {
|
|
|
18
25
|
feature?: FeatureResponse | undefined;
|
|
19
26
|
feature_id?: string | undefined;
|
|
20
27
|
feature_type?: FeatureType | undefined;
|
|
28
|
+
grant_duration_unit?: EntitlementGrantDurationUnit | undefined;
|
|
29
|
+
grant_duration_value?: number | undefined;
|
|
30
|
+
grant_measure?: EntitlementGrantMeasure | undefined;
|
|
31
|
+
grant_quota?: number | undefined;
|
|
21
32
|
id?: string | undefined;
|
|
22
33
|
is_enabled?: boolean | undefined;
|
|
23
34
|
is_soft_limit?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlementresponse.d.ts","sourceRoot":"","sources":["../../src/models/entitlementresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,MAAM,EAAoB,MAAM,aAAa,CAAC;AAEvD,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CA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AAE,MAAM,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACpD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;CAC9D,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAmCrE,CAAC"}
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { AddonResponse$zodSchema } from "./addonresponse.js";
|
|
6
|
+
import { EntitlementAggregationMode$zodSchema, } from "./entitlementaggregationmode.js";
|
|
6
7
|
import { EntitlementEntityType$zodSchema, } from "./entitlemententitytype.js";
|
|
8
|
+
import { EntitlementGrantDurationUnit$zodSchema, } from "./entitlementgrantdurationunit.js";
|
|
9
|
+
import { EntitlementGrantMeasure$zodSchema, } from "./entitlementgrantmeasure.js";
|
|
7
10
|
import { EntitlementUsageResetPeriod$zodSchema, } from "./entitlementusageresetperiod.js";
|
|
8
11
|
import { FeatureResponse$zodSchema, } from "./featureresponse.js";
|
|
9
12
|
import { FeatureType$zodSchema } from "./featuretype.js";
|
|
@@ -12,6 +15,8 @@ import { Status$zodSchema } from "./status.js";
|
|
|
12
15
|
export const EntitlementResponse$zodSchema = z
|
|
13
16
|
.object({
|
|
14
17
|
addon: z.lazy(() => AddonResponse$zodSchema).optional(),
|
|
18
|
+
aggregation_mode: EntitlementAggregationMode$zodSchema.optional(),
|
|
19
|
+
config_value: z.record(z.string(), z.any()).optional(),
|
|
15
20
|
created_at: z.iso.datetime({ offset: true }).optional(),
|
|
16
21
|
created_by: z.string().optional(),
|
|
17
22
|
display_order: z.int().optional(),
|
|
@@ -22,6 +27,10 @@ export const EntitlementResponse$zodSchema = z
|
|
|
22
27
|
feature: FeatureResponse$zodSchema.optional(),
|
|
23
28
|
feature_id: z.string().optional(),
|
|
24
29
|
feature_type: FeatureType$zodSchema.optional(),
|
|
30
|
+
grant_duration_unit: EntitlementGrantDurationUnit$zodSchema.optional(),
|
|
31
|
+
grant_duration_value: z.int().optional(),
|
|
32
|
+
grant_measure: EntitlementGrantMeasure$zodSchema.optional(),
|
|
33
|
+
grant_quota: z.number().optional(),
|
|
25
34
|
id: z.string().optional(),
|
|
26
35
|
is_enabled: z.boolean().optional(),
|
|
27
36
|
is_soft_limit: z.boolean().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlementresponse.js","sourceRoot":"","sources":["../../src/models/entitlementresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,qCAAqC,GACtC,MAAM,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AAE;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrC,iEAAiE,CAClE;IACD,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/B,kBAAkB,EAAE,qCAAqC,CAAC,QAAQ,EAAE;CACrE,CAAC,CAAC"}
|
|
@@ -2,6 +2,9 @@ import * as z from "zod";
|
|
|
2
2
|
import { BillingPeriod } from "./billingperiod.js";
|
|
3
3
|
import { EntitlementSourceEntityType } from "./entitlementsourceentitytype.js";
|
|
4
4
|
export type EntitlementSource = {
|
|
5
|
+
config_value?: {
|
|
6
|
+
[k: string]: any;
|
|
7
|
+
} | undefined;
|
|
5
8
|
entitlement_id?: string | undefined;
|
|
6
9
|
entity_id?: string | undefined;
|
|
7
10
|
entity_name?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlementsource.d.ts","sourceRoot":"","sources":["../../src/models/entitlementsource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCA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AAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAajE,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { BillingPeriod$zodSchema } from "./billingperiod.js";
|
|
|
6
6
|
import { EntitlementSourceEntityType$zodSchema, } from "./entitlementsourceentitytype.js";
|
|
7
7
|
export const EntitlementSource$zodSchema = z
|
|
8
8
|
.object({
|
|
9
|
+
config_value: z.record(z.string(), z.any()).optional(),
|
|
9
10
|
entitlement_id: z.string().optional(),
|
|
10
11
|
entity_id: z.string().optional(),
|
|
11
12
|
entity_name: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlementsource.js","sourceRoot":"","sources":["../../src/models/entitlementsource.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;
|
|
1
|
+
{"version":3,"file":"entitlementsource.js","sourceRoot":"","sources":["../../src/models/entitlementsource.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;AAgB1C,MAAM,CAAC,MAAM,2BAA2B,GAAiC,CAAC;KACvE,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,qCAAqC,CAAC,QAAQ,EAAE;IAC7D,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC5B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/B,kBAAkB,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const EntityChangeBehaviour: {
|
|
4
|
+
readonly Carry: "carry";
|
|
5
|
+
readonly Drop: "drop";
|
|
6
|
+
};
|
|
7
|
+
export type EntityChangeBehaviour = ClosedEnum<typeof EntityChangeBehaviour>;
|
|
8
|
+
export declare const EntityChangeBehaviour$zodSchema: z.ZodEnum<{
|
|
9
|
+
carry: "carry";
|
|
10
|
+
drop: "drop";
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=entitychangebehaviour.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitychangebehaviour.d.ts","sourceRoot":"","sources":["../../src/models/entitychangebehaviour.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,+BAA+B;;;EAG1C,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 EntityChangeBehaviour = {
|
|
6
|
+
Carry: "carry",
|
|
7
|
+
Drop: "drop",
|
|
8
|
+
};
|
|
9
|
+
export const EntityChangeBehaviour$zodSchema = z.enum([
|
|
10
|
+
"carry",
|
|
11
|
+
"drop",
|
|
12
|
+
]);
|
|
13
|
+
//# sourceMappingURL=entitychangebehaviour.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitychangebehaviour.js","sourceRoot":"","sources":["../../src/models/entitychangebehaviour.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC;IACpD,OAAO;IACP,MAAM;CACP,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { EntityChangeBehaviour } from "./entitychangebehaviour.js";
|
|
3
|
+
export type EntityChangePolicy = {
|
|
4
|
+
default_behaviour?: EntityChangeBehaviour | undefined;
|
|
5
|
+
overrides?: {
|
|
6
|
+
[k: string]: EntityChangeBehaviour;
|
|
7
|
+
} | undefined;
|
|
8
|
+
};
|
|
9
|
+
export declare const EntityChangePolicy$zodSchema: z.ZodType<EntityChangePolicy>;
|
|
10
|
+
//# sourceMappingURL=entitychangepolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitychangepolicy.d.ts","sourceRoot":"","sources":["../../src/models/entitychangepolicy.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iBAAiB,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACtD,SAAS,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,qBAAqB,CAAA;KAAE,GAAG,SAAS,CAAC;CAChE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAOnE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { EntityChangeBehaviour$zodSchema, } from "./entitychangebehaviour.js";
|
|
6
|
+
export const EntityChangePolicy$zodSchema = z
|
|
7
|
+
.object({
|
|
8
|
+
default_behaviour: EntityChangeBehaviour$zodSchema.optional(),
|
|
9
|
+
overrides: z.record(z.string(), EntityChangeBehaviour$zodSchema).optional()
|
|
10
|
+
.describe("Overrides is keyed by addon_associations.id (instance), not catalogue addon_id."),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=entitychangepolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitychangepolicy.js","sourceRoot":"","sources":["../../src/models/entitychangepolicy.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAOpC,MAAM,CAAC,MAAM,4BAA4B,GAAkC,CAAC;KACzE,MAAM,CAAC;IACN,iBAAiB,EAAE,+BAA+B,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,+BAA+B,CAAC,CAAC,QAAQ,EAAE;SACxE,QAAQ,CACP,iFAAiF,CAClF;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { EntityChangeBehaviour } from "./entitychangebehaviour.js";
|
|
3
|
+
import { SubscriptionLineItemEntityType } from "./subscriptionlineitementitytype.js";
|
|
4
|
+
export type EntityChangeResult = {
|
|
5
|
+
behaviour?: EntityChangeBehaviour | undefined;
|
|
6
|
+
entity_id?: string | undefined;
|
|
7
|
+
entity_type?: SubscriptionLineItemEntityType | undefined;
|
|
8
|
+
reference_id?: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare const EntityChangeResult$zodSchema: z.ZodType<EntityChangeResult>;
|
|
11
|
+
//# sourceMappingURL=entitychangeresult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitychangeresult.d.ts","sourceRoot":"","sources":["../../src/models/entitychangeresult.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACzD,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAMnE,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 { EntityChangeBehaviour$zodSchema, } from "./entitychangebehaviour.js";
|
|
6
|
+
import { SubscriptionLineItemEntityType$zodSchema, } from "./subscriptionlineitementitytype.js";
|
|
7
|
+
export const EntityChangeResult$zodSchema = z
|
|
8
|
+
.object({
|
|
9
|
+
behaviour: EntityChangeBehaviour$zodSchema.optional(),
|
|
10
|
+
entity_id: z.string().optional(),
|
|
11
|
+
entity_type: SubscriptionLineItemEntityType$zodSchema.optional(),
|
|
12
|
+
reference_id: z.string().optional(),
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=entitychangeresult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitychangeresult.js","sourceRoot":"","sources":["../../src/models/entitychangeresult.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,wCAAwC,GACzC,MAAM,qCAAqC,CAAC;AAS7C,MAAM,CAAC,MAAM,4BAA4B,GAAkC,CAAC;KACzE,MAAM,CAAC;IACN,SAAS,EAAE,+BAA+B,CAAC,QAAQ,EAAE;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,wCAAwC,CAAC,QAAQ,EAAE;IAChE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC"}
|
|
@@ -13,6 +13,7 @@ export declare const ErrorCode: {
|
|
|
13
13
|
readonly DatabaseError: "database_error";
|
|
14
14
|
readonly ServiceUnavailable: "service_unavailable";
|
|
15
15
|
readonly TooManyRequests: "too_many_requests";
|
|
16
|
+
readonly NotImplemented: "not_implemented";
|
|
16
17
|
};
|
|
17
18
|
export type ErrorCode = ClosedEnum<typeof ErrorCode>;
|
|
18
19
|
export declare const ErrorCode$zodSchema: z.ZodEnum<{
|
|
@@ -28,5 +29,6 @@ export declare const ErrorCode$zodSchema: z.ZodEnum<{
|
|
|
28
29
|
database_error: "database_error";
|
|
29
30
|
service_unavailable: "service_unavailable";
|
|
30
31
|
too_many_requests: "too_many_requests";
|
|
32
|
+
not_implemented: "not_implemented";
|
|
31
33
|
}>;
|
|
32
34
|
//# sourceMappingURL=errorcode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorcode.d.ts","sourceRoot":"","sources":["../../src/models/errorcode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"errorcode.d.ts","sourceRoot":"","sources":["../../src/models/errorcode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;CAcZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;EAc9B,CAAC"}
|
package/esm/models/errorcode.js
CHANGED
|
@@ -15,6 +15,7 @@ export const ErrorCode = {
|
|
|
15
15
|
DatabaseError: "database_error",
|
|
16
16
|
ServiceUnavailable: "service_unavailable",
|
|
17
17
|
TooManyRequests: "too_many_requests",
|
|
18
|
+
NotImplemented: "not_implemented",
|
|
18
19
|
};
|
|
19
20
|
export const ErrorCode$zodSchema = z.enum([
|
|
20
21
|
"http_client_error",
|
|
@@ -29,5 +30,6 @@ export const ErrorCode$zodSchema = z.enum([
|
|
|
29
30
|
"database_error",
|
|
30
31
|
"service_unavailable",
|
|
31
32
|
"too_many_requests",
|
|
33
|
+
"not_implemented",
|
|
32
34
|
]);
|
|
33
35
|
//# sourceMappingURL=errorcode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorcode.js","sourceRoot":"","sources":["../../src/models/errorcode.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe,EAAE,mBAAmB;IACpC,WAAW,EAAE,cAAc;IAC3B,aAAa,EAAE,gBAAgB;IAC/B,QAAQ,EAAE,WAAW;IACrB,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,eAAe,EAAE,kBAAkB;IACnC,gBAAgB,EAAE,mBAAmB;IACrC,gBAAgB,EAAE,mBAAmB;IACrC,aAAa,EAAE,gBAAgB;IAC/B,kBAAkB,EAAE,qBAAqB;IACzC,eAAe,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"errorcode.js","sourceRoot":"","sources":["../../src/models/errorcode.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,eAAe,EAAE,mBAAmB;IACpC,WAAW,EAAE,cAAc;IAC3B,aAAa,EAAE,gBAAgB;IAC/B,QAAQ,EAAE,WAAW;IACrB,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,eAAe,EAAE,kBAAkB;IACnC,gBAAgB,EAAE,mBAAmB;IACrC,gBAAgB,EAAE,mBAAmB;IACrC,aAAa,EAAE,gBAAgB;IAC/B,kBAAkB,EAAE,qBAAqB;IACzC,eAAe,EAAE,mBAAmB;IACpC,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAGX,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,mBAAmB;IACnB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,gBAAgB;IAChB,kBAAkB;IAClB,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,gBAAgB;IAChB,qBAAqB;IACrB,mBAAmB;IACnB,iBAAiB;CAClB,CAAC,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
+
import { CheckoutParams } from "./checkoutparams.js";
|
|
3
|
+
import { SubModifyAddonParams } from "./submodifyaddonparams.js";
|
|
2
4
|
import { SubModifyCouponParams } from "./submodifycouponparams.js";
|
|
3
5
|
import { SubModifyGroupedInvoicingParams } from "./submodifygroupedinvoicingparams.js";
|
|
4
6
|
import { SubModifyInheritanceRequest } from "./submodifyinheritancerequest.js";
|
|
@@ -7,6 +9,8 @@ import { SubModifyTaxParams } from "./submodifytaxparams.js";
|
|
|
7
9
|
import { SubModifyTrialEndRequest } from "./submodifytrialendrequest.js";
|
|
8
10
|
import { SubscriptionModifyType } from "./subscriptionmodifytype.js";
|
|
9
11
|
export type ExecuteSubscriptionModifyRequest = {
|
|
12
|
+
addon_params?: SubModifyAddonParams | undefined;
|
|
13
|
+
checkout?: CheckoutParams | undefined;
|
|
10
14
|
coupon_params?: SubModifyCouponParams | undefined;
|
|
11
15
|
grouped_invoicing_params?: SubModifyGroupedInvoicingParams | undefined;
|
|
12
16
|
inheritance_params?: SubModifyInheritanceRequest | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executesubscriptionmodifyrequest.d.ts","sourceRoot":"","sources":["../../src/models/executesubscriptionmodifyrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,+BAA+B,EAEhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,gCAAgC,GAAG;IAC7C,aAAa,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAClD,wBAAwB,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IACvE,kBAAkB,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC7D,sBAAsB,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACpE,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC5C,gBAAgB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACxD,IAAI,EAAE,sBAAsB,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,gCAAgC,
|
|
1
|
+
{"version":3,"file":"executesubscriptionmodifyrequest.d.ts","sourceRoot":"","sources":["../../src/models/executesubscriptionmodifyrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,cAAc,EAA4B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,+BAA+B,EAEhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,gCAAgC,GAAG;IAC7C,YAAY,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACtC,aAAa,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAClD,wBAAwB,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IACvE,kBAAkB,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC7D,sBAAsB,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACpE,UAAU,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC5C,gBAAgB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACxD,IAAI,EAAE,sBAAsB,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,gCAAgC,CAYhC,CAAC"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod";
|
|
5
|
+
import { CheckoutParams$zodSchema } from "./checkoutparams.js";
|
|
6
|
+
import { SubModifyAddonParams$zodSchema, } from "./submodifyaddonparams.js";
|
|
5
7
|
import { SubModifyCouponParams$zodSchema, } from "./submodifycouponparams.js";
|
|
6
8
|
import { SubModifyGroupedInvoicingParams$zodSchema, } from "./submodifygroupedinvoicingparams.js";
|
|
7
9
|
import { SubModifyInheritanceRequest$zodSchema, } from "./submodifyinheritancerequest.js";
|
|
@@ -10,6 +12,8 @@ import { SubModifyTaxParams$zodSchema, } from "./submodifytaxparams.js";
|
|
|
10
12
|
import { SubModifyTrialEndRequest$zodSchema, } from "./submodifytrialendrequest.js";
|
|
11
13
|
import { SubscriptionModifyType$zodSchema, } from "./subscriptionmodifytype.js";
|
|
12
14
|
export const ExecuteSubscriptionModifyRequest$zodSchema = z.object({
|
|
15
|
+
addon_params: SubModifyAddonParams$zodSchema.optional(),
|
|
16
|
+
checkout: CheckoutParams$zodSchema.optional(),
|
|
13
17
|
coupon_params: SubModifyCouponParams$zodSchema.optional(),
|
|
14
18
|
grouped_invoicing_params: SubModifyGroupedInvoicingParams$zodSchema
|
|
15
19
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executesubscriptionmodifyrequest.js","sourceRoot":"","sources":["../../src/models/executesubscriptionmodifyrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,yCAAyC,GAC1C,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,wCAAwC,GACzC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,kCAAkC,GACnC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,gCAAgC,GACjC,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"executesubscriptionmodifyrequest.js","sourceRoot":"","sources":["../../src/models/executesubscriptionmodifyrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAkB,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,yCAAyC,GAC1C,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,wCAAwC,GACzC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,kCAAkC,GACnC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,gCAAgC,GACjC,MAAM,6BAA6B,CAAC;AAcrC,MAAM,CAAC,MAAM,0CAA0C,GAEnD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACvD,QAAQ,EAAE,wBAAwB,CAAC,QAAQ,EAAE;IAC7C,aAAa,EAAE,+BAA+B,CAAC,QAAQ,EAAE;IACzD,wBAAwB,EAAE,yCAAyC;SAChE,QAAQ,EAAE;IACb,kBAAkB,EAAE,qCAAqC,CAAC,QAAQ,EAAE;IACpE,sBAAsB,EAAE,wCAAwC,CAAC,QAAQ,EAAE;IAC3E,UAAU,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IACnD,gBAAgB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;IAC/D,IAAI,EAAE,gCAAgC;CACvC,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 ExecuteSubscriptionPlanChangeV2Request = {
|
|
6
|
+
id: string;
|
|
7
|
+
body: SubscriptionChangeV2Request;
|
|
8
|
+
};
|
|
9
|
+
export declare const ExecuteSubscriptionPlanChangeV2Request$zodSchema: z.ZodType<ExecuteSubscriptionPlanChangeV2Request>;
|
|
10
|
+
export type ExecuteSubscriptionPlanChangeV2Response = SubscriptionChangeV2Response | ErrorResponse;
|
|
11
|
+
export declare const ExecuteSubscriptionPlanChangeV2Response$zodSchema: z.ZodType<ExecuteSubscriptionPlanChangeV2Response>;
|
|
12
|
+
//# sourceMappingURL=executesubscriptionplanchangev2op.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executesubscriptionplanchangev2op.d.ts","sourceRoot":"","sources":["../../src/models/executesubscriptionplanchangev2op.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 ExecuteSubscriptionPlanChangeV2Request$zodSchema = z.object({
|
|
9
|
+
body: SubscriptionChangeV2Request$zodSchema.describe("Plan change request"),
|
|
10
|
+
id: z.string().describe("Subscription ID"),
|
|
11
|
+
});
|
|
12
|
+
export const ExecuteSubscriptionPlanChangeV2Response$zodSchema = z.union([
|
|
13
|
+
SubscriptionChangeV2Response$zodSchema,
|
|
14
|
+
ErrorResponse$zodSchema,
|
|
15
|
+
]);
|
|
16
|
+
//# sourceMappingURL=executesubscriptionplanchangev2op.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executesubscriptionplanchangev2op.js","sourceRoot":"","sources":["../../src/models/executesubscriptionplanchangev2op.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"}
|
|
@@ -4,11 +4,13 @@ export declare const FeatureType: {
|
|
|
4
4
|
readonly Metered: "metered";
|
|
5
5
|
readonly Boolean: "boolean";
|
|
6
6
|
readonly Static: "static";
|
|
7
|
+
readonly Config: "config";
|
|
7
8
|
};
|
|
8
9
|
export type FeatureType = ClosedEnum<typeof FeatureType>;
|
|
9
10
|
export declare const FeatureType$zodSchema: z.ZodEnum<{
|
|
10
11
|
boolean: "boolean";
|
|
11
12
|
metered: "metered";
|
|
12
13
|
static: "static";
|
|
14
|
+
config: "config";
|
|
13
15
|
}>;
|
|
14
16
|
//# sourceMappingURL=featuretype.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featuretype.d.ts","sourceRoot":"","sources":["../../src/models/featuretype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"featuretype.d.ts","sourceRoot":"","sources":["../../src/models/featuretype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzD,eAAO,MAAM,qBAAqB;;;;;EAKhC,CAAC"}
|
|
@@ -6,10 +6,12 @@ export const FeatureType = {
|
|
|
6
6
|
Metered: "metered",
|
|
7
7
|
Boolean: "boolean",
|
|
8
8
|
Static: "static",
|
|
9
|
+
Config: "config",
|
|
9
10
|
};
|
|
10
11
|
export const FeatureType$zodSchema = z.enum([
|
|
11
12
|
"metered",
|
|
12
13
|
"boolean",
|
|
13
14
|
"static",
|
|
15
|
+
"config",
|
|
14
16
|
]);
|
|
15
17
|
//# sourceMappingURL=featuretype.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featuretype.js","sourceRoot":"","sources":["../../src/models/featuretype.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1C,SAAS;IACT,SAAS;IACT,QAAQ;CACT,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"featuretype.js","sourceRoot":"","sources":["../../src/models/featuretype.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1C,SAAS;IACT,SAAS;IACT,QAAQ;IACR,QAAQ;CACT,CAAC,CAAC"}
|