@flexprice/mcp-server 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -4
- package/bin/mcp-server.js +4537 -180
- package/bin/mcp-server.js.map +176 -58
- package/bun.lock +31 -31
- package/esm/funcs/subscriptionsActivateSubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsActivateSubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsActivateSubscription.js +88 -0
- package/esm/funcs/subscriptionsActivateSubscription.js.map +1 -0
- package/esm/funcs/subscriptionsAddSubscriptionAddon.d.ts +16 -0
- package/esm/funcs/subscriptionsAddSubscriptionAddon.d.ts.map +1 -0
- package/esm/funcs/subscriptionsAddSubscriptionAddon.js +82 -0
- package/esm/funcs/subscriptionsAddSubscriptionAddon.js.map +1 -0
- package/esm/funcs/subscriptionsCancelSubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsCancelSubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsCancelSubscription.js +88 -0
- package/esm/funcs/subscriptionsCancelSubscription.js.map +1 -0
- package/esm/funcs/subscriptionsCancelSubscriptionSchedule.d.ts +16 -0
- package/esm/funcs/subscriptionsCancelSubscriptionSchedule.d.ts.map +1 -0
- package/esm/funcs/subscriptionsCancelSubscriptionSchedule.js +88 -0
- package/esm/funcs/subscriptionsCancelSubscriptionSchedule.js.map +1 -0
- package/esm/funcs/subscriptionsCreateSubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsCreateSubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsCreateSubscription.js +82 -0
- package/esm/funcs/subscriptionsCreateSubscription.js.map +1 -0
- package/esm/funcs/subscriptionsCreateSubscriptionLineItem.d.ts +16 -0
- package/esm/funcs/subscriptionsCreateSubscriptionLineItem.d.ts.map +1 -0
- package/esm/funcs/subscriptionsCreateSubscriptionLineItem.js +88 -0
- package/esm/funcs/subscriptionsCreateSubscriptionLineItem.js.map +1 -0
- package/esm/funcs/subscriptionsDeleteSubscriptionLineItem.d.ts +16 -0
- package/esm/funcs/subscriptionsDeleteSubscriptionLineItem.d.ts.map +1 -0
- package/esm/funcs/subscriptionsDeleteSubscriptionLineItem.js +88 -0
- package/esm/funcs/subscriptionsDeleteSubscriptionLineItem.js.map +1 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionChange.d.ts +16 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionChange.d.ts.map +1 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionChange.js +88 -0
- package/esm/funcs/subscriptionsExecuteSubscriptionChange.js.map +1 -0
- package/esm/funcs/subscriptionsGetSubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsGetSubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsGetSubscription.js +87 -0
- package/esm/funcs/subscriptionsGetSubscription.js.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionAddonAssociations.d.ts +16 -0
- package/esm/funcs/subscriptionsGetSubscriptionAddonAssociations.d.ts.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionAddonAssociations.js +87 -0
- package/esm/funcs/subscriptionsGetSubscriptionAddonAssociations.js.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionEntitlements.d.ts +16 -0
- package/esm/funcs/subscriptionsGetSubscriptionEntitlements.d.ts.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionEntitlements.js +91 -0
- package/esm/funcs/subscriptionsGetSubscriptionEntitlements.js.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionSchedule.d.ts +16 -0
- package/esm/funcs/subscriptionsGetSubscriptionSchedule.d.ts.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionSchedule.js +87 -0
- package/esm/funcs/subscriptionsGetSubscriptionSchedule.js.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionUpcomingGrants.d.ts +16 -0
- package/esm/funcs/subscriptionsGetSubscriptionUpcomingGrants.d.ts.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionUpcomingGrants.js +87 -0
- package/esm/funcs/subscriptionsGetSubscriptionUpcomingGrants.js.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionUsage.d.ts +16 -0
- package/esm/funcs/subscriptionsGetSubscriptionUsage.d.ts.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionUsage.js +82 -0
- package/esm/funcs/subscriptionsGetSubscriptionUsage.js.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionV2.d.ts +16 -0
- package/esm/funcs/subscriptionsGetSubscriptionV2.d.ts.map +1 -0
- package/esm/funcs/subscriptionsGetSubscriptionV2.js +91 -0
- package/esm/funcs/subscriptionsGetSubscriptionV2.js.map +1 -0
- package/esm/funcs/subscriptionsListAllSubscriptionSchedules.d.ts +16 -0
- package/esm/funcs/subscriptionsListAllSubscriptionSchedules.d.ts.map +1 -0
- package/esm/funcs/subscriptionsListAllSubscriptionSchedules.js +88 -0
- package/esm/funcs/subscriptionsListAllSubscriptionSchedules.js.map +1 -0
- package/esm/funcs/subscriptionsListSubscriptionPauses.d.ts +16 -0
- package/esm/funcs/subscriptionsListSubscriptionPauses.d.ts.map +1 -0
- package/esm/funcs/subscriptionsListSubscriptionPauses.js +87 -0
- package/esm/funcs/subscriptionsListSubscriptionPauses.js.map +1 -0
- package/esm/funcs/subscriptionsListSubscriptionSchedules.d.ts +16 -0
- package/esm/funcs/subscriptionsListSubscriptionSchedules.d.ts.map +1 -0
- package/esm/funcs/subscriptionsListSubscriptionSchedules.js +87 -0
- package/esm/funcs/subscriptionsListSubscriptionSchedules.js.map +1 -0
- package/esm/funcs/subscriptionsPauseSubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsPauseSubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsPauseSubscription.js +88 -0
- package/esm/funcs/subscriptionsPauseSubscription.js.map +1 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionChange.d.ts +16 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionChange.d.ts.map +1 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionChange.js +88 -0
- package/esm/funcs/subscriptionsPreviewSubscriptionChange.js.map +1 -0
- package/esm/funcs/subscriptionsQuerySubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsQuerySubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsQuerySubscription.js +82 -0
- package/esm/funcs/subscriptionsQuerySubscription.js.map +1 -0
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.d.ts +16 -0
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.d.ts.map +1 -0
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.js +82 -0
- package/esm/funcs/subscriptionsRemoveSubscriptionAddon.js.map +1 -0
- package/esm/funcs/subscriptionsResumeSubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsResumeSubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsResumeSubscription.js +88 -0
- package/esm/funcs/subscriptionsResumeSubscription.js.map +1 -0
- package/esm/funcs/subscriptionsUpdateSubscription.d.ts +16 -0
- package/esm/funcs/subscriptionsUpdateSubscription.d.ts.map +1 -0
- package/esm/funcs/subscriptionsUpdateSubscription.js +88 -0
- package/esm/funcs/subscriptionsUpdateSubscription.js.map +1 -0
- package/esm/funcs/subscriptionsUpdateSubscriptionLineItem.d.ts +16 -0
- package/esm/funcs/subscriptionsUpdateSubscriptionLineItem.d.ts.map +1 -0
- package/esm/funcs/subscriptionsUpdateSubscriptionLineItem.js +88 -0
- package/esm/funcs/subscriptionsUpdateSubscriptionLineItem.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/files.d.ts +13 -0
- package/esm/lib/files.d.ts.map +1 -1
- package/esm/lib/files.js +18 -0
- package/esm/lib/files.js.map +1 -1
- package/esm/mcp-server/cli/serve/command.d.ts.map +1 -1
- package/esm/mcp-server/cli/serve/command.js +8 -0
- package/esm/mcp-server/cli/serve/command.js.map +1 -1
- package/esm/mcp-server/cli/serve/impl.js +1 -0
- package/esm/mcp-server/cli/serve/impl.js.map +1 -1
- package/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/esm/mcp-server/cli/start/command.js +8 -0
- package/esm/mcp-server/cli/start/command.js.map +1 -1
- package/esm/mcp-server/cli/start/impl.js +2 -0
- package/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/esm/mcp-server/flags.d.ts +2 -0
- package/esm/mcp-server/flags.d.ts.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/scopes.d.ts +1 -1
- package/esm/mcp-server/scopes.d.ts.map +1 -1
- package/esm/mcp-server/scopes.js +5 -1
- package/esm/mcp-server/scopes.js.map +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +51 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/customersCreateCustomer.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersCreateCustomer.js +1 -0
- package/esm/mcp-server/tools/customersCreateCustomer.js.map +1 -1
- package/esm/mcp-server/tools/customersDeleteCustomer.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersDeleteCustomer.js +2 -1
- package/esm/mcp-server/tools/customersDeleteCustomer.js.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomer.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomer.js +2 -1
- package/esm/mcp-server/tools/customersGetCustomer.js.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerByExternalId.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerByExternalId.js +2 -1
- package/esm/mcp-server/tools/customersGetCustomerByExternalId.js.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerEntitlements.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerEntitlements.js +2 -1
- package/esm/mcp-server/tools/customersGetCustomerEntitlements.js.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerUpcomingGrants.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerUpcomingGrants.js +2 -1
- package/esm/mcp-server/tools/customersGetCustomerUpcomingGrants.js.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerUsageSummary.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersGetCustomerUsageSummary.js +2 -1
- package/esm/mcp-server/tools/customersGetCustomerUsageSummary.js.map +1 -1
- package/esm/mcp-server/tools/customersQueryCustomer.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersQueryCustomer.js +2 -1
- package/esm/mcp-server/tools/customersQueryCustomer.js.map +1 -1
- package/esm/mcp-server/tools/customersUpdateCustomer.d.ts.map +1 -1
- package/esm/mcp-server/tools/customersUpdateCustomer.js +1 -0
- package/esm/mcp-server/tools/customersUpdateCustomer.js.map +1 -1
- package/esm/mcp-server/tools/eventsGetEvent.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsGetEvent.js +2 -1
- package/esm/mcp-server/tools/eventsGetEvent.js.map +1 -1
- package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js +1 -0
- package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js.map +1 -1
- package/esm/mcp-server/tools/eventsGetUsageAnalytics.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsGetUsageAnalytics.js +1 -0
- package/esm/mcp-server/tools/eventsGetUsageAnalytics.js.map +1 -1
- package/esm/mcp-server/tools/eventsGetUsageByMeter.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsGetUsageByMeter.js +1 -0
- package/esm/mcp-server/tools/eventsGetUsageByMeter.js.map +1 -1
- package/esm/mcp-server/tools/eventsGetUsageStatistics.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsGetUsageStatistics.js +1 -0
- package/esm/mcp-server/tools/eventsGetUsageStatistics.js.map +1 -1
- package/esm/mcp-server/tools/eventsIngestEvent.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsIngestEvent.js +1 -0
- package/esm/mcp-server/tools/eventsIngestEvent.js.map +1 -1
- package/esm/mcp-server/tools/eventsIngestEventsBulk.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsIngestEventsBulk.js +1 -0
- package/esm/mcp-server/tools/eventsIngestEventsBulk.js.map +1 -1
- package/esm/mcp-server/tools/eventsListRawEvents.d.ts.map +1 -1
- package/esm/mcp-server/tools/eventsListRawEvents.js +1 -0
- package/esm/mcp-server/tools/eventsListRawEvents.js.map +1 -1
- package/esm/mcp-server/tools/invoicesAttemptInvoicePayment.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesAttemptInvoicePayment.js +1 -0
- package/esm/mcp-server/tools/invoicesAttemptInvoicePayment.js.map +1 -1
- package/esm/mcp-server/tools/invoicesCreateInvoice.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesCreateInvoice.js +1 -0
- package/esm/mcp-server/tools/invoicesCreateInvoice.js.map +1 -1
- package/esm/mcp-server/tools/invoicesFinalizeInvoice.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesFinalizeInvoice.js +2 -1
- package/esm/mcp-server/tools/invoicesFinalizeInvoice.js.map +1 -1
- package/esm/mcp-server/tools/invoicesGetCustomerInvoiceSummary.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesGetCustomerInvoiceSummary.js +2 -1
- package/esm/mcp-server/tools/invoicesGetCustomerInvoiceSummary.js.map +1 -1
- package/esm/mcp-server/tools/invoicesGetInvoice.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesGetInvoice.js +2 -1
- package/esm/mcp-server/tools/invoicesGetInvoice.js.map +1 -1
- package/esm/mcp-server/tools/invoicesGetInvoicePdf.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesGetInvoicePdf.js +2 -1
- package/esm/mcp-server/tools/invoicesGetInvoicePdf.js.map +1 -1
- package/esm/mcp-server/tools/invoicesGetInvoicePreview.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesGetInvoicePreview.js +1 -0
- package/esm/mcp-server/tools/invoicesGetInvoicePreview.js.map +1 -1
- package/esm/mcp-server/tools/invoicesQueryInvoice.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesQueryInvoice.js +1 -0
- package/esm/mcp-server/tools/invoicesQueryInvoice.js.map +1 -1
- package/esm/mcp-server/tools/invoicesRecalculateInvoice.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesRecalculateInvoice.js +1 -0
- package/esm/mcp-server/tools/invoicesRecalculateInvoice.js.map +1 -1
- package/esm/mcp-server/tools/invoicesRecalculateInvoiceV2.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesRecalculateInvoiceV2.js +1 -0
- package/esm/mcp-server/tools/invoicesRecalculateInvoiceV2.js.map +1 -1
- package/esm/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.js +1 -0
- package/esm/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.js.map +1 -1
- package/esm/mcp-server/tools/invoicesUpdateInvoice.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesUpdateInvoice.js +1 -0
- package/esm/mcp-server/tools/invoicesUpdateInvoice.js.map +1 -1
- package/esm/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.js +1 -0
- package/esm/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.js.map +1 -1
- package/esm/mcp-server/tools/invoicesVoidInvoice.d.ts.map +1 -1
- package/esm/mcp-server/tools/invoicesVoidInvoice.js +1 -0
- package/esm/mcp-server/tools/invoicesVoidInvoice.js.map +1 -1
- package/esm/mcp-server/tools/plansCreatePlan.d.ts.map +1 -1
- package/esm/mcp-server/tools/plansCreatePlan.js +1 -0
- package/esm/mcp-server/tools/plansCreatePlan.js.map +1 -1
- package/esm/mcp-server/tools/plansDeletePlan.d.ts.map +1 -1
- package/esm/mcp-server/tools/plansDeletePlan.js +2 -1
- package/esm/mcp-server/tools/plansDeletePlan.js.map +1 -1
- package/esm/mcp-server/tools/plansGetPlan.d.ts.map +1 -1
- package/esm/mcp-server/tools/plansGetPlan.js +2 -1
- package/esm/mcp-server/tools/plansGetPlan.js.map +1 -1
- package/esm/mcp-server/tools/plansPostPlansIdClone.d.ts.map +1 -1
- package/esm/mcp-server/tools/plansPostPlansIdClone.js +1 -0
- package/esm/mcp-server/tools/plansPostPlansIdClone.js.map +1 -1
- package/esm/mcp-server/tools/plansQueryPlan.d.ts.map +1 -1
- package/esm/mcp-server/tools/plansQueryPlan.js +1 -0
- package/esm/mcp-server/tools/plansQueryPlan.js.map +1 -1
- package/esm/mcp-server/tools/plansSyncPlanPrices.d.ts.map +1 -1
- package/esm/mcp-server/tools/plansSyncPlanPrices.js +1 -0
- package/esm/mcp-server/tools/plansSyncPlanPrices.js.map +1 -1
- package/esm/mcp-server/tools/plansUpdatePlan.d.ts.map +1 -1
- package/esm/mcp-server/tools/plansUpdatePlan.js +1 -0
- package/esm/mcp-server/tools/plansUpdatePlan.js.map +1 -1
- package/esm/mcp-server/tools/pricesCreatePrice.d.ts.map +1 -1
- package/esm/mcp-server/tools/pricesCreatePrice.js +1 -0
- package/esm/mcp-server/tools/pricesCreatePrice.js.map +1 -1
- package/esm/mcp-server/tools/pricesCreatePricesBulk.d.ts.map +1 -1
- package/esm/mcp-server/tools/pricesCreatePricesBulk.js +1 -0
- package/esm/mcp-server/tools/pricesCreatePricesBulk.js.map +1 -1
- package/esm/mcp-server/tools/pricesDeletePrice.d.ts.map +1 -1
- package/esm/mcp-server/tools/pricesDeletePrice.js +2 -1
- package/esm/mcp-server/tools/pricesDeletePrice.js.map +1 -1
- package/esm/mcp-server/tools/pricesGetPrice.d.ts.map +1 -1
- package/esm/mcp-server/tools/pricesGetPrice.js +2 -1
- package/esm/mcp-server/tools/pricesGetPrice.js.map +1 -1
- package/esm/mcp-server/tools/pricesGetPriceByLookupKey.d.ts.map +1 -1
- package/esm/mcp-server/tools/pricesGetPriceByLookupKey.js +2 -1
- package/esm/mcp-server/tools/pricesGetPriceByLookupKey.js.map +1 -1
- package/esm/mcp-server/tools/pricesQueryPrice.d.ts.map +1 -1
- package/esm/mcp-server/tools/pricesQueryPrice.js +1 -0
- package/esm/mcp-server/tools/pricesQueryPrice.js.map +1 -1
- package/esm/mcp-server/tools/pricesUpdatePrice.d.ts.map +1 -1
- package/esm/mcp-server/tools/pricesUpdatePrice.js +1 -0
- package/esm/mcp-server/tools/pricesUpdatePrice.js.map +1 -1
- package/esm/mcp-server/tools/subscriptionsActivateSubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsActivateSubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsActivateSubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsActivateSubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsAddSubscriptionAddon.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsAddSubscriptionAddon.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsAddSubscriptionAddon.js +35 -0
- package/esm/mcp-server/tools/subscriptionsAddSubscriptionAddon.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscriptionSchedule.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscriptionSchedule.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscriptionSchedule.js +35 -0
- package/esm/mcp-server/tools/subscriptionsCancelSubscriptionSchedule.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscriptionLineItem.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscriptionLineItem.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscriptionLineItem.js +35 -0
- package/esm/mcp-server/tools/subscriptionsCreateSubscriptionLineItem.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsDeleteSubscriptionLineItem.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsDeleteSubscriptionLineItem.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsDeleteSubscriptionLineItem.js +35 -0
- package/esm/mcp-server/tools/subscriptionsDeleteSubscriptionLineItem.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionChange.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionChange.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionChange.js +35 -0
- package/esm/mcp-server/tools/subscriptionsExecuteSubscriptionChange.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionAddonAssociations.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionAddonAssociations.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionAddonAssociations.js +35 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionAddonAssociations.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionEntitlements.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionEntitlements.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionEntitlements.js +35 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionEntitlements.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionSchedule.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionSchedule.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionSchedule.js +35 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionSchedule.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUpcomingGrants.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUpcomingGrants.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUpcomingGrants.js +35 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUpcomingGrants.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUsage.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUsage.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUsage.js +35 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionUsage.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionV2.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionV2.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionV2.js +35 -0
- package/esm/mcp-server/tools/subscriptionsGetSubscriptionV2.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsListAllSubscriptionSchedules.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsListAllSubscriptionSchedules.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsListAllSubscriptionSchedules.js +35 -0
- package/esm/mcp-server/tools/subscriptionsListAllSubscriptionSchedules.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionPauses.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionPauses.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionPauses.js +35 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionPauses.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionSchedules.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionSchedules.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionSchedules.js +35 -0
- package/esm/mcp-server/tools/subscriptionsListSubscriptionSchedules.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsPauseSubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsPauseSubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsPauseSubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsPauseSubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionChange.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionChange.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionChange.js +35 -0
- package/esm/mcp-server/tools/subscriptionsPreviewSubscriptionChange.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsQuerySubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsQuerySubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsQuerySubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsQuerySubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.js +35 -0
- package/esm/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsResumeSubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsResumeSubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsResumeSubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsResumeSubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscription.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscription.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscription.js +35 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscription.js.map +1 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscriptionLineItem.d.ts +7 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscriptionLineItem.d.ts.map +1 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscriptionLineItem.js +35 -0
- package/esm/mcp-server/tools/subscriptionsUpdateSubscriptionLineItem.js.map +1 -0
- package/esm/models/activatesubscriptionop.d.ts +12 -0
- package/esm/models/activatesubscriptionop.d.ts.map +1 -0
- package/esm/models/activatesubscriptionop.js +16 -0
- package/esm/models/activatesubscriptionop.js.map +1 -0
- package/esm/models/addonassociationentitytype.d.ts +14 -0
- package/esm/models/addonassociationentitytype.d.ts.map +1 -0
- package/esm/models/addonassociationentitytype.js +15 -0
- package/esm/models/addonassociationentitytype.js.map +1 -0
- package/esm/models/addonstatus.d.ts +14 -0
- package/esm/models/addonstatus.d.ts.map +1 -0
- package/esm/models/addonstatus.js +15 -0
- package/esm/models/addonstatus.js.map +1 -0
- package/esm/models/addsubscriptionaddonop.d.ts +6 -0
- package/esm/models/addsubscriptionaddonop.d.ts.map +1 -0
- package/esm/models/addsubscriptionaddonop.js +11 -0
- package/esm/models/addsubscriptionaddonop.js.map +1 -0
- package/esm/models/cancelimmediatelyinvoicepolicy.d.ts +12 -0
- package/esm/models/cancelimmediatelyinvoicepolicy.d.ts.map +1 -0
- package/esm/models/cancelimmediatelyinvoicepolicy.js +13 -0
- package/esm/models/cancelimmediatelyinvoicepolicy.js.map +1 -0
- package/esm/models/cancellationtype.d.ts +12 -0
- package/esm/models/cancellationtype.d.ts.map +1 -0
- package/esm/models/cancellationtype.js +13 -0
- package/esm/models/cancellationtype.js.map +1 -0
- package/esm/models/cancelsubscriptionop.d.ts +12 -0
- package/esm/models/cancelsubscriptionop.d.ts.map +1 -0
- package/esm/models/cancelsubscriptionop.js +16 -0
- package/esm/models/cancelsubscriptionop.js.map +1 -0
- package/esm/models/cancelsubscriptionscheduleop.d.ts +8 -0
- package/esm/models/cancelsubscriptionscheduleop.d.ts.map +1 -0
- package/esm/models/cancelsubscriptionscheduleop.js +10 -0
- package/esm/models/cancelsubscriptionscheduleop.js.map +1 -0
- package/esm/models/collectionmethod.d.ts +12 -0
- package/esm/models/collectionmethod.d.ts.map +1 -0
- package/esm/models/collectionmethod.js +13 -0
- package/esm/models/collectionmethod.js.map +1 -0
- package/esm/models/createsubscriptionlineitemop.d.ts +12 -0
- package/esm/models/createsubscriptionlineitemop.d.ts.map +1 -0
- package/esm/models/createsubscriptionlineitemop.js +16 -0
- package/esm/models/createsubscriptionlineitemop.js.map +1 -0
- package/esm/models/createsubscriptionop.d.ts +6 -0
- package/esm/models/createsubscriptionop.d.ts.map +1 -0
- package/esm/models/createsubscriptionop.js +11 -0
- package/esm/models/createsubscriptionop.js.map +1 -0
- package/esm/models/creditgrantexpirydurationunit.d.ts +1 -1
- package/esm/models/deletesubscriptionlineitemop.d.ts +12 -0
- package/esm/models/deletesubscriptionlineitemop.d.ts.map +1 -0
- package/esm/models/deletesubscriptionlineitemop.js +16 -0
- package/esm/models/deletesubscriptionlineitemop.js.map +1 -0
- package/esm/models/dtoactivatedraftsubscriptionrequest.d.ts +6 -0
- package/esm/models/dtoactivatedraftsubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtoactivatedraftsubscriptionrequest.js +8 -0
- package/esm/models/dtoactivatedraftsubscriptionrequest.js.map +1 -0
- package/esm/models/dtoaddaddonrequest.d.ts +15 -0
- package/esm/models/dtoaddaddonrequest.d.ts.map +1 -0
- package/esm/models/dtoaddaddonrequest.js +14 -0
- package/esm/models/dtoaddaddonrequest.js.map +1 -0
- package/esm/models/dtoaddaddontosubscriptionrequest.d.ts +14 -0
- package/esm/models/dtoaddaddontosubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtoaddaddontosubscriptionrequest.js +12 -0
- package/esm/models/dtoaddaddontosubscriptionrequest.js.map +1 -0
- package/esm/models/dtoaddonassociationresponse.d.ts +31 -0
- package/esm/models/dtoaddonassociationresponse.d.ts.map +1 -0
- package/esm/models/dtoaddonassociationresponse.js +31 -0
- package/esm/models/dtoaddonassociationresponse.js.map +1 -0
- package/esm/models/dtobillingcycleinfo.d.ts +13 -0
- package/esm/models/dtobillingcycleinfo.d.ts.map +1 -0
- package/esm/models/dtobillingcycleinfo.js +16 -0
- package/esm/models/dtobillingcycleinfo.js.map +1 -0
- package/esm/models/dtocancelschedulerequest.d.ts +12 -0
- package/esm/models/dtocancelschedulerequest.d.ts.map +1 -0
- package/esm/models/dtocancelschedulerequest.js +11 -0
- package/esm/models/dtocancelschedulerequest.js.map +1 -0
- package/esm/models/dtocancelscheduleresponse.d.ts +11 -0
- package/esm/models/dtocancelscheduleresponse.d.ts.map +1 -0
- package/esm/models/dtocancelscheduleresponse.js +10 -0
- package/esm/models/dtocancelscheduleresponse.js.map +1 -0
- package/esm/models/dtocancelsubscriptionrequest.d.ts +12 -0
- package/esm/models/dtocancelsubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtocancelsubscriptionrequest.js +15 -0
- package/esm/models/dtocancelsubscriptionrequest.js.map +1 -0
- package/esm/models/dtocancelsubscriptionresponse.d.ts +19 -0
- package/esm/models/dtocancelsubscriptionresponse.d.ts.map +1 -0
- package/esm/models/dtocancelsubscriptionresponse.js +21 -0
- package/esm/models/dtocancelsubscriptionresponse.js.map +1 -0
- package/esm/models/dtocreatecreditgrantrequest.d.ts +29 -0
- package/esm/models/dtocreatecreditgrantrequest.d.ts.map +1 -0
- package/esm/models/dtocreatecreditgrantrequest.js +29 -0
- package/esm/models/dtocreatecreditgrantrequest.js.map +1 -0
- package/esm/models/dtocreatesubscriptionlineitemrequest.d.ts +25 -0
- package/esm/models/dtocreatesubscriptionlineitemrequest.d.ts.map +1 -0
- package/esm/models/dtocreatesubscriptionlineitemrequest.js +25 -0
- package/esm/models/dtocreatesubscriptionlineitemrequest.js.map +1 -0
- package/esm/models/dtocreatesubscriptionrequest.d.ts +65 -0
- package/esm/models/dtocreatesubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtocreatesubscriptionrequest.js +63 -0
- package/esm/models/dtocreatesubscriptionrequest.js.map +1 -0
- package/esm/models/dtodeletesubscriptionlineitemrequest.d.ts +6 -0
- package/esm/models/dtodeletesubscriptionlineitemrequest.d.ts.map +1 -0
- package/esm/models/dtodeletesubscriptionlineitemrequest.js +8 -0
- package/esm/models/dtodeletesubscriptionlineitemrequest.js.map +1 -0
- package/esm/models/dtogetpendingschedulesresponse.d.ts +11 -0
- package/esm/models/dtogetpendingschedulesresponse.d.ts.map +1 -0
- package/esm/models/dtogetpendingschedulesresponse.js +10 -0
- package/esm/models/dtogetpendingschedulesresponse.js.map +1 -0
- package/esm/models/dtogetusagebysubscriptionrequest.d.ts +9 -0
- package/esm/models/dtogetusagebysubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtogetusagebysubscriptionrequest.js +11 -0
- package/esm/models/dtogetusagebysubscriptionrequest.js.map +1 -0
- package/esm/models/dtogetusagebysubscriptionresponse.d.ts +17 -0
- package/esm/models/dtogetusagebysubscriptionresponse.d.ts.map +1 -0
- package/esm/models/dtogetusagebysubscriptionresponse.js +19 -0
- package/esm/models/dtogetusagebysubscriptionresponse.js.map +1 -0
- package/esm/models/dtoinvoicelineitempreview.d.ts +12 -0
- package/esm/models/dtoinvoicelineitempreview.d.ts.map +1 -0
- package/esm/models/dtoinvoicelineitempreview.js +14 -0
- package/esm/models/dtoinvoicelineitempreview.js.map +1 -0
- package/esm/models/dtoinvoicepreview.d.ts +12 -0
- package/esm/models/dtoinvoicepreview.d.ts.map +1 -0
- package/esm/models/dtoinvoicepreview.js +15 -0
- package/esm/models/dtoinvoicepreview.js.map +1 -0
- package/esm/models/dtolineitemcommitmentconfig.d.ts +14 -0
- package/esm/models/dtolineitemcommitmentconfig.d.ts.map +1 -0
- package/esm/models/dtolineitemcommitmentconfig.js +16 -0
- package/esm/models/dtolineitemcommitmentconfig.js.map +1 -0
- package/esm/models/dtolistsubscriptionpausesresponse.d.ts +11 -0
- package/esm/models/dtolistsubscriptionpausesresponse.d.ts.map +1 -0
- package/esm/models/dtolistsubscriptionpausesresponse.js +10 -0
- package/esm/models/dtolistsubscriptionpausesresponse.js.map +1 -0
- package/esm/models/dtolistsubscriptionsresponse.d.ts +9 -0
- package/esm/models/dtolistsubscriptionsresponse.d.ts.map +1 -0
- package/esm/models/dtolistsubscriptionsresponse.js +11 -0
- package/esm/models/dtolistsubscriptionsresponse.js.map +1 -0
- package/esm/models/dtooverrideentitlementrequest.d.ts +9 -0
- package/esm/models/dtooverrideentitlementrequest.d.ts.map +1 -0
- package/esm/models/dtooverrideentitlementrequest.js +11 -0
- package/esm/models/dtooverrideentitlementrequest.js.map +1 -0
- package/esm/models/dtooverridelineitemrequest.d.ts +18 -0
- package/esm/models/dtooverridelineitemrequest.d.ts.map +1 -0
- package/esm/models/dtooverridelineitemrequest.js +20 -0
- package/esm/models/dtooverridelineitemrequest.js.map +1 -0
- package/esm/models/dtopausesubscriptionrequest.d.ts +18 -0
- package/esm/models/dtopausesubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtopausesubscriptionrequest.js +15 -0
- package/esm/models/dtopausesubscriptionrequest.js.map +1 -0
- package/esm/models/dtoplansummary.d.ts +9 -0
- package/esm/models/dtoplansummary.d.ts.map +1 -0
- package/esm/models/dtoplansummary.js +11 -0
- package/esm/models/dtoplansummary.js.map +1 -0
- package/esm/models/dtoprorationdetail.d.ts +13 -0
- package/esm/models/dtoprorationdetail.d.ts.map +1 -0
- package/esm/models/dtoprorationdetail.js +16 -0
- package/esm/models/dtoprorationdetail.js.map +1 -0
- package/esm/models/dtoprorationdetails.d.ts +16 -0
- package/esm/models/dtoprorationdetails.d.ts.map +1 -0
- package/esm/models/dtoprorationdetails.js +19 -0
- package/esm/models/dtoprorationdetails.js.map +1 -0
- package/esm/models/dtoremoveaddonrequest.d.ts +7 -0
- package/esm/models/dtoremoveaddonrequest.d.ts.map +1 -0
- package/esm/models/dtoremoveaddonrequest.js +9 -0
- package/esm/models/dtoremoveaddonrequest.js.map +1 -0
- package/esm/models/dtoresumesubscriptionrequest.d.ts +14 -0
- package/esm/models/dtoresumesubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtoresumesubscriptionrequest.js +11 -0
- package/esm/models/dtoresumesubscriptionrequest.js.map +1 -0
- package/esm/models/dtosubscriptionchangeexecuteresponse.d.ts +26 -0
- package/esm/models/dtosubscriptionchangeexecuteresponse.d.ts.map +1 -0
- package/esm/models/dtosubscriptionchangeexecuteresponse.js +23 -0
- package/esm/models/dtosubscriptionchangeexecuteresponse.js.map +1 -0
- package/esm/models/dtosubscriptionchangepreviewresponse.d.ts +25 -0
- package/esm/models/dtosubscriptionchangepreviewresponse.d.ts.map +1 -0
- package/esm/models/dtosubscriptionchangepreviewresponse.js +22 -0
- package/esm/models/dtosubscriptionchangepreviewresponse.js.map +1 -0
- package/esm/models/dtosubscriptionchangerequest.d.ts +23 -0
- package/esm/models/dtosubscriptionchangerequest.d.ts.map +1 -0
- package/esm/models/dtosubscriptionchangerequest.js +20 -0
- package/esm/models/dtosubscriptionchangerequest.js.map +1 -0
- package/esm/models/dtosubscriptionentitlementsresponse.d.ts +9 -0
- package/esm/models/dtosubscriptionentitlementsresponse.d.ts.map +1 -0
- package/esm/models/dtosubscriptionentitlementsresponse.js +11 -0
- package/esm/models/dtosubscriptionentitlementsresponse.js.map +1 -0
- package/esm/models/dtosubscriptionlineitemresponse.d.ts +52 -0
- package/esm/models/dtosubscriptionlineitemresponse.d.ts.map +1 -0
- package/esm/models/dtosubscriptionlineitemresponse.js +52 -0
- package/esm/models/dtosubscriptionlineitemresponse.js.map +1 -0
- package/esm/models/dtosubscriptionpauseresponse.d.ts +33 -0
- package/esm/models/dtosubscriptionpauseresponse.d.ts.map +1 -0
- package/esm/models/dtosubscriptionpauseresponse.js +30 -0
- package/esm/models/dtosubscriptionpauseresponse.js.map +1 -0
- package/esm/models/dtosubscriptionphasecreaterequest.d.ts +16 -0
- package/esm/models/dtosubscriptionphasecreaterequest.d.ts.map +1 -0
- package/esm/models/dtosubscriptionphasecreaterequest.js +14 -0
- package/esm/models/dtosubscriptionphasecreaterequest.js.map +1 -0
- package/esm/models/dtosubscriptionpricecreaterequest.d.ts +41 -0
- package/esm/models/dtosubscriptionpricecreaterequest.d.ts.map +1 -0
- package/esm/models/dtosubscriptionpricecreaterequest.js +39 -0
- package/esm/models/dtosubscriptionpricecreaterequest.js.map +1 -0
- package/esm/models/dtosubscriptionresponsev2.d.ts +72 -0
- package/esm/models/dtosubscriptionresponsev2.d.ts.map +1 -0
- package/esm/models/dtosubscriptionresponsev2.js +73 -0
- package/esm/models/dtosubscriptionresponsev2.js.map +1 -0
- package/esm/models/dtosubscriptionscheduleresponse.d.ts +37 -0
- package/esm/models/dtosubscriptionscheduleresponse.d.ts.map +1 -0
- package/esm/models/dtosubscriptionscheduleresponse.js +27 -0
- package/esm/models/dtosubscriptionscheduleresponse.js.map +1 -0
- package/esm/models/dtosubscriptionsummary.d.ts +14 -0
- package/esm/models/dtosubscriptionsummary.d.ts.map +1 -0
- package/esm/models/dtosubscriptionsummary.js +16 -0
- package/esm/models/dtosubscriptionsummary.js.map +1 -0
- package/esm/models/dtosubscriptionusagebymetersresponse.d.ts +19 -0
- package/esm/models/dtosubscriptionusagebymetersresponse.d.ts.map +1 -0
- package/esm/models/dtosubscriptionusagebymetersresponse.js +19 -0
- package/esm/models/dtosubscriptionusagebymetersresponse.js.map +1 -0
- package/esm/models/dtoupdatesubscriptionlineitemrequest.d.ts +27 -0
- package/esm/models/dtoupdatesubscriptionlineitemrequest.d.ts.map +1 -0
- package/esm/models/dtoupdatesubscriptionlineitemrequest.js +27 -0
- package/esm/models/dtoupdatesubscriptionlineitemrequest.js.map +1 -0
- package/esm/models/dtoupdatesubscriptionrequest.d.ts +10 -0
- package/esm/models/dtoupdatesubscriptionrequest.d.ts.map +1 -0
- package/esm/models/dtoupdatesubscriptionrequest.js +12 -0
- package/esm/models/dtoupdatesubscriptionrequest.js.map +1 -0
- package/esm/models/executesubscriptionchangeop.d.ts +12 -0
- package/esm/models/executesubscriptionchangeop.d.ts.map +1 -0
- package/esm/models/executesubscriptionchangeop.js +16 -0
- package/esm/models/executesubscriptionchangeop.js.map +1 -0
- package/esm/models/getsubscriptionaddonassociationsop.d.ts +10 -0
- package/esm/models/getsubscriptionaddonassociationsop.d.ts.map +1 -0
- package/esm/models/getsubscriptionaddonassociationsop.js +14 -0
- package/esm/models/getsubscriptionaddonassociationsop.js.map +1 -0
- package/esm/models/getsubscriptionentitlementsop.d.ts +11 -0
- package/esm/models/getsubscriptionentitlementsop.d.ts.map +1 -0
- package/esm/models/getsubscriptionentitlementsop.js +16 -0
- package/esm/models/getsubscriptionentitlementsop.js.map +1 -0
- package/esm/models/getsubscriptionop.d.ts +10 -0
- package/esm/models/getsubscriptionop.d.ts.map +1 -0
- package/esm/models/getsubscriptionop.js +14 -0
- package/esm/models/getsubscriptionop.js.map +1 -0
- package/esm/models/getsubscriptionscheduleop.d.ts +6 -0
- package/esm/models/getsubscriptionscheduleop.d.ts.map +1 -0
- package/esm/models/getsubscriptionscheduleop.js +8 -0
- package/esm/models/getsubscriptionscheduleop.js.map +1 -0
- package/esm/models/getsubscriptionupcominggrantsop.d.ts +10 -0
- package/esm/models/getsubscriptionupcominggrantsop.d.ts.map +1 -0
- package/esm/models/getsubscriptionupcominggrantsop.js +14 -0
- package/esm/models/getsubscriptionupcominggrantsop.js.map +1 -0
- package/esm/models/getsubscriptionusageop.d.ts +6 -0
- package/esm/models/getsubscriptionusageop.d.ts.map +1 -0
- package/esm/models/getsubscriptionusageop.js +11 -0
- package/esm/models/getsubscriptionusageop.js.map +1 -0
- package/esm/models/getsubscriptionv2op.d.ts +11 -0
- package/esm/models/getsubscriptionv2op.d.ts.map +1 -0
- package/esm/models/getsubscriptionv2op.js +15 -0
- package/esm/models/getsubscriptionv2op.js.map +1 -0
- package/esm/models/invoicebilling.d.ts +12 -0
- package/esm/models/invoicebilling.d.ts.map +1 -0
- package/esm/models/invoicebilling.js +13 -0
- package/esm/models/invoicebilling.js.map +1 -0
- package/esm/models/listallsubscriptionschedulesop.d.ts +9 -0
- package/esm/models/listallsubscriptionschedulesop.d.ts.map +1 -0
- package/esm/models/listallsubscriptionschedulesop.js +12 -0
- package/esm/models/listallsubscriptionschedulesop.js.map +1 -0
- package/esm/models/listsubscriptionpausesop.d.ts +10 -0
- package/esm/models/listsubscriptionpausesop.d.ts.map +1 -0
- package/esm/models/listsubscriptionpausesop.js +14 -0
- package/esm/models/listsubscriptionpausesop.js.map +1 -0
- package/esm/models/listsubscriptionschedulesop.d.ts +6 -0
- package/esm/models/listsubscriptionschedulesop.d.ts.map +1 -0
- package/esm/models/listsubscriptionschedulesop.js +8 -0
- package/esm/models/listsubscriptionschedulesop.js.map +1 -0
- package/esm/models/pausesubscriptionop.d.ts +12 -0
- package/esm/models/pausesubscriptionop.d.ts.map +1 -0
- package/esm/models/pausesubscriptionop.js +16 -0
- package/esm/models/pausesubscriptionop.js.map +1 -0
- package/esm/models/paymentbehavior.d.ts +16 -0
- package/esm/models/paymentbehavior.d.ts.map +1 -0
- package/esm/models/paymentbehavior.js +17 -0
- package/esm/models/paymentbehavior.js.map +1 -0
- package/esm/models/previewsubscriptionchangeop.d.ts +12 -0
- package/esm/models/previewsubscriptionchangeop.d.ts.map +1 -0
- package/esm/models/previewsubscriptionchangeop.js +16 -0
- package/esm/models/previewsubscriptionchangeop.js.map +1 -0
- package/esm/models/querysubscriptionop.d.ts +6 -0
- package/esm/models/querysubscriptionop.d.ts.map +1 -0
- package/esm/models/querysubscriptionop.js +11 -0
- package/esm/models/querysubscriptionop.js.map +1 -0
- package/esm/models/removesubscriptionaddonop.d.ts +6 -0
- package/esm/models/removesubscriptionaddonop.d.ts.map +1 -0
- package/esm/models/removesubscriptionaddonop.js +11 -0
- package/esm/models/removesubscriptionaddonop.js.map +1 -0
- package/esm/models/resumesubscriptionop.d.ts +12 -0
- package/esm/models/resumesubscriptionop.d.ts.map +1 -0
- package/esm/models/resumesubscriptionop.js +16 -0
- package/esm/models/resumesubscriptionop.js.map +1 -0
- package/esm/models/schedulestatus.d.ts +18 -0
- package/esm/models/schedulestatus.d.ts.map +1 -0
- package/esm/models/schedulestatus.js +19 -0
- package/esm/models/schedulestatus.js.map +1 -0
- package/esm/models/scheduletype.d.ts +12 -0
- package/esm/models/scheduletype.d.ts.map +1 -0
- package/esm/models/scheduletype.js +13 -0
- package/esm/models/scheduletype.js.map +1 -0
- package/esm/models/subscriptionchangetype.d.ts +14 -0
- package/esm/models/subscriptionchangetype.d.ts.map +1 -0
- package/esm/models/subscriptionchangetype.js +15 -0
- package/esm/models/subscriptionchangetype.js.map +1 -0
- package/esm/models/subscriptionfilter.d.ts +41 -0
- package/esm/models/subscriptionfilter.d.ts.map +1 -0
- package/esm/models/subscriptionfilter.js +42 -0
- package/esm/models/subscriptionfilter.js.map +1 -0
- package/esm/models/subscriptionschedulechangetype.d.ts +12 -0
- package/esm/models/subscriptionschedulechangetype.d.ts.map +1 -0
- package/esm/models/subscriptionschedulechangetype.js +13 -0
- package/esm/models/subscriptionschedulechangetype.js.map +1 -0
- package/esm/models/updatesubscriptionlineitemop.d.ts +12 -0
- package/esm/models/updatesubscriptionlineitemop.d.ts.map +1 -0
- package/esm/models/updatesubscriptionlineitemop.js +16 -0
- package/esm/models/updatesubscriptionlineitemop.js.map +1 -0
- package/esm/models/updatesubscriptionop.d.ts +12 -0
- package/esm/models/updatesubscriptionop.d.ts.map +1 -0
- package/esm/models/updatesubscriptionop.js +16 -0
- package/esm/models/updatesubscriptionop.js.map +1 -0
- package/esm/models/windowsize.d.ts +2 -2
- package/esm/models/windowsize.js +2 -2
- package/esm/models/windowsize.js.map +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +100 -0
- package/esm/tool-names.js.map +1 -1
- package/esm/tsconfig.tsbuildinfo +1 -1
- package/manifest.json +101 -1
- package/package.json +2 -2
- package/src/funcs/subscriptionsActivateSubscription.ts +153 -0
- package/src/funcs/subscriptionsAddSubscriptionAddon.ts +144 -0
- package/src/funcs/subscriptionsCancelSubscription.ts +153 -0
- package/src/funcs/subscriptionsCancelSubscriptionSchedule.ts +153 -0
- package/src/funcs/subscriptionsCreateSubscription.ts +144 -0
- package/src/funcs/subscriptionsCreateSubscriptionLineItem.ts +153 -0
- package/src/funcs/subscriptionsDeleteSubscriptionLineItem.ts +153 -0
- package/src/funcs/subscriptionsExecuteSubscriptionChange.ts +153 -0
- package/src/funcs/subscriptionsGetSubscription.ts +152 -0
- package/src/funcs/subscriptionsGetSubscriptionAddonAssociations.ts +152 -0
- package/src/funcs/subscriptionsGetSubscriptionEntitlements.ts +156 -0
- package/src/funcs/subscriptionsGetSubscriptionSchedule.ts +152 -0
- package/src/funcs/subscriptionsGetSubscriptionUpcomingGrants.ts +152 -0
- package/src/funcs/subscriptionsGetSubscriptionUsage.ts +144 -0
- package/src/funcs/subscriptionsGetSubscriptionV2.ts +156 -0
- package/src/funcs/subscriptionsListAllSubscriptionSchedules.ts +151 -0
- package/src/funcs/subscriptionsListSubscriptionPauses.ts +152 -0
- package/src/funcs/subscriptionsListSubscriptionSchedules.ts +152 -0
- package/src/funcs/subscriptionsPauseSubscription.ts +153 -0
- package/src/funcs/subscriptionsPreviewSubscriptionChange.ts +153 -0
- package/src/funcs/subscriptionsQuerySubscription.ts +144 -0
- package/src/funcs/subscriptionsRemoveSubscriptionAddon.ts +144 -0
- package/src/funcs/subscriptionsResumeSubscription.ts +153 -0
- package/src/funcs/subscriptionsUpdateSubscription.ts +153 -0
- package/src/funcs/subscriptionsUpdateSubscriptionLineItem.ts +153 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/files.ts +22 -0
- package/src/mcp-server/build.mts +25 -4
- package/src/mcp-server/cli/serve/command.ts +8 -0
- package/src/mcp-server/cli/serve/impl.ts +1 -0
- package/src/mcp-server/cli/start/command.ts +8 -0
- package/src/mcp-server/cli/start/impl.ts +2 -0
- package/src/mcp-server/flags.ts +2 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/scopes.ts +5 -1
- package/src/mcp-server/server.ts +51 -1
- package/src/mcp-server/tools/customersCreateCustomer.ts +1 -0
- package/src/mcp-server/tools/customersDeleteCustomer.ts +2 -1
- package/src/mcp-server/tools/customersGetCustomer.ts +2 -1
- package/src/mcp-server/tools/customersGetCustomerByExternalId.ts +2 -1
- package/src/mcp-server/tools/customersGetCustomerEntitlements.ts +2 -1
- package/src/mcp-server/tools/customersGetCustomerUpcomingGrants.ts +2 -1
- package/src/mcp-server/tools/customersGetCustomerUsageSummary.ts +2 -1
- package/src/mcp-server/tools/customersQueryCustomer.ts +2 -1
- package/src/mcp-server/tools/customersUpdateCustomer.ts +1 -0
- package/src/mcp-server/tools/eventsGetEvent.ts +2 -1
- package/src/mcp-server/tools/eventsGetHuggingfaceInferenceData.ts +1 -0
- package/src/mcp-server/tools/eventsGetUsageAnalytics.ts +1 -0
- package/src/mcp-server/tools/eventsGetUsageByMeter.ts +1 -0
- package/src/mcp-server/tools/eventsGetUsageStatistics.ts +1 -0
- package/src/mcp-server/tools/eventsIngestEvent.ts +1 -0
- package/src/mcp-server/tools/eventsIngestEventsBulk.ts +1 -0
- package/src/mcp-server/tools/eventsListRawEvents.ts +1 -0
- package/src/mcp-server/tools/invoicesAttemptInvoicePayment.ts +1 -0
- package/src/mcp-server/tools/invoicesCreateInvoice.ts +1 -0
- package/src/mcp-server/tools/invoicesFinalizeInvoice.ts +2 -1
- package/src/mcp-server/tools/invoicesGetCustomerInvoiceSummary.ts +2 -1
- package/src/mcp-server/tools/invoicesGetInvoice.ts +2 -1
- package/src/mcp-server/tools/invoicesGetInvoicePdf.ts +2 -1
- package/src/mcp-server/tools/invoicesGetInvoicePreview.ts +1 -0
- package/src/mcp-server/tools/invoicesQueryInvoice.ts +1 -0
- package/src/mcp-server/tools/invoicesRecalculateInvoice.ts +1 -0
- package/src/mcp-server/tools/invoicesRecalculateInvoiceV2.ts +1 -0
- package/src/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.ts +1 -0
- package/src/mcp-server/tools/invoicesUpdateInvoice.ts +1 -0
- package/src/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.ts +1 -0
- package/src/mcp-server/tools/invoicesVoidInvoice.ts +1 -0
- package/src/mcp-server/tools/plansCreatePlan.ts +1 -0
- package/src/mcp-server/tools/plansDeletePlan.ts +2 -1
- package/src/mcp-server/tools/plansGetPlan.ts +2 -1
- package/src/mcp-server/tools/plansPostPlansIdClone.ts +1 -0
- package/src/mcp-server/tools/plansQueryPlan.ts +1 -0
- package/src/mcp-server/tools/plansSyncPlanPrices.ts +1 -0
- package/src/mcp-server/tools/plansUpdatePlan.ts +1 -0
- package/src/mcp-server/tools/pricesCreatePrice.ts +1 -0
- package/src/mcp-server/tools/pricesCreatePricesBulk.ts +1 -0
- package/src/mcp-server/tools/pricesDeletePrice.ts +2 -1
- package/src/mcp-server/tools/pricesGetPrice.ts +2 -1
- package/src/mcp-server/tools/pricesGetPriceByLookupKey.ts +2 -1
- package/src/mcp-server/tools/pricesQueryPrice.ts +1 -0
- package/src/mcp-server/tools/pricesUpdatePrice.ts +1 -0
- package/src/mcp-server/tools/subscriptionsActivateSubscription.ts +45 -0
- package/src/mcp-server/tools/subscriptionsAddSubscriptionAddon.ts +45 -0
- package/src/mcp-server/tools/subscriptionsCancelSubscription.ts +44 -0
- package/src/mcp-server/tools/subscriptionsCancelSubscriptionSchedule.ts +45 -0
- package/src/mcp-server/tools/subscriptionsCreateSubscription.ts +44 -0
- package/src/mcp-server/tools/subscriptionsCreateSubscriptionLineItem.ts +45 -0
- package/src/mcp-server/tools/subscriptionsDeleteSubscriptionLineItem.ts +45 -0
- package/src/mcp-server/tools/subscriptionsExecuteSubscriptionChange.ts +45 -0
- package/src/mcp-server/tools/subscriptionsGetSubscription.ts +43 -0
- package/src/mcp-server/tools/subscriptionsGetSubscriptionAddonAssociations.ts +45 -0
- package/src/mcp-server/tools/subscriptionsGetSubscriptionEntitlements.ts +45 -0
- package/src/mcp-server/tools/subscriptionsGetSubscriptionSchedule.ts +45 -0
- package/src/mcp-server/tools/subscriptionsGetSubscriptionUpcomingGrants.ts +45 -0
- package/src/mcp-server/tools/subscriptionsGetSubscriptionUsage.ts +45 -0
- package/src/mcp-server/tools/subscriptionsGetSubscriptionV2.ts +44 -0
- package/src/mcp-server/tools/subscriptionsListAllSubscriptionSchedules.ts +45 -0
- package/src/mcp-server/tools/subscriptionsListSubscriptionPauses.ts +45 -0
- package/src/mcp-server/tools/subscriptionsListSubscriptionSchedules.ts +45 -0
- package/src/mcp-server/tools/subscriptionsPauseSubscription.ts +44 -0
- package/src/mcp-server/tools/subscriptionsPreviewSubscriptionChange.ts +45 -0
- package/src/mcp-server/tools/subscriptionsQuerySubscription.ts +44 -0
- package/src/mcp-server/tools/subscriptionsRemoveSubscriptionAddon.ts +45 -0
- package/src/mcp-server/tools/subscriptionsResumeSubscription.ts +44 -0
- package/src/mcp-server/tools/subscriptionsUpdateSubscription.ts +44 -0
- package/src/mcp-server/tools/subscriptionsUpdateSubscriptionLineItem.ts +45 -0
- package/src/models/activatesubscriptionop.ts +40 -0
- package/src/models/addonassociationentitytype.ts +21 -0
- package/src/models/addonstatus.ts +19 -0
- package/src/models/addsubscriptionaddonop.ts +24 -0
- package/src/models/cancelimmediatelyinvoicepolicy.ts +19 -0
- package/src/models/cancellationtype.ts +17 -0
- package/src/models/cancelsubscriptionop.ts +40 -0
- package/src/models/cancelsubscriptionscheduleop.ts +23 -0
- package/src/models/collectionmethod.ts +17 -0
- package/src/models/createsubscriptionlineitemop.ts +40 -0
- package/src/models/createsubscriptionop.ts +24 -0
- package/src/models/deletesubscriptionlineitemop.ts +40 -0
- package/src/models/dtoactivatedraftsubscriptionrequest.ts +13 -0
- package/src/models/dtoaddaddonrequest.ts +31 -0
- package/src/models/dtoaddaddontosubscriptionrequest.ts +30 -0
- package/src/models/dtoaddonassociationresponse.ts +65 -0
- package/src/models/dtobillingcycleinfo.ts +26 -0
- package/src/models/dtocancelschedulerequest.ts +26 -0
- package/src/models/dtocancelscheduleresponse.ts +21 -0
- package/src/models/dtocancelsubscriptionrequest.ts +36 -0
- package/src/models/dtocancelsubscriptionresponse.ts +49 -0
- package/src/models/dtocreatecreditgrantrequest.ts +67 -0
- package/src/models/dtocreatesubscriptionlineitemrequest.ts +49 -0
- package/src/models/dtocreatesubscriptionrequest.ts +147 -0
- package/src/models/dtodeletesubscriptionlineitemrequest.ts +15 -0
- package/src/models/dtogetpendingschedulesresponse.ts +24 -0
- package/src/models/dtogetusagebysubscriptionrequest.ts +21 -0
- package/src/models/dtogetusagebysubscriptionresponse.ts +39 -0
- package/src/models/dtoinvoicelineitempreview.ts +27 -0
- package/src/models/dtoinvoicepreview.ts +28 -0
- package/src/models/dtolineitemcommitmentconfig.ts +29 -0
- package/src/models/dtolistsubscriptionpausesresponse.ts +24 -0
- package/src/models/dtolistsubscriptionsresponse.ts +25 -0
- package/src/models/dtooverrideentitlementrequest.ts +21 -0
- package/src/models/dtooverridelineitemrequest.ts +41 -0
- package/src/models/dtopausesubscriptionrequest.ts +33 -0
- package/src/models/dtoplansummary.ts +19 -0
- package/src/models/dtoprorationdetail.ts +28 -0
- package/src/models/dtoprorationdetails.ts +34 -0
- package/src/models/dtoremoveaddonrequest.ts +16 -0
- package/src/models/dtoresumesubscriptionrequest.ts +23 -0
- package/src/models/dtosubscriptionchangeexecuteresponse.ts +58 -0
- package/src/models/dtosubscriptionchangepreviewresponse.ts +55 -0
- package/src/models/dtosubscriptionchangerequest.ts +42 -0
- package/src/models/dtosubscriptionentitlementsresponse.ts +23 -0
- package/src/models/dtosubscriptionlineitemresponse.ts +102 -0
- package/src/models/dtosubscriptionpauseresponse.ts +58 -0
- package/src/models/dtosubscriptionphasecreaterequest.ts +29 -0
- package/src/models/dtosubscriptionpricecreaterequest.ts +76 -0
- package/src/models/dtosubscriptionresponsev2.ts +156 -0
- package/src/models/dtosubscriptionscheduleresponse.ts +70 -0
- package/src/models/dtosubscriptionsummary.ts +33 -0
- package/src/models/dtosubscriptionusagebymetersresponse.ts +36 -0
- package/src/models/dtoupdatesubscriptionlineitemrequest.ts +53 -0
- package/src/models/dtoupdatesubscriptionrequest.ts +25 -0
- package/src/models/executesubscriptionchangeop.ts +40 -0
- package/src/models/getsubscriptionaddonassociationsop.ts +32 -0
- package/src/models/getsubscriptionentitlementsop.ts +37 -0
- package/src/models/getsubscriptionop.ts +32 -0
- package/src/models/getsubscriptionscheduleop.ts +13 -0
- package/src/models/getsubscriptionupcominggrantsop.ts +32 -0
- package/src/models/getsubscriptionusageop.ts +24 -0
- package/src/models/getsubscriptionv2op.ts +38 -0
- package/src/models/invoicebilling.ts +17 -0
- package/src/models/listallsubscriptionschedulesop.ts +22 -0
- package/src/models/listsubscriptionpausesop.ts +32 -0
- package/src/models/listsubscriptionschedulesop.ts +13 -0
- package/src/models/pausesubscriptionop.ts +40 -0
- package/src/models/paymentbehavior.ts +21 -0
- package/src/models/previewsubscriptionchangeop.ts +40 -0
- package/src/models/querysubscriptionop.ts +24 -0
- package/src/models/removesubscriptionaddonop.ts +24 -0
- package/src/models/resumesubscriptionop.ts +40 -0
- package/src/models/schedulestatus.ts +23 -0
- package/src/models/scheduletype.ts +17 -0
- package/src/models/subscriptionchangetype.ts +19 -0
- package/src/models/subscriptionfilter.ts +78 -0
- package/src/models/subscriptionschedulechangetype.ts +19 -0
- package/src/models/updatesubscriptionlineitemop.ts +40 -0
- package/src/models/updatesubscriptionop.ts +40 -0
- package/src/models/windowsize.ts +2 -2
- package/src/tool-names.ts +100 -0
|
@@ -17,12 +17,13 @@ export const tool$customersGetCustomerUsageSummary: ToolDefinition<
|
|
|
17
17
|
description: `Get customer usage summary
|
|
18
18
|
|
|
19
19
|
Use when showing a customer's usage (e.g. portal or overage alerts). Identify by customer_id or customer_lookup_key; supports filters.`,
|
|
20
|
+
scopes: ["read"],
|
|
20
21
|
annotations: {
|
|
21
22
|
"title": "",
|
|
22
23
|
"destructiveHint": false,
|
|
23
24
|
"idempotentHint": false,
|
|
24
25
|
"openWorldHint": false,
|
|
25
|
-
"readOnlyHint":
|
|
26
|
+
"readOnlyHint": true,
|
|
26
27
|
},
|
|
27
28
|
args,
|
|
28
29
|
tool: async (client, args, ctx) => {
|
|
@@ -15,12 +15,13 @@ export const tool$customersQueryCustomer: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Query customers
|
|
16
16
|
|
|
17
17
|
Use when listing or searching customers (e.g. admin CRM or reporting). Returns a paginated list; supports filtering and sorting.`,
|
|
18
|
+
scopes: ["read"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
|
-
"readOnlyHint":
|
|
24
|
+
"readOnlyHint": true,
|
|
24
25
|
},
|
|
25
26
|
args,
|
|
26
27
|
tool: async (client, args, ctx) => {
|
|
@@ -15,6 +15,7 @@ export const tool$customersUpdateCustomer: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Update customer
|
|
16
16
|
|
|
17
17
|
Use when updating customer details (e.g. name, email, or metadata). Identify by id or external_customer_id.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,12 +15,13 @@ export const tool$eventsGetEvent: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get event
|
|
16
16
|
|
|
17
17
|
Use when debugging a specific event (e.g. why it failed or how it was aggregated). Includes processing status and debug info.`,
|
|
18
|
+
scopes: ["read"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
|
-
"readOnlyHint":
|
|
24
|
+
"readOnlyHint": true,
|
|
24
25
|
},
|
|
25
26
|
args,
|
|
26
27
|
tool: async (client, args, ctx) => {
|
|
@@ -10,6 +10,7 @@ export const tool$eventsGetHuggingfaceInferenceData: ToolDefinition = {
|
|
|
10
10
|
description: `Get Hugging Face inference data
|
|
11
11
|
|
|
12
12
|
Use when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation).`,
|
|
13
|
+
scopes: ["write"],
|
|
13
14
|
annotations: {
|
|
14
15
|
"title": "",
|
|
15
16
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$eventsGetUsageAnalytics: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get usage analytics
|
|
16
16
|
|
|
17
17
|
Use when building analytics views (e.g. usage by feature or customer over time). Supports filtering, grouping, and time-series breakdown.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$eventsGetUsageByMeter: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get usage by meter
|
|
16
16
|
|
|
17
17
|
Use when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$eventsGetUsageStatistics: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get usage statistics
|
|
16
16
|
|
|
17
17
|
Use when building usage reports or dashboards across events. Supports filters and grouping; defaults to last 7 days if no range provided.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$eventsIngestEvent: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Ingest event
|
|
16
16
|
|
|
17
17
|
Use when sending a single usage event from your app (e.g. one API call or one GB stored). Events are processed asynchronously; returns 202 with event_id.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$eventsIngestEventsBulk: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Bulk ingest events
|
|
16
16
|
|
|
17
17
|
Use when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$eventsListRawEvents: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `List raw events
|
|
16
16
|
|
|
17
17
|
Use when debugging ingestion or exporting raw event data (e.g. support or audit). Returns a paginated list; supports time range and sorting.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesAttemptInvoicePayment: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Attempt invoice payment
|
|
16
16
|
|
|
17
17
|
Use when paying an invoice with the customer's wallet balance (e.g. prepaid credits or balance applied at checkout).`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesCreateInvoice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Create one-off invoice
|
|
16
16
|
|
|
17
17
|
Use when creating a manual or one-off invoice (e.g. custom charge or non-recurring billing). Invoice is created in draft; finalize when ready.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,9 +15,10 @@ export const tool$invoicesFinalizeInvoice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Finalize invoice
|
|
16
16
|
|
|
17
17
|
Use when locking an invoice for payment (e.g. after review). Once finalized, line items are locked; invoice can be paid or voided.`,
|
|
18
|
+
scopes: ["delete"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
|
-
"destructiveHint":
|
|
21
|
+
"destructiveHint": true,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
24
|
"readOnlyHint": false,
|
|
@@ -17,12 +17,13 @@ export const tool$invoicesGetCustomerInvoiceSummary: ToolDefinition<
|
|
|
17
17
|
description: `Get customer invoice summary
|
|
18
18
|
|
|
19
19
|
Use when showing a customer's invoice overview (e.g. billing portal or balance summary). Includes totals and multi-currency breakdown.`,
|
|
20
|
+
scopes: ["read"],
|
|
20
21
|
annotations: {
|
|
21
22
|
"title": "",
|
|
22
23
|
"destructiveHint": false,
|
|
23
24
|
"idempotentHint": false,
|
|
24
25
|
"openWorldHint": false,
|
|
25
|
-
"readOnlyHint":
|
|
26
|
+
"readOnlyHint": true,
|
|
26
27
|
},
|
|
27
28
|
args,
|
|
28
29
|
tool: async (client, args, ctx) => {
|
|
@@ -15,12 +15,13 @@ export const tool$invoicesGetInvoice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get invoice
|
|
16
16
|
|
|
17
17
|
Use when loading an invoice for display or editing (e.g. portal or reconciliation). Supports group_by for usage breakdown and force_runtime_recalculation.`,
|
|
18
|
+
scopes: ["read"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
|
-
"readOnlyHint":
|
|
24
|
+
"readOnlyHint": true,
|
|
24
25
|
},
|
|
25
26
|
args,
|
|
26
27
|
tool: async (client, args, ctx) => {
|
|
@@ -15,12 +15,13 @@ export const tool$invoicesGetInvoicePdf: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get invoice PDF
|
|
16
16
|
|
|
17
17
|
Use when delivering an invoice PDF to the customer (e.g. email attachment or download). Use url=true for a presigned URL instead of binary.`,
|
|
18
|
+
scopes: ["read"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
|
-
"readOnlyHint":
|
|
24
|
+
"readOnlyHint": true,
|
|
24
25
|
},
|
|
25
26
|
args,
|
|
26
27
|
tool: async (client, args, ctx) => {
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesGetInvoicePreview: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get invoice preview
|
|
16
16
|
|
|
17
17
|
Use when showing a customer what they will be charged (e.g. preview before checkout or plan change). No invoice is created.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesQueryInvoice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Query invoices
|
|
16
16
|
|
|
17
17
|
Use when listing or searching invoices (e.g. admin view or customer history). Returns a paginated list; supports filtering by customer, status, date range.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesRecalculateInvoice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Recalculate invoice (voided invoice)
|
|
16
16
|
|
|
17
17
|
Starts an async workflow that creates a fresh replacement invoice for a voided SUBSCRIPTION invoice (same billing period). Returns workflow_id and run_id; poll workflow status or GET the new invoice via recalculated_invoice_id after completion.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesRecalculateInvoiceV2: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Recalculate draft invoice (v2)
|
|
16
16
|
|
|
17
17
|
Recalculates a draft SUBSCRIPTION invoice in-place (replaces line items, reapplies credits/coupons/taxes). Use when subscription or usage data changed before finalizing.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -17,6 +17,7 @@ export const tool$invoicesTriggerInvoiceCommsWebhook: ToolDefinition<
|
|
|
17
17
|
description: `Trigger invoice communication webhook
|
|
18
18
|
|
|
19
19
|
Use when sending an invoice to the customer (e.g. trigger email or Slack). Payload includes full invoice details for your integration.`,
|
|
20
|
+
scopes: ["write"],
|
|
20
21
|
annotations: {
|
|
21
22
|
"title": "",
|
|
22
23
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesUpdateInvoice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Update invoice
|
|
16
16
|
|
|
17
17
|
Use when updating invoice metadata or due date (e.g. PDF URL, net terms). For paid invoices only safe fields can be updated.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -17,6 +17,7 @@ export const tool$invoicesUpdateInvoicePaymentStatus: ToolDefinition<
|
|
|
17
17
|
description: `Update invoice payment status
|
|
18
18
|
|
|
19
19
|
Use when reconciling payment status from an external gateway or manual entry (e.g. mark paid after bank confirmation).`,
|
|
20
|
+
scopes: ["write"],
|
|
20
21
|
annotations: {
|
|
21
22
|
"title": "",
|
|
22
23
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$invoicesVoidInvoice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Void invoice
|
|
16
16
|
|
|
17
17
|
Use when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid invoices can be voided.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$plansCreatePlan: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Create plan
|
|
16
16
|
|
|
17
17
|
Use when defining a new pricing plan (e.g. Free, Pro, Enterprise). Attach prices and entitlements; customers subscribe to plans.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,9 +15,10 @@ export const tool$plansDeletePlan: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Delete plan
|
|
16
16
|
|
|
17
17
|
Use when retiring a plan (e.g. end-of-life). Existing subscriptions may be affected. Returns 200 with success message.`,
|
|
18
|
+
scopes: ["delete"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
|
-
"destructiveHint":
|
|
21
|
+
"destructiveHint": true,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
24
|
"readOnlyHint": false,
|
|
@@ -15,12 +15,13 @@ export const tool$plansGetPlan: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get plan
|
|
16
16
|
|
|
17
17
|
Use when you need to load a single plan (e.g. for display or to create a subscription).`,
|
|
18
|
+
scopes: ["read"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
|
-
"readOnlyHint":
|
|
24
|
+
"readOnlyHint": true,
|
|
24
25
|
},
|
|
25
26
|
args,
|
|
26
27
|
tool: async (client, args, ctx) => {
|
|
@@ -15,6 +15,7 @@ export const tool$plansPostPlansIdClone: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Clone a plan
|
|
16
16
|
|
|
17
17
|
Clone an existing plan, copying its active prices, published entitlements, and published credit grants`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$plansQueryPlan: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Query plans
|
|
16
16
|
|
|
17
17
|
Use when listing or searching plans (e.g. plan picker or admin catalog). Returns a paginated list; supports filtering and sorting.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$plansSyncPlanPrices: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Synchronize plan prices
|
|
16
16
|
|
|
17
17
|
Use when you have changed plan prices and need to push them to all active subscriptions (e.g. global price update). Returns workflow ID.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$plansUpdatePlan: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Update plan
|
|
16
16
|
|
|
17
17
|
Use when changing plan details (e.g. name, interval, or metadata). Partial update supported.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$pricesCreatePrice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Create price
|
|
16
16
|
|
|
17
17
|
Use when adding a new price to a plan or catalog (e.g. per-seat, flat, or metered). Ideal for both simple and usage-based pricing.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$pricesCreatePricesBulk: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Create prices in bulk
|
|
16
16
|
|
|
17
17
|
Use when creating many prices at once (e.g. importing a catalog or setting up a plan with multiple tiers).`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,9 +15,10 @@ export const tool$pricesDeletePrice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Delete price
|
|
16
16
|
|
|
17
17
|
Use when retiring a price (e.g. end-of-life or replacement). Optional effective date or cascade for subscriptions.`,
|
|
18
|
+
scopes: ["delete"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
|
-
"destructiveHint":
|
|
21
|
+
"destructiveHint": true,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
24
|
"readOnlyHint": false,
|
|
@@ -15,12 +15,13 @@ export const tool$pricesGetPrice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get price
|
|
16
16
|
|
|
17
17
|
Use when you need to load a single price (e.g. for display or editing). Response includes expanded meter and price unit when applicable.`,
|
|
18
|
+
scopes: ["read"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
|
-
"readOnlyHint":
|
|
24
|
+
"readOnlyHint": true,
|
|
24
25
|
},
|
|
25
26
|
args,
|
|
26
27
|
tool: async (client, args, ctx) => {
|
|
@@ -15,12 +15,13 @@ export const tool$pricesGetPriceByLookupKey: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Get price by lookup key
|
|
16
16
|
|
|
17
17
|
Use when resolving a price by external id (e.g. from your catalog or CMS). Ideal for integrations.`,
|
|
18
|
+
scopes: ["read"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
21
22
|
"idempotentHint": false,
|
|
22
23
|
"openWorldHint": false,
|
|
23
|
-
"readOnlyHint":
|
|
24
|
+
"readOnlyHint": true,
|
|
24
25
|
},
|
|
25
26
|
args,
|
|
26
27
|
tool: async (client, args, ctx) => {
|
|
@@ -15,6 +15,7 @@ export const tool$pricesQueryPrice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Query prices
|
|
16
16
|
|
|
17
17
|
Use when listing or searching prices (e.g. plan builder or catalog). Returns a paginated list; supports filtering and sorting.`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -15,6 +15,7 @@ export const tool$pricesUpdatePrice: ToolDefinition<typeof args> = {
|
|
|
15
15
|
description: `Update price
|
|
16
16
|
|
|
17
17
|
Use when changing price configuration (e.g. amount, billing scheme, or metadata).`,
|
|
18
|
+
scopes: ["write"],
|
|
18
19
|
annotations: {
|
|
19
20
|
"title": "",
|
|
20
21
|
"destructiveHint": false,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { subscriptionsActivateSubscription } from "../../funcs/subscriptionsActivateSubscription.js";
|
|
6
|
+
import { ActivateSubscriptionRequest$zodSchema } from "../../models/activatesubscriptionop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: ActivateSubscriptionRequest$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$subscriptionsActivateSubscription: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "activate-subscription",
|
|
17
|
+
description: `Activate draft subscription
|
|
18
|
+
|
|
19
|
+
Use when turning a draft subscription live (e.g. after collecting payment or completing setup). Once activated, billing and entitlements apply.`,
|
|
20
|
+
scopes: ["write"],
|
|
21
|
+
annotations: {
|
|
22
|
+
"title": "",
|
|
23
|
+
"destructiveHint": false,
|
|
24
|
+
"idempotentHint": false,
|
|
25
|
+
"openWorldHint": false,
|
|
26
|
+
"readOnlyHint": false,
|
|
27
|
+
},
|
|
28
|
+
args,
|
|
29
|
+
tool: async (client, args, ctx) => {
|
|
30
|
+
const [result] = await subscriptionsActivateSubscription(
|
|
31
|
+
client,
|
|
32
|
+
args.request,
|
|
33
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
34
|
+
).$inspect();
|
|
35
|
+
|
|
36
|
+
if (!result.ok) {
|
|
37
|
+
return {
|
|
38
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39
|
+
isError: true,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return formatResult(result.value);
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { subscriptionsAddSubscriptionAddon } from "../../funcs/subscriptionsAddSubscriptionAddon.js";
|
|
6
|
+
import { DtoAddAddonRequest$zodSchema } from "../../models/dtoaddaddonrequest.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: DtoAddAddonRequest$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$subscriptionsAddSubscriptionAddon: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "add-subscription-addon",
|
|
17
|
+
description: `Add addon to subscription
|
|
18
|
+
|
|
19
|
+
Use when adding an optional product or add-on to an existing subscription (e.g. extra storage or support tier).`,
|
|
20
|
+
scopes: ["write"],
|
|
21
|
+
annotations: {
|
|
22
|
+
"title": "",
|
|
23
|
+
"destructiveHint": false,
|
|
24
|
+
"idempotentHint": false,
|
|
25
|
+
"openWorldHint": false,
|
|
26
|
+
"readOnlyHint": false,
|
|
27
|
+
},
|
|
28
|
+
args,
|
|
29
|
+
tool: async (client, args, ctx) => {
|
|
30
|
+
const [result] = await subscriptionsAddSubscriptionAddon(
|
|
31
|
+
client,
|
|
32
|
+
args.request,
|
|
33
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
34
|
+
).$inspect();
|
|
35
|
+
|
|
36
|
+
if (!result.ok) {
|
|
37
|
+
return {
|
|
38
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39
|
+
isError: true,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return formatResult(result.value);
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { subscriptionsCancelSubscription } from "../../funcs/subscriptionsCancelSubscription.js";
|
|
6
|
+
import { CancelSubscriptionRequest$zodSchema } from "../../models/cancelsubscriptionop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: CancelSubscriptionRequest$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$subscriptionsCancelSubscription: ToolDefinition<typeof args> =
|
|
14
|
+
{
|
|
15
|
+
name: "cancel-subscription",
|
|
16
|
+
description: `Cancel subscription
|
|
17
|
+
|
|
18
|
+
Use when a customer churns or downgrades. Supports immediate or end-of-period cancellation and proration. Ideal for self-serve or support-driven cancellations.`,
|
|
19
|
+
scopes: ["write"],
|
|
20
|
+
annotations: {
|
|
21
|
+
"title": "",
|
|
22
|
+
"destructiveHint": false,
|
|
23
|
+
"idempotentHint": false,
|
|
24
|
+
"openWorldHint": false,
|
|
25
|
+
"readOnlyHint": false,
|
|
26
|
+
},
|
|
27
|
+
args,
|
|
28
|
+
tool: async (client, args, ctx) => {
|
|
29
|
+
const [result] = await subscriptionsCancelSubscription(
|
|
30
|
+
client,
|
|
31
|
+
args.request,
|
|
32
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
33
|
+
).$inspect();
|
|
34
|
+
|
|
35
|
+
if (!result.ok) {
|
|
36
|
+
return {
|
|
37
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38
|
+
isError: true,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return formatResult(result.value);
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { subscriptionsCancelSubscriptionSchedule } from "../../funcs/subscriptionsCancelSubscriptionSchedule.js";
|
|
6
|
+
import { CancelSubscriptionScheduleRequest$zodSchema } from "../../models/cancelsubscriptionscheduleop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: CancelSubscriptionScheduleRequest$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$subscriptionsCancelSubscriptionSchedule: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "cancel-subscription-schedule",
|
|
17
|
+
description: `Cancel subscription schedule
|
|
18
|
+
|
|
19
|
+
Use when cancelling a scheduled change (e.g. customer changed mind). Identify by schedule ID in path or by subscription ID + schedule type in body.`,
|
|
20
|
+
scopes: ["write"],
|
|
21
|
+
annotations: {
|
|
22
|
+
"title": "",
|
|
23
|
+
"destructiveHint": false,
|
|
24
|
+
"idempotentHint": false,
|
|
25
|
+
"openWorldHint": false,
|
|
26
|
+
"readOnlyHint": false,
|
|
27
|
+
},
|
|
28
|
+
args,
|
|
29
|
+
tool: async (client, args, ctx) => {
|
|
30
|
+
const [result] = await subscriptionsCancelSubscriptionSchedule(
|
|
31
|
+
client,
|
|
32
|
+
args.request,
|
|
33
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
34
|
+
).$inspect();
|
|
35
|
+
|
|
36
|
+
if (!result.ok) {
|
|
37
|
+
return {
|
|
38
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39
|
+
isError: true,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return formatResult(result.value);
|
|
44
|
+
},
|
|
45
|
+
};
|