@metronome/mcp 2.0.0 → 2.1.0

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 (212) hide show
  1. package/README.md +31 -21
  2. package/package.json +2 -2
  3. package/server.js +1 -1
  4. package/server.mjs +1 -1
  5. package/src/server.ts +1 -1
  6. package/src/tools/index.ts +6 -0
  7. package/src/tools/v1/contracts/amend-v1-contracts.ts +1 -1
  8. package/src/tools/v1/contracts/create-v1-contracts.ts +9 -6
  9. package/src/tools/v1/contracts/list-balances-v1-contracts.ts +4 -0
  10. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +1 -1
  11. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +1 -1
  12. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +1 -1
  13. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +1 -1
  14. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +1 -1
  15. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +1 -1
  16. package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +5 -1
  17. package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +2 -1
  18. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +2 -1
  19. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +2 -2
  20. package/src/tools/v1/customers/create-v1-customers.ts +3 -0
  21. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +1 -1
  22. package/src/tools/v1/customers/list-costs-v1-customers.ts +1 -1
  23. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +1 -1
  24. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +1 -1
  25. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +1 -1
  26. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +1 -1
  27. package/src/tools/v1/customers/preview-events-v1-customers.ts +5 -3
  28. package/src/tools/v1/customers/retrieve-billing-configurations-v1-customers.ts +1 -1
  29. package/src/tools/v1/customers/set-billing-configurations-v1-customers.ts +1 -0
  30. package/src/tools/v1/payments/attempt-v1-payments.ts +1 -1
  31. package/src/tools/v1/payments/cancel-v1-payments.ts +1 -1
  32. package/src/tools/v1/payments/list-v1-payments.ts +1 -1
  33. package/src/tools/v1/plans/get-details-v1-plans.ts +1 -1
  34. package/src/tools/v1/plans/list-charges-v1-plans.ts +1 -1
  35. package/src/tools/v1/plans/list-customers-v1-plans.ts +1 -1
  36. package/src/tools/v1/plans/list-v1-plans.ts +1 -1
  37. package/src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts +60 -0
  38. package/src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts +48 -0
  39. package/src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts +65 -0
  40. package/src/tools/v2/contracts/edit-v2-contracts.ts +6 -3
  41. package/tools/index.d.mts.map +1 -1
  42. package/tools/index.d.ts.map +1 -1
  43. package/tools/index.js +6 -0
  44. package/tools/index.js.map +1 -1
  45. package/tools/index.mjs +6 -0
  46. package/tools/index.mjs.map +1 -1
  47. package/tools/v1/contracts/amend-v1-contracts.js +1 -1
  48. package/tools/v1/contracts/amend-v1-contracts.js.map +1 -1
  49. package/tools/v1/contracts/amend-v1-contracts.mjs +1 -1
  50. package/tools/v1/contracts/amend-v1-contracts.mjs.map +1 -1
  51. package/tools/v1/contracts/create-v1-contracts.d.mts.map +1 -1
  52. package/tools/v1/contracts/create-v1-contracts.d.ts.map +1 -1
  53. package/tools/v1/contracts/create-v1-contracts.js +6 -6
  54. package/tools/v1/contracts/create-v1-contracts.js.map +1 -1
  55. package/tools/v1/contracts/create-v1-contracts.mjs +6 -6
  56. package/tools/v1/contracts/create-v1-contracts.mjs.map +1 -1
  57. package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +1 -1
  58. package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +1 -1
  59. package/tools/v1/contracts/list-balances-v1-contracts.js +4 -0
  60. package/tools/v1/contracts/list-balances-v1-contracts.js.map +1 -1
  61. package/tools/v1/contracts/list-balances-v1-contracts.mjs +4 -0
  62. package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +1 -1
  63. package/tools/v1/credit-grants/create-v1-credit-grants.js +1 -1
  64. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +1 -1
  65. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +1 -1
  66. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +1 -1
  67. package/tools/v1/credit-grants/edit-v1-credit-grants.js +1 -1
  68. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +1 -1
  69. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +1 -1
  70. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +1 -1
  71. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +1 -1
  72. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +1 -1
  73. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +1 -1
  74. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +1 -1
  75. package/tools/v1/credit-grants/list-v1-credit-grants.js +1 -1
  76. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +1 -1
  77. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +1 -1
  78. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +1 -1
  79. package/tools/v1/credit-grants/void-v1-credit-grants.js +1 -1
  80. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +1 -1
  81. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +1 -1
  82. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +1 -1
  83. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +1 -1
  84. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +1 -1
  85. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +1 -1
  86. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +1 -1
  87. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +1 -1
  88. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +1 -1
  89. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +3 -1
  90. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +1 -1
  91. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +3 -1
  92. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +1 -1
  93. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +1 -1
  94. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +1 -1
  95. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +2 -1
  96. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +1 -1
  97. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +2 -1
  98. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +1 -1
  99. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +1 -1
  100. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +1 -1
  101. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +2 -1
  102. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +1 -1
  103. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +2 -1
  104. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +1 -1
  105. package/tools/v1/customers/commits/create-customers-v1-commits.js +2 -2
  106. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +1 -1
  107. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +2 -2
  108. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +1 -1
  109. package/tools/v1/customers/create-v1-customers.d.mts.map +1 -1
  110. package/tools/v1/customers/create-v1-customers.d.ts.map +1 -1
  111. package/tools/v1/customers/create-v1-customers.js +2 -0
  112. package/tools/v1/customers/create-v1-customers.js.map +1 -1
  113. package/tools/v1/customers/create-v1-customers.mjs +2 -0
  114. package/tools/v1/customers/create-v1-customers.mjs.map +1 -1
  115. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +1 -1
  116. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +1 -1
  117. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +1 -1
  118. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +1 -1
  119. package/tools/v1/customers/list-costs-v1-customers.js +1 -1
  120. package/tools/v1/customers/list-costs-v1-customers.js.map +1 -1
  121. package/tools/v1/customers/list-costs-v1-customers.mjs +1 -1
  122. package/tools/v1/customers/list-costs-v1-customers.mjs.map +1 -1
  123. package/tools/v1/customers/plans/add-customers-v1-plans.js +1 -1
  124. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +1 -1
  125. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +1 -1
  126. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +1 -1
  127. package/tools/v1/customers/plans/end-customers-v1-plans.js +1 -1
  128. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +1 -1
  129. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +1 -1
  130. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +1 -1
  131. package/tools/v1/customers/plans/list-customers-v1-plans.js +1 -1
  132. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +1 -1
  133. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +1 -1
  134. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +1 -1
  135. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +1 -1
  136. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +1 -1
  137. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +1 -1
  138. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +1 -1
  139. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +1 -1
  140. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +1 -1
  141. package/tools/v1/customers/preview-events-v1-customers.js +4 -3
  142. package/tools/v1/customers/preview-events-v1-customers.js.map +1 -1
  143. package/tools/v1/customers/preview-events-v1-customers.mjs +4 -3
  144. package/tools/v1/customers/preview-events-v1-customers.mjs.map +1 -1
  145. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js +1 -1
  146. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js.map +1 -1
  147. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs +1 -1
  148. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs.map +1 -1
  149. package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts.map +1 -1
  150. package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts.map +1 -1
  151. package/tools/v1/customers/set-billing-configurations-v1-customers.js +1 -0
  152. package/tools/v1/customers/set-billing-configurations-v1-customers.js.map +1 -1
  153. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs +1 -0
  154. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs.map +1 -1
  155. package/tools/v1/payments/attempt-v1-payments.js +1 -1
  156. package/tools/v1/payments/attempt-v1-payments.js.map +1 -1
  157. package/tools/v1/payments/attempt-v1-payments.mjs +1 -1
  158. package/tools/v1/payments/attempt-v1-payments.mjs.map +1 -1
  159. package/tools/v1/payments/cancel-v1-payments.js +1 -1
  160. package/tools/v1/payments/cancel-v1-payments.js.map +1 -1
  161. package/tools/v1/payments/cancel-v1-payments.mjs +1 -1
  162. package/tools/v1/payments/cancel-v1-payments.mjs.map +1 -1
  163. package/tools/v1/payments/list-v1-payments.js +1 -1
  164. package/tools/v1/payments/list-v1-payments.js.map +1 -1
  165. package/tools/v1/payments/list-v1-payments.mjs +1 -1
  166. package/tools/v1/payments/list-v1-payments.mjs.map +1 -1
  167. package/tools/v1/plans/get-details-v1-plans.js +1 -1
  168. package/tools/v1/plans/get-details-v1-plans.js.map +1 -1
  169. package/tools/v1/plans/get-details-v1-plans.mjs +1 -1
  170. package/tools/v1/plans/get-details-v1-plans.mjs.map +1 -1
  171. package/tools/v1/plans/list-charges-v1-plans.js +1 -1
  172. package/tools/v1/plans/list-charges-v1-plans.js.map +1 -1
  173. package/tools/v1/plans/list-charges-v1-plans.mjs +1 -1
  174. package/tools/v1/plans/list-charges-v1-plans.mjs.map +1 -1
  175. package/tools/v1/plans/list-customers-v1-plans.js +1 -1
  176. package/tools/v1/plans/list-customers-v1-plans.js.map +1 -1
  177. package/tools/v1/plans/list-customers-v1-plans.mjs +1 -1
  178. package/tools/v1/plans/list-customers-v1-plans.mjs.map +1 -1
  179. package/tools/v1/plans/list-v1-plans.js +1 -1
  180. package/tools/v1/plans/list-v1-plans.js.map +1 -1
  181. package/tools/v1/plans/list-v1-plans.mjs +1 -1
  182. package/tools/v1/plans/list-v1-plans.mjs.map +1 -1
  183. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts +45 -0
  184. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts.map +1 -0
  185. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts +45 -0
  186. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts.map +1 -0
  187. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js +52 -0
  188. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js.map +1 -0
  189. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs +48 -0
  190. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs.map +1 -0
  191. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts +45 -0
  192. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts.map +1 -0
  193. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts +45 -0
  194. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts.map +1 -0
  195. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js +41 -0
  196. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js.map +1 -0
  197. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs +37 -0
  198. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs.map +1 -0
  199. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts +45 -0
  200. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts.map +1 -0
  201. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts +45 -0
  202. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts.map +1 -0
  203. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js +57 -0
  204. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js.map +1 -0
  205. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs +53 -0
  206. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs.map +1 -0
  207. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +1 -1
  208. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +1 -1
  209. package/tools/v2/contracts/edit-v2-contracts.js +4 -3
  210. package/tools/v2/contracts/edit-v2-contracts.js.map +1 -1
  211. package/tools/v2/contracts/edit-v2-contracts.mjs +4 -3
  212. package/tools/v2/contracts/edit-v2-contracts.mjs.map +1 -1
@@ -0,0 +1,45 @@
1
+ import { Metadata } from '@metronome/mcp/tools/types';
2
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
+ import Metronome from '@metronome/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=create-settings-v1-billing-providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-settings-v1-billing-providers.d.ts","sourceRoot":"","sources":["../../../../src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAiClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAKzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO1F,wBAA2C"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const filtering_1 = require("@metronome/mcp/filtering");
6
+ const types_1 = require("@metronome/mcp/tools/types");
7
+ exports.metadata = {
8
+ resource: 'v1.settings.billing_providers',
9
+ operation: 'write',
10
+ tags: [],
11
+ httpMethod: 'post',
12
+ httpPath: '/v1/setUpBillingProvider',
13
+ operationId: 'setUpBillingProvider-v1',
14
+ };
15
+ exports.tool = {
16
+ name: 'create_settings_v1_billing_providers',
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSet up account-level configuration for a billing provider. Once configured, individual contracts across customers can be mapped to this configuration using the returned delivery_method_id.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/billing_provider_create_response',\n $defs: {\n billing_provider_create_response: {\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n delivery_method_id: {\n type: 'string'\n }\n },\n required: [ 'delivery_method_id'\n ]\n }\n },\n required: [ 'data'\n ]\n }\n }\n}\n```",
18
+ inputSchema: {
19
+ type: 'object',
20
+ properties: {
21
+ billing_provider: {
22
+ type: 'string',
23
+ description: 'The billing provider set for this configuration.',
24
+ enum: ['aws_marketplace', 'azure_marketplace'],
25
+ },
26
+ configuration: {
27
+ type: 'object',
28
+ description: 'Account-level configuration for the billing provider. The structure of this object is specific to the billing provider and delivery provider combination. See examples below.',
29
+ additionalProperties: true,
30
+ },
31
+ delivery_method: {
32
+ type: 'string',
33
+ description: 'The method to use for delivering invoices for this configuration.',
34
+ enum: ['direct_to_billing_provider', 'aws_sqs', 'aws_sns'],
35
+ },
36
+ jq_filter: {
37
+ type: 'string',
38
+ title: 'jq Filter',
39
+ description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
40
+ },
41
+ },
42
+ required: ['billing_provider', 'configuration', 'delivery_method'],
43
+ },
44
+ annotations: {},
45
+ };
46
+ const handler = async (client, args) => {
47
+ const { jq_filter, ...body } = args;
48
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.settings.billingProviders.create(body)));
49
+ };
50
+ exports.handler = handler;
51
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
52
+ //# sourceMappingURL=create-settings-v1-billing-providers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-settings-v1-billing-providers.js","sourceRoot":"","sources":["../../../../src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,+BAA+B;IACzC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0BAA0B;IACpC,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EACT,y1BAAy1B;IAC31B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kDAAkD;gBAC/D,IAAI,EAAE,CAAC,iBAAiB,EAAE,mBAAmB,CAAC;aAC/C;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,+KAA+K;gBACjL,oBAAoB,EAAE,IAAI;aAC3B;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mEAAmE;gBAChF,IAAI,EAAE,CAAC,4BAA4B,EAAE,SAAS,EAAE,SAAS,CAAC;aAC3D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,kBAAkB,EAAE,eAAe,EAAE,iBAAiB,CAAC;KACnE;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACrF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,48 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { maybeFilter } from '@metronome/mcp/filtering';
3
+ import { asTextContentResult } from '@metronome/mcp/tools/types';
4
+ export const metadata = {
5
+ resource: 'v1.settings.billing_providers',
6
+ operation: 'write',
7
+ tags: [],
8
+ httpMethod: 'post',
9
+ httpPath: '/v1/setUpBillingProvider',
10
+ operationId: 'setUpBillingProvider-v1',
11
+ };
12
+ export const tool = {
13
+ name: 'create_settings_v1_billing_providers',
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSet up account-level configuration for a billing provider. Once configured, individual contracts across customers can be mapped to this configuration using the returned delivery_method_id.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/billing_provider_create_response',\n $defs: {\n billing_provider_create_response: {\n type: 'object',\n properties: {\n data: {\n type: 'object',\n properties: {\n delivery_method_id: {\n type: 'string'\n }\n },\n required: [ 'delivery_method_id'\n ]\n }\n },\n required: [ 'data'\n ]\n }\n }\n}\n```",
15
+ inputSchema: {
16
+ type: 'object',
17
+ properties: {
18
+ billing_provider: {
19
+ type: 'string',
20
+ description: 'The billing provider set for this configuration.',
21
+ enum: ['aws_marketplace', 'azure_marketplace'],
22
+ },
23
+ configuration: {
24
+ type: 'object',
25
+ description: 'Account-level configuration for the billing provider. The structure of this object is specific to the billing provider and delivery provider combination. See examples below.',
26
+ additionalProperties: true,
27
+ },
28
+ delivery_method: {
29
+ type: 'string',
30
+ description: 'The method to use for delivering invoices for this configuration.',
31
+ enum: ['direct_to_billing_provider', 'aws_sqs', 'aws_sns'],
32
+ },
33
+ jq_filter: {
34
+ type: 'string',
35
+ title: 'jq Filter',
36
+ description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
37
+ },
38
+ },
39
+ required: ['billing_provider', 'configuration', 'delivery_method'],
40
+ },
41
+ annotations: {},
42
+ };
43
+ export const handler = async (client, args) => {
44
+ const { jq_filter, ...body } = args;
45
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.settings.billingProviders.create(body)));
46
+ };
47
+ export default { metadata, tool, handler };
48
+ //# sourceMappingURL=create-settings-v1-billing-providers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-settings-v1-billing-providers.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,+BAA+B;IACzC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,0BAA0B;IACpC,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EACT,y1BAAy1B;IAC31B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kDAAkD;gBAC/D,IAAI,EAAE,CAAC,iBAAiB,EAAE,mBAAmB,CAAC;aAC/C;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,+KAA+K;gBACjL,oBAAoB,EAAE,IAAI;aAC3B;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mEAAmE;gBAChF,IAAI,EAAE,CAAC,4BAA4B,EAAE,SAAS,EAAE,SAAS,CAAC;aAC3D;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,kBAAkB,EAAE,eAAe,EAAE,iBAAiB,CAAC;KACnE;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACrF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { Metadata } from '@metronome/mcp/tools/types';
2
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
+ import Metronome from '@metronome/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=list-settings-v1-billing-providers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-settings-v1-billing-providers.d.mts","sourceRoot":"","sources":["../../../../src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAqBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAKzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO1F,wBAA2C"}
@@ -0,0 +1,45 @@
1
+ import { Metadata } from '@metronome/mcp/tools/types';
2
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
+ import Metronome from '@metronome/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=list-settings-v1-billing-providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-settings-v1-billing-providers.d.ts","sourceRoot":"","sources":["../../../../src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAqBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAKzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO1F,wBAA2C"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const filtering_1 = require("@metronome/mcp/filtering");
6
+ const types_1 = require("@metronome/mcp/tools/types");
7
+ exports.metadata = {
8
+ resource: 'v1.settings.billing_providers',
9
+ operation: 'write',
10
+ tags: [],
11
+ httpMethod: 'post',
12
+ httpPath: '/v1/listConfiguredBillingProviders',
13
+ operationId: 'listConfiguredBillingProviders-v1',
14
+ };
15
+ exports.tool = {
16
+ name: 'list_settings_v1_billing_providers',
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nLists all configured billing providers and their delivery method configurations for your account. Returns provider details, delivery method IDs, and configuration settings needed for mapping individual customer contracts to billing integrations.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/billing_provider_list_response',\n $defs: {\n billing_provider_list_response: {\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n billing_provider: {\n type: 'string',\n description: 'The billing provider set for this configuration.',\n enum: [ 'aws_marketplace',\n 'stripe',\n 'netsuite',\n 'custom',\n 'azure_marketplace',\n 'quickbooks_online',\n 'workday',\n 'gcp_marketplace',\n 'metronome'\n ]\n },\n delivery_method: {\n type: 'string',\n description: 'The method to use for delivering invoices to this customer.',\n enum: [ 'direct_to_billing_provider',\n 'aws_sqs',\n 'tackle',\n 'aws_sns'\n ]\n },\n delivery_method_configuration: {\n type: 'object',\n description: 'Configuration for the delivery method. The structure of this object is specific to the delivery method. Some configuration may be omitted for security reasons.',\n additionalProperties: true\n },\n delivery_method_id: {\n type: 'string',\n description: 'ID of the delivery method to use for this customer.'\n }\n },\n required: [ 'billing_provider',\n 'delivery_method',\n 'delivery_method_configuration',\n 'delivery_method_id'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data'\n ]\n }\n }\n}\n```",
18
+ inputSchema: {
19
+ type: 'object',
20
+ properties: {
21
+ next_page: {
22
+ type: 'string',
23
+ description: 'The cursor to the next page of results',
24
+ },
25
+ jq_filter: {
26
+ type: 'string',
27
+ title: 'jq Filter',
28
+ description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
29
+ },
30
+ },
31
+ required: [],
32
+ },
33
+ annotations: {},
34
+ };
35
+ const handler = async (client, args) => {
36
+ const { jq_filter, ...body } = args;
37
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.settings.billingProviders.list(body)));
38
+ };
39
+ exports.handler = handler;
40
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
41
+ //# sourceMappingURL=list-settings-v1-billing-providers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-settings-v1-billing-providers.js","sourceRoot":"","sources":["../../../../src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,+BAA+B;IACzC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oCAAoC;IAC9C,WAAW,EAAE,mCAAmC;CACjD,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EACT,05EAA05E;IAC55E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CACnF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,37 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { maybeFilter } from '@metronome/mcp/filtering';
3
+ import { asTextContentResult } from '@metronome/mcp/tools/types';
4
+ export const metadata = {
5
+ resource: 'v1.settings.billing_providers',
6
+ operation: 'write',
7
+ tags: [],
8
+ httpMethod: 'post',
9
+ httpPath: '/v1/listConfiguredBillingProviders',
10
+ operationId: 'listConfiguredBillingProviders-v1',
11
+ };
12
+ export const tool = {
13
+ name: 'list_settings_v1_billing_providers',
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nLists all configured billing providers and their delivery method configurations for your account. Returns provider details, delivery method IDs, and configuration settings needed for mapping individual customer contracts to billing integrations.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/billing_provider_list_response',\n $defs: {\n billing_provider_list_response: {\n type: 'object',\n properties: {\n data: {\n type: 'array',\n items: {\n type: 'object',\n properties: {\n billing_provider: {\n type: 'string',\n description: 'The billing provider set for this configuration.',\n enum: [ 'aws_marketplace',\n 'stripe',\n 'netsuite',\n 'custom',\n 'azure_marketplace',\n 'quickbooks_online',\n 'workday',\n 'gcp_marketplace',\n 'metronome'\n ]\n },\n delivery_method: {\n type: 'string',\n description: 'The method to use for delivering invoices to this customer.',\n enum: [ 'direct_to_billing_provider',\n 'aws_sqs',\n 'tackle',\n 'aws_sns'\n ]\n },\n delivery_method_configuration: {\n type: 'object',\n description: 'Configuration for the delivery method. The structure of this object is specific to the delivery method. Some configuration may be omitted for security reasons.',\n additionalProperties: true\n },\n delivery_method_id: {\n type: 'string',\n description: 'ID of the delivery method to use for this customer.'\n }\n },\n required: [ 'billing_provider',\n 'delivery_method',\n 'delivery_method_configuration',\n 'delivery_method_id'\n ]\n }\n },\n next_page: {\n type: 'string'\n }\n },\n required: [ 'data'\n ]\n }\n }\n}\n```",
15
+ inputSchema: {
16
+ type: 'object',
17
+ properties: {
18
+ next_page: {
19
+ type: 'string',
20
+ description: 'The cursor to the next page of results',
21
+ },
22
+ jq_filter: {
23
+ type: 'string',
24
+ title: 'jq Filter',
25
+ description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
26
+ },
27
+ },
28
+ required: [],
29
+ },
30
+ annotations: {},
31
+ };
32
+ export const handler = async (client, args) => {
33
+ const { jq_filter, ...body } = args;
34
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.settings.billingProviders.list(body)));
35
+ };
36
+ export default { metadata, tool, handler };
37
+ //# sourceMappingURL=list-settings-v1-billing-providers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-settings-v1-billing-providers.mjs","sourceRoot":"","sources":["../../../../src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,+BAA+B;IACzC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,oCAAoC;IAC9C,WAAW,EAAE,mCAAmC;CACjD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EACT,05EAA05E;IAC55E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CACnF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { Metadata } from '@metronome/mcp/tools/types';
2
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
+ import Metronome from '@metronome/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=upsert-avalara-credentials-v1-settings.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-avalara-credentials-v1-settings.d.mts","sourceRoot":"","sources":["../../../src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAKzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO1F,wBAA2C"}
@@ -0,0 +1,45 @@
1
+ import { Metadata } from '@metronome/mcp/tools/types';
2
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
3
+ import Metronome from '@metronome/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: Metronome, args: Record<string, unknown> | undefined) => Promise<import("@metronome/mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=upsert-avalara-credentials-v1-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-avalara-credentials-v1-settings.d.ts","sourceRoot":"","sources":["../../../src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAKzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAO1F,wBAA2C"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const filtering_1 = require("@metronome/mcp/filtering");
6
+ const types_1 = require("@metronome/mcp/tools/types");
7
+ exports.metadata = {
8
+ resource: 'v1.settings',
9
+ operation: 'write',
10
+ tags: [],
11
+ httpMethod: 'post',
12
+ httpPath: '/v1/upsertAvalaraCredentials',
13
+ operationId: 'upsertAvalaraCredentials-v1',
14
+ };
15
+ exports.tool = {
16
+ name: 'upsert_avalara_credentials_v1_settings',
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSet the Avalara credentials for some specified `delivery_method_ids`, which can be found in the `/listConfiguredBillingProviders` response. This maps the Avalara credentials to the appropriate billing entity. These credentials are only used for PLG Invoicing today.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/setting_upsert_avalara_credentials_response',\n $defs: {\n setting_upsert_avalara_credentials_response: {\n type: 'object',\n properties: {}\n }\n }\n}\n```",
18
+ inputSchema: {
19
+ type: 'object',
20
+ properties: {
21
+ avalara_environment: {
22
+ type: 'string',
23
+ description: 'The Avalara environment to use (SANDBOX or PRODUCTION).',
24
+ enum: ['PRODUCTION', 'SANDBOX'],
25
+ },
26
+ avalara_password: {
27
+ type: 'string',
28
+ description: 'The password for the Avalara account.',
29
+ },
30
+ avalara_username: {
31
+ type: 'string',
32
+ description: 'The username for the Avalara account.',
33
+ },
34
+ delivery_method_ids: {
35
+ type: 'array',
36
+ description: 'The delivery method IDs of the billing provider configurations to update, can be found in the response of the `/listConfiguredBillingProviders` endpoint.',
37
+ items: {
38
+ type: 'string',
39
+ },
40
+ },
41
+ jq_filter: {
42
+ type: 'string',
43
+ title: 'jq Filter',
44
+ description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
45
+ },
46
+ },
47
+ required: ['avalara_environment', 'avalara_password', 'avalara_username', 'delivery_method_ids'],
48
+ },
49
+ annotations: {},
50
+ };
51
+ const handler = async (client, args) => {
52
+ const { jq_filter, ...body } = args;
53
+ return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.v1.settings.upsertAvalaraCredentials(body)));
54
+ };
55
+ exports.handler = handler;
56
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
57
+ //# sourceMappingURL=upsert-avalara-credentials-v1-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-avalara-credentials-v1-settings.js","sourceRoot":"","sources":["../../../src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,8BAA8B;IACxC,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EACT,upBAAupB;IACzpB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yDAAyD;gBACtE,IAAI,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC;aAChC;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,2JAA2J;gBAC7J,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;KACjG;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC,CACtF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,53 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { maybeFilter } from '@metronome/mcp/filtering';
3
+ import { asTextContentResult } from '@metronome/mcp/tools/types';
4
+ export const metadata = {
5
+ resource: 'v1.settings',
6
+ operation: 'write',
7
+ tags: [],
8
+ httpMethod: 'post',
9
+ httpPath: '/v1/upsertAvalaraCredentials',
10
+ operationId: 'upsertAvalaraCredentials-v1',
11
+ };
12
+ export const tool = {
13
+ name: 'upsert_avalara_credentials_v1_settings',
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nSet the Avalara credentials for some specified `delivery_method_ids`, which can be found in the `/listConfiguredBillingProviders` response. This maps the Avalara credentials to the appropriate billing entity. These credentials are only used for PLG Invoicing today.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/setting_upsert_avalara_credentials_response',\n $defs: {\n setting_upsert_avalara_credentials_response: {\n type: 'object',\n properties: {}\n }\n }\n}\n```",
15
+ inputSchema: {
16
+ type: 'object',
17
+ properties: {
18
+ avalara_environment: {
19
+ type: 'string',
20
+ description: 'The Avalara environment to use (SANDBOX or PRODUCTION).',
21
+ enum: ['PRODUCTION', 'SANDBOX'],
22
+ },
23
+ avalara_password: {
24
+ type: 'string',
25
+ description: 'The password for the Avalara account.',
26
+ },
27
+ avalara_username: {
28
+ type: 'string',
29
+ description: 'The username for the Avalara account.',
30
+ },
31
+ delivery_method_ids: {
32
+ type: 'array',
33
+ description: 'The delivery method IDs of the billing provider configurations to update, can be found in the response of the `/listConfiguredBillingProviders` endpoint.',
34
+ items: {
35
+ type: 'string',
36
+ },
37
+ },
38
+ jq_filter: {
39
+ type: 'string',
40
+ title: 'jq Filter',
41
+ description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
42
+ },
43
+ },
44
+ required: ['avalara_environment', 'avalara_password', 'avalara_username', 'delivery_method_ids'],
45
+ },
46
+ annotations: {},
47
+ };
48
+ export const handler = async (client, args) => {
49
+ const { jq_filter, ...body } = args;
50
+ return asTextContentResult(await maybeFilter(jq_filter, await client.v1.settings.upsertAvalaraCredentials(body)));
51
+ };
52
+ export default { metadata, tool, handler };
53
+ //# sourceMappingURL=upsert-avalara-credentials-v1-settings.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert-avalara-credentials-v1-settings.mjs","sourceRoot":"","sources":["../../../src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,8BAA8B;IACxC,WAAW,EAAE,6BAA6B;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EACT,upBAAupB;IACzpB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yDAAyD;gBACtE,IAAI,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC;aAChC;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,2JAA2J;gBAC7J,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;KACjG;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAiB,EAAE,IAAyC,EAAE,EAAE;IAC5F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC,CACtF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-v2-contracts.d.mts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-v2-contracts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4mElB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-v2-contracts.d.mts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-v2-contracts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+mElB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-v2-contracts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4mElB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}
1
+ {"version":3,"file":"edit-v2-contracts.d.ts","sourceRoot":"","sources":["../../../src/tools/v2/contracts/edit-v2-contracts.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA+mElB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGzF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK1F,wBAA2C"}