@omkar273/mcp-temp 0.0.44 → 0.0.45

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.
Files changed (105) hide show
  1. package/bin/mcp-server.js +75 -75
  2. package/bin/mcp-server.js.map +35 -35
  3. package/esm/lib/config.d.ts +2 -2
  4. package/esm/lib/config.js +2 -2
  5. package/esm/mcp-server/mcp-server.js +1 -1
  6. package/esm/mcp-server/server.js +1 -1
  7. package/esm/mcp-server/tools/customersCreateCustomer.js +1 -1
  8. package/esm/mcp-server/tools/customersCreateCustomer.js.map +1 -1
  9. package/esm/mcp-server/tools/customersDeleteCustomer.js +2 -2
  10. package/esm/mcp-server/tools/customersDeleteCustomer.js.map +1 -1
  11. package/esm/mcp-server/tools/customersGetCustomer.js +2 -2
  12. package/esm/mcp-server/tools/customersGetCustomer.js.map +1 -1
  13. package/esm/mcp-server/tools/customersGetCustomerByExternalId.js +2 -2
  14. package/esm/mcp-server/tools/customersGetCustomerByExternalId.js.map +1 -1
  15. package/esm/mcp-server/tools/customersGetCustomerEntitlements.js +2 -2
  16. package/esm/mcp-server/tools/customersGetCustomerEntitlements.js.map +1 -1
  17. package/esm/mcp-server/tools/customersGetCustomerUpcomingGrants.js +2 -2
  18. package/esm/mcp-server/tools/customersGetCustomerUpcomingGrants.js.map +1 -1
  19. package/esm/mcp-server/tools/customersGetCustomerUsageSummary.js +2 -2
  20. package/esm/mcp-server/tools/customersGetCustomerUsageSummary.js.map +1 -1
  21. package/esm/mcp-server/tools/customersQueryCustomer.js +1 -1
  22. package/esm/mcp-server/tools/customersQueryCustomer.js.map +1 -1
  23. package/esm/mcp-server/tools/customersUpdateCustomer.js +1 -1
  24. package/esm/mcp-server/tools/customersUpdateCustomer.js.map +1 -1
  25. package/esm/mcp-server/tools/eventsGetEvent.js +2 -2
  26. package/esm/mcp-server/tools/eventsGetEvent.js.map +1 -1
  27. package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js +1 -1
  28. package/esm/mcp-server/tools/eventsGetHuggingfaceInferenceData.js.map +1 -1
  29. package/esm/mcp-server/tools/eventsGetUsageAnalytics.js +1 -1
  30. package/esm/mcp-server/tools/eventsGetUsageAnalytics.js.map +1 -1
  31. package/esm/mcp-server/tools/eventsGetUsageByMeter.js +1 -1
  32. package/esm/mcp-server/tools/eventsGetUsageByMeter.js.map +1 -1
  33. package/esm/mcp-server/tools/eventsGetUsageStatistics.js +1 -1
  34. package/esm/mcp-server/tools/eventsGetUsageStatistics.js.map +1 -1
  35. package/esm/mcp-server/tools/eventsIngestEvent.js +1 -1
  36. package/esm/mcp-server/tools/eventsIngestEvent.js.map +1 -1
  37. package/esm/mcp-server/tools/eventsIngestEventsBulk.js +1 -1
  38. package/esm/mcp-server/tools/eventsIngestEventsBulk.js.map +1 -1
  39. package/esm/mcp-server/tools/eventsListRawEvents.js +1 -1
  40. package/esm/mcp-server/tools/eventsListRawEvents.js.map +1 -1
  41. package/esm/mcp-server/tools/invoicesAttemptInvoicePayment.js +1 -1
  42. package/esm/mcp-server/tools/invoicesAttemptInvoicePayment.js.map +1 -1
  43. package/esm/mcp-server/tools/invoicesCreateInvoice.js +1 -1
  44. package/esm/mcp-server/tools/invoicesCreateInvoice.js.map +1 -1
  45. package/esm/mcp-server/tools/invoicesFinalizeInvoice.js +1 -1
  46. package/esm/mcp-server/tools/invoicesFinalizeInvoice.js.map +1 -1
  47. package/esm/mcp-server/tools/invoicesGetCustomerInvoiceSummary.js +2 -2
  48. package/esm/mcp-server/tools/invoicesGetCustomerInvoiceSummary.js.map +1 -1
  49. package/esm/mcp-server/tools/invoicesGetInvoice.js +2 -2
  50. package/esm/mcp-server/tools/invoicesGetInvoice.js.map +1 -1
  51. package/esm/mcp-server/tools/invoicesGetInvoicePdf.js +2 -2
  52. package/esm/mcp-server/tools/invoicesGetInvoicePdf.js.map +1 -1
  53. package/esm/mcp-server/tools/invoicesGetInvoicePreview.js +1 -1
  54. package/esm/mcp-server/tools/invoicesGetInvoicePreview.js.map +1 -1
  55. package/esm/mcp-server/tools/invoicesQueryInvoice.js +1 -1
  56. package/esm/mcp-server/tools/invoicesQueryInvoice.js.map +1 -1
  57. package/esm/mcp-server/tools/invoicesRecalculateInvoice.js +1 -1
  58. package/esm/mcp-server/tools/invoicesRecalculateInvoice.js.map +1 -1
  59. package/esm/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.js +1 -1
  60. package/esm/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.js.map +1 -1
  61. package/esm/mcp-server/tools/invoicesUpdateInvoice.js +1 -1
  62. package/esm/mcp-server/tools/invoicesUpdateInvoice.js.map +1 -1
  63. package/esm/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.js +1 -1
  64. package/esm/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.js.map +1 -1
  65. package/esm/mcp-server/tools/invoicesVoidInvoice.js +1 -1
  66. package/esm/mcp-server/tools/invoicesVoidInvoice.js.map +1 -1
  67. package/esm/tool-names.js +30 -30
  68. package/esm/tool-names.js.map +1 -1
  69. package/esm/tsconfig.tsbuildinfo +1 -1
  70. package/manifest.json +31 -31
  71. package/package.json +1 -1
  72. package/src/lib/config.ts +2 -2
  73. package/src/mcp-server/mcp-server.ts +1 -1
  74. package/src/mcp-server/server.ts +1 -1
  75. package/src/mcp-server/tools/customersCreateCustomer.ts +1 -1
  76. package/src/mcp-server/tools/customersDeleteCustomer.ts +2 -2
  77. package/src/mcp-server/tools/customersGetCustomer.ts +2 -2
  78. package/src/mcp-server/tools/customersGetCustomerByExternalId.ts +2 -2
  79. package/src/mcp-server/tools/customersGetCustomerEntitlements.ts +2 -2
  80. package/src/mcp-server/tools/customersGetCustomerUpcomingGrants.ts +2 -2
  81. package/src/mcp-server/tools/customersGetCustomerUsageSummary.ts +2 -2
  82. package/src/mcp-server/tools/customersQueryCustomer.ts +1 -1
  83. package/src/mcp-server/tools/customersUpdateCustomer.ts +1 -1
  84. package/src/mcp-server/tools/eventsGetEvent.ts +2 -2
  85. package/src/mcp-server/tools/eventsGetHuggingfaceInferenceData.ts +1 -1
  86. package/src/mcp-server/tools/eventsGetUsageAnalytics.ts +1 -1
  87. package/src/mcp-server/tools/eventsGetUsageByMeter.ts +1 -1
  88. package/src/mcp-server/tools/eventsGetUsageStatistics.ts +1 -1
  89. package/src/mcp-server/tools/eventsIngestEvent.ts +1 -1
  90. package/src/mcp-server/tools/eventsIngestEventsBulk.ts +1 -1
  91. package/src/mcp-server/tools/eventsListRawEvents.ts +1 -1
  92. package/src/mcp-server/tools/invoicesAttemptInvoicePayment.ts +1 -1
  93. package/src/mcp-server/tools/invoicesCreateInvoice.ts +1 -1
  94. package/src/mcp-server/tools/invoicesFinalizeInvoice.ts +1 -1
  95. package/src/mcp-server/tools/invoicesGetCustomerInvoiceSummary.ts +2 -2
  96. package/src/mcp-server/tools/invoicesGetInvoice.ts +2 -2
  97. package/src/mcp-server/tools/invoicesGetInvoicePdf.ts +2 -2
  98. package/src/mcp-server/tools/invoicesGetInvoicePreview.ts +1 -1
  99. package/src/mcp-server/tools/invoicesQueryInvoice.ts +1 -1
  100. package/src/mcp-server/tools/invoicesRecalculateInvoice.ts +1 -1
  101. package/src/mcp-server/tools/invoicesTriggerInvoiceCommsWebhook.ts +1 -1
  102. package/src/mcp-server/tools/invoicesUpdateInvoice.ts +1 -1
  103. package/src/mcp-server/tools/invoicesUpdateInvoicePaymentStatus.ts +1 -1
  104. package/src/mcp-server/tools/invoicesVoidInvoice.ts +1 -1
  105. package/src/tool-names.ts +30 -30
package/bin/mcp-server.js CHANGED
@@ -50418,9 +50418,9 @@ var init_config = __esm(() => {
50418
50418
  SDK_METADATA = {
50419
50419
  language: "typescript",
50420
50420
  openapiDocVersion: "1.0",
50421
- sdkVersion: "0.0.44",
50421
+ sdkVersion: "0.0.45",
50422
50422
  genVersion: "2.845.1",
50423
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.44 2.845.1 1.0 @omkar273/mcp-temp"
50423
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.45 2.845.1 1.0 @omkar273/mcp-temp"
50424
50424
  };
50425
50425
  });
50426
50426
 
@@ -51924,7 +51924,7 @@ var init_customersCreateCustomer2 = __esm(() => {
51924
51924
  request: DtoCreateCustomerRequest$zodSchema
51925
51925
  };
51926
51926
  tool$customersCreateCustomer = {
51927
- name: "customers-create-customer",
51927
+ name: "create-customer",
51928
51928
  description: `Create customer
51929
51929
 
51930
51930
  Use when onboarding a new billing customer (e.g. sign-up or CRM sync). Ideal for linking via external_customer_id to your app's user id.`,
@@ -52046,13 +52046,13 @@ var init_customersDeleteCustomer2 = __esm(() => {
52046
52046
  request: DeleteCustomerRequest$zodSchema
52047
52047
  };
52048
52048
  tool$customersDeleteCustomer = {
52049
- name: "customers-delete-customer",
52049
+ name: "delete-customer",
52050
52050
  description: `Delete customer
52051
52051
 
52052
52052
  Use when removing a customer (e.g. GDPR or churn). Returns 204 No Content on success.`,
52053
52053
  annotations: {
52054
52054
  title: "",
52055
- destructiveHint: true,
52055
+ destructiveHint: false,
52056
52056
  idempotentHint: false,
52057
52057
  openWorldHint: false,
52058
52058
  readOnlyHint: false
@@ -52235,7 +52235,7 @@ var init_customersGetCustomer2 = __esm(() => {
52235
52235
  request: GetCustomerRequest$zodSchema
52236
52236
  };
52237
52237
  tool$customersGetCustomer = {
52238
- name: "customers-get-customer",
52238
+ name: "get-customer",
52239
52239
  description: `Get customer
52240
52240
 
52241
52241
  Use when you need to load a single customer (e.g. for a billing portal or to attach a subscription).`,
@@ -52244,7 +52244,7 @@ Use when you need to load a single customer (e.g. for a billing portal or to att
52244
52244
  destructiveHint: false,
52245
52245
  idempotentHint: false,
52246
52246
  openWorldHint: false,
52247
- readOnlyHint: true
52247
+ readOnlyHint: false
52248
52248
  },
52249
52249
  args: args3,
52250
52250
  tool: async (client, args4, ctx) => {
@@ -52363,7 +52363,7 @@ var init_customersGetCustomerByExternalId2 = __esm(() => {
52363
52363
  request: GetCustomerByExternalIdRequest$zodSchema
52364
52364
  };
52365
52365
  tool$customersGetCustomerByExternalId = {
52366
- name: "customers-get-customer-by-external-id",
52366
+ name: "get-customer-by-external-id",
52367
52367
  description: `Get customer by external ID
52368
52368
 
52369
52369
  Use when resolving a customer by your app's id (e.g. from your user table). Ideal for integrations that key by external id.`,
@@ -52372,7 +52372,7 @@ Use when resolving a customer by your app's id (e.g. from your user table). Idea
52372
52372
  destructiveHint: false,
52373
52373
  idempotentHint: false,
52374
52374
  openWorldHint: false,
52375
- readOnlyHint: true
52375
+ readOnlyHint: false
52376
52376
  },
52377
52377
  args: args4,
52378
52378
  tool: async (client, args5, ctx) => {
@@ -52755,7 +52755,7 @@ var init_customersGetCustomerEntitlements2 = __esm(() => {
52755
52755
  request: GetCustomerEntitlementsRequest$zodSchema
52756
52756
  };
52757
52757
  tool$customersGetCustomerEntitlements = {
52758
- name: "customers-get-customer-entitlements",
52758
+ name: "get-customer-entitlements",
52759
52759
  description: `Get customer entitlements
52760
52760
 
52761
52761
  Use when checking what a customer can access (e.g. feature gating or usage limits). Supports optional filters (feature_ids, subscription_ids).`,
@@ -52764,7 +52764,7 @@ Use when checking what a customer can access (e.g. feature gating or usage limit
52764
52764
  destructiveHint: false,
52765
52765
  idempotentHint: false,
52766
52766
  openWorldHint: false,
52767
- readOnlyHint: true
52767
+ readOnlyHint: false
52768
52768
  },
52769
52769
  args: args5,
52770
52770
  tool: async (client, args6, ctx) => {
@@ -52978,7 +52978,7 @@ var init_customersGetCustomerUpcomingGrants2 = __esm(() => {
52978
52978
  request: GetCustomerUpcomingGrantsRequest$zodSchema
52979
52979
  };
52980
52980
  tool$customersGetCustomerUpcomingGrants = {
52981
- name: "customers-get-customer-upcoming-grants",
52981
+ name: "get-customer-upcoming-grants",
52982
52982
  description: `Get upcoming credit grant applications
52983
52983
 
52984
52984
  Use when showing upcoming or pending credits for a customer (e.g. in a portal or for forecasting).`,
@@ -52987,7 +52987,7 @@ Use when showing upcoming or pending credits for a customer (e.g. in a portal or
52987
52987
  destructiveHint: false,
52988
52988
  idempotentHint: false,
52989
52989
  openWorldHint: false,
52990
- readOnlyHint: true
52990
+ readOnlyHint: false
52991
52991
  },
52992
52992
  args: args6,
52993
52993
  tool: async (client, args7, ctx) => {
@@ -53158,7 +53158,7 @@ var init_customersGetCustomerUsageSummary2 = __esm(() => {
53158
53158
  request: GetCustomerUsageSummaryRequest$zodSchema.optional()
53159
53159
  };
53160
53160
  tool$customersGetCustomerUsageSummary = {
53161
- name: "customers-get-customer-usage-summary",
53161
+ name: "get-customer-usage-summary",
53162
53162
  description: `Get customer usage summary
53163
53163
 
53164
53164
  Use when showing a customer's usage (e.g. portal or overage alerts). Identify by customer_id or customer_lookup_key; supports filters.`,
@@ -53167,7 +53167,7 @@ Use when showing a customer's usage (e.g. portal or overage alerts). Identify by
53167
53167
  destructiveHint: false,
53168
53168
  idempotentHint: false,
53169
53169
  openWorldHint: false,
53170
- readOnlyHint: true
53170
+ readOnlyHint: false
53171
53171
  },
53172
53172
  args: args7,
53173
53173
  tool: async (client, args8, ctx) => {
@@ -53373,7 +53373,7 @@ var init_customersQueryCustomer2 = __esm(() => {
53373
53373
  request: TypesCustomerFilter$zodSchema
53374
53374
  };
53375
53375
  tool$customersQueryCustomer = {
53376
- name: "customers-query-customer",
53376
+ name: "query-customer",
53377
53377
  description: `Query customers
53378
53378
 
53379
53379
  Use when listing or searching customers (e.g. admin CRM or reporting). Returns a paginated list; supports filtering and sorting.`,
@@ -53526,7 +53526,7 @@ var init_customersUpdateCustomer2 = __esm(() => {
53526
53526
  request: UpdateCustomerRequest$zodSchema
53527
53527
  };
53528
53528
  tool$customersUpdateCustomer = {
53529
- name: "customers-update-customer",
53529
+ name: "update-customer",
53530
53530
  description: `Update customer
53531
53531
 
53532
53532
  Use when updating customer details (e.g. name, email, or metadata). Identify by id or external_customer_id.`,
@@ -54157,7 +54157,7 @@ var init_eventsGetEvent2 = __esm(() => {
54157
54157
  request: GetEventRequest$zodSchema
54158
54158
  };
54159
54159
  tool$eventsGetEvent = {
54160
- name: "events-get-event",
54160
+ name: "get-event",
54161
54161
  description: `Get event
54162
54162
 
54163
54163
  Use when debugging a specific event (e.g. why it failed or how it was aggregated). Includes processing status and debug info.`,
@@ -54166,7 +54166,7 @@ Use when debugging a specific event (e.g. why it failed or how it was aggregated
54166
54166
  destructiveHint: false,
54167
54167
  idempotentHint: false,
54168
54168
  openWorldHint: false,
54169
- readOnlyHint: true
54169
+ readOnlyHint: false
54170
54170
  },
54171
54171
  args: args10,
54172
54172
  tool: async (client, args11, ctx) => {
@@ -54250,7 +54250,7 @@ var init_eventsGetHuggingfaceInferenceData2 = __esm(() => {
54250
54250
  init_eventsGetHuggingfaceInferenceData();
54251
54251
  init_tools();
54252
54252
  tool$eventsGetHuggingfaceInferenceData = {
54253
- name: "events-get-huggingface-inference-data",
54253
+ name: "get-huggingface-inference-data",
54254
54254
  description: `Get Hugging Face inference data
54255
54255
 
54256
54256
  Use when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation).`,
@@ -54375,7 +54375,7 @@ var init_eventsGetUsageAnalytics2 = __esm(() => {
54375
54375
  request: DtoGetUsageAnalyticsRequest$zodSchema
54376
54376
  };
54377
54377
  tool$eventsGetUsageAnalytics = {
54378
- name: "events-get-usage-analytics",
54378
+ name: "get-usage-analytics",
54379
54379
  description: `Get usage analytics
54380
54380
 
54381
54381
  Use when building analytics views (e.g. usage by feature or customer over time). Supports filtering, grouping, and time-series breakdown.`,
@@ -54501,7 +54501,7 @@ var init_eventsGetUsageByMeter2 = __esm(() => {
54501
54501
  request: DtoGetUsageByMeterRequest$zodSchema
54502
54502
  };
54503
54503
  tool$eventsGetUsageByMeter = {
54504
- name: "events-get-usage-by-meter",
54504
+ name: "get-usage-by-meter",
54505
54505
  description: `Get usage by meter
54506
54506
 
54507
54507
  Use when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription.`,
@@ -54632,7 +54632,7 @@ var init_eventsGetUsageStatistics2 = __esm(() => {
54632
54632
  request: DtoGetUsageRequest$zodSchema
54633
54633
  };
54634
54634
  tool$eventsGetUsageStatistics = {
54635
- name: "events-get-usage-statistics",
54635
+ name: "get-usage-statistics",
54636
54636
  description: `Get usage statistics
54637
54637
 
54638
54638
  Use when building usage reports or dashboards across events. Supports filters and grouping; defaults to last 7 days if no range provided.`,
@@ -54755,7 +54755,7 @@ var init_eventsIngestEvent2 = __esm(() => {
54755
54755
  request: DtoIngestEventRequest$zodSchema
54756
54756
  };
54757
54757
  tool$eventsIngestEvent = {
54758
- name: "events-ingest-event",
54758
+ name: "ingest-event",
54759
54759
  description: `Ingest event
54760
54760
 
54761
54761
  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.`,
@@ -54873,7 +54873,7 @@ var init_eventsIngestEventsBulk2 = __esm(() => {
54873
54873
  request: DtoBulkIngestEventRequest$zodSchema
54874
54874
  };
54875
54875
  tool$eventsIngestEventsBulk = {
54876
- name: "events-ingest-events-bulk",
54876
+ name: "ingest-events-bulk",
54877
54877
  description: `Bulk ingest events
54878
54878
 
54879
54879
  Use when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted.`,
@@ -55002,7 +55002,7 @@ var init_eventsListRawEvents2 = __esm(() => {
55002
55002
  request: DtoGetEventsRequest$zodSchema
55003
55003
  };
55004
55004
  tool$eventsListRawEvents = {
55005
- name: "events-list-raw-events",
55005
+ name: "list-raw-events",
55006
55006
  description: `List raw events
55007
55007
 
55008
55008
  Use when debugging ingestion or exporting raw event data (e.g. support or audit). Returns a paginated list; supports time range and sorting.`,
@@ -55139,7 +55139,7 @@ var init_invoicesAttemptInvoicePayment2 = __esm(() => {
55139
55139
  request: AttemptInvoicePaymentRequest$zodSchema
55140
55140
  };
55141
55141
  tool$invoicesAttemptInvoicePayment = {
55142
- name: "invoices-attempt-invoice-payment",
55142
+ name: "attempt-invoice-payment",
55143
55143
  description: `Attempt invoice payment
55144
55144
 
55145
55145
  Use when paying an invoice with the customer's wallet balance (e.g. prepaid credits or balance applied at checkout).`,
@@ -55473,7 +55473,7 @@ var init_invoicesCreateInvoice2 = __esm(() => {
55473
55473
  request: DtoCreateInvoiceRequest$zodSchema
55474
55474
  };
55475
55475
  tool$invoicesCreateInvoice = {
55476
- name: "invoices-create-invoice",
55476
+ name: "create-invoice",
55477
55477
  description: `Create one-off invoice
55478
55478
 
55479
55479
  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.`,
@@ -55601,7 +55601,7 @@ var init_invoicesFinalizeInvoice2 = __esm(() => {
55601
55601
  request: FinalizeInvoiceRequest$zodSchema
55602
55602
  };
55603
55603
  tool$invoicesFinalizeInvoice = {
55604
- name: "invoices-finalize-invoice",
55604
+ name: "finalize-invoice",
55605
55605
  description: `Finalize invoice
55606
55606
 
55607
55607
  Use when locking an invoice for payment (e.g. after review). Once finalized, line items are locked; invoice can be paid or voided.`,
@@ -55759,7 +55759,7 @@ var init_invoicesGetCustomerInvoiceSummary2 = __esm(() => {
55759
55759
  request: GetCustomerInvoiceSummaryRequest$zodSchema
55760
55760
  };
55761
55761
  tool$invoicesGetCustomerInvoiceSummary = {
55762
- name: "invoices-get-customer-invoice-summary",
55762
+ name: "get-customer-invoice-summary",
55763
55763
  description: `Get customer invoice summary
55764
55764
 
55765
55765
  Use when showing a customer's invoice overview (e.g. billing portal or balance summary). Includes totals and multi-currency breakdown.`,
@@ -55768,7 +55768,7 @@ Use when showing a customer's invoice overview (e.g. billing portal or balance s
55768
55768
  destructiveHint: false,
55769
55769
  idempotentHint: false,
55770
55770
  openWorldHint: false,
55771
- readOnlyHint: true
55771
+ readOnlyHint: false
55772
55772
  },
55773
55773
  args: args20,
55774
55774
  tool: async (client, args21, ctx) => {
@@ -56700,7 +56700,7 @@ var init_invoicesGetInvoice2 = __esm(() => {
56700
56700
  request: GetInvoiceRequest$zodSchema
56701
56701
  };
56702
56702
  tool$invoicesGetInvoice = {
56703
- name: "invoices-get-invoice",
56703
+ name: "get-invoice",
56704
56704
  description: `Get invoice
56705
56705
 
56706
56706
  Use when loading an invoice for display or editing (e.g. portal or reconciliation). Supports group_by for usage breakdown and force_runtime_recalculation.`,
@@ -56709,7 +56709,7 @@ Use when loading an invoice for display or editing (e.g. portal or reconciliatio
56709
56709
  destructiveHint: false,
56710
56710
  idempotentHint: false,
56711
56711
  openWorldHint: false,
56712
- readOnlyHint: true
56712
+ readOnlyHint: false
56713
56713
  },
56714
56714
  args: args21,
56715
56715
  tool: async (client, args22, ctx) => {
@@ -56832,7 +56832,7 @@ var init_invoicesGetInvoicePdf2 = __esm(() => {
56832
56832
  request: GetInvoicePdfRequest$zodSchema
56833
56833
  };
56834
56834
  tool$invoicesGetInvoicePdf = {
56835
- name: "invoices-get-invoice-pdf",
56835
+ name: "get-invoice-pdf",
56836
56836
  description: `Get invoice PDF
56837
56837
 
56838
56838
  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.`,
@@ -56841,7 +56841,7 @@ Use when delivering an invoice PDF to the customer (e.g. email attachment or dow
56841
56841
  destructiveHint: false,
56842
56842
  idempotentHint: false,
56843
56843
  openWorldHint: false,
56844
- readOnlyHint: true
56844
+ readOnlyHint: false
56845
56845
  },
56846
56846
  args: args22,
56847
56847
  tool: async (client, args23, ctx) => {
@@ -56951,7 +56951,7 @@ var init_invoicesGetInvoicePreview2 = __esm(() => {
56951
56951
  request: DtoGetPreviewInvoiceRequest$zodSchema
56952
56952
  };
56953
56953
  tool$invoicesGetInvoicePreview = {
56954
- name: "invoices-get-invoice-preview",
56954
+ name: "get-invoice-preview",
56955
56955
  description: `Get invoice preview
56956
56956
 
56957
56957
  Use when showing a customer what they will be charged (e.g. preview before checkout or plan change). No invoice is created.`,
@@ -57100,7 +57100,7 @@ var init_invoicesQueryInvoice2 = __esm(() => {
57100
57100
  request: TypesInvoiceFilter$zodSchema
57101
57101
  };
57102
57102
  tool$invoicesQueryInvoice = {
57103
- name: "invoices-query-invoice",
57103
+ name: "query-invoice",
57104
57104
  description: `Query invoices
57105
57105
 
57106
57106
  Use when listing or searching invoices (e.g. admin view or customer history). Returns a paginated list; supports filtering by customer, status, date range.`,
@@ -57233,7 +57233,7 @@ var init_invoicesRecalculateInvoice2 = __esm(() => {
57233
57233
  request: RecalculateInvoiceRequest$zodSchema
57234
57234
  };
57235
57235
  tool$invoicesRecalculateInvoice = {
57236
- name: "invoices-recalculate-invoice",
57236
+ name: "recalculate-invoice",
57237
57237
  description: `Recalculate invoice
57238
57238
 
57239
57239
  Use when subscription or usage data changed and you need to refresh a draft invoice before finalizing. Optional finalize=true to lock after recalc.`,
@@ -57361,7 +57361,7 @@ var init_invoicesTriggerInvoiceCommsWebhook2 = __esm(() => {
57361
57361
  request: TriggerInvoiceCommsWebhookRequest$zodSchema
57362
57362
  };
57363
57363
  tool$invoicesTriggerInvoiceCommsWebhook = {
57364
- name: "invoices-trigger-invoice-comms-webhook",
57364
+ name: "trigger-invoice-comms-webhook",
57365
57365
  description: `Trigger invoice communication webhook
57366
57366
 
57367
57367
  Use when sending an invoice to the customer (e.g. trigger email or Slack). Payload includes full invoice details for your integration.`,
@@ -57503,7 +57503,7 @@ var init_invoicesUpdateInvoice2 = __esm(() => {
57503
57503
  request: UpdateInvoiceRequest$zodSchema
57504
57504
  };
57505
57505
  tool$invoicesUpdateInvoice = {
57506
- name: "invoices-update-invoice",
57506
+ name: "update-invoice",
57507
57507
  description: `Update invoice
57508
57508
 
57509
57509
  Use when updating invoice metadata or due date (e.g. PDF URL, net terms). For paid invoices only safe fields can be updated.`,
@@ -57645,7 +57645,7 @@ var init_invoicesUpdateInvoicePaymentStatus2 = __esm(() => {
57645
57645
  request: UpdateInvoicePaymentStatusRequest$zodSchema
57646
57646
  };
57647
57647
  tool$invoicesUpdateInvoicePaymentStatus = {
57648
- name: "invoices-update-invoice-payment-status",
57648
+ name: "update-invoice-payment-status",
57649
57649
  description: `Update invoice payment status
57650
57650
 
57651
57651
  Use when reconciling payment status from an external gateway or manual entry (e.g. mark paid after bank confirmation).`,
@@ -57773,7 +57773,7 @@ var init_invoicesVoidInvoice2 = __esm(() => {
57773
57773
  request: VoidInvoiceRequest$zodSchema
57774
57774
  };
57775
57775
  tool$invoicesVoidInvoice = {
57776
- name: "invoices-void-invoice",
57776
+ name: "void-invoice",
57777
57777
  description: `Void invoice
57778
57778
 
57779
57779
  Use when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid invoices can be voided.`,
@@ -57802,7 +57802,7 @@ Use when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid
57802
57802
  function createMCPServer(deps) {
57803
57803
  const server = new McpServer({
57804
57804
  name: "Flexprice",
57805
- version: "0.0.44"
57805
+ version: "0.0.45"
57806
57806
  });
57807
57807
  const getClient = deps.getSDK || (() => new FlexpriceCore({
57808
57808
  security: deps.security,
@@ -57898,181 +57898,181 @@ var toolNames;
57898
57898
  var init_tool_names = __esm(() => {
57899
57899
  toolNames = [
57900
57900
  {
57901
- name: "customers-update-customer",
57901
+ name: "update-customer",
57902
57902
  description: `Update customer
57903
57903
 
57904
57904
  Use when updating customer details (e.g. name, email, or metadata). Identify by id or external_customer_id.`
57905
57905
  },
57906
57906
  {
57907
- name: "customers-create-customer",
57907
+ name: "create-customer",
57908
57908
  description: `Create customer
57909
57909
 
57910
57910
  Use when onboarding a new billing customer (e.g. sign-up or CRM sync). Ideal for linking via external_customer_id to your app's user id.`
57911
57911
  },
57912
57912
  {
57913
- name: "customers-get-customer-by-external-id",
57913
+ name: "get-customer-by-external-id",
57914
57914
  description: `Get customer by external ID
57915
57915
 
57916
57916
  Use when resolving a customer by your app's id (e.g. from your user table). Ideal for integrations that key by external id.`
57917
57917
  },
57918
57918
  {
57919
- name: "customers-query-customer",
57919
+ name: "query-customer",
57920
57920
  description: `Query customers
57921
57921
 
57922
57922
  Use when listing or searching customers (e.g. admin CRM or reporting). Returns a paginated list; supports filtering and sorting.`
57923
57923
  },
57924
57924
  {
57925
- name: "customers-get-customer-usage-summary",
57925
+ name: "get-customer-usage-summary",
57926
57926
  description: `Get customer usage summary
57927
57927
 
57928
57928
  Use when showing a customer's usage (e.g. portal or overage alerts). Identify by customer_id or customer_lookup_key; supports filters.`
57929
57929
  },
57930
57930
  {
57931
- name: "customers-get-customer",
57931
+ name: "get-customer",
57932
57932
  description: `Get customer
57933
57933
 
57934
57934
  Use when you need to load a single customer (e.g. for a billing portal or to attach a subscription).`
57935
57935
  },
57936
57936
  {
57937
- name: "customers-delete-customer",
57937
+ name: "delete-customer",
57938
57938
  description: `Delete customer
57939
57939
 
57940
57940
  Use when removing a customer (e.g. GDPR or churn). Returns 204 No Content on success.`
57941
57941
  },
57942
57942
  {
57943
- name: "customers-get-customer-entitlements",
57943
+ name: "get-customer-entitlements",
57944
57944
  description: `Get customer entitlements
57945
57945
 
57946
57946
  Use when checking what a customer can access (e.g. feature gating or usage limits). Supports optional filters (feature_ids, subscription_ids).`
57947
57947
  },
57948
57948
  {
57949
- name: "customers-get-customer-upcoming-grants",
57949
+ name: "get-customer-upcoming-grants",
57950
57950
  description: `Get upcoming credit grant applications
57951
57951
 
57952
57952
  Use when showing upcoming or pending credits for a customer (e.g. in a portal or for forecasting).`
57953
57953
  },
57954
57954
  {
57955
- name: "invoices-get-customer-invoice-summary",
57955
+ name: "get-customer-invoice-summary",
57956
57956
  description: `Get customer invoice summary
57957
57957
 
57958
57958
  Use when showing a customer's invoice overview (e.g. billing portal or balance summary). Includes totals and multi-currency breakdown.`
57959
57959
  },
57960
57960
  {
57961
- name: "invoices-create-invoice",
57961
+ name: "create-invoice",
57962
57962
  description: `Create one-off invoice
57963
57963
 
57964
57964
  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.`
57965
57965
  },
57966
57966
  {
57967
- name: "invoices-get-invoice-preview",
57967
+ name: "get-invoice-preview",
57968
57968
  description: `Get invoice preview
57969
57969
 
57970
57970
  Use when showing a customer what they will be charged (e.g. preview before checkout or plan change). No invoice is created.`
57971
57971
  },
57972
57972
  {
57973
- name: "invoices-query-invoice",
57973
+ name: "query-invoice",
57974
57974
  description: `Query invoices
57975
57975
 
57976
57976
  Use when listing or searching invoices (e.g. admin view or customer history). Returns a paginated list; supports filtering by customer, status, date range.`
57977
57977
  },
57978
57978
  {
57979
- name: "invoices-get-invoice",
57979
+ name: "get-invoice",
57980
57980
  description: `Get invoice
57981
57981
 
57982
57982
  Use when loading an invoice for display or editing (e.g. portal or reconciliation). Supports group_by for usage breakdown and force_runtime_recalculation.`
57983
57983
  },
57984
57984
  {
57985
- name: "invoices-update-invoice",
57985
+ name: "update-invoice",
57986
57986
  description: `Update invoice
57987
57987
 
57988
57988
  Use when updating invoice metadata or due date (e.g. PDF URL, net terms). For paid invoices only safe fields can be updated.`
57989
57989
  },
57990
57990
  {
57991
- name: "invoices-trigger-invoice-comms-webhook",
57991
+ name: "trigger-invoice-comms-webhook",
57992
57992
  description: `Trigger invoice communication webhook
57993
57993
 
57994
57994
  Use when sending an invoice to the customer (e.g. trigger email or Slack). Payload includes full invoice details for your integration.`
57995
57995
  },
57996
57996
  {
57997
- name: "invoices-finalize-invoice",
57997
+ name: "finalize-invoice",
57998
57998
  description: `Finalize invoice
57999
57999
 
58000
58000
  Use when locking an invoice for payment (e.g. after review). Once finalized, line items are locked; invoice can be paid or voided.`
58001
58001
  },
58002
58002
  {
58003
- name: "invoices-update-invoice-payment-status",
58003
+ name: "update-invoice-payment-status",
58004
58004
  description: `Update invoice payment status
58005
58005
 
58006
58006
  Use when reconciling payment status from an external gateway or manual entry (e.g. mark paid after bank confirmation).`
58007
58007
  },
58008
58008
  {
58009
- name: "invoices-attempt-invoice-payment",
58009
+ name: "attempt-invoice-payment",
58010
58010
  description: `Attempt invoice payment
58011
58011
 
58012
58012
  Use when paying an invoice with the customer's wallet balance (e.g. prepaid credits or balance applied at checkout).`
58013
58013
  },
58014
58014
  {
58015
- name: "invoices-get-invoice-pdf",
58015
+ name: "get-invoice-pdf",
58016
58016
  description: `Get invoice PDF
58017
58017
 
58018
58018
  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.`
58019
58019
  },
58020
58020
  {
58021
- name: "invoices-recalculate-invoice",
58021
+ name: "recalculate-invoice",
58022
58022
  description: `Recalculate invoice
58023
58023
 
58024
58024
  Use when subscription or usage data changed and you need to refresh a draft invoice before finalizing. Optional finalize=true to lock after recalc.`
58025
58025
  },
58026
58026
  {
58027
- name: "invoices-void-invoice",
58027
+ name: "void-invoice",
58028
58028
  description: `Void invoice
58029
58029
 
58030
58030
  Use when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid invoices can be voided.`
58031
58031
  },
58032
58032
  {
58033
- name: "events-ingest-event",
58033
+ name: "ingest-event",
58034
58034
  description: `Ingest event
58035
58035
 
58036
58036
  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.`
58037
58037
  },
58038
58038
  {
58039
- name: "events-get-usage-analytics",
58039
+ name: "get-usage-analytics",
58040
58040
  description: `Get usage analytics
58041
58041
 
58042
58042
  Use when building analytics views (e.g. usage by feature or customer over time). Supports filtering, grouping, and time-series breakdown.`
58043
58043
  },
58044
58044
  {
58045
- name: "events-ingest-events-bulk",
58045
+ name: "ingest-events-bulk",
58046
58046
  description: `Bulk ingest events
58047
58047
 
58048
58048
  Use when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted.`
58049
58049
  },
58050
58050
  {
58051
- name: "events-get-huggingface-inference-data",
58051
+ name: "get-huggingface-inference-data",
58052
58052
  description: `Get Hugging Face inference data
58053
58053
 
58054
58054
  Use when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation).`
58055
58055
  },
58056
58056
  {
58057
- name: "events-list-raw-events",
58057
+ name: "list-raw-events",
58058
58058
  description: `List raw events
58059
58059
 
58060
58060
  Use when debugging ingestion or exporting raw event data (e.g. support or audit). Returns a paginated list; supports time range and sorting.`
58061
58061
  },
58062
58062
  {
58063
- name: "events-get-usage-statistics",
58063
+ name: "get-usage-statistics",
58064
58064
  description: `Get usage statistics
58065
58065
 
58066
58066
  Use when building usage reports or dashboards across events. Supports filters and grouping; defaults to last 7 days if no range provided.`
58067
58067
  },
58068
58068
  {
58069
- name: "events-get-usage-by-meter",
58069
+ name: "get-usage-by-meter",
58070
58070
  description: `Get usage by meter
58071
58071
 
58072
58072
  Use when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription.`
58073
58073
  },
58074
58074
  {
58075
- name: "events-get-event",
58075
+ name: "get-event",
58076
58076
  description: `Get event
58077
58077
 
58078
58078
  Use when debugging a specific event (e.g. why it failed or how it was aggregated). Includes processing status and debug info.`
@@ -61585,7 +61585,7 @@ var routes = buildRouteMap({
61585
61585
  var app = buildApplication(routes, {
61586
61586
  name: "mcp",
61587
61587
  versionInfo: {
61588
- currentVersion: "0.0.44"
61588
+ currentVersion: "0.0.45"
61589
61589
  }
61590
61590
  });
61591
61591
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -61593,5 +61593,5 @@ export {
61593
61593
  app
61594
61594
  };
61595
61595
 
61596
- //# debugId=E3C3023AED8B615C64756E2164756E21
61596
+ //# debugId=3690260DE37448E064756E2164756E21
61597
61597
  //# sourceMappingURL=mcp-server.js.map