@metronome/mcp 2.2.0 → 3.4.1

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 (1181) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +16 -1323
  3. package/auth.d.mts +6 -0
  4. package/auth.d.mts.map +1 -0
  5. package/auth.d.ts +6 -0
  6. package/auth.d.ts.map +1 -0
  7. package/auth.js +37 -0
  8. package/auth.js.map +1 -0
  9. package/{headers.js → auth.mjs} +16 -6
  10. package/auth.mjs.map +1 -0
  11. package/code-tool-paths.cjs +6 -0
  12. package/code-tool-paths.cjs.map +1 -0
  13. package/code-tool-paths.d.cts +2 -0
  14. package/code-tool-paths.d.cts.map +1 -0
  15. package/code-tool-types.d.mts +7 -9
  16. package/code-tool-types.d.mts.map +1 -1
  17. package/code-tool-types.d.ts +7 -9
  18. package/code-tool-types.d.ts.map +1 -1
  19. package/code-tool-worker.d.mts +5 -0
  20. package/code-tool-worker.d.mts.map +1 -0
  21. package/code-tool-worker.d.ts +5 -0
  22. package/code-tool-worker.d.ts.map +1 -0
  23. package/code-tool-worker.js +341 -0
  24. package/code-tool-worker.js.map +1 -0
  25. package/code-tool-worker.mjs +336 -0
  26. package/code-tool-worker.mjs.map +1 -0
  27. package/code-tool.d.mts +12 -45
  28. package/code-tool.d.mts.map +1 -1
  29. package/code-tool.d.ts +12 -45
  30. package/code-tool.d.ts.map +1 -1
  31. package/code-tool.js +319 -31
  32. package/code-tool.js.map +1 -1
  33. package/code-tool.mjs +283 -31
  34. package/code-tool.mjs.map +1 -1
  35. package/docs-search-tool.d.mts +10 -3
  36. package/docs-search-tool.d.mts.map +1 -1
  37. package/docs-search-tool.d.ts +10 -3
  38. package/docs-search-tool.d.ts.map +1 -1
  39. package/docs-search-tool.js +29 -6
  40. package/docs-search-tool.js.map +1 -1
  41. package/docs-search-tool.mjs +29 -6
  42. package/docs-search-tool.mjs.map +1 -1
  43. package/http.d.mts +6 -3
  44. package/http.d.mts.map +1 -1
  45. package/http.d.ts +6 -3
  46. package/http.d.ts.map +1 -1
  47. package/http.js +71 -51
  48. package/http.js.map +1 -1
  49. package/http.mjs +71 -51
  50. package/http.mjs.map +1 -1
  51. package/index.js +19 -50
  52. package/index.js.map +1 -1
  53. package/index.mjs +19 -50
  54. package/index.mjs.map +1 -1
  55. package/instructions.d.mts +2 -0
  56. package/instructions.d.mts.map +1 -0
  57. package/instructions.d.ts +2 -0
  58. package/instructions.d.ts.map +1 -0
  59. package/instructions.js +46 -0
  60. package/instructions.js.map +1 -0
  61. package/instructions.mjs +43 -0
  62. package/instructions.mjs.map +1 -0
  63. package/logger.d.mts +7 -0
  64. package/logger.d.mts.map +1 -0
  65. package/logger.d.ts +7 -0
  66. package/logger.d.ts.map +1 -0
  67. package/logger.js +29 -0
  68. package/logger.js.map +1 -0
  69. package/logger.mjs +22 -0
  70. package/logger.mjs.map +1 -0
  71. package/methods.d.mts +10 -0
  72. package/methods.d.mts.map +1 -0
  73. package/methods.d.ts +10 -0
  74. package/methods.d.ts.map +1 -0
  75. package/methods.js +767 -0
  76. package/methods.js.map +1 -0
  77. package/methods.mjs +763 -0
  78. package/methods.mjs.map +1 -0
  79. package/options.d.mts +9 -9
  80. package/options.d.mts.map +1 -1
  81. package/options.d.ts +9 -9
  82. package/options.d.ts.map +1 -1
  83. package/options.js +54 -359
  84. package/options.js.map +1 -1
  85. package/options.mjs +54 -359
  86. package/options.mjs.map +1 -1
  87. package/package.json +83 -60
  88. package/server.d.mts +10 -16
  89. package/server.d.mts.map +1 -1
  90. package/server.d.ts +10 -16
  91. package/server.d.ts.map +1 -1
  92. package/server.js +85 -101
  93. package/server.js.map +1 -1
  94. package/server.mjs +84 -96
  95. package/server.mjs.map +1 -1
  96. package/src/{headers.ts → auth.ts} +18 -1
  97. package/src/code-tool-paths.cts +3 -0
  98. package/src/code-tool-types.ts +8 -9
  99. package/src/code-tool-worker.ts +387 -0
  100. package/src/code-tool.ts +367 -37
  101. package/src/docs-search-tool.ts +48 -7
  102. package/src/http.ts +87 -55
  103. package/src/index.ts +22 -63
  104. package/src/instructions.ts +65 -0
  105. package/src/logger.ts +28 -0
  106. package/src/methods.ts +788 -0
  107. package/src/options.ts +72 -384
  108. package/src/server.ts +97 -116
  109. package/src/stdio.ts +6 -5
  110. package/src/{tools/types.ts → types.ts} +13 -5
  111. package/src/util.ts +25 -0
  112. package/stdio.d.mts +1 -1
  113. package/stdio.d.mts.map +1 -1
  114. package/stdio.d.ts +1 -1
  115. package/stdio.d.ts.map +1 -1
  116. package/stdio.js +5 -4
  117. package/stdio.js.map +1 -1
  118. package/stdio.mjs +5 -4
  119. package/stdio.mjs.map +1 -1
  120. package/{tools/types.d.mts → types.d.mts} +9 -2
  121. package/types.d.mts.map +1 -0
  122. package/{tools/types.d.ts → types.d.ts} +9 -2
  123. package/types.d.ts.map +1 -0
  124. package/types.js.map +1 -0
  125. package/types.mjs.map +1 -0
  126. package/util.d.mts +4 -0
  127. package/util.d.mts.map +1 -0
  128. package/util.d.ts +4 -0
  129. package/util.d.ts.map +1 -0
  130. package/util.js +30 -0
  131. package/util.js.map +1 -0
  132. package/util.mjs +24 -0
  133. package/util.mjs.map +1 -0
  134. package/compat.d.mts +0 -58
  135. package/compat.d.mts.map +0 -1
  136. package/compat.d.ts +0 -58
  137. package/compat.d.ts.map +0 -1
  138. package/compat.js +0 -387
  139. package/compat.js.map +0 -1
  140. package/compat.mjs +0 -378
  141. package/compat.mjs.map +0 -1
  142. package/dynamic-tools.d.mts +0 -12
  143. package/dynamic-tools.d.mts.map +0 -1
  144. package/dynamic-tools.d.ts +0 -12
  145. package/dynamic-tools.d.ts.map +0 -1
  146. package/dynamic-tools.js +0 -135
  147. package/dynamic-tools.js.map +0 -1
  148. package/dynamic-tools.mjs +0 -132
  149. package/dynamic-tools.mjs.map +0 -1
  150. package/filtering.d.mts +0 -3
  151. package/filtering.d.mts.map +0 -1
  152. package/filtering.d.ts +0 -3
  153. package/filtering.d.ts.map +0 -1
  154. package/filtering.js +0 -24
  155. package/filtering.js.map +0 -1
  156. package/filtering.mjs +0 -16
  157. package/filtering.mjs.map +0 -1
  158. package/headers.d.mts +0 -4
  159. package/headers.d.mts.map +0 -1
  160. package/headers.d.ts +0 -4
  161. package/headers.d.ts.map +0 -1
  162. package/headers.js.map +0 -1
  163. package/headers.mjs +0 -18
  164. package/headers.mjs.map +0 -1
  165. package/src/compat.ts +0 -483
  166. package/src/dynamic-tools.ts +0 -159
  167. package/src/filtering.ts +0 -18
  168. package/src/tools/index.ts +0 -289
  169. package/src/tools/v1/alerts/archive-v1-alerts.ts +0 -57
  170. package/src/tools/v1/alerts/create-v1-alerts.ts +0 -179
  171. package/src/tools/v1/audit-logs/list-v1-audit-logs.ts +0 -86
  172. package/src/tools/v1/billable-metrics/archive-v1-billable-metrics.ts +0 -52
  173. package/src/tools/v1/billable-metrics/create-v1-billable-metrics.ts +0 -150
  174. package/src/tools/v1/billable-metrics/list-v1-billable-metrics.ts +0 -64
  175. package/src/tools/v1/billable-metrics/retrieve-v1-billable-metrics.ts +0 -54
  176. package/src/tools/v1/contracts/add-manual-balance-entry-v1-contracts.ts +0 -72
  177. package/src/tools/v1/contracts/amend-v1-contracts.ts +0 -1030
  178. package/src/tools/v1/contracts/archive-v1-contracts.ts +0 -61
  179. package/src/tools/v1/contracts/create-historical-invoices-v1-contracts.ts +0 -148
  180. package/src/tools/v1/contracts/create-v1-contracts.ts +0 -1780
  181. package/src/tools/v1/contracts/list-balances-v1-contracts.ts +0 -93
  182. package/src/tools/v1/contracts/list-v1-contracts.ts +0 -71
  183. package/src/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.ts +0 -65
  184. package/src/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.ts +0 -58
  185. package/src/tools/v1/contracts/products/archive-contracts-v1-products.ts +0 -55
  186. package/src/tools/v1/contracts/products/create-contracts-v1-products.ts +0 -164
  187. package/src/tools/v1/contracts/products/list-contracts-v1-products.ts +0 -63
  188. package/src/tools/v1/contracts/products/retrieve-contracts-v1-products.ts +0 -54
  189. package/src/tools/v1/contracts/products/update-contracts-v1-products.ts +0 -171
  190. package/src/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.ts +0 -54
  191. package/src/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.ts +0 -106
  192. package/src/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.ts +0 -62
  193. package/src/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.ts +0 -69
  194. package/src/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.ts +0 -62
  195. package/src/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.ts +0 -61
  196. package/src/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.ts +0 -72
  197. package/src/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.ts +0 -173
  198. package/src/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.ts +0 -164
  199. package/src/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.ts +0 -107
  200. package/src/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.ts +0 -54
  201. package/src/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.ts +0 -106
  202. package/src/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.ts +0 -84
  203. package/src/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.ts +0 -113
  204. package/src/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.ts +0 -60
  205. package/src/tools/v1/contracts/retrieve-v1-contracts.ts +0 -58
  206. package/src/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.ts +0 -109
  207. package/src/tools/v1/contracts/set-usage-filter-v1-contracts.ts +0 -55
  208. package/src/tools/v1/contracts/update-end-date-v1-contracts.ts +0 -68
  209. package/src/tools/v1/credit-grants/create-v1-credit-grants.ts +0 -188
  210. package/src/tools/v1/credit-grants/edit-v1-credit-grants.ts +0 -66
  211. package/src/tools/v1/credit-grants/list-entries-v1-credit-grants.ts +0 -86
  212. package/src/tools/v1/credit-grants/list-v1-credit-grants.ts +0 -92
  213. package/src/tools/v1/credit-grants/void-v1-credit-grants.ts +0 -60
  214. package/src/tools/v1/custom-fields/add-key-v1-custom-fields.ts +0 -65
  215. package/src/tools/v1/custom-fields/delete-values-v1-custom-fields.ts +0 -68
  216. package/src/tools/v1/custom-fields/list-keys-v1-custom-fields.ts +0 -81
  217. package/src/tools/v1/custom-fields/remove-key-v1-custom-fields.ts +0 -62
  218. package/src/tools/v1/custom-fields/set-values-v1-custom-fields.ts +0 -67
  219. package/src/tools/v1/customers/alerts/list-customers-v1-alerts.ts +0 -67
  220. package/src/tools/v1/customers/alerts/reset-customers-v1-alerts.ts +0 -44
  221. package/src/tools/v1/customers/alerts/retrieve-customers-v1-alerts.ts +0 -91
  222. package/src/tools/v1/customers/archive-v1-customers.ts +0 -52
  223. package/src/tools/v1/customers/billing-config/create-customers-v1-billing-config.ts +0 -108
  224. package/src/tools/v1/customers/billing-config/delete-customers-v1-billing-config.ts +0 -55
  225. package/src/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.ts +0 -70
  226. package/src/tools/v1/customers/commits/create-customers-v1-commits.ts +0 -274
  227. package/src/tools/v1/customers/commits/list-customers-v1-commits.ts +0 -90
  228. package/src/tools/v1/customers/commits/update-end-date-customers-v1-commits.ts +0 -71
  229. package/src/tools/v1/customers/create-v1-customers.ts +0 -215
  230. package/src/tools/v1/customers/credits/create-customers-v1-credits.ts +0 -182
  231. package/src/tools/v1/customers/credits/list-customers-v1-credits.ts +0 -90
  232. package/src/tools/v1/customers/credits/update-end-date-customers-v1-credits.ts +0 -65
  233. package/src/tools/v1/customers/invoices/add-charge-customers-v1-invoices.ts +0 -87
  234. package/src/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.ts +0 -91
  235. package/src/tools/v1/customers/invoices/list-customers-v1-invoices.ts +0 -85
  236. package/src/tools/v1/customers/invoices/retrieve-customers-v1-invoices.ts +0 -54
  237. package/src/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.ts +0 -43
  238. package/src/tools/v1/customers/list-billable-metrics-v1-customers.ts +0 -72
  239. package/src/tools/v1/customers/list-costs-v1-customers.ts +0 -73
  240. package/src/tools/v1/customers/list-v1-customers.ts +0 -83
  241. package/src/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.ts +0 -65
  242. package/src/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.ts +0 -58
  243. package/src/tools/v1/customers/plans/add-customers-v1-plans.ts +0 -155
  244. package/src/tools/v1/customers/plans/end-customers-v1-plans.ts +0 -71
  245. package/src/tools/v1/customers/plans/list-customers-v1-plans.ts +0 -63
  246. package/src/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.ts +0 -66
  247. package/src/tools/v1/customers/preview-events-v1-customers.ts +0 -82
  248. package/src/tools/v1/customers/retrieve-billing-configurations-v1-customers.ts +0 -57
  249. package/src/tools/v1/customers/retrieve-v1-customers.ts +0 -54
  250. package/src/tools/v1/customers/set-billing-configurations-v1-customers.ts +0 -101
  251. package/src/tools/v1/customers/set-ingest-aliases-v1-customers.ts +0 -45
  252. package/src/tools/v1/customers/set-name-v1-customers.ts +0 -57
  253. package/src/tools/v1/customers/update-config-v1-customers.ts +0 -48
  254. package/src/tools/v1/dashboards/get-embeddable-url-v1-dashboards.ts +0 -141
  255. package/src/tools/v1/invoices/regenerate-v1-invoices.ts +0 -53
  256. package/src/tools/v1/invoices/void-v1-invoices.ts +0 -53
  257. package/src/tools/v1/payments/attempt-v1-payments.ts +0 -55
  258. package/src/tools/v1/payments/cancel-v1-payments.ts +0 -55
  259. package/src/tools/v1/payments/list-v1-payments.ts +0 -76
  260. package/src/tools/v1/plans/get-details-v1-plans.ts +0 -54
  261. package/src/tools/v1/plans/list-charges-v1-plans.ts +0 -63
  262. package/src/tools/v1/plans/list-customers-v1-plans.ts +0 -69
  263. package/src/tools/v1/plans/list-v1-plans.ts +0 -60
  264. package/src/tools/v1/pricing-units/list-v1-pricing-units.ts +0 -60
  265. package/src/tools/v1/services/list-v1-services.ts +0 -51
  266. package/src/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.ts +0 -67
  267. package/src/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.ts +0 -55
  268. package/src/tools/v1/settings/upsert-avalara-credentials-v1-settings.ts +0 -77
  269. package/src/tools/v1/usage/ingest-v1-usage.ts +0 -62
  270. package/src/tools/v1/usage/list-v1-usage.ts +0 -108
  271. package/src/tools/v1/usage/list-with-groups-v1-usage.ts +0 -101
  272. package/src/tools/v1/usage/search-v1-usage.ts +0 -56
  273. package/src/tools/v2/contracts/edit-commit-v2-contracts.ts +0 -306
  274. package/src/tools/v2/contracts/edit-credit-v2-contracts.ts +0 -238
  275. package/src/tools/v2/contracts/edit-v2-contracts.ts +0 -2336
  276. package/src/tools/v2/contracts/get-edit-history-v2-contracts.ts +0 -48
  277. package/src/tools/v2/contracts/list-v2-contracts.ts +0 -71
  278. package/src/tools/v2/contracts/retrieve-v2-contracts.ts +0 -64
  279. package/src/tools.ts +0 -1
  280. package/tools/index.d.mts +0 -10
  281. package/tools/index.d.mts.map +0 -1
  282. package/tools/index.d.ts +0 -10
  283. package/tools/index.d.ts.map +0 -1
  284. package/tools/index.js +0 -273
  285. package/tools/index.js.map +0 -1
  286. package/tools/index.mjs +0 -266
  287. package/tools/index.mjs.map +0 -1
  288. package/tools/types.d.mts.map +0 -1
  289. package/tools/types.d.ts.map +0 -1
  290. package/tools/types.js.map +0 -1
  291. package/tools/types.mjs.map +0 -1
  292. package/tools/v1/alerts/archive-v1-alerts.d.mts +0 -51
  293. package/tools/v1/alerts/archive-v1-alerts.d.mts.map +0 -1
  294. package/tools/v1/alerts/archive-v1-alerts.d.ts +0 -51
  295. package/tools/v1/alerts/archive-v1-alerts.d.ts.map +0 -1
  296. package/tools/v1/alerts/archive-v1-alerts.js +0 -57
  297. package/tools/v1/alerts/archive-v1-alerts.js.map +0 -1
  298. package/tools/v1/alerts/archive-v1-alerts.mjs +0 -50
  299. package/tools/v1/alerts/archive-v1-alerts.mjs.map +0 -1
  300. package/tools/v1/alerts/create-v1-alerts.d.mts +0 -51
  301. package/tools/v1/alerts/create-v1-alerts.d.mts.map +0 -1
  302. package/tools/v1/alerts/create-v1-alerts.d.ts +0 -51
  303. package/tools/v1/alerts/create-v1-alerts.d.ts.map +0 -1
  304. package/tools/v1/alerts/create-v1-alerts.js +0 -167
  305. package/tools/v1/alerts/create-v1-alerts.js.map +0 -1
  306. package/tools/v1/alerts/create-v1-alerts.mjs +0 -160
  307. package/tools/v1/alerts/create-v1-alerts.mjs.map +0 -1
  308. package/tools/v1/audit-logs/list-v1-audit-logs.d.mts +0 -51
  309. package/tools/v1/audit-logs/list-v1-audit-logs.d.mts.map +0 -1
  310. package/tools/v1/audit-logs/list-v1-audit-logs.d.ts +0 -51
  311. package/tools/v1/audit-logs/list-v1-audit-logs.d.ts.map +0 -1
  312. package/tools/v1/audit-logs/list-v1-audit-logs.js +0 -83
  313. package/tools/v1/audit-logs/list-v1-audit-logs.js.map +0 -1
  314. package/tools/v1/audit-logs/list-v1-audit-logs.mjs +0 -76
  315. package/tools/v1/audit-logs/list-v1-audit-logs.mjs.map +0 -1
  316. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts +0 -51
  317. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.mts.map +0 -1
  318. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts +0 -51
  319. package/tools/v1/billable-metrics/archive-v1-billable-metrics.d.ts.map +0 -1
  320. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js +0 -52
  321. package/tools/v1/billable-metrics/archive-v1-billable-metrics.js.map +0 -1
  322. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs +0 -45
  323. package/tools/v1/billable-metrics/archive-v1-billable-metrics.mjs.map +0 -1
  324. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts +0 -51
  325. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.mts.map +0 -1
  326. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts +0 -51
  327. package/tools/v1/billable-metrics/create-v1-billable-metrics.d.ts.map +0 -1
  328. package/tools/v1/billable-metrics/create-v1-billable-metrics.js +0 -141
  329. package/tools/v1/billable-metrics/create-v1-billable-metrics.js.map +0 -1
  330. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs +0 -134
  331. package/tools/v1/billable-metrics/create-v1-billable-metrics.mjs.map +0 -1
  332. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts +0 -51
  333. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.mts.map +0 -1
  334. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts +0 -51
  335. package/tools/v1/billable-metrics/list-v1-billable-metrics.d.ts.map +0 -1
  336. package/tools/v1/billable-metrics/list-v1-billable-metrics.js +0 -64
  337. package/tools/v1/billable-metrics/list-v1-billable-metrics.js.map +0 -1
  338. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs +0 -57
  339. package/tools/v1/billable-metrics/list-v1-billable-metrics.mjs.map +0 -1
  340. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts +0 -51
  341. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.mts.map +0 -1
  342. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts +0 -51
  343. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.d.ts.map +0 -1
  344. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js +0 -54
  345. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.js.map +0 -1
  346. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs +0 -47
  347. package/tools/v1/billable-metrics/retrieve-v1-billable-metrics.mjs.map +0 -1
  348. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts +0 -51
  349. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.mts.map +0 -1
  350. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts +0 -51
  351. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.d.ts.map +0 -1
  352. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js +0 -66
  353. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.js.map +0 -1
  354. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs +0 -62
  355. package/tools/v1/contracts/add-manual-balance-entry-v1-contracts.mjs.map +0 -1
  356. package/tools/v1/contracts/amend-v1-contracts.d.mts +0 -51
  357. package/tools/v1/contracts/amend-v1-contracts.d.mts.map +0 -1
  358. package/tools/v1/contracts/amend-v1-contracts.d.ts +0 -51
  359. package/tools/v1/contracts/amend-v1-contracts.d.ts.map +0 -1
  360. package/tools/v1/contracts/amend-v1-contracts.js +0 -971
  361. package/tools/v1/contracts/amend-v1-contracts.js.map +0 -1
  362. package/tools/v1/contracts/amend-v1-contracts.mjs +0 -964
  363. package/tools/v1/contracts/amend-v1-contracts.mjs.map +0 -1
  364. package/tools/v1/contracts/archive-v1-contracts.d.mts +0 -51
  365. package/tools/v1/contracts/archive-v1-contracts.d.mts.map +0 -1
  366. package/tools/v1/contracts/archive-v1-contracts.d.ts +0 -51
  367. package/tools/v1/contracts/archive-v1-contracts.d.ts.map +0 -1
  368. package/tools/v1/contracts/archive-v1-contracts.js +0 -61
  369. package/tools/v1/contracts/archive-v1-contracts.js.map +0 -1
  370. package/tools/v1/contracts/archive-v1-contracts.mjs +0 -54
  371. package/tools/v1/contracts/archive-v1-contracts.mjs.map +0 -1
  372. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts +0 -51
  373. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.mts.map +0 -1
  374. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts +0 -51
  375. package/tools/v1/contracts/create-historical-invoices-v1-contracts.d.ts.map +0 -1
  376. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js +0 -149
  377. package/tools/v1/contracts/create-historical-invoices-v1-contracts.js.map +0 -1
  378. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs +0 -142
  379. package/tools/v1/contracts/create-historical-invoices-v1-contracts.mjs.map +0 -1
  380. package/tools/v1/contracts/create-v1-contracts.d.mts +0 -51
  381. package/tools/v1/contracts/create-v1-contracts.d.mts.map +0 -1
  382. package/tools/v1/contracts/create-v1-contracts.d.ts +0 -51
  383. package/tools/v1/contracts/create-v1-contracts.d.ts.map +0 -1
  384. package/tools/v1/contracts/create-v1-contracts.js +0 -1670
  385. package/tools/v1/contracts/create-v1-contracts.js.map +0 -1
  386. package/tools/v1/contracts/create-v1-contracts.mjs +0 -1663
  387. package/tools/v1/contracts/create-v1-contracts.mjs.map +0 -1
  388. package/tools/v1/contracts/list-balances-v1-contracts.d.mts +0 -51
  389. package/tools/v1/contracts/list-balances-v1-contracts.d.mts.map +0 -1
  390. package/tools/v1/contracts/list-balances-v1-contracts.d.ts +0 -51
  391. package/tools/v1/contracts/list-balances-v1-contracts.d.ts.map +0 -1
  392. package/tools/v1/contracts/list-balances-v1-contracts.js +0 -93
  393. package/tools/v1/contracts/list-balances-v1-contracts.js.map +0 -1
  394. package/tools/v1/contracts/list-balances-v1-contracts.mjs +0 -86
  395. package/tools/v1/contracts/list-balances-v1-contracts.mjs.map +0 -1
  396. package/tools/v1/contracts/list-v1-contracts.d.mts +0 -51
  397. package/tools/v1/contracts/list-v1-contracts.d.mts.map +0 -1
  398. package/tools/v1/contracts/list-v1-contracts.d.ts +0 -51
  399. package/tools/v1/contracts/list-v1-contracts.d.ts.map +0 -1
  400. package/tools/v1/contracts/list-v1-contracts.js +0 -68
  401. package/tools/v1/contracts/list-v1-contracts.js.map +0 -1
  402. package/tools/v1/contracts/list-v1-contracts.mjs +0 -61
  403. package/tools/v1/contracts/list-v1-contracts.mjs.map +0 -1
  404. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts +0 -51
  405. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.mts.map +0 -1
  406. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts +0 -51
  407. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.d.ts.map +0 -1
  408. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js +0 -62
  409. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.js.map +0 -1
  410. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs +0 -55
  411. package/tools/v1/contracts/named-schedules/retrieve-contracts-v1-named-schedules.mjs.map +0 -1
  412. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts +0 -51
  413. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.mts.map +0 -1
  414. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts +0 -51
  415. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.d.ts.map +0 -1
  416. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js +0 -53
  417. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.js.map +0 -1
  418. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs +0 -49
  419. package/tools/v1/contracts/named-schedules/update-contracts-v1-named-schedules.mjs.map +0 -1
  420. package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts +0 -51
  421. package/tools/v1/contracts/products/archive-contracts-v1-products.d.mts.map +0 -1
  422. package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts +0 -51
  423. package/tools/v1/contracts/products/archive-contracts-v1-products.d.ts.map +0 -1
  424. package/tools/v1/contracts/products/archive-contracts-v1-products.js +0 -53
  425. package/tools/v1/contracts/products/archive-contracts-v1-products.js.map +0 -1
  426. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs +0 -46
  427. package/tools/v1/contracts/products/archive-contracts-v1-products.mjs.map +0 -1
  428. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts +0 -51
  429. package/tools/v1/contracts/products/create-contracts-v1-products.d.mts.map +0 -1
  430. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts +0 -51
  431. package/tools/v1/contracts/products/create-contracts-v1-products.d.ts.map +0 -1
  432. package/tools/v1/contracts/products/create-contracts-v1-products.js +0 -158
  433. package/tools/v1/contracts/products/create-contracts-v1-products.js.map +0 -1
  434. package/tools/v1/contracts/products/create-contracts-v1-products.mjs +0 -151
  435. package/tools/v1/contracts/products/create-contracts-v1-products.mjs.map +0 -1
  436. package/tools/v1/contracts/products/list-contracts-v1-products.d.mts +0 -51
  437. package/tools/v1/contracts/products/list-contracts-v1-products.d.mts.map +0 -1
  438. package/tools/v1/contracts/products/list-contracts-v1-products.d.ts +0 -51
  439. package/tools/v1/contracts/products/list-contracts-v1-products.d.ts.map +0 -1
  440. package/tools/v1/contracts/products/list-contracts-v1-products.js +0 -63
  441. package/tools/v1/contracts/products/list-contracts-v1-products.js.map +0 -1
  442. package/tools/v1/contracts/products/list-contracts-v1-products.mjs +0 -56
  443. package/tools/v1/contracts/products/list-contracts-v1-products.mjs.map +0 -1
  444. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts +0 -51
  445. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.mts.map +0 -1
  446. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts +0 -51
  447. package/tools/v1/contracts/products/retrieve-contracts-v1-products.d.ts.map +0 -1
  448. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js +0 -52
  449. package/tools/v1/contracts/products/retrieve-contracts-v1-products.js.map +0 -1
  450. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs +0 -45
  451. package/tools/v1/contracts/products/retrieve-contracts-v1-products.mjs.map +0 -1
  452. package/tools/v1/contracts/products/update-contracts-v1-products.d.mts +0 -51
  453. package/tools/v1/contracts/products/update-contracts-v1-products.d.mts.map +0 -1
  454. package/tools/v1/contracts/products/update-contracts-v1-products.d.ts +0 -51
  455. package/tools/v1/contracts/products/update-contracts-v1-products.d.ts.map +0 -1
  456. package/tools/v1/contracts/products/update-contracts-v1-products.js +0 -159
  457. package/tools/v1/contracts/products/update-contracts-v1-products.js.map +0 -1
  458. package/tools/v1/contracts/products/update-contracts-v1-products.mjs +0 -152
  459. package/tools/v1/contracts/products/update-contracts-v1-products.mjs.map +0 -1
  460. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts +0 -51
  461. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.mts.map +0 -1
  462. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts +0 -51
  463. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.d.ts.map +0 -1
  464. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js +0 -52
  465. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.js.map +0 -1
  466. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs +0 -45
  467. package/tools/v1/contracts/rate-cards/archive-contracts-v1-rate-cards.mjs.map +0 -1
  468. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts +0 -51
  469. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.mts.map +0 -1
  470. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts +0 -51
  471. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.d.ts.map +0 -1
  472. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js +0 -102
  473. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.js.map +0 -1
  474. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs +0 -95
  475. package/tools/v1/contracts/rate-cards/create-contracts-v1-rate-cards.mjs.map +0 -1
  476. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts +0 -51
  477. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.mts.map +0 -1
  478. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts +0 -51
  479. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.d.ts.map +0 -1
  480. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js +0 -62
  481. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.js.map +0 -1
  482. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs +0 -55
  483. package/tools/v1/contracts/rate-cards/list-contracts-v1-rate-cards.mjs.map +0 -1
  484. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts +0 -51
  485. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.mts.map +0 -1
  486. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts +0 -51
  487. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.d.ts.map +0 -1
  488. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js +0 -66
  489. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.js.map +0 -1
  490. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs +0 -59
  491. package/tools/v1/contracts/rate-cards/named-schedules/retrieve-rate-cards-contracts-v1-named-schedules.mjs.map +0 -1
  492. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts +0 -51
  493. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.mts.map +0 -1
  494. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts +0 -51
  495. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.d.ts.map +0 -1
  496. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js +0 -57
  497. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.js.map +0 -1
  498. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs +0 -53
  499. package/tools/v1/contracts/rate-cards/named-schedules/update-rate-cards-contracts-v1-named-schedules.mjs.map +0 -1
  500. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts +0 -51
  501. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.mts.map +0 -1
  502. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts +0 -51
  503. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.d.ts.map +0 -1
  504. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js +0 -59
  505. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.js.map +0 -1
  506. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs +0 -52
  507. package/tools/v1/contracts/rate-cards/product-orders/set-rate-cards-contracts-v1-product-orders.mjs.map +0 -1
  508. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts +0 -51
  509. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.mts.map +0 -1
  510. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts +0 -51
  511. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.d.ts.map +0 -1
  512. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js +0 -70
  513. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.js.map +0 -1
  514. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs +0 -63
  515. package/tools/v1/contracts/rate-cards/product-orders/update-rate-cards-contracts-v1-product-orders.mjs.map +0 -1
  516. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts +0 -51
  517. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.mts.map +0 -1
  518. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts +0 -51
  519. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.d.ts.map +0 -1
  520. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js +0 -163
  521. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.js.map +0 -1
  522. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs +0 -156
  523. package/tools/v1/contracts/rate-cards/rates/add-many-rate-cards-contracts-v1-rates.mjs.map +0 -1
  524. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts +0 -51
  525. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.mts.map +0 -1
  526. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts +0 -51
  527. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.d.ts.map +0 -1
  528. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js +0 -155
  529. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.js.map +0 -1
  530. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs +0 -148
  531. package/tools/v1/contracts/rate-cards/rates/add-rate-cards-contracts-v1-rates.mjs.map +0 -1
  532. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts +0 -51
  533. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.mts.map +0 -1
  534. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts +0 -51
  535. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.d.ts.map +0 -1
  536. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js +0 -102
  537. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.js.map +0 -1
  538. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs +0 -95
  539. package/tools/v1/contracts/rate-cards/rates/list-rate-cards-contracts-v1-rates.mjs.map +0 -1
  540. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts +0 -51
  541. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.mts.map +0 -1
  542. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts +0 -51
  543. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.d.ts.map +0 -1
  544. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js +0 -52
  545. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.js.map +0 -1
  546. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs +0 -45
  547. package/tools/v1/contracts/rate-cards/retrieve-contracts-v1-rate-cards.mjs.map +0 -1
  548. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts +0 -51
  549. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.mts.map +0 -1
  550. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts +0 -51
  551. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.d.ts.map +0 -1
  552. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js +0 -99
  553. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.js.map +0 -1
  554. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs +0 -92
  555. package/tools/v1/contracts/rate-cards/retrieve-rate-schedule-contracts-v1-rate-cards.mjs.map +0 -1
  556. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts +0 -51
  557. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.mts.map +0 -1
  558. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts +0 -51
  559. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.d.ts.map +0 -1
  560. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js +0 -81
  561. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.js.map +0 -1
  562. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs +0 -74
  563. package/tools/v1/contracts/rate-cards/update-contracts-v1-rate-cards.mjs.map +0 -1
  564. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts +0 -51
  565. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.mts.map +0 -1
  566. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts +0 -51
  567. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.d.ts.map +0 -1
  568. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js +0 -105
  569. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.js.map +0 -1
  570. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs +0 -98
  571. package/tools/v1/contracts/retrieve-rate-schedule-v1-contracts.mjs.map +0 -1
  572. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts +0 -51
  573. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.mts.map +0 -1
  574. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts +0 -51
  575. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.d.ts.map +0 -1
  576. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js +0 -58
  577. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.js.map +0 -1
  578. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs +0 -51
  579. package/tools/v1/contracts/retrieve-subscription-quantity-history-v1-contracts.mjs.map +0 -1
  580. package/tools/v1/contracts/retrieve-v1-contracts.d.mts +0 -51
  581. package/tools/v1/contracts/retrieve-v1-contracts.d.mts.map +0 -1
  582. package/tools/v1/contracts/retrieve-v1-contracts.d.ts +0 -51
  583. package/tools/v1/contracts/retrieve-v1-contracts.d.ts.map +0 -1
  584. package/tools/v1/contracts/retrieve-v1-contracts.js +0 -57
  585. package/tools/v1/contracts/retrieve-v1-contracts.js.map +0 -1
  586. package/tools/v1/contracts/retrieve-v1-contracts.mjs +0 -50
  587. package/tools/v1/contracts/retrieve-v1-contracts.mjs.map +0 -1
  588. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts +0 -51
  589. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.mts.map +0 -1
  590. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts +0 -51
  591. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.d.ts.map +0 -1
  592. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js +0 -108
  593. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.js.map +0 -1
  594. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs +0 -101
  595. package/tools/v1/contracts/schedule-pro-services-invoice-v1-contracts.mjs.map +0 -1
  596. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts +0 -51
  597. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.mts.map +0 -1
  598. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts +0 -51
  599. package/tools/v1/contracts/set-usage-filter-v1-contracts.d.ts.map +0 -1
  600. package/tools/v1/contracts/set-usage-filter-v1-contracts.js +0 -51
  601. package/tools/v1/contracts/set-usage-filter-v1-contracts.js.map +0 -1
  602. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs +0 -47
  603. package/tools/v1/contracts/set-usage-filter-v1-contracts.mjs.map +0 -1
  604. package/tools/v1/contracts/update-end-date-v1-contracts.d.mts +0 -51
  605. package/tools/v1/contracts/update-end-date-v1-contracts.d.mts.map +0 -1
  606. package/tools/v1/contracts/update-end-date-v1-contracts.d.ts +0 -51
  607. package/tools/v1/contracts/update-end-date-v1-contracts.d.ts.map +0 -1
  608. package/tools/v1/contracts/update-end-date-v1-contracts.js +0 -66
  609. package/tools/v1/contracts/update-end-date-v1-contracts.js.map +0 -1
  610. package/tools/v1/contracts/update-end-date-v1-contracts.mjs +0 -59
  611. package/tools/v1/contracts/update-end-date-v1-contracts.mjs.map +0 -1
  612. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts +0 -51
  613. package/tools/v1/credit-grants/create-v1-credit-grants.d.mts.map +0 -1
  614. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts +0 -51
  615. package/tools/v1/credit-grants/create-v1-credit-grants.d.ts.map +0 -1
  616. package/tools/v1/credit-grants/create-v1-credit-grants.js +0 -184
  617. package/tools/v1/credit-grants/create-v1-credit-grants.js.map +0 -1
  618. package/tools/v1/credit-grants/create-v1-credit-grants.mjs +0 -177
  619. package/tools/v1/credit-grants/create-v1-credit-grants.mjs.map +0 -1
  620. package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts +0 -51
  621. package/tools/v1/credit-grants/edit-v1-credit-grants.d.mts.map +0 -1
  622. package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts +0 -51
  623. package/tools/v1/credit-grants/edit-v1-credit-grants.d.ts.map +0 -1
  624. package/tools/v1/credit-grants/edit-v1-credit-grants.js +0 -66
  625. package/tools/v1/credit-grants/edit-v1-credit-grants.js.map +0 -1
  626. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs +0 -59
  627. package/tools/v1/credit-grants/edit-v1-credit-grants.mjs.map +0 -1
  628. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts +0 -51
  629. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.mts.map +0 -1
  630. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts +0 -51
  631. package/tools/v1/credit-grants/list-entries-v1-credit-grants.d.ts.map +0 -1
  632. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js +0 -83
  633. package/tools/v1/credit-grants/list-entries-v1-credit-grants.js.map +0 -1
  634. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs +0 -76
  635. package/tools/v1/credit-grants/list-entries-v1-credit-grants.mjs.map +0 -1
  636. package/tools/v1/credit-grants/list-v1-credit-grants.d.mts +0 -51
  637. package/tools/v1/credit-grants/list-v1-credit-grants.d.mts.map +0 -1
  638. package/tools/v1/credit-grants/list-v1-credit-grants.d.ts +0 -51
  639. package/tools/v1/credit-grants/list-v1-credit-grants.d.ts.map +0 -1
  640. package/tools/v1/credit-grants/list-v1-credit-grants.js +0 -89
  641. package/tools/v1/credit-grants/list-v1-credit-grants.js.map +0 -1
  642. package/tools/v1/credit-grants/list-v1-credit-grants.mjs +0 -82
  643. package/tools/v1/credit-grants/list-v1-credit-grants.mjs.map +0 -1
  644. package/tools/v1/credit-grants/void-v1-credit-grants.d.mts +0 -51
  645. package/tools/v1/credit-grants/void-v1-credit-grants.d.mts.map +0 -1
  646. package/tools/v1/credit-grants/void-v1-credit-grants.d.ts +0 -51
  647. package/tools/v1/credit-grants/void-v1-credit-grants.d.ts.map +0 -1
  648. package/tools/v1/credit-grants/void-v1-credit-grants.js +0 -60
  649. package/tools/v1/credit-grants/void-v1-credit-grants.js.map +0 -1
  650. package/tools/v1/credit-grants/void-v1-credit-grants.mjs +0 -53
  651. package/tools/v1/credit-grants/void-v1-credit-grants.mjs.map +0 -1
  652. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts +0 -51
  653. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.mts.map +0 -1
  654. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts +0 -51
  655. package/tools/v1/custom-fields/add-key-v1-custom-fields.d.ts.map +0 -1
  656. package/tools/v1/custom-fields/add-key-v1-custom-fields.js +0 -61
  657. package/tools/v1/custom-fields/add-key-v1-custom-fields.js.map +0 -1
  658. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs +0 -57
  659. package/tools/v1/custom-fields/add-key-v1-custom-fields.mjs.map +0 -1
  660. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts +0 -51
  661. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.mts.map +0 -1
  662. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts +0 -51
  663. package/tools/v1/custom-fields/delete-values-v1-custom-fields.d.ts.map +0 -1
  664. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js +0 -64
  665. package/tools/v1/custom-fields/delete-values-v1-custom-fields.js.map +0 -1
  666. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs +0 -60
  667. package/tools/v1/custom-fields/delete-values-v1-custom-fields.mjs.map +0 -1
  668. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts +0 -51
  669. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.mts.map +0 -1
  670. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts +0 -51
  671. package/tools/v1/custom-fields/list-keys-v1-custom-fields.d.ts.map +0 -1
  672. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js +0 -81
  673. package/tools/v1/custom-fields/list-keys-v1-custom-fields.js.map +0 -1
  674. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs +0 -74
  675. package/tools/v1/custom-fields/list-keys-v1-custom-fields.mjs.map +0 -1
  676. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts +0 -51
  677. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.mts.map +0 -1
  678. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts +0 -51
  679. package/tools/v1/custom-fields/remove-key-v1-custom-fields.d.ts.map +0 -1
  680. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js +0 -58
  681. package/tools/v1/custom-fields/remove-key-v1-custom-fields.js.map +0 -1
  682. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs +0 -54
  683. package/tools/v1/custom-fields/remove-key-v1-custom-fields.mjs.map +0 -1
  684. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts +0 -51
  685. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.mts.map +0 -1
  686. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts +0 -51
  687. package/tools/v1/custom-fields/set-values-v1-custom-fields.d.ts.map +0 -1
  688. package/tools/v1/custom-fields/set-values-v1-custom-fields.js +0 -63
  689. package/tools/v1/custom-fields/set-values-v1-custom-fields.js.map +0 -1
  690. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs +0 -59
  691. package/tools/v1/custom-fields/set-values-v1-custom-fields.mjs.map +0 -1
  692. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts +0 -51
  693. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.mts.map +0 -1
  694. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts +0 -51
  695. package/tools/v1/customers/alerts/list-customers-v1-alerts.d.ts.map +0 -1
  696. package/tools/v1/customers/alerts/list-customers-v1-alerts.js +0 -66
  697. package/tools/v1/customers/alerts/list-customers-v1-alerts.js.map +0 -1
  698. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs +0 -59
  699. package/tools/v1/customers/alerts/list-customers-v1-alerts.mjs.map +0 -1
  700. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts +0 -51
  701. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.mts.map +0 -1
  702. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts +0 -51
  703. package/tools/v1/customers/alerts/reset-customers-v1-alerts.d.ts.map +0 -1
  704. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js +0 -40
  705. package/tools/v1/customers/alerts/reset-customers-v1-alerts.js.map +0 -1
  706. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs +0 -36
  707. package/tools/v1/customers/alerts/reset-customers-v1-alerts.mjs.map +0 -1
  708. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts +0 -51
  709. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.mts.map +0 -1
  710. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts +0 -51
  711. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.d.ts.map +0 -1
  712. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js +0 -88
  713. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.js.map +0 -1
  714. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs +0 -81
  715. package/tools/v1/customers/alerts/retrieve-customers-v1-alerts.mjs.map +0 -1
  716. package/tools/v1/customers/archive-v1-customers.d.mts +0 -51
  717. package/tools/v1/customers/archive-v1-customers.d.mts.map +0 -1
  718. package/tools/v1/customers/archive-v1-customers.d.ts +0 -51
  719. package/tools/v1/customers/archive-v1-customers.d.ts.map +0 -1
  720. package/tools/v1/customers/archive-v1-customers.js +0 -52
  721. package/tools/v1/customers/archive-v1-customers.js.map +0 -1
  722. package/tools/v1/customers/archive-v1-customers.mjs +0 -45
  723. package/tools/v1/customers/archive-v1-customers.mjs.map +0 -1
  724. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts +0 -51
  725. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.mts.map +0 -1
  726. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts +0 -51
  727. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.d.ts.map +0 -1
  728. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js +0 -102
  729. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.js.map +0 -1
  730. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs +0 -98
  731. package/tools/v1/customers/billing-config/create-customers-v1-billing-config.mjs.map +0 -1
  732. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts +0 -51
  733. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.mts.map +0 -1
  734. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts +0 -51
  735. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.d.ts.map +0 -1
  736. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js +0 -51
  737. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.js.map +0 -1
  738. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs +0 -47
  739. package/tools/v1/customers/billing-config/delete-customers-v1-billing-config.mjs.map +0 -1
  740. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts +0 -51
  741. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.mts.map +0 -1
  742. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts +0 -51
  743. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.d.ts.map +0 -1
  744. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js +0 -68
  745. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.js.map +0 -1
  746. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs +0 -61
  747. package/tools/v1/customers/billing-config/retrieve-customers-v1-billing-config.mjs.map +0 -1
  748. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts +0 -51
  749. package/tools/v1/customers/commits/create-customers-v1-commits.d.mts.map +0 -1
  750. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts +0 -51
  751. package/tools/v1/customers/commits/create-customers-v1-commits.d.ts.map +0 -1
  752. package/tools/v1/customers/commits/create-customers-v1-commits.js +0 -256
  753. package/tools/v1/customers/commits/create-customers-v1-commits.js.map +0 -1
  754. package/tools/v1/customers/commits/create-customers-v1-commits.mjs +0 -249
  755. package/tools/v1/customers/commits/create-customers-v1-commits.mjs.map +0 -1
  756. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts +0 -51
  757. package/tools/v1/customers/commits/list-customers-v1-commits.d.mts.map +0 -1
  758. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts +0 -51
  759. package/tools/v1/customers/commits/list-customers-v1-commits.d.ts.map +0 -1
  760. package/tools/v1/customers/commits/list-customers-v1-commits.js +0 -89
  761. package/tools/v1/customers/commits/list-customers-v1-commits.js.map +0 -1
  762. package/tools/v1/customers/commits/list-customers-v1-commits.mjs +0 -82
  763. package/tools/v1/customers/commits/list-customers-v1-commits.mjs.map +0 -1
  764. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts +0 -51
  765. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.mts.map +0 -1
  766. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts +0 -51
  767. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.d.ts.map +0 -1
  768. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js +0 -67
  769. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.js.map +0 -1
  770. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs +0 -60
  771. package/tools/v1/customers/commits/update-end-date-customers-v1-commits.mjs.map +0 -1
  772. package/tools/v1/customers/create-v1-customers.d.mts +0 -51
  773. package/tools/v1/customers/create-v1-customers.d.mts.map +0 -1
  774. package/tools/v1/customers/create-v1-customers.d.ts +0 -51
  775. package/tools/v1/customers/create-v1-customers.d.ts.map +0 -1
  776. package/tools/v1/customers/create-v1-customers.js +0 -206
  777. package/tools/v1/customers/create-v1-customers.js.map +0 -1
  778. package/tools/v1/customers/create-v1-customers.mjs +0 -199
  779. package/tools/v1/customers/create-v1-customers.mjs.map +0 -1
  780. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts +0 -51
  781. package/tools/v1/customers/credits/create-customers-v1-credits.d.mts.map +0 -1
  782. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts +0 -51
  783. package/tools/v1/customers/credits/create-customers-v1-credits.d.ts.map +0 -1
  784. package/tools/v1/customers/credits/create-customers-v1-credits.js +0 -175
  785. package/tools/v1/customers/credits/create-customers-v1-credits.js.map +0 -1
  786. package/tools/v1/customers/credits/create-customers-v1-credits.mjs +0 -168
  787. package/tools/v1/customers/credits/create-customers-v1-credits.mjs.map +0 -1
  788. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts +0 -51
  789. package/tools/v1/customers/credits/list-customers-v1-credits.d.mts.map +0 -1
  790. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts +0 -51
  791. package/tools/v1/customers/credits/list-customers-v1-credits.d.ts.map +0 -1
  792. package/tools/v1/customers/credits/list-customers-v1-credits.js +0 -89
  793. package/tools/v1/customers/credits/list-customers-v1-credits.js.map +0 -1
  794. package/tools/v1/customers/credits/list-customers-v1-credits.mjs +0 -82
  795. package/tools/v1/customers/credits/list-customers-v1-credits.mjs.map +0 -1
  796. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts +0 -51
  797. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.mts.map +0 -1
  798. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts +0 -51
  799. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.d.ts.map +0 -1
  800. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js +0 -62
  801. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.js.map +0 -1
  802. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs +0 -55
  803. package/tools/v1/customers/credits/update-end-date-customers-v1-credits.mjs.map +0 -1
  804. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts +0 -51
  805. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.mts.map +0 -1
  806. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts +0 -51
  807. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.d.ts.map +0 -1
  808. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js +0 -83
  809. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.js.map +0 -1
  810. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs +0 -76
  811. package/tools/v1/customers/invoices/add-charge-customers-v1-invoices.mjs.map +0 -1
  812. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts +0 -51
  813. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.mts.map +0 -1
  814. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts +0 -51
  815. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.d.ts.map +0 -1
  816. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js +0 -89
  817. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.js.map +0 -1
  818. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs +0 -82
  819. package/tools/v1/customers/invoices/list-breakdowns-customers-v1-invoices.mjs.map +0 -1
  820. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts +0 -51
  821. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.mts.map +0 -1
  822. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts +0 -51
  823. package/tools/v1/customers/invoices/list-customers-v1-invoices.d.ts.map +0 -1
  824. package/tools/v1/customers/invoices/list-customers-v1-invoices.js +0 -84
  825. package/tools/v1/customers/invoices/list-customers-v1-invoices.js.map +0 -1
  826. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs +0 -77
  827. package/tools/v1/customers/invoices/list-customers-v1-invoices.mjs.map +0 -1
  828. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts +0 -51
  829. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.mts.map +0 -1
  830. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts +0 -51
  831. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.d.ts.map +0 -1
  832. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js +0 -55
  833. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.js.map +0 -1
  834. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs +0 -48
  835. package/tools/v1/customers/invoices/retrieve-customers-v1-invoices.mjs.map +0 -1
  836. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts +0 -51
  837. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.mts.map +0 -1
  838. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts +0 -51
  839. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.d.ts.map +0 -1
  840. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js +0 -39
  841. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.js.map +0 -1
  842. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs +0 -35
  843. package/tools/v1/customers/invoices/retrieve-pdf-customers-v1-invoices.mjs.map +0 -1
  844. package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts +0 -51
  845. package/tools/v1/customers/list-billable-metrics-v1-customers.d.mts.map +0 -1
  846. package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts +0 -51
  847. package/tools/v1/customers/list-billable-metrics-v1-customers.d.ts.map +0 -1
  848. package/tools/v1/customers/list-billable-metrics-v1-customers.js +0 -71
  849. package/tools/v1/customers/list-billable-metrics-v1-customers.js.map +0 -1
  850. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs +0 -64
  851. package/tools/v1/customers/list-billable-metrics-v1-customers.mjs.map +0 -1
  852. package/tools/v1/customers/list-costs-v1-customers.d.mts +0 -51
  853. package/tools/v1/customers/list-costs-v1-customers.d.mts.map +0 -1
  854. package/tools/v1/customers/list-costs-v1-customers.d.ts +0 -51
  855. package/tools/v1/customers/list-costs-v1-customers.d.ts.map +0 -1
  856. package/tools/v1/customers/list-costs-v1-customers.js +0 -73
  857. package/tools/v1/customers/list-costs-v1-customers.js.map +0 -1
  858. package/tools/v1/customers/list-costs-v1-customers.mjs +0 -66
  859. package/tools/v1/customers/list-costs-v1-customers.mjs.map +0 -1
  860. package/tools/v1/customers/list-v1-customers.d.mts +0 -51
  861. package/tools/v1/customers/list-v1-customers.d.mts.map +0 -1
  862. package/tools/v1/customers/list-v1-customers.d.ts +0 -51
  863. package/tools/v1/customers/list-v1-customers.d.ts.map +0 -1
  864. package/tools/v1/customers/list-v1-customers.js +0 -82
  865. package/tools/v1/customers/list-v1-customers.js.map +0 -1
  866. package/tools/v1/customers/list-v1-customers.mjs +0 -75
  867. package/tools/v1/customers/list-v1-customers.mjs.map +0 -1
  868. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts +0 -51
  869. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.mts.map +0 -1
  870. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts +0 -51
  871. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.d.ts.map +0 -1
  872. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js +0 -62
  873. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.js.map +0 -1
  874. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs +0 -55
  875. package/tools/v1/customers/named-schedules/retrieve-customers-v1-named-schedules.mjs.map +0 -1
  876. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts +0 -51
  877. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.mts.map +0 -1
  878. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts +0 -51
  879. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.d.ts.map +0 -1
  880. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js +0 -53
  881. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.js.map +0 -1
  882. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs +0 -49
  883. package/tools/v1/customers/named-schedules/update-customers-v1-named-schedules.mjs.map +0 -1
  884. package/tools/v1/customers/plans/add-customers-v1-plans.d.mts +0 -51
  885. package/tools/v1/customers/plans/add-customers-v1-plans.d.mts.map +0 -1
  886. package/tools/v1/customers/plans/add-customers-v1-plans.d.ts +0 -51
  887. package/tools/v1/customers/plans/add-customers-v1-plans.d.ts.map +0 -1
  888. package/tools/v1/customers/plans/add-customers-v1-plans.js +0 -147
  889. package/tools/v1/customers/plans/add-customers-v1-plans.js.map +0 -1
  890. package/tools/v1/customers/plans/add-customers-v1-plans.mjs +0 -140
  891. package/tools/v1/customers/plans/add-customers-v1-plans.mjs.map +0 -1
  892. package/tools/v1/customers/plans/end-customers-v1-plans.d.mts +0 -51
  893. package/tools/v1/customers/plans/end-customers-v1-plans.d.mts.map +0 -1
  894. package/tools/v1/customers/plans/end-customers-v1-plans.d.ts +0 -51
  895. package/tools/v1/customers/plans/end-customers-v1-plans.d.ts.map +0 -1
  896. package/tools/v1/customers/plans/end-customers-v1-plans.js +0 -68
  897. package/tools/v1/customers/plans/end-customers-v1-plans.js.map +0 -1
  898. package/tools/v1/customers/plans/end-customers-v1-plans.mjs +0 -61
  899. package/tools/v1/customers/plans/end-customers-v1-plans.mjs.map +0 -1
  900. package/tools/v1/customers/plans/list-customers-v1-plans.d.mts +0 -51
  901. package/tools/v1/customers/plans/list-customers-v1-plans.d.mts.map +0 -1
  902. package/tools/v1/customers/plans/list-customers-v1-plans.d.ts +0 -51
  903. package/tools/v1/customers/plans/list-customers-v1-plans.d.ts.map +0 -1
  904. package/tools/v1/customers/plans/list-customers-v1-plans.js +0 -63
  905. package/tools/v1/customers/plans/list-customers-v1-plans.js.map +0 -1
  906. package/tools/v1/customers/plans/list-customers-v1-plans.mjs +0 -56
  907. package/tools/v1/customers/plans/list-customers-v1-plans.mjs.map +0 -1
  908. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts +0 -51
  909. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.mts.map +0 -1
  910. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts +0 -51
  911. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.d.ts.map +0 -1
  912. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js +0 -66
  913. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.js.map +0 -1
  914. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs +0 -59
  915. package/tools/v1/customers/plans/list-price-adjustments-customers-v1-plans.mjs.map +0 -1
  916. package/tools/v1/customers/preview-events-v1-customers.d.mts +0 -51
  917. package/tools/v1/customers/preview-events-v1-customers.d.mts.map +0 -1
  918. package/tools/v1/customers/preview-events-v1-customers.d.ts +0 -51
  919. package/tools/v1/customers/preview-events-v1-customers.d.ts.map +0 -1
  920. package/tools/v1/customers/preview-events-v1-customers.js +0 -80
  921. package/tools/v1/customers/preview-events-v1-customers.js.map +0 -1
  922. package/tools/v1/customers/preview-events-v1-customers.mjs +0 -73
  923. package/tools/v1/customers/preview-events-v1-customers.mjs.map +0 -1
  924. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts +0 -51
  925. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.mts.map +0 -1
  926. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts +0 -51
  927. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.d.ts.map +0 -1
  928. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js +0 -55
  929. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.js.map +0 -1
  930. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs +0 -48
  931. package/tools/v1/customers/retrieve-billing-configurations-v1-customers.mjs.map +0 -1
  932. package/tools/v1/customers/retrieve-v1-customers.d.mts +0 -51
  933. package/tools/v1/customers/retrieve-v1-customers.d.mts.map +0 -1
  934. package/tools/v1/customers/retrieve-v1-customers.d.ts +0 -51
  935. package/tools/v1/customers/retrieve-v1-customers.d.ts.map +0 -1
  936. package/tools/v1/customers/retrieve-v1-customers.js +0 -54
  937. package/tools/v1/customers/retrieve-v1-customers.js.map +0 -1
  938. package/tools/v1/customers/retrieve-v1-customers.mjs +0 -47
  939. package/tools/v1/customers/retrieve-v1-customers.mjs.map +0 -1
  940. package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts +0 -51
  941. package/tools/v1/customers/set-billing-configurations-v1-customers.d.mts.map +0 -1
  942. package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts +0 -51
  943. package/tools/v1/customers/set-billing-configurations-v1-customers.d.ts.map +0 -1
  944. package/tools/v1/customers/set-billing-configurations-v1-customers.js +0 -95
  945. package/tools/v1/customers/set-billing-configurations-v1-customers.js.map +0 -1
  946. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs +0 -88
  947. package/tools/v1/customers/set-billing-configurations-v1-customers.mjs.map +0 -1
  948. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts +0 -51
  949. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.mts.map +0 -1
  950. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts +0 -51
  951. package/tools/v1/customers/set-ingest-aliases-v1-customers.d.ts.map +0 -1
  952. package/tools/v1/customers/set-ingest-aliases-v1-customers.js +0 -41
  953. package/tools/v1/customers/set-ingest-aliases-v1-customers.js.map +0 -1
  954. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs +0 -37
  955. package/tools/v1/customers/set-ingest-aliases-v1-customers.mjs.map +0 -1
  956. package/tools/v1/customers/set-name-v1-customers.d.mts +0 -51
  957. package/tools/v1/customers/set-name-v1-customers.d.mts.map +0 -1
  958. package/tools/v1/customers/set-name-v1-customers.d.ts +0 -51
  959. package/tools/v1/customers/set-name-v1-customers.d.ts.map +0 -1
  960. package/tools/v1/customers/set-name-v1-customers.js +0 -56
  961. package/tools/v1/customers/set-name-v1-customers.js.map +0 -1
  962. package/tools/v1/customers/set-name-v1-customers.mjs +0 -49
  963. package/tools/v1/customers/set-name-v1-customers.mjs.map +0 -1
  964. package/tools/v1/customers/update-config-v1-customers.d.mts +0 -51
  965. package/tools/v1/customers/update-config-v1-customers.d.mts.map +0 -1
  966. package/tools/v1/customers/update-config-v1-customers.d.ts +0 -51
  967. package/tools/v1/customers/update-config-v1-customers.d.ts.map +0 -1
  968. package/tools/v1/customers/update-config-v1-customers.js +0 -43
  969. package/tools/v1/customers/update-config-v1-customers.js.map +0 -1
  970. package/tools/v1/customers/update-config-v1-customers.mjs +0 -39
  971. package/tools/v1/customers/update-config-v1-customers.mjs.map +0 -1
  972. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts +0 -51
  973. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.mts.map +0 -1
  974. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts +0 -51
  975. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.d.ts.map +0 -1
  976. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js +0 -138
  977. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.js.map +0 -1
  978. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs +0 -131
  979. package/tools/v1/dashboards/get-embeddable-url-v1-dashboards.mjs.map +0 -1
  980. package/tools/v1/invoices/regenerate-v1-invoices.d.mts +0 -51
  981. package/tools/v1/invoices/regenerate-v1-invoices.d.mts.map +0 -1
  982. package/tools/v1/invoices/regenerate-v1-invoices.d.ts +0 -51
  983. package/tools/v1/invoices/regenerate-v1-invoices.d.ts.map +0 -1
  984. package/tools/v1/invoices/regenerate-v1-invoices.js +0 -53
  985. package/tools/v1/invoices/regenerate-v1-invoices.js.map +0 -1
  986. package/tools/v1/invoices/regenerate-v1-invoices.mjs +0 -46
  987. package/tools/v1/invoices/regenerate-v1-invoices.mjs.map +0 -1
  988. package/tools/v1/invoices/void-v1-invoices.d.mts +0 -51
  989. package/tools/v1/invoices/void-v1-invoices.d.mts.map +0 -1
  990. package/tools/v1/invoices/void-v1-invoices.d.ts +0 -51
  991. package/tools/v1/invoices/void-v1-invoices.d.ts.map +0 -1
  992. package/tools/v1/invoices/void-v1-invoices.js +0 -53
  993. package/tools/v1/invoices/void-v1-invoices.js.map +0 -1
  994. package/tools/v1/invoices/void-v1-invoices.mjs +0 -46
  995. package/tools/v1/invoices/void-v1-invoices.mjs.map +0 -1
  996. package/tools/v1/payments/attempt-v1-payments.d.mts +0 -51
  997. package/tools/v1/payments/attempt-v1-payments.d.mts.map +0 -1
  998. package/tools/v1/payments/attempt-v1-payments.d.ts +0 -51
  999. package/tools/v1/payments/attempt-v1-payments.d.ts.map +0 -1
  1000. package/tools/v1/payments/attempt-v1-payments.js +0 -55
  1001. package/tools/v1/payments/attempt-v1-payments.js.map +0 -1
  1002. package/tools/v1/payments/attempt-v1-payments.mjs +0 -48
  1003. package/tools/v1/payments/attempt-v1-payments.mjs.map +0 -1
  1004. package/tools/v1/payments/cancel-v1-payments.d.mts +0 -51
  1005. package/tools/v1/payments/cancel-v1-payments.d.mts.map +0 -1
  1006. package/tools/v1/payments/cancel-v1-payments.d.ts +0 -51
  1007. package/tools/v1/payments/cancel-v1-payments.d.ts.map +0 -1
  1008. package/tools/v1/payments/cancel-v1-payments.js +0 -55
  1009. package/tools/v1/payments/cancel-v1-payments.js.map +0 -1
  1010. package/tools/v1/payments/cancel-v1-payments.mjs +0 -48
  1011. package/tools/v1/payments/cancel-v1-payments.mjs.map +0 -1
  1012. package/tools/v1/payments/list-v1-payments.d.mts +0 -51
  1013. package/tools/v1/payments/list-v1-payments.d.mts.map +0 -1
  1014. package/tools/v1/payments/list-v1-payments.d.ts +0 -51
  1015. package/tools/v1/payments/list-v1-payments.d.ts.map +0 -1
  1016. package/tools/v1/payments/list-v1-payments.js +0 -76
  1017. package/tools/v1/payments/list-v1-payments.js.map +0 -1
  1018. package/tools/v1/payments/list-v1-payments.mjs +0 -69
  1019. package/tools/v1/payments/list-v1-payments.mjs.map +0 -1
  1020. package/tools/v1/plans/get-details-v1-plans.d.mts +0 -51
  1021. package/tools/v1/plans/get-details-v1-plans.d.mts.map +0 -1
  1022. package/tools/v1/plans/get-details-v1-plans.d.ts +0 -51
  1023. package/tools/v1/plans/get-details-v1-plans.d.ts.map +0 -1
  1024. package/tools/v1/plans/get-details-v1-plans.js +0 -54
  1025. package/tools/v1/plans/get-details-v1-plans.js.map +0 -1
  1026. package/tools/v1/plans/get-details-v1-plans.mjs +0 -47
  1027. package/tools/v1/plans/get-details-v1-plans.mjs.map +0 -1
  1028. package/tools/v1/plans/list-charges-v1-plans.d.mts +0 -51
  1029. package/tools/v1/plans/list-charges-v1-plans.d.mts.map +0 -1
  1030. package/tools/v1/plans/list-charges-v1-plans.d.ts +0 -51
  1031. package/tools/v1/plans/list-charges-v1-plans.d.ts.map +0 -1
  1032. package/tools/v1/plans/list-charges-v1-plans.js +0 -63
  1033. package/tools/v1/plans/list-charges-v1-plans.js.map +0 -1
  1034. package/tools/v1/plans/list-charges-v1-plans.mjs +0 -56
  1035. package/tools/v1/plans/list-charges-v1-plans.mjs.map +0 -1
  1036. package/tools/v1/plans/list-customers-v1-plans.d.mts +0 -51
  1037. package/tools/v1/plans/list-customers-v1-plans.d.mts.map +0 -1
  1038. package/tools/v1/plans/list-customers-v1-plans.d.ts +0 -51
  1039. package/tools/v1/plans/list-customers-v1-plans.d.ts.map +0 -1
  1040. package/tools/v1/plans/list-customers-v1-plans.js +0 -68
  1041. package/tools/v1/plans/list-customers-v1-plans.js.map +0 -1
  1042. package/tools/v1/plans/list-customers-v1-plans.mjs +0 -61
  1043. package/tools/v1/plans/list-customers-v1-plans.mjs.map +0 -1
  1044. package/tools/v1/plans/list-v1-plans.d.mts +0 -51
  1045. package/tools/v1/plans/list-v1-plans.d.mts.map +0 -1
  1046. package/tools/v1/plans/list-v1-plans.d.ts +0 -51
  1047. package/tools/v1/plans/list-v1-plans.d.ts.map +0 -1
  1048. package/tools/v1/plans/list-v1-plans.js +0 -60
  1049. package/tools/v1/plans/list-v1-plans.js.map +0 -1
  1050. package/tools/v1/plans/list-v1-plans.mjs +0 -53
  1051. package/tools/v1/plans/list-v1-plans.mjs.map +0 -1
  1052. package/tools/v1/pricing-units/list-v1-pricing-units.d.mts +0 -51
  1053. package/tools/v1/pricing-units/list-v1-pricing-units.d.mts.map +0 -1
  1054. package/tools/v1/pricing-units/list-v1-pricing-units.d.ts +0 -51
  1055. package/tools/v1/pricing-units/list-v1-pricing-units.d.ts.map +0 -1
  1056. package/tools/v1/pricing-units/list-v1-pricing-units.js +0 -60
  1057. package/tools/v1/pricing-units/list-v1-pricing-units.js.map +0 -1
  1058. package/tools/v1/pricing-units/list-v1-pricing-units.mjs +0 -53
  1059. package/tools/v1/pricing-units/list-v1-pricing-units.mjs.map +0 -1
  1060. package/tools/v1/services/list-v1-services.d.mts +0 -51
  1061. package/tools/v1/services/list-v1-services.d.mts.map +0 -1
  1062. package/tools/v1/services/list-v1-services.d.ts +0 -51
  1063. package/tools/v1/services/list-v1-services.d.ts.map +0 -1
  1064. package/tools/v1/services/list-v1-services.js +0 -51
  1065. package/tools/v1/services/list-v1-services.js.map +0 -1
  1066. package/tools/v1/services/list-v1-services.mjs +0 -44
  1067. package/tools/v1/services/list-v1-services.mjs.map +0 -1
  1068. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts +0 -51
  1069. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.mts.map +0 -1
  1070. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts +0 -51
  1071. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.d.ts.map +0 -1
  1072. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js +0 -64
  1073. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.js.map +0 -1
  1074. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs +0 -57
  1075. package/tools/v1/settings/billing-providers/create-settings-v1-billing-providers.mjs.map +0 -1
  1076. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts +0 -51
  1077. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.mts.map +0 -1
  1078. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts +0 -51
  1079. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.d.ts.map +0 -1
  1080. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js +0 -53
  1081. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.js.map +0 -1
  1082. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs +0 -46
  1083. package/tools/v1/settings/billing-providers/list-settings-v1-billing-providers.mjs.map +0 -1
  1084. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts +0 -51
  1085. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.mts.map +0 -1
  1086. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts +0 -51
  1087. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.d.ts.map +0 -1
  1088. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js +0 -73
  1089. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.js.map +0 -1
  1090. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs +0 -66
  1091. package/tools/v1/settings/upsert-avalara-credentials-v1-settings.mjs.map +0 -1
  1092. package/tools/v1/usage/ingest-v1-usage.d.mts +0 -51
  1093. package/tools/v1/usage/ingest-v1-usage.d.mts.map +0 -1
  1094. package/tools/v1/usage/ingest-v1-usage.d.ts +0 -51
  1095. package/tools/v1/usage/ingest-v1-usage.d.ts.map +0 -1
  1096. package/tools/v1/usage/ingest-v1-usage.js +0 -58
  1097. package/tools/v1/usage/ingest-v1-usage.js.map +0 -1
  1098. package/tools/v1/usage/ingest-v1-usage.mjs +0 -54
  1099. package/tools/v1/usage/ingest-v1-usage.mjs.map +0 -1
  1100. package/tools/v1/usage/list-v1-usage.d.mts +0 -51
  1101. package/tools/v1/usage/list-v1-usage.d.mts.map +0 -1
  1102. package/tools/v1/usage/list-v1-usage.d.ts +0 -51
  1103. package/tools/v1/usage/list-v1-usage.d.ts.map +0 -1
  1104. package/tools/v1/usage/list-v1-usage.js +0 -104
  1105. package/tools/v1/usage/list-v1-usage.js.map +0 -1
  1106. package/tools/v1/usage/list-v1-usage.mjs +0 -97
  1107. package/tools/v1/usage/list-v1-usage.mjs.map +0 -1
  1108. package/tools/v1/usage/list-with-groups-v1-usage.d.mts +0 -51
  1109. package/tools/v1/usage/list-with-groups-v1-usage.d.mts.map +0 -1
  1110. package/tools/v1/usage/list-with-groups-v1-usage.d.ts +0 -51
  1111. package/tools/v1/usage/list-with-groups-v1-usage.d.ts.map +0 -1
  1112. package/tools/v1/usage/list-with-groups-v1-usage.js +0 -98
  1113. package/tools/v1/usage/list-with-groups-v1-usage.js.map +0 -1
  1114. package/tools/v1/usage/list-with-groups-v1-usage.mjs +0 -91
  1115. package/tools/v1/usage/list-with-groups-v1-usage.mjs.map +0 -1
  1116. package/tools/v1/usage/search-v1-usage.d.mts +0 -51
  1117. package/tools/v1/usage/search-v1-usage.d.mts.map +0 -1
  1118. package/tools/v1/usage/search-v1-usage.d.ts +0 -51
  1119. package/tools/v1/usage/search-v1-usage.d.ts.map +0 -1
  1120. package/tools/v1/usage/search-v1-usage.js +0 -56
  1121. package/tools/v1/usage/search-v1-usage.js.map +0 -1
  1122. package/tools/v1/usage/search-v1-usage.mjs +0 -49
  1123. package/tools/v1/usage/search-v1-usage.mjs.map +0 -1
  1124. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts +0 -51
  1125. package/tools/v2/contracts/edit-commit-v2-contracts.d.mts.map +0 -1
  1126. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts +0 -51
  1127. package/tools/v2/contracts/edit-commit-v2-contracts.d.ts.map +0 -1
  1128. package/tools/v2/contracts/edit-commit-v2-contracts.js +0 -301
  1129. package/tools/v2/contracts/edit-commit-v2-contracts.js.map +0 -1
  1130. package/tools/v2/contracts/edit-commit-v2-contracts.mjs +0 -294
  1131. package/tools/v2/contracts/edit-commit-v2-contracts.mjs.map +0 -1
  1132. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts +0 -51
  1133. package/tools/v2/contracts/edit-credit-v2-contracts.d.mts.map +0 -1
  1134. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts +0 -51
  1135. package/tools/v2/contracts/edit-credit-v2-contracts.d.ts.map +0 -1
  1136. package/tools/v2/contracts/edit-credit-v2-contracts.js +0 -233
  1137. package/tools/v2/contracts/edit-credit-v2-contracts.js.map +0 -1
  1138. package/tools/v2/contracts/edit-credit-v2-contracts.mjs +0 -226
  1139. package/tools/v2/contracts/edit-credit-v2-contracts.mjs.map +0 -1
  1140. package/tools/v2/contracts/edit-v2-contracts.d.mts +0 -51
  1141. package/tools/v2/contracts/edit-v2-contracts.d.mts.map +0 -1
  1142. package/tools/v2/contracts/edit-v2-contracts.d.ts +0 -51
  1143. package/tools/v2/contracts/edit-v2-contracts.d.ts.map +0 -1
  1144. package/tools/v2/contracts/edit-v2-contracts.js +0 -2214
  1145. package/tools/v2/contracts/edit-v2-contracts.js.map +0 -1
  1146. package/tools/v2/contracts/edit-v2-contracts.mjs +0 -2207
  1147. package/tools/v2/contracts/edit-v2-contracts.mjs.map +0 -1
  1148. package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts +0 -51
  1149. package/tools/v2/contracts/get-edit-history-v2-contracts.d.mts.map +0 -1
  1150. package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts +0 -51
  1151. package/tools/v2/contracts/get-edit-history-v2-contracts.d.ts.map +0 -1
  1152. package/tools/v2/contracts/get-edit-history-v2-contracts.js +0 -49
  1153. package/tools/v2/contracts/get-edit-history-v2-contracts.js.map +0 -1
  1154. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs +0 -42
  1155. package/tools/v2/contracts/get-edit-history-v2-contracts.mjs.map +0 -1
  1156. package/tools/v2/contracts/list-v2-contracts.d.mts +0 -51
  1157. package/tools/v2/contracts/list-v2-contracts.d.mts.map +0 -1
  1158. package/tools/v2/contracts/list-v2-contracts.d.ts +0 -51
  1159. package/tools/v2/contracts/list-v2-contracts.d.ts.map +0 -1
  1160. package/tools/v2/contracts/list-v2-contracts.js +0 -68
  1161. package/tools/v2/contracts/list-v2-contracts.js.map +0 -1
  1162. package/tools/v2/contracts/list-v2-contracts.mjs +0 -61
  1163. package/tools/v2/contracts/list-v2-contracts.mjs.map +0 -1
  1164. package/tools/v2/contracts/retrieve-v2-contracts.d.mts +0 -51
  1165. package/tools/v2/contracts/retrieve-v2-contracts.d.mts.map +0 -1
  1166. package/tools/v2/contracts/retrieve-v2-contracts.d.ts +0 -51
  1167. package/tools/v2/contracts/retrieve-v2-contracts.d.ts.map +0 -1
  1168. package/tools/v2/contracts/retrieve-v2-contracts.js +0 -62
  1169. package/tools/v2/contracts/retrieve-v2-contracts.js.map +0 -1
  1170. package/tools/v2/contracts/retrieve-v2-contracts.mjs +0 -55
  1171. package/tools/v2/contracts/retrieve-v2-contracts.mjs.map +0 -1
  1172. package/tools.d.mts +0 -2
  1173. package/tools.d.mts.map +0 -1
  1174. package/tools.d.ts +0 -2
  1175. package/tools.d.ts.map +0 -1
  1176. package/tools.js +0 -18
  1177. package/tools.js.map +0 -1
  1178. package/tools.mjs +0 -2
  1179. package/tools.mjs.map +0 -1
  1180. /package/{tools/types.js → types.js} +0 -0
  1181. /package/{tools/types.mjs → types.mjs} +0 -0
package/README.md CHANGED
@@ -26,7 +26,7 @@ For clients with a configuration JSON, it might look something like this:
26
26
  "mcpServers": {
27
27
  "metronome_sdk_api": {
28
28
  "command": "npx",
29
- "args": ["-y", "@metronome/mcp", "--client=claude", "--tools=dynamic"],
29
+ "args": ["-y", "@metronome/mcp"],
30
30
  "env": {
31
31
  "METRONOME_BEARER_TOKEN": "My Bearer Token",
32
32
  "METRONOME_WEBHOOK_SECRET": "My Webhook Secret"
@@ -41,14 +41,14 @@ For clients with a configuration JSON, it might look something like this:
41
41
  If you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables
42
42
  in Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server.
43
43
 
44
- [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=@metronome/mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtZXRyb25vbWUvbWNwIl0sImVudiI6eyJNRVRST05PTUVfQkVBUkVSX1RPS0VOIjoiU2V0IHlvdXIgTUVUUk9OT01FX0JFQVJFUl9UT0tFTiBoZXJlLiIsIk1FVFJPTk9NRV9XRUJIT09LX1NFQ1JFVCI6IlNldCB5b3VyIE1FVFJPTk9NRV9XRUJIT09LX1NFQ1JFVCBoZXJlLiJ9fQ)
44
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40metronome%2Fmcp&config=eyJuYW1lIjoiQG1ldHJvbm9tZS9tY3AiLCJ0cmFuc3BvcnQiOiJodHRwIiwidXJsIjoiaHR0cHM6Ly9tZXRyb25vbWUuc3RsbWNwLmNvbSIsImhlYWRlcnMiOnsieC1tZXRyb25vbWUtYmVhcmVyLXRva2VuIjoiTXkgQmVhcmVyIFRva2VuIn19)
45
45
 
46
46
  ### VS Code
47
47
 
48
48
  If you use MCP, you can install the MCP server by clicking the link below. You will need to set your environment variables
49
49
  in VS Code's `mcp.json`, which can be found via Command Palette > MCP: Open User Configuration.
50
50
 
51
- [Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40metronome%2Fmcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40metronome%2Fmcp%22%5D%2C%22env%22%3A%7B%22METRONOME_BEARER_TOKEN%22%3A%22Set%20your%20METRONOME_BEARER_TOKEN%20here.%22%2C%22METRONOME_WEBHOOK_SECRET%22%3A%22Set%20your%20METRONOME_WEBHOOK_SECRET%20here.%22%7D%7D)
51
+ [Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40metronome%2Fmcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmetronome.stlmcp.com%22%2C%22headers%22%3A%7B%22x-metronome-bearer-token%22%3A%22My%20Bearer%20Token%22%7D%7D)
52
52
 
53
53
  ### Claude Code
54
54
 
@@ -56,113 +56,25 @@ If you use Claude Code, you can install the MCP server by running the command be
56
56
  environment variables in Claude Code's `.claude.json`, which can be found in your home directory.
57
57
 
58
58
  ```
59
- claude mcp add --transport stdio metronome_sdk_api --env METRONOME_BEARER_TOKEN="Your METRONOME_BEARER_TOKEN here." METRONOME_WEBHOOK_SECRET="Your METRONOME_WEBHOOK_SECRET here." -- npx -y @metronome/mcp
59
+ claude mcp add metronome_mcp_api --header "x-metronome-bearer-token: My Bearer Token" --transport http https://metronome.stlmcp.com
60
60
  ```
61
61
 
62
- ## Exposing endpoints to your MCP Client
62
+ ## Code Mode
63
63
 
64
- There are three ways to expose endpoints as tools in the MCP server:
64
+ This MCP server is built on the "Code Mode" tool scheme. In this MCP Server,
65
+ your agent will write code against the TypeScript SDK, which will then be executed in an
66
+ isolated sandbox. To accomplish this, the server will expose two tools to your agent:
65
67
 
66
- 1. Exposing one tool per endpoint, and filtering as necessary
67
- 2. Exposing a set of tools to dynamically discover and invoke endpoints from the API
68
- 3. Exposing a docs search tool and a code execution tool, allowing the client to write code to be executed against the TypeScript client
68
+ - The first tool is a docs search tool, which can be used to generically query for
69
+ documentation about your API/SDK.
69
70
 
70
- ### Filtering endpoints and tools
71
+ - The second tool is a code tool, where the agent can write code against the TypeScript SDK.
72
+ The code will be executed in a sandbox environment without web or filesystem access. Then,
73
+ anything the code returns or prints will be returned to the agent as the result of the
74
+ tool call.
71
75
 
72
- You can run the package on the command line to discover and filter the set of tools that are exposed by the
73
- MCP Server. This can be helpful for large APIs where including all endpoints at once is too much for your AI's
74
- context window.
75
-
76
- You can filter by multiple aspects:
77
-
78
- - `--tool` includes a specific tool by name
79
- - `--resource` includes all tools under a specific resource, and can have wildcards, e.g. `my.resource*`
80
- - `--operation` includes just read (get/list) or just write operations
81
-
82
- ### Dynamic tools
83
-
84
- If you specify `--tools=dynamic` to the MCP server, instead of exposing one tool per endpoint in the API, it will
85
- expose the following tools:
86
-
87
- 1. `list_api_endpoints` - Discovers available endpoints, with optional filtering by search query
88
- 2. `get_api_endpoint_schema` - Gets detailed schema information for a specific endpoint
89
- 3. `invoke_api_endpoint` - Executes any endpoint with the appropriate parameters
90
-
91
- This allows you to have the full set of API endpoints available to your MCP Client, while not requiring that all
92
- of their schemas be loaded into context at once. Instead, the LLM will automatically use these tools together to
93
- search for, look up, and invoke endpoints dynamically. However, due to the indirect nature of the schemas, it
94
- can struggle to provide the correct properties a bit more than when tools are imported explicitly. Therefore,
95
- you can opt-in to explicit tools, the dynamic tools, or both.
96
-
97
- See more information with `--help`.
98
-
99
- All of these command-line options can be repeated, combined together, and have corresponding exclusion versions (e.g. `--no-tool`).
100
-
101
- Use `--list` to see the list of available tools, or see below.
102
-
103
- ### Code execution
104
-
105
- If you specify `--tools=code` to the MCP server, it will expose just two tools:
106
-
107
- - `search_docs` - Searches the API documentation and returns a list of markdown results
108
- - `execute` - Runs code against the TypeScript client
109
-
110
- This allows the LLM to implement more complex logic by chaining together many API calls without loading
111
- intermediary results into its context window.
112
-
113
- The code execution itself happens in a Deno sandbox that has network access only to the base URL for the API.
114
-
115
- ### Specifying the MCP Client
116
-
117
- Different clients have varying abilities to handle arbitrary tools and schemas.
118
-
119
- You can specify the client you are using with the `--client` argument, and the MCP server will automatically
120
- serve tools and schemas that are more compatible with that client.
121
-
122
- - `--client=<type>`: Set all capabilities based on a known MCP client
123
-
124
- - Valid values: `openai-agents`, `claude`, `claude-code`, `cursor`
125
- - Example: `--client=cursor`
126
-
127
- Additionally, if you have a client not on the above list, or the client has gotten better
128
- over time, you can manually enable or disable certain capabilities:
129
-
130
- - `--capability=<name>`: Specify individual client capabilities
131
- - Available capabilities:
132
- - `top-level-unions`: Enable support for top-level unions in tool schemas
133
- - `valid-json`: Enable JSON string parsing for arguments
134
- - `refs`: Enable support for $ref pointers in schemas
135
- - `unions`: Enable support for union types (anyOf) in schemas
136
- - `formats`: Enable support for format validations in schemas (e.g. date-time, email)
137
- - `tool-name-length=N`: Set maximum tool name length to N characters
138
- - Example: `--capability=top-level-unions --capability=tool-name-length=40`
139
- - Example: `--capability=top-level-unions,tool-name-length=40`
140
-
141
- ### Examples
142
-
143
- 1. Filter for read operations on cards:
144
-
145
- ```bash
146
- --resource=cards --operation=read
147
- ```
148
-
149
- 2. Exclude specific tools while including others:
150
-
151
- ```bash
152
- --resource=cards --no-tool=create_cards
153
- ```
154
-
155
- 3. Configure for Cursor client with custom max tool name length:
156
-
157
- ```bash
158
- --client=cursor --capability=tool-name-length=40
159
- ```
160
-
161
- 4. Complex filtering with multiple criteria:
162
-
163
- ```bash
164
- --resource=cards,accounts --operation=read --tag=kyc --no-tool=create_cards
165
- ```
76
+ Using this scheme, agents are capable of performing very complex tasks deterministically
77
+ and repeatably.
166
78
 
167
79
  ## Running remotely
168
80
 
@@ -189,1222 +101,3 @@ A configuration JSON for this server might look like this, assuming the server i
189
101
  }
190
102
  }
191
103
  ```
192
-
193
- The command-line arguments for filtering tools and specifying clients can also be used as query parameters in the URL.
194
- For example, to exclude specific tools while including others, use the URL:
195
-
196
- ```
197
- http://localhost:3000?resource=cards&resource=accounts&no_tool=create_cards
198
- ```
199
-
200
- Or, to configure for the Cursor client, with a custom max tool name length, use the URL:
201
-
202
- ```
203
- http://localhost:3000?client=cursor&capability=tool-name-length%3D40
204
- ```
205
-
206
- ## Importing the tools and server individually
207
-
208
- ```js
209
- // Import the server, generated endpoints, or the init function
210
- import { server, endpoints, init } from "@metronome/mcp/server";
211
-
212
- // import a specific tool
213
- import retrieveV2Contracts from "@metronome/mcp/tools/v2/contracts/retrieve-v2-contracts";
214
-
215
- // initialize the server and all endpoints
216
- init({ server, endpoints });
217
-
218
- // manually start server
219
- const transport = new StdioServerTransport();
220
- await server.connect(transport);
221
-
222
- // or initialize your own server with specific tools
223
- const myServer = new McpServer(...);
224
-
225
- // define your own endpoint
226
- const myCustomEndpoint = {
227
- tool: {
228
- name: 'my_custom_tool',
229
- description: 'My custom tool',
230
- inputSchema: zodToJsonSchema(z.object({ a_property: z.string() })),
231
- },
232
- handler: async (client: client, args: any) => {
233
- return { myResponse: 'Hello world!' };
234
- })
235
- };
236
-
237
- // initialize the server with your custom endpoints
238
- init({ server: myServer, endpoints: [retrieveV2Contracts, myCustomEndpoint] });
239
- ```
240
-
241
- ## Available Tools
242
-
243
- The following tools are available in this MCP server.
244
-
245
- ### Resource `v2.contracts`:
246
-
247
- - `retrieve_v2_contracts` (`write`): Gets the details for a specific contract, including contract term, rate card information, credits and commits, and more.
248
-
249
- ### Use this endpoint to:
250
-
251
- - Check the duration of a customer's current contract
252
- - Get details on contract terms, including access schedule amounts for commitments and credits
253
- - Understand the state of a contract at a past time. As you can evolve the terms of a contract over time through editing, use the `as_of_date` parameter to view the full contract configuration as of that point in time.
254
-
255
- ### Usage guidelines:
256
-
257
- - Optionally, use the `include_balance` and `include_ledger` fields to include balances and ledgers in the credit and commit responses. Using these fields will cause the query to be slower.
258
-
259
- - `list_v2_contracts` (`write`): For a given customer, lists all of their contracts in chronological order.
260
-
261
- ### Use this endpoint to:
262
-
263
- - Check if a customer is provisioned with any contract, and at which tier
264
- - Check the duration and terms of a customer's current contract
265
- - Power a page in your end customer experience that shows the customer's history of tiers (e.g. this customer started out on the Pro Plan, then downgraded to the Starter plan).
266
-
267
- ### Usage guidelines:
268
-
269
- Use the `starting_at`, `covering_date`, and `include_archived` parameters to filter the list of returned contracts. For example, to list only currently active contracts, pass `covering_date` equal to the current time.
270
-
271
- - `edit_v2_contracts` (`write`): The ability to edit a contract helps you react quickly to the needs of your customers and your business.
272
-
273
- ### Use this endpoint to:
274
-
275
- - Encode mid-term commitment and discount changes
276
- - Fix configuration mistakes and easily roll back packaging changes
277
-
278
- ### Key response fields:
279
-
280
- - The `id` of the edit
281
- - Complete edit details. For example, if you edited the contract to add new overrides and credits, you will receive the IDs of those overrides and credits in the response.
282
-
283
- ### Usage guidelines:
284
-
285
- - When you edit a contract, any draft invoices update immediately to reflect that edit. Finalized invoices remain unchanged - you must void and regenerate them in the UI or API to reflect the edit.
286
- - Contract editing must be enabled to use this endpoint. Reach out to your Metronome representative to learn more.
287
-
288
- - `edit_commit_v2_contracts` (`write`): Edit specific details for a contract-level or customer-level commit. Use this endpoint to modify individual commit access schedules, invoice schedules, applicable products, invoicing contracts, or other fields.
289
-
290
- ### Usage guidelines:
291
-
292
- - As with all edits in Metronome, draft invoices will reflect the edit immediately, while finalized invoices are untouched unless voided and regenerated.
293
- - If a commit's invoice schedule item is associated with a finalized invoice, you cannot remove or update the invoice schedule item.
294
- - If a commit's invoice schedule item is associated with a voided invoice, you cannot remove the invoice schedule item.
295
- - You cannot remove an commit access schedule segment that was applied to a finalized invoice. You can void the invoice beforehand and then remove the access schedule segment.
296
-
297
- - `edit_credit_v2_contracts` (`write`): Edit details for a contract-level or customer-level credit.
298
-
299
- ### Use this endpoint to:
300
-
301
- - Extend the duration or the amount of an existing free credit like a trial
302
- - Modify individual credit access schedules, applicable products, priority, or other fields.
303
-
304
- ### Usage guidelines:
305
-
306
- - As with all edits in Metronome, draft invoices will reflect the edit immediately, while finalized invoices are untouched unless voided and regenerated.
307
- - You cannot remove an access schedule segment that was applied to a finalized invoice. You can void the invoice beforehand and then remove the access schedule segment.
308
-
309
- - `get_edit_history_v2_contracts` (`write`): List all the edits made to a contract over time. In Metronome, you can edit a contract at any point after it's created to fix mistakes or reflect changes in terms. Metronome stores a full history of all edits that were ever made to a contract, whether through the UI, `editContract` endpoint, or other endpoints like `updateContractEndDate`.
310
-
311
- ### Use this endpoint to:
312
-
313
- - Understand what changes were made to a contract, when, and by who
314
-
315
- ### Key response fields:
316
-
317
- - An array of every edit ever made to the contract
318
- - Details on each individual edit - for example showing that in one edit, a user added two discounts and incremented a subscription quantity.
319
-
320
- ### Resource `v1.alerts`:
321
-
322
- - `create_v1_alerts` (`write`): Create a new threshold notification to monitor customer spending, balances, and billing metrics in real-time. Metronome's notification system provides industry-leading speed with immediate evaluation capabilities, enabling you to proactively manage customer accounts and prevent revenue leakage.
323
-
324
- This endpoint creates configurable threshold notifications that continuously monitor various billing thresholds including spend limits, credit balances, commitment utilization, and invoice totals. Threshold notifications can be configured globally for all customers or targeted to specific customer accounts.
325
-
326
- ### Use this endpoint to:
327
-
328
- - Proactively monitor customer spending patterns to prevent unexpected overages or credit exhaustion
329
- - Automate notifications when customers approach commitment limits or credit thresholds
330
- - Enable real-time intervention for accounts at risk of churn or payment issues
331
- - Scale billing operations by automating threshold-based workflows and notifications
332
-
333
- ### Key response fields:
334
-
335
- A successful response returns a CustomerAlert object containing:
336
-
337
- - The threshold notification configuration with its unique ID and current status
338
- - The customer's evaluation status (ok, in_alarm, or evaluating)
339
- - Threshold notification metadata including type, threshold values, and update timestamps
340
-
341
- ### Usage guidelines:
342
-
343
- - Immediate evaluation: Set `evaluate_on_create` : `true` (default) for instant evaluation against existing customers
344
- - Uniqueness constraints: Each threshold notification must have a unique `uniqueness_key` within your organization. Use `release_uniqueness_key` : `true` when archiving to reuse keys
345
- - Notification type requirements: Different threshold notification types require specific fields (e.g., `billable_metric_id` for usage notifications, `credit_type_id` for credit-based threshold notifications)
346
- - Webhook delivery: Threshold notifications trigger webhook notifications for real-time integration with your systems. Configure webhook endpoints before creating threshold notifications
347
- - Performance at scale: Metronome's event-driven architecture processes threshold notification evaluations in real-time as usage events stream in, unlike competitors who rely on periodic polling or batch evaluation cycles
348
-
349
- - `archive_v1_alerts` (`write`): Permanently disable a threshold notification and remove it from active monitoring across all customers. Archived threshold notifications stop evaluating immediately and can optionally release their uniqueness key for reuse in future threshold notification configurations.
350
-
351
- ### Use this endpoint to:
352
-
353
- - Decommission threshold notifications that are no longer needed
354
- - Clean up test or deprecated threshold notification configurations
355
- - Free up uniqueness keys for reuse with new threshold notifications
356
- - Stop threshold notification evaluations without losing historical configuration data
357
- - Disable outdated monitoring rules during pricing model transitions
358
-
359
- ### Key response fields:
360
-
361
- - data: Object containing the archived threshold notification's ID
362
-
363
- ### Usage guidelines:
364
-
365
- - Irreversible for evaluation: Archived threshold notifications cannot be re-enabled; create a new threshold notification to resume monitoring
366
- - Uniqueness key handling: Set `release_uniqueness_key` : `true` to reuse the key in future threshold notifications
367
- - Immediate effect: Threshold notification evaluation stops instantly across all customers
368
- - Historical preservation: Archive operation maintains threshold notification history and configuration for compliance and auditing
369
-
370
- ### Resource `v1.plans`:
371
-
372
- - `list_v1_plans` (`read`): List all available plans. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
373
- - `get_details_v1_plans` (`read`): Fetch high level details of a specific plan. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
374
- - `list_charges_v1_plans` (`read`): Fetches a list of charges of a specific plan. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
375
- - `list_customers_v1_plans` (`read`): Fetches a list of customers on a specific plan (by default, only currently active plans are included). This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
376
-
377
- ### Resource `v1.credit_grants`:
378
-
379
- - `create_v1_credit_grants` (`write`): Create a new credit grant. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
380
- - `list_v1_credit_grants` (`write`): List credit grants. This list does not included voided grants. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
381
- - `edit_v1_credit_grants` (`write`): Edit an existing credit grant. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
382
- - `list_entries_v1_credit_grants` (`write`): Fetches a list of credit ledger entries. Returns lists of ledgers per customer. Ledger entries are returned in chronological order. Ledger entries associated with voided credit grants are not included. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
383
- - `void_v1_credit_grants` (`write`): Void a credit grant. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
384
-
385
- ### Resource `v1.pricing_units`:
386
-
387
- - `list_v1_pricing_units` (`read`): List all pricing units. All fiat currency types (for example, USD or GBP) will be included, as well as any custom pricing units that were configured. Custom pricing units can be used to charge for usage in a non-fiat pricing unit, for example AI credits.
388
-
389
- Note: The USD (cents) pricing unit is 2714e483-4ff1-48e4-9e25-ac732e8f24f2.
390
-
391
- ### Resource `v1.customers`:
392
-
393
- - `create_v1_customers` (`write`): Create a new customer in Metronome and optionally the billing configuration (recommended) which dictates where invoices for the customer will be sent or where payment will be collected.
394
-
395
- ### Use this endpoint to:
396
-
397
- Execute your customer provisioning workflows for either PLG motions, where customers originate in your platform, or SLG motions, where customers originate in your sales system.
398
-
399
- ### Key response fields:
400
-
401
- This end-point returns the `customer_id` created by the request. This id can be used to fetch relevant billing configurations and create contracts.
402
-
403
- ### Example workflow:
404
-
405
- - Generally, Metronome recommends first creating the customer in the downstream payment / ERP system when payment method is collected and then creating the customer in Metronome using the response (i.e. `customer_id`) from the downstream system. If you do not create a billing configuration on customer creation, you can add it later.
406
- - Once a customer is created, you can then create a contract for the customer. In the contract creation process, you will need to add the customer billing configuration to the contract to ensure Metronome invoices the customer correctly. This is because a customer can have multiple configurations.
407
- - As part of the customer creation process, set the ingest alias for the customer which will ensure usage is accurately mapped to the customer. Ingest aliases can be added or changed after the creation process as well.
408
-
409
- ### Usage guidelines:
410
-
411
- For details on different billing configurations for different systems, review the `/setCustomerBillingConfiguration` end-point.
412
-
413
- - `retrieve_v1_customers` (`read`): Get detailed information for a specific customer by their Metronome ID. Returns customer profile data including name, creation date, ingest aliases, configuration settings, and custom fields. Use this endpoint to fetch complete customer details for billing operations or account management.
414
-
415
- Note: If searching for a customer billing configuration, use the `/getCustomerBillingConfigurations` endpoint.
416
-
417
- - `list_v1_customers` (`read`): Gets a paginated list of all customers in your Metronome account. Use this endpoint to browse your customer base, implement customer search functionality, or sync customer data with external systems. Returns customer details including IDs, names, and configuration settings. Supports filtering and pagination parameters for efficient data retrieval.
418
- - `archive_v1_customers` (`write`): Use this endpoint to archive a customer while preserving auditability. Archiving a customer will automatically archive all contracts as of the current date and void all corresponding invoices. Use this endpoint if a customer is onboarded by mistake.
419
-
420
- ### Usage guidelines:
421
-
422
- - Once a customer is archived, it cannot be unarchived.
423
- - Archived customers can still be viewed through the API or the UI for audit purposes.
424
- - Ingest aliases remain idempotent for archived customers. In order to reuse an ingest alias, first remove the ingest alias from the customer prior to archiving.
425
- - Any notifications associated with the customer will no longer be triggered.
426
-
427
- - `list_billable_metrics_v1_customers` (`read`): Get all billable metrics available for a specific customer. Supports pagination and filtering by current plan status or archived metrics. Use this endpoint to see which metrics are being tracked for billing calculations for a given customer.
428
- - `list_costs_v1_customers` (`read`): Fetch daily pending costs for the specified customer, broken down by credit type and line items. Note: this is not supported for customers whose plan includes a UNIQUE-type billable metric. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
429
- - `preview_events_v1_customers` (`write`): Preview how a set of events will affect a customer's invoices. Generates draft invoices for a customer using their current contract configuration and the provided events. This is useful for testing how new events will affect the customer's invoices before they are actually processed. Customers on contracts with SQL billable metrics are not supported.
430
- - `retrieve_billing_configurations_v1_customers` (`write`): Returns all billing configurations previously set for the customer. Use during the contract provisioning process to fetch the `billing_provider_configuration_id` needed to set the contract billing configuration.
431
- - `set_billing_configurations_v1_customers` (`write`): Create a billing configuration for a customer. Once created, these configurations are available to associate to a contract and dictates which downstream system to collect payment in or send the invoice to. You can create multiple configurations per customer. The configuration formats are distinct for each downstream provider.
432
-
433
- ### Use this endpoint to:
434
-
435
- - Add the initial configuration to an existing customer. Once created, the billing configuration can then be associated to the customer's contract.
436
- - Add a new configuration to an existing customer. This might be used as part of an upgrade or downgrade workflow where the customer was previously billed through system A (e.g. Stripe) but will now be billed through system B (e.g. AWS). Once created, the new configuration can then be associated to the customer's contract.
437
- - Multiple configurations can be added per destination. For example, you can create two Stripe billing configurations for a Metronome customer that each have a distinct `collection_method`.
438
-
439
- ### Delivery method options:
440
-
441
- - `direct_to_billing_provider`: Use when Metronome should send invoices directly to the billing provider's API (e.g., Stripe, NetSuite). This is the most common method for automated billing workflows.
442
- - `tackle`: Use specifically for AWS Marketplace transactions that require Tackle's co-selling platform for partner attribution and commission tracking.
443
- - `aws_sqs`: Use when you want invoice data delivered to an AWS SQS queue for custom processing before sending to your billing system.
444
- - `aws_sns`: Use when you want invoice notifications published to an AWS SNS topic for event-driven billing workflows.
445
-
446
- ### Key response fields:
447
-
448
- The id for the customer billing configuration. This id can be used to associate the billing configuration to a contract.
449
-
450
- ### Usage guidelines:
451
-
452
- Must use the `delivery_method_id` if you have multiple Stripe accounts connected to Metronome.
453
-
454
- - `set_ingest_aliases_v1_customers` (`write`): Sets the ingest aliases for a customer. Use this endpoint to associate a Metronome customer with an internal ID for easier tracking between systems. Ingest aliases can be used in the `customer_id` field when sending usage events to Metronome.
455
-
456
- ### Usage guidelines:
457
-
458
- - This call is idempotent and fully replaces the set of ingest aliases for the given customer.
459
- - Switching an ingest alias from one customer to another will associate all corresponding usage to the new customer.
460
- - Use multiple ingest aliases to model child organizations within a single Metronome customer.
461
-
462
- - `set_name_v1_customers` (`write`): Updates the display name for a customer record. Use this to correct customer names, update business names after rebranding, or maintain accurate customer information for invoicing and reporting. Returns the updated customer object with the new name applied immediately across all billing documents and interfaces.
463
- - `update_config_v1_customers` (`write`): Update configuration settings for a specific customer, such as external system integrations (e.g., Salesforce account ID) and other customer-specific billing parameters. Use this endpoint to modify customer configurations without affecting core customer data like name or ingest aliases.
464
-
465
- ### Resource `v1.customers.alerts`:
466
-
467
- - `retrieve_customers_v1_alerts` (`write`): Retrieve the real-time evaluation status for a specific threshold notification-customer pair. This endpoint provides instant visibility into whether a customer has triggered a threshold notification condition, enabling you to monitor account health and take proactive action based on current threshold notification states.
468
-
469
- ### Use this endpoint to:
470
-
471
- - Check if a specific customer is currently violating an threshold notification (`in_alarm` status)
472
- - Verify threshold notification configuration details and threshold values for a customer
473
- - Monitor the evaluation state of newly created or recently modified threshold notification
474
- - Build dashboards or automated workflows that respond to specific threshold notification conditions
475
- - Validate threshold notification behavior before deploying to production customers
476
- - Integrate threshold notification status checks into customer support tools or admin interfaces
477
-
478
- ### Key response fields:
479
-
480
- A CustomerAlert object containing:
481
-
482
- - `customer_status`: The current evaluation state
483
-
484
- - `ok` - Customer is within acceptable thresholds
485
- - `in_alarm` - Customer has breached the threshold for the notification
486
- - `evaluating` - Notification is currently being evaluated (typically during initial setup)
487
- - `null` - Notification has been archived
488
- - `triggered_by`: Additional context about what caused the notification to trigger (when applicable)
489
- - alert: Complete threshold notification configuration including:
490
- - Notification ID, name, and type
491
- - Current threshold values and credit type information
492
- - Notification status (enabled, disabled, or archived)
493
- - Last update timestamp
494
- - Any applied filters (credit grant types, custom fields, group values)
495
-
496
- ### Usage guidelines:
497
-
498
- - Customer status: Returns the current evaluation state, not historical data. For threshold notification history, use webhook notifications or event logs
499
- - Required parameters: Both customer_id and alert_id must be valid UUIDs that exist in your organization
500
- - Archived notifications: Returns null for customer_status if the notification has been archived, but still includes the notification configuration details
501
- - Performance considerations: This endpoint queries live evaluation state, making it ideal for real-time monitoring but not for bulk status checks
502
- - Integration patterns: Best used for on-demand status checks in response to user actions or as part of targeted monitoring workflows
503
- - Error handling: Returns 404 if either the customer or alert_id doesn't exist or isn't accessible to your organization
504
-
505
- - `list_customers_v1_alerts` (`write`): Retrieve all threshold notification configurations and their current statuses for a specific customer in a single API call. This endpoint provides a comprehensive view of all threshold notification monitoring a customer account.
506
-
507
- ### Use this endpoint to:
508
-
509
- - Display all active threshold notifications for a customer in dashboards or admin panels
510
- - Quickly identify which threshold notifications a customer is currently triggering
511
- - Audit threshold notification coverage for specific accounts
512
- - Filter threshold notifications by status (enabled, disabled, or archived)
513
-
514
- ### Key response fields:
515
-
516
- - data: Array of CustomerAlert objects, each containing:
517
- - Current evaluation status (`ok`, `in_alarm`, `evaluating`, or `null`)
518
- - Complete threshold notification configuration and threshold details
519
- - Threshold notification metadata including type, name, and last update time
520
- - next_page: Pagination cursor for retrieving additional results
521
-
522
- ### Usage guidelines:
523
-
524
- - Default behavior: Returns only enabled threshold notifications unless `alert_statuses` filter is specified
525
- - Pagination: Use the `next_page` cursor to retrieve all results for customers with many notifications
526
- - Performance: Efficiently retrieves multiple threshold notification statuses in a single request instead of making individual calls
527
- - Filtering: Pass the `alert_statuses` array to include disabled or archived threshold notifications in results
528
-
529
- - `reset_customers_v1_alerts` (`write`): Force an immediate re-evaluation of a specific threshold notification for a customer, clearing any previous state and triggering a fresh assessment against current thresholds. This endpoint ensures threshold notification accuracy after configuration changes or data corrections.
530
-
531
- ### Use this endpoint to:
532
-
533
- - Clear false positive threshold notifications after fixing data issues
534
- - Re-evaluate threshold notifications after adjusting customer balances or credits
535
- - Test threshold notification behavior during development and debugging
536
- - Resolve stuck threshold notification that may be in an incorrect state
537
- - Trigger immediate evaluation after threshold modifications
538
-
539
- ### Key response fields:
540
-
541
- - 200 Success: Confirmation that the threshold notification has been reset and re-evaluation initiated
542
- - No response body is returned - the operation completes asynchronously
543
-
544
- ### Usage guidelines:
545
-
546
- - Immediate effect: Triggers re-evaluation instantly, which may result in new webhook notifications if thresholds are breached
547
- - State clearing: Removes any cached evaluation state, ensuring a fresh assessment
548
- - Use sparingly: Intended for exceptional cases, not routine operations
549
- - Asynchronous processing: The reset completes immediately, but re-evaluation happens in the background
550
-
551
- ### Resource `v1.customers.plans`:
552
-
553
- - `list_customers_v1_plans` (`read`): List the given customer's plans in reverse-chronological order. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
554
- - `add_customers_v1_plans` (`write`): Associate an existing customer with a plan for a specified date range. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details on the price adjustments. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
555
- - `end_customers_v1_plans` (`write`): Change the end date of a customer's plan. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
556
- - `list_price_adjustments_customers_v1_plans` (`read`): Lists a customer plans adjustments. See the [price adjustments documentation](https://plans-docs.metronome.com/pricing/managing-plans/#price-adjustments) for details. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
557
-
558
- ### Resource `v1.customers.invoices`:
559
-
560
- - `retrieve_customers_v1_invoices` (`read`): Retrieve detailed information for a specific invoice by its unique identifier. This endpoint returns comprehensive invoice data including line items, applied credits, totals, and billing period details for both finalized and draft invoices.
561
-
562
- ### Use this endpoint to:
563
-
564
- - Display historical invoice details in customer-facing dashboards or billing portals.
565
- - Retrieve current month draft invoices to show customers their month-to-date spend.
566
- - Access finalized invoices for historical billing records and payment reconciliation.
567
- - Validate customer pricing and credit applications for customer support queries.
568
-
569
- ### Key response fields:
570
-
571
- Invoice status (DRAFT, FINALIZED, VOID)
572
- Billing period start and end dates
573
- Total amount and amount due after credits
574
- Detailed line items broken down by:
575
-
576
- - Customer and contract information
577
- - Invoice line item type
578
- - Product/service name and ID
579
- - Quantity consumed
580
- - Unit and total price
581
- - Time period for usage-based charges
582
- - Applied credits or prepaid commitments
583
-
584
- ### Usage guidelines:
585
-
586
- - Draft invoices update in real-time as usage is reported and may change before finalization
587
- - The response includes both usage-based line items (e.g., API calls, data processed) and scheduled charges (e.g., monthly subscriptions, commitment fees)
588
- - Credit and commitment applications are shown as separate line items with negative amounts
589
- - For voided invoices, the response will indicate VOID status but retain all original line item details
590
-
591
- - `list_customers_v1_invoices` (`read`): Retrieves a paginated list of invoices for a specific customer, with flexible filtering options to narrow results by status, date range, credit type, and more. This endpoint provides a comprehensive view of a customer's billing history and current charges, supporting both real-time billing dashboards and historical reporting needs.
592
-
593
- ### Use this endpoint to:
594
-
595
- - Display historical invoice details in customer-facing dashboards or billing portals.
596
- - Retrieve current month draft invoices to show customers their month-to-date spend.
597
- - Access finalized invoices for historical billing records and payment reconciliation.
598
- - Validate customer pricing and credit applications for customer support queries.
599
- - Generate financial reports by filtering invoices within specific date ranges
600
-
601
- ### Key response fields:
602
-
603
- Array of invoice objects containing:
604
-
605
- - Invoice ID and status (DRAFT, FINALIZED, VOID)
606
- - Invoice type (USAGE, SCHEDULED)
607
- - Billing period start and end dates
608
- - Issue date and due date
609
- - Total amount, subtotal, and amount due
610
- - Applied credits summary
611
- - Contract ID reference
612
- - External billing provider status (if integrated with Stripe, etc.)
613
- - Pagination metadata `next_page` cursor
614
-
615
- ### Usage guidelines:
616
-
617
- - The endpoint returns invoice summaries; use the Get Invoice endpoint for detailed line items
618
- - Draft invoices are continuously updated as new usage is reported and will show real-time spend
619
- - Results are ordered by creation date descending by default (newest first)
620
- - When filtering by date range, the filter applies to the billing period, not the issue date
621
- - For customers with many invoices, implement pagination to ensure all results are retrieved
622
- External billing provider statuses (like Stripe payment status) are included when applicable
623
- - Voided invoices are included in results by default unless filtered out by status
624
-
625
- - `add_charge_customers_v1_invoices` (`write`): Add a one time charge to the specified invoice. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
626
- - `list_breakdowns_customers_v1_invoices` (`read`): Retrieve granular time-series breakdowns of invoice data at hourly or daily intervals. This endpoint transforms standard invoices into detailed timelines, enabling you to track usage patterns, identify consumption spikes, and provide customers with transparency into their billing details throughout the billing period.
627
-
628
- ### Use this endpoint to:
629
-
630
- - Build usage analytics dashboards showing daily or hourly consumption trends
631
- - Identify peak usage periods for capacity planning and cost optimization
632
- - Generate detailed billing reports for finance teams and customer success
633
- - Troubleshoot billing disputes by examining usage patterns at specific times
634
- - Power real-time cost monitoring and alerting systems
635
-
636
- ### Key response fields:
637
-
638
- An array of BreakdownInvoice objects, each containing:
639
-
640
- - All standard invoice fields (ID, customer, commit, line items, totals, status)
641
- - Line items with quantities and costs for that specific period
642
- - `breakdown_start_timestamp`: Start of the specific time window
643
- - `breakdown_end_timestamp`: End of the specific time window
644
- - `next_page`: Pagination cursor for large result sets
645
-
646
- ### Usage guidelines:
647
-
648
- - Time granularity: Set `window_size` to hour or day based on your analysis needs
649
- - Response limits: Daily breakdowns return up to 35 days; hourly breakdowns return up to 24 hours per request
650
- - Date filtering: Use `starting_on` and `ending_before` to focus on specific periods
651
- - Performance: For large date ranges, use pagination to retrieve all data efficiently
652
- - Backdated usage: If usage events arrive after invoice finalization, breakdowns will reflect the updated usage
653
- - Zero quantity filtering: Use `skip_zero_qty_line_items=true` to exclude periods with no usage
654
-
655
- - `retrieve_pdf_customers_v1_invoices` (`read`): Retrieve a PDF version of a specific invoice by its unique identifier. This endpoint generates a professionally formatted invoice document suitable for sharing with customers, accounting teams, or for record-keeping purposes.
656
-
657
- ### Use this endpoint to:
658
-
659
- - Provide customers with downloadable or emailable copies of their invoices
660
- - Support accounting and finance teams with official billing documents
661
- - Maintain accurate records of billing transactions for audits and compliance
662
-
663
- ### Key response details:
664
-
665
- - The response is a binary PDF file representing the full invoice
666
- - The PDF includes all standard invoice information such as line items, totals, billing period, and customer details
667
- - The document is formatted for clarity and professionalism, suitable for official use
668
-
669
- ### Usage guidelines:
670
-
671
- - Ensure the `invoice_id` corresponds to an existing invoice for the specified `customer_id`
672
- - The PDF is generated on-demand; frequent requests for the same invoice may impact performance
673
- - Use appropriate headers to handle the binary response in your application (e.g., setting `Content-Type: application/pdf`)
674
-
675
- ### Resource `v1.customers.billing_config`:
676
-
677
- - `create_customers_v1_billing_config` (`write`): Set the billing configuration for a given customer. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
678
- - `retrieve_customers_v1_billing_config` (`read`): Fetch the billing configuration for the given customer. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
679
- - `delete_customers_v1_billing_config` (`write`): Delete the billing configuration for a given customer.
680
- Note: this is unsupported for Azure and AWS Marketplace customers. This is a Plans (deprecated) endpoint. New clients should implement using Contracts.
681
-
682
- ### Resource `v1.customers.commits`:
683
-
684
- - `create_customers_v1_commits` (`write`): Creates customer-level commits that establish spending commitments for customers across their Metronome usage. Commits represent contracted spending obligations that can be either prepaid (paid upfront) or postpaid (billed later).
685
-
686
- Note: In most cases, you should add commitments directly to customer contracts using the contract/create or contract/edit APIs.
687
-
688
- ### Use this endpoint to:
689
-
690
- Use this endpoint when you need to establish customer-level spending commitments that can be applied across multiple contracts or scoped to specific contracts. Customer-level commits are ideal for:
691
-
692
- - Enterprise-wide minimum spending agreements that span multiple contracts
693
- - Multi-contract volume commitments with shared spending pools
694
- - Cross-contract discount tiers based on aggregate usage
695
-
696
- #### Commit type Requirements:
697
-
698
- - You must specify either "prepaid" or "postpaid" as the commit type:
699
- - Prepaid commits: Customer pays upfront; invoice_schedule is optional (if omitted, creates a commit without an invoice)
700
- - Postpaid commits: Customer pays when the commitment expires (the end of the access_schedule); invoice_schedule is required and must match access_schedule totals.
701
-
702
- #### Billing configuration:
703
-
704
- - invoice_contract_id is required for postpaid commits and for prepaid commits with billing (only optional for free prepaid commits) unless do_not_invoice is set to true
705
- - For postpaid commits: access_schedule and invoice_schedule must have matching amounts
706
- - For postpaid commits: only one schedule item is allowed in both schedules.
707
-
708
- #### Scoping flexibility:
709
-
710
- Customer-level commits can be configured in a few ways:
711
-
712
- - Contract-specific: Use the `applicable_contract_ids` field to limit the commit to specific contracts
713
- - Cross-contract: Leave `applicable_contract_ids` empty to allow the commit to be used across all of the customer's contracts
714
-
715
- #### Product targeting:
716
-
717
- Commits can be scoped to specific products using applicable_product_ids, applicable_product_tags, or specifiers, or left unrestricted to apply to all products.
718
-
719
- #### Priority considerations:
720
-
721
- When multiple commits are applicable, the one with the lower priority value will be consumed first. If there is a tie, contract level commits and credits will be applied before customer level commits and credits. Plan your priority scheme carefully to ensure commits are applied in the desired order.
722
-
723
- ### Usage guidelines:
724
-
725
- ⚠️ Preferred Alternative: In most cases, you should add commits directly to contracts using the create contract or edit contract APIs instead of creating customer-level commits. Contract-level commits provide better organization and are the recommended approach for standard use cases.
726
-
727
- - `list_customers_v1_commits` (`write`): Retrieve all commit agreements for a customer, including both prepaid and postpaid commitments. This endpoint provides comprehensive visibility into contractual spending obligations, enabling you to track commitment utilization and manage customer contracts effectively.
728
-
729
- ### Use this endpoint to:
730
-
731
- - Display commitment balances and utilization in customer dashboards
732
- - Track prepaid commitment drawdown and remaining balances
733
- - Monitor postpaid commitment progress toward minimum thresholds
734
- - Build commitment tracking and forecasting tools
735
- - Show commitment history with optional ledger details
736
- - Manage rollover balances between contract periods
737
-
738
- ### Key response fields:
739
-
740
- An array of Commit objects containing:
741
-
742
- - Commit type: PREPAID (pay upfront) or POSTPAID (pay at true-up)
743
- - Rate type: COMMIT_RATE (discounted) or LIST_RATE (standard pricing)
744
- - Access schedule: When commitment funds become available
745
- - Invoice schedule: When the customer is billed
746
- - Product targeting: Which product(s) usage is eligible to draw from this commit
747
- - Optional ledger entries: Transaction history (if `include_ledgers=true`)
748
- - Balance information: Current available amount (if `include_balance=true`)
749
- - Rollover settings: Fraction of unused amount that carries forward
750
-
751
- ### Usage guidelines:
752
-
753
- - Pagination: Results limited to 25 commits per page; use 'next_page' for more
754
- - Date filtering options:
755
- - `covering_date`: Commits active on a specific date
756
- - `starting_at`: Commits with access on/after a date
757
- - `effective_before`: Commits with access before a date (exclusive)
758
- - Scope options:
759
- - `include_contract_commits`: Include contract-level commits (not just customer-level)
760
- - `include_archived`: Include archived commits and commits from archived contracts
761
- - Performance considerations:
762
- - include_ledgers: Adds detailed transaction history (slower)
763
- - include_balance: Adds current balance calculation (slower)
764
- - Optional filtering: Use commit_id to retrieve a specific commit
765
-
766
- - `update_end_date_customers_v1_commits` (`write`): Shortens the end date of a prepaid commit to terminate it earlier than originally scheduled. Use this endpoint when you need to cancel or reduce the duration of an existing prepaid commit. Only works with prepaid commit types and can only move the end date forward (earlier), not extend it.
767
-
768
- ### Usage guidelines:
769
-
770
- To extend commit end dates or make other comprehensive edits, use the 'edit commit' endpoint instead.
771
-
772
- ### Resource `v1.customers.credits`:
773
-
774
- - `create_customers_v1_credits` (`write`): Creates customer-level credits that provide spending allowances or free credit balances for customers across their Metronome usage. Note: In most cases, you should add credits directly to customer contracts using the contract/create or contract/edit APIs.
775
-
776
- ### Use this endpoint to:
777
-
778
- Use this endpoint when you need to provision credits directly at the customer level that can be applied across multiple contracts or scoped to specific contracts. Customer-level credits are ideal for:
779
-
780
- - Customer onboarding incentives that apply globally
781
- - Flexible spending allowances that aren't tied to a single contract
782
- - Migration scenarios where you need to preserve existing customer balances
783
-
784
- #### Scoping flexibility:
785
-
786
- Customer-level credits can be configured in two ways:
787
-
788
- - Contract-specific: Use the applicable_contract_ids field to limit the credit to specific contracts
789
- - Cross-contract: Leave applicable_contract_ids empty to allow the credit to be used across all of the customer's contracts
790
-
791
- #### Product Targeting:
792
-
793
- Credits can be scoped to specific products using `applicable_product_ids` or `applicable_product_tags`, or left unrestricted to apply to all products.
794
-
795
- #### Priority considerations:
796
-
797
- When multiple credits are applicable, the one with the lower priority value will be consumed first. If there is a tie, contract level commits and credits will be applied before customer level commits and credits. Plan your priority scheme carefully to ensure credits are applied in the desired order.
798
-
799
- #### Access Schedule Required:
800
-
801
- You must provide an `access_schedule` that defines when and how much credit becomes available to the customer over time. This usually is aligned to the contract schedule or starts immediately and is set to expire in the future.
802
-
803
- ### Usage Guidelines:
804
-
805
- ⚠️ Preferred Alternative: In most cases, you should add credits directly to contracts using the contract/create or contract/edit APIs instead of creating customer-level credits. Contract-level credits provide better organization, and are easier for finance teams to recognize revenue, and are the recommended approach for most use cases.
806
-
807
- - `list_customers_v1_credits` (`write`): Retrieve a detailed list of all credits available to a customer, including promotional credits and contract-specific credits. This endpoint provides comprehensive visibility into credit balances, access schedules, and usage rules, enabling you to build credit management interfaces and track available funding.
808
-
809
- ### Use this endpoint to:
810
-
811
- - Display all available credits in customer billing dashboards
812
- - Show credit balances and expiration dates
813
- - Track credit usage history with optional ledger details
814
- - Build credit management and reporting tools
815
- - Monitor promotional credit utilization
816
- • Support customer inquiries about available credits
817
-
818
- ### Key response fields:
819
-
820
- An array of Credit objects containing:
821
-
822
- - Credit details: Name, priority, and which applicable products/tags it applies to
823
- - Product ID: The `product_id` of the credit. This is for external mapping into your quote-to-cash stack, not the product it applies to.
824
- - Access schedule: When credits become available and expire
825
- - Optional ledger entries: Transaction history (if `include_ledgers=true`)
826
- - Balance information: Current available amount (if `include_balance=true`)
827
- - Metadata: Custom fields and usage specifiers
828
-
829
- ### Usage guidelines:
830
-
831
- - Pagination: Results limited to 25 commits per page; use next_page for more
832
- - Date filtering options:
833
- - `covering_date`: Credits active on a specific date
834
- - `starting_at`: Credits with access on/after a date
835
- - `effective_before`: Credits with access before a date (exclusive)
836
- - Scope options:
837
- - `include_contract_credits`: Include contract-level credits (not just customer-level)
838
- - `include_archived`: Include archived credits and credits from archived contracts
839
- - Performance considerations:
840
- - `include_ledgers`: Adds detailed transaction history (slower)
841
- - `include_balance`: Adds current balance calculation (slower)
842
- - Optional filtering: Use credit_id to retrieve a specific commit
843
-
844
- - `update_end_date_customers_v1_credits` (`write`): Shortens the end date of an existing customer credit to terminate it earlier than originally scheduled. Only allows moving end dates forward (earlier), not extending them.
845
-
846
- Note: To extend credit end dates or make comprehensive edits, use the 'edit credit' endpoint instead.
847
-
848
- ### Resource `v1.customers.named_schedules`:
849
-
850
- - `retrieve_customers_v1_named_schedules` (`write`): Get a named schedule for the given customer. This endpoint's availability is dependent on your client's configuration.
851
- - `update_customers_v1_named_schedules` (`write`): Update a named schedule for the given customer. This endpoint's availability is dependent on your client's configuration.
852
-
853
- ### Resource `v1.dashboards`:
854
-
855
- - `get_embeddable_url_v1_dashboards` (`write`): Generate secure, embeddable dashboard URLs that allow you to seamlessly integrate Metronome's billing visualizations directly into your application. This endpoint creates authenticated iframe-ready URLs for customer-specific dashboards, providing a white-labeled billing experience without building custom UI.
856
-
857
- ### Use this endpoint to:
858
-
859
- - Embed billing dashboards directly in your customer portal or admin interface
860
- - Provide self-service access to invoices, usage data, and credit balances
861
- - Build white-labeled billing experiences with minimal development effort
862
-
863
- ### Key response fields:
864
-
865
- - A secure, time-limited URL that can be embedded in an iframe
866
- - The URL includes authentication tokens and configuration parameters
867
- - URLs are customer-specific and respect your security settings
868
-
869
- ### Usage guidelines:
870
-
871
- - Dashboard types: Choose from `invoices`, `usage`, or `commits_and_credits`
872
- - Customization options:
873
- - `dashboard_options`: Configure whether you want invoices to show zero usage line items
874
- - `color_overrides`: Match your brand's color palette
875
- - `bm_group_key_overrides`: Customize how dimensions are displayed (for the usage embeddable dashboard)
876
- - Iframe implementation: Embed the returned URL directly in an iframe element
877
- - Responsive design: Dashboards automatically adapt to container dimensions
878
-
879
- ### Resource `v1.usage`:
880
-
881
- - `list_v1_usage` (`write`): Retrieve aggregated usage data across multiple customers and billable metrics in a single query. This batch endpoint enables you to fetch usage patterns at scale, broken down by time windows, making it ideal for building analytics dashboards, generating reports, and monitoring platform-wide usage trends.
882
-
883
- ### Use this endpoint to:
884
-
885
- - Generate platform-wide usage reports for internal teams
886
- - Monitor aggregate usage trends across your entire customer base
887
- - Create comparative usage analyses between customers or time periods
888
- - Support capacity planning with historical usage patterns
889
-
890
- ### Key response fields:
891
-
892
- An array of `UsageBatchAggregate` objects containing:
893
-
894
- - `customer_id`: The customer this usage belongs to
895
- - `billable_metric_id` and `billable_metric_name`: What was measured
896
- - `start_timestamp` and `end_timestamp`: Time window for this data point
897
- - `value`: Aggregated usage amount for the period
898
- - `groups` (optional): Usage broken down by group keys with values
899
- - `next_page`: Pagination cursor for large result sets
900
-
901
- ### Usage guidelines:
902
-
903
- - Time windows: Set `window_size` to `hour`, `day`, or `none` (entire period)
904
- - Required parameters: Must specify `starting_on`, `ending_before`, and `window_size`
905
- - Filtering options:
906
- - `customer_ids`: Limit to specific customers (omit for all customers)
907
- - `billable_metrics`: Limit to specific metrics (omit for all metrics)
908
- - Pagination: Use `next_page` cursor to retrieve large datasets
909
- - Null values: Group values may be null when no usage matches that group
910
-
911
- - `ingest_v1_usage` (`write`): The ingest endpoint is the primary method for sending usage events to Metronome, serving as the foundation for all billing calculations in your usage-based pricing model. This high-throughput endpoint is designed for real-time streaming ingestion, supports backdating 34 days, and is built to handle mission-critical usage data with enterprise-grade reliability. Metronome supports 100,000 events per second without requiring pre-aggregation or rollups and can scale up from there. See the [Send usage events](/guides/events/send-usage-events) guide to learn more about usage events.
912
-
913
- ### Use this endpoint to:
914
-
915
- Create a customer usage pipeline into Metronome that drives billable metrics, credit drawdown, and invoicing. Track customer behavior, resource consumption, and feature usage
916
-
917
- ### What happens when you send events:
918
-
919
- - Events are validated and processed in real-time
920
- - Events are matched to customers using customer IDs or customer ingest aliases
921
- - Events are matched to billable metrics and are immediately available for usage and spend calculations
922
-
923
- ### Usage guidelines:
924
-
925
- - Historical events can be backdated up to 34 days and will immediately impact live customer spend
926
- - Duplicate events are automatically detected and ignored (34-day deduplication window)
927
-
928
- #### Event structure:
929
-
930
- Usage events are simple JSON objects designed for flexibility and ease of integration:
931
-
932
- ```json
933
- {
934
- "transaction_id": "2021-01-01T00:00:00Z_cluster42",
935
- "customer_id": "team@example.com",
936
- "event_type": "api_request",
937
- "timestamp": "2021-01-01T00:00:00Z",
938
- "properties": {
939
- "endpoint": "/v1/users",
940
- "method": "POST",
941
- "response_time_ms": 45,
942
- "region": "us-west-2"
943
- }
944
- }
945
- ```
946
-
947
- Learn more about [usage event structure definitions](/guides/events/design-usage-events).
948
-
949
- #### Transaction ID
950
-
951
- The transaction_id serves as your idempotency key, ensuring events are processed exactly once. Metronome maintains a 34-day deduplication window - significantly longer than typical 12-hour windows - enabling robust backfill scenarios without duplicate billing.
952
-
953
- - Best Practices:
954
- - Use UUIDs for one-time events: uuid4()
955
- - For heartbeat events, use deterministic IDs
956
- - Include enough context to avoid collisions across different event sources
957
-
958
- #### Customer ID
959
-
960
- Identifies which customer should be billed for this usage. Supports two identification methods:
961
-
962
- - Metronome Customer ID: The UUID returned when creating a customer
963
- - Ingest Alias: Your system's identifier (email, account number, etc.)
964
-
965
- Ingest aliases enable seamless integration without requiring ID mapping, and customers can have multiple aliases for flexibility.
966
-
967
- #### Event Type:
968
-
969
- Categorizes the event type for billable metric matching. Choose descriptive names that aligns with the product surface area.
970
-
971
- #### Properties:
972
-
973
- Flexible metadata also used to match billable metrics or to be used to serve as group keys to create multiple pricing dimensions or breakdown costs by novel properties for end customers or internal finance teams measuring underlying COGs.
974
-
975
- - `list_with_groups_v1_usage` (`write`): Retrieve granular usage data for a specific customer and billable metric, with the ability to break down usage by custom grouping dimensions. This endpoint enables deep usage analytics by segmenting data across attributes like region, user, model type, or any custom dimension defined in your billable metrics.
976
-
977
- ### Use this endpoint to:
978
-
979
- - Analyze usage patterns broken down by specific attributes (region, user, department, etc.)
980
- - Build detailed usage dashboards with dimensional filtering
981
- - Identify high-usage segments for optimization opportunities
982
-
983
- ### Key response fields:
984
-
985
- An array of `PagedUsageAggregate` objects containing:
986
-
987
- - `starting_on` and `ending_before`: Time window boundaries
988
- - `group_key`: The dimension being grouped by (e.g., "region")
989
- - `group_value`: The specific value for this group (e.g., "US-East")
990
- - `value`: Aggregated usage for this group and time window
991
- - `next_page`: Pagination cursor for large datasets
992
-
993
- ### Usage guidelines:
994
-
995
- - Required parameters: Must specify `customer_id`, `billable_metric_id`, and `window_size`
996
- - Time windows: Set `window_size` to hour, day, or none for different granularities
997
- - Group filtering: Use `group_by` to specify:
998
- - key: The dimension to group by (must be set on the billable metric as a group key)
999
- - values: Optional array to filter to specific values only
1000
- - Pagination: Use limit and `next_page` for large result sets
1001
- - Null handling: `group_value` may be null for unmatched data
1002
-
1003
- - `search_v1_usage` (`write`): This endpoint retrieves events by transaction ID for events that occurred within the last 34 days. It is specifically designed for sampling-based testing workflows to detect revenue leakage. The Event Search API provides a critical observability tool that validates the integrity of your usage pipeline by allowing you to sample raw events and verify their matching against active billable metrics.
1004
-
1005
- Why event observability matters for revenue leakage:
1006
- Silent revenue loss occurs when events are dropped, delayed, or fail to match billable metrics due to:
1007
-
1008
- - Upstream system failures
1009
- - Event format changes
1010
- - Misconfigured billable metrics
1011
-
1012
- ### Use this endpoint to:
1013
-
1014
- - Sample raw events and validate they match the expected billable metrics
1015
- - Build custom leakage detection alerts to prevent silent revenue loss
1016
- - Verify event processing accuracy during system changes or metric updates
1017
- - Debug event matching issues in real-time
1018
-
1019
- ### Key response fields:
1020
-
1021
- - Complete event details including transaction ID, customer ID, and properties
1022
- - Matched Metronome customer (if any)
1023
- - Matched billable metric information (if any)
1024
- - Processing status and duplicate detection flags
1025
-
1026
- ### Usage guidelines:
1027
-
1028
- ⚠️ Important: This endpoint is heavily rate limited and designed for sampling workflows only. Do not use this endpoint to check every event in your system. Instead, implement a sampling strategy to randomly validate a subset of events for observability purposes.
1029
-
1030
- ### Resource `v1.audit_logs`:
1031
-
1032
- - `list_v1_audit_logs` (`read`): Get a comprehensive audit trail of all operations performed in your Metronome account, whether initiated through the API, web interface, or automated processes. This endpoint provides detailed logs of who did what and when, enabling compliance reporting, security monitoring, and operational troubleshooting across all interaction channels.
1033
-
1034
- ### Use this endpoint to:
1035
-
1036
- - Monitor all account activity for security and compliance purposes
1037
- - Track configuration changes regardless of source (API, UI, or system)
1038
- - Investigate issues by reviewing historical operations
1039
-
1040
- ### Key response fields:
1041
-
1042
- An array of AuditLog objects containing:
1043
-
1044
- - id: Unique identifier for the audit log entry
1045
- - timestamp: When the action occurred (RFC 3339 format)
1046
- - actor: Information about who performed the action
1047
- - request: Details including request ID, IP address, and user agent
1048
- - `resource_type`: The type of resource affected (e.g., customer, contract, invoice)
1049
- - `resource_id`: The specific resource identifier
1050
- - `action`: The operation performed
1051
- - `next_page`: Cursor for continuous log retrieval
1052
-
1053
- ### Usage guidelines:
1054
-
1055
- - Continuous retrieval: The next_page token enables uninterrupted log streaming—save it between requests to ensure no logs are missed
1056
- - Empty responses: An empty data array means no new logs yet; continue polling with the same next_page token
1057
- - Date filtering:
1058
- - `starting_on`: Earliest logs to return (inclusive)
1059
- - `ending_before`: Latest logs to return (exclusive)
1060
- - Cannot be used with `next_page`
1061
- - Resource filtering: Must specify both `resource_type` and `resource_id` together
1062
- - Sort order: Default is `date_asc`; use `date_desc` for newest first
1063
-
1064
- ### Resource `v1.custom_fields`:
1065
-
1066
- - `add_key_v1_custom_fields` (`write`): Creates a new custom field key for a given entity (e.g. billable metric, contract, alert).
1067
-
1068
- Custom fields are properties that you can add to Metronome objects to store metadata like foreign keys or other descriptors. This metadata can get transferred to or accessed by other systems to contextualize Metronome data and power business processes. For example, to service workflows like revenue recognition, reconciliation, and invoicing, custom fields help Metronome know the relationship between entities in the platform and third-party systems.
1069
-
1070
- ### Use this endpoint to:
1071
-
1072
- - Create a new custom field key for Customer objects in Metronome. You can then use the Set Custom Field Values endpoint to set the value of this key for a specific customer.
1073
- - Specify whether the key should enforce uniqueness. If the key is set to enforce uniqueness and you attempt to set a custom field value for the key that already exists, it will fail.
1074
-
1075
- ### Usage guidelines:
1076
-
1077
- - Custom fields set on commits, credits, and contracts can be used to scope alert evaluation. For example, you can create a spend threshold alert that only considers spend associated with contracts with custom field key `contract_type` and value `paygo`
1078
- - Custom fields set on products can be used in the Stripe integration to set metadata on invoices.
1079
- - Custom fields for customers, contracts, invoices, products, commits, scheduled charges, and subscriptions are passed down to the invoice.
1080
-
1081
- - `delete_values_v1_custom_fields` (`write`): Remove specific custom field values from a Metronome entity instance by specifying the field keys to delete. Use this endpoint to clean up unwanted custom field data while preserving other fields on the same entity. Requires the entity type, entity ID, and array of keys to remove.
1082
- - `list_keys_v1_custom_fields` (`write`): Retrieve all your active custom field keys, with optional filtering by entity type (customer, contract, product, etc.). Use this endpoint to discover what custom field keys are available before setting values on entities or to audit your custom field configuration across different entity types.
1083
- - `remove_key_v1_custom_fields` (`write`): Removes a custom field key from the allowlist for a specific entity type, preventing future use of that key across all instances of the entity. Existing values for this key on entity instances will no longer be accessible once the key is removed.
1084
- - `set_values_v1_custom_fields` (`write`): Sets custom field values on a specific Metronome entity instance. Overwrites existing values for matching keys while preserving other fields. All updates are transactional—either all values are set or none are. Custom field values are limited to 200 characters each.
1085
-
1086
- ### Resource `v1.billable_metrics`:
1087
-
1088
- - `create_v1_billable_metrics` (`write`): Create billable metrics programmatically with this endpoint—an essential step in configuring your pricing and packaging in Metronome.
1089
-
1090
- A billable metric is a customizable query that filters and aggregates events from your event stream. These metrics are continuously tracked as usage data enters Metronome through the ingestion pipeline. The ingestion process transforms raw usage data into actionable pricing metrics, enabling accurate metering and billing for your products.
1091
-
1092
- ### Use this endpoint to:
1093
-
1094
- - Create individual or multiple billable metrics as part of a setup workflow.
1095
- - Automate the entire pricing configuration process, from metric creation to customer contract setup.
1096
- - Define metrics using either standard filtering/aggregation or a custom SQL query.
1097
-
1098
- ### Key response fields:
1099
-
1100
- - The ID of the billable metric that was created
1101
- - The created billable metric will be available to be used in Products, usage endpoints, and alerts.
1102
-
1103
- ### Usage guidelines:
1104
-
1105
- - Metrics defined using standard filtering and aggregation are Streaming billable metrics, which have been optimized for ultra low latency and high throughput workflows.
1106
- - Use SQL billable metrics if you require more flexible aggregation options.
1107
-
1108
- - `retrieve_v1_billable_metrics` (`read`): Retrieves the complete configuration for a specific billable metric by its ID. Use this to review billable metric setup before associating it with products. Returns the metric's `name`, `event_type_filter`, `property_filters`, `aggregation_type`, `aggregation_key`, `group_keys`, `custom fields`, and `SQL query` (if it's a SQL billable metric).
1109
-
1110
- Important:
1111
-
1112
- - Archived billable metrics will include an `archived_at` timestamp; they no longer process new usage events but remain accessible for historical reference.
1113
-
1114
- - `list_v1_billable_metrics` (`read`): Retrieves all billable metrics with their complete configurations. Use this for programmatic discovery and management of billable metrics, such as associating metrics to products and auditing for orphaned or archived metrics.
1115
- Important: Archived metrics are excluded by default; use `include_archived`=`true` parameter to include them.
1116
- - `archive_v1_billable_metrics` (`write`): Use this endpoint to retire billable metrics that are no longer used. After a billable metric is archived, that billable metric can no longer be used in any new Products to define how that product should be metered. If you archive a billable metric that is already associated with a Product, the Product will continue to function as usual, metering based on the definition of the archived billable metric.
1117
-
1118
- Archived billable metrics will be returned on the `getBillableMetric` and `listBillableMetrics` endpoints with a populated `archived_at` field.
1119
-
1120
- ### Resource `v1.services`:
1121
-
1122
- - `list_v1_services` (`read`): Gets Metronome's service registry with associated IP addresses for security allowlisting and firewall configuration. Use this endpoint to maintain an up-to-date list of IPs that your systems should trust for Metronome communications. Returns service names and their current IP ranges, with new IPs typically appearing 30+ days before first use to ensure smooth allowlist updates.
1123
-
1124
- ### Resource `v1.invoices`:
1125
-
1126
- - `regenerate_v1_invoices` (`write`): This endpoint regenerates a voided invoice and recalculates the invoice based on up-to-date rates, available balances, and other fees regardless of the billing period.
1127
-
1128
- ### Use this endpoint to:
1129
-
1130
- Recalculate an invoice with updated rate terms, available balance, and fees to correct billing disputes or discrepancies
1131
-
1132
- ### Key response fields:
1133
-
1134
- The regenerated invoice id, which is distinct from the previously voided invoice.
1135
-
1136
- ### Usage guidelines:
1137
-
1138
- If an invoice is attached to a contract with a billing provider on it, the regenerated invoice will be distributed based on the configuration.
1139
-
1140
- - `void_v1_invoices` (`write`): Permanently cancels an invoice by setting its status to voided, preventing collection and removing it from customer billing. Use this to correct billing errors, cancel incorrect charges, or handle disputed invoices that should not be collected. Returns the voided invoice ID with the status change applied immediately to stop any payment processing.
1141
-
1142
- ### Resource `v1.contracts`:
1143
-
1144
- - `create_v1_contracts` (`write`): Contracts define a customer's products, pricing, discounts, access duration, and billing configuration. Contracts serve as the central billing agreement for both PLG and Enterprise customers, you can automatically customers access to your products and services directly from your product or CRM.
1145
-
1146
- ### Use this endpoint to:
1147
-
1148
- - PLG onboarding: Automatically provision new self-serve customers with contracts when they sign up.
1149
- - Enterprise sales: Push negotiated contracts from Salesforce with custom pricing and commitments
1150
- - Promotional pricing: Implement time-limited discounts and free trials through overrides
1151
-
1152
- ### Key components:
1153
-
1154
- #### Contract Term and Billing Schedule
1155
-
1156
- - Set contract duration using `starting_at` and `ending_before` fields. PLG contracts typically use perpetual agreements (no end date), while Enterprise contracts have fixed end dates which can be edited over time in the case of co-term upsells.
1157
-
1158
- #### Rate Card
1159
-
1160
- If you are offering usage based pricing, you can set a rate card for the contract to reference through `rate_card_id` or `rate_card_alias`. The rate card is a store of all of your usage based products and their centralized pricing. Any new products or price changes on the rate card can be set to automatically propagate to all associated contracts - this ensures consistent pricing and product launches flow to contracts without manual updates and migrations. The `usage_statement_schedule` determines the cadence on which Metronome will finalize a usage invoice for the customer. This defaults to monthly on the 1st, with options for custom dates, quarterly, or annual cadences. Note: Most usage based billing companies align usage statements to be evaluated aligned to the first of the month.
1161
- Read more about [Rate Cards](https://docs.metronome.com/pricing-packaging/create-manage-rate-cards/).
1162
-
1163
- #### Overrides and discounts
1164
-
1165
- Customize pricing on the contract through time-bounded overrides that can target specific products, product families, or complex usage scenarios. Overrides enable two key capabilities:
1166
-
1167
- - Discounts: Apply percentage discounts, fixed rate reductions, or quantity-based pricing tiers
1168
- - Entitlements: Provide special pricing or access to specific products for negotiated deals
1169
-
1170
- Read more about [Contract Overrides](https://docs.metronome.com/manage-product-access/add-contract-override/).
1171
-
1172
- #### Commits and Credits
1173
-
1174
- Using commits, configure prepaid or postpaid spending commitments where customers promise to spend a certain amount over the contract period paid in advance or in arrears. Use credits to provide free spending allowances. Under the hood these are the same mechanisms, however, credits are typically offered for free (SLA or promotional) or as a part of an allotment associated with a Subscription.
1175
-
1176
- In Metronome, you can set commits and credits to only be applicable for a subset of usage. Use `applicable_product_ids` or `applicable_product_tags` to create product or product-family specific commits or credits, or you can build complex boolean logic specifiers to target usage based on pricing and presentation group values using `override_specifiers`.
1177
-
1178
- These objects can also also be configured to have a recurrence schedule to easily model customer packaging which includes recurring monthly or quarterly allotments.
1179
-
1180
- Commits support rollover settings (`rollover_fraction`) to transfer unused balances between contract periods, either entirely or as a percentage.
1181
-
1182
- Read more about [Credits and Commits](https://docs.metronome.com/pricing-packaging/apply-credits-commits/).
1183
-
1184
- #### Subscriptions
1185
-
1186
- You can add a fixed recurring charge to a contract, like monthly licenses or seat-based fees, using the subscription charge. Subscription charges are defined on your rate card and you can select which subscription is applicable to add to each contract. When you add a subscription to a contract you need to:
1187
-
1188
- - Define whether the subscription is paid for in-advance or in-arrears (`collection_schedule`)
1189
- - Define the proration behavior (`proration`)
1190
- - Specify an initial quantity (`initial_quantity`)
1191
- - Define which subscription rate on the rate card should be used (`subscription_rate`)
1192
-
1193
- Read more about [Subscriptions](https://docs.metronome.com/manage-product-access/create-subscription/).
1194
-
1195
- #### Scheduled Charges
1196
-
1197
- Set up one-time, recurring, or entirely custom charges that occur on specific dates, separate from usage-based billing or commitments. These can be used to model non-recurring platform charges or professional services.
1198
-
1199
- #### Threshold Billing
1200
-
1201
- Metronome allows you to configure automatic billing triggers when customers reach spending thresholds to prevent fraud and manage risk. You can use `spend_threshold_configuration` to trigger an invoice to cover current charges whenever the threshold is reached or you can ensure the customer maintains a minimum prepaid balance using the `prepaid_balance_configuration`.
1202
-
1203
- Read more about [Spend Threshold](https://docs.metronome.com/manage-product-access/spend-thresholds/) and [Prepaid Balance Thresholds](https://docs.metronome.com/manage-product-access/prepaid-balance-thresholds/).
1204
-
1205
- ### Usage guidelines:
1206
-
1207
- - You can always [Edit Contracts](https://docs.metronome.com/manage-product-access/edit-contract/) after it has been created, using the `editContract` endpoint. Metronome keeps track of all edits, both in the audit log and over the `getEditHistory` endpoint.
1208
- - Customers in Metronome can have multiple concurrent contracts at one time. Use `usage_filters` to route the correct usage to each contract. [Read more about usage filters](https://docs.metronome.com/manage-product-access/provision-customer/#create-a-usage-filter).
1209
-
1210
- - `retrieve_v1_contracts` (`write`): This is the v1 endpoint to get a contract. New clients should implement using the v2 endpoint.
1211
- - `list_v1_contracts` (`write`): Retrieves all contracts for a specific customer, including pricing, terms, credits, and commitments. Use this to view a customer's contract history and current agreements for billing management. Returns contract details with optional ledgers and balance information.
1212
-
1213
- ⚠️ Note: This is the legacy v1 endpoint - new integrations should use the v2 endpoint for enhanced features.
1214
-
1215
- - `add_manual_balance_entry_v1_contracts` (`write`): Manually adjust the available balance on a commit or credit. This entry is appended to the commit ledger as a new event. Optionally include a description that provides the reasoning for the entry.
1216
-
1217
- ### Use this endpoint to:
1218
-
1219
- - Address incorrect usage burn-down caused by malformed usage or invalid config
1220
- - Decrease available balance to account for outages where usage may have not been tracked or sent to Metronome
1221
- - Issue credits to customers in the form of increased balance on existing commit or credit
1222
-
1223
- ### Usage guidelines:
1224
-
1225
- Manual ledger entries can be extremely useful for resolving discrepancies in Metronome. However, most corrections to inaccurate billings can be modified upstream of the commit, whether that is via contract editing, rate editing, or other actions that cause an invoice to be recalculated.
1226
-
1227
- - `amend_v1_contracts` (`write`): Amendments will be replaced by Contract editing. New clients should implement using the `editContract` endpoint. Read more about the migration to contract editing [here](/guides/implement-metronome/migrate-amendments-to-edits/) and reach out to your Metronome representative for more details. Once contract editing is enabled, access to this endpoint will be removed.
1228
- - `archive_v1_contracts` (`write`): Permanently end and archive a contract along with all its terms. Any draft invoices will be canceled, and all upcoming scheduled invoices will be voided–also all finalized invoices can optionally be voided. Use this in the event a contract was incorrectly created and needed to be removed from a customer.
1229
-
1230
- #### Impact on commits and credits:
1231
-
1232
- When archiving a contract, all associated commits and credits are also archived. For prepaid commits with active segments, Metronome automatically generates expiration ledger entries to close out any remaining balances, ensuring accurate accounting of unused prepaid amounts. These ledger entries will appear in the commit's transaction history with type `PREPAID_COMMIT_EXPIRATION`.
1233
-
1234
- #### Archived contract visibility:
1235
-
1236
- Archived contracts remain accessible for historical reporting and audit purposes. They can be retrieved using the `ListContracts` endpoint by setting the `include_archived` parameter to `true` or in the Metronome UI when the "Show archived" option is enabled.
1237
-
1238
- - `create_historical_invoices_v1_contracts` (`write`): Create historical usage invoices for past billing periods on specific contracts. Use this endpoint to generate retroactive invoices with custom usage line items, quantities, and date ranges. Supports preview mode to validate invoice data before creation. Ideal for billing migrations or correcting past billing periods.
1239
- - `list_balances_v1_contracts` (`write`): Retrieve a comprehensive view of all available balances (commits and credits) for a customer. This endpoint provides real-time visibility into prepaid funds, postpaid commitments, promotional credits, and other balance types that can offset usage charges, helping you build transparent billing experiences.
1240
-
1241
- ### Use this endpoint to:
1242
-
1243
- - Display current available balances in customer dashboards
1244
- - Verify available funds before approving high-usage operations
1245
- - Generate balance reports for finance teams
1246
- - Filter balances by contract or date ranges
1247
-
1248
- ### Key response fields:
1249
-
1250
- An array of balance objects (all credits and commits) containing:
1251
-
1252
- - Balance details: Current available amount for each commit or credit
1253
- - Metadata: Product associations, priorities, applicable date ranges
1254
- - Optional ledger entries: Detailed transaction history (if `include_ledgers=true`)
1255
- - Balance calculations: Including pending transactions and future-dated entries
1256
- - Custom fields: Any additional metadata attached to balances
1257
-
1258
- ### Usage guidelines:
1259
-
1260
- - Date filtering: Use `effective_before` to include only balances with access before a specific date (exclusive)
1261
- - Set `include_balance=true` for calculated balance amounts on each commit or credit
1262
- - Set `include_ledgers=true` for full transaction history
1263
- - Set `include_contract_balances = true` to see contract level balances
1264
- - Balance logic: Reflects currently accessible amounts, excluding expired/future segments
1265
- - Manual adjustments: Includes all manual ledger entries, even future-dated ones
1266
-
1267
- - `retrieve_rate_schedule_v1_contracts` (`write`): For a specific customer and contract, get the rates at a specific point in time. This endpoint takes the contract's rate card into consideration, including scheduled changes. It also takes into account overrides on the contract.
1268
-
1269
- For example, if you want to show your customer a summary of the prices they are paying, inclusive of any negotiated discounts or promotions, use this endpoint. This endpoint only returns rates that are entitled.
1270
-
1271
- - `retrieve_subscription_quantity_history_v1_contracts` (`write`): Get the history of subscription quantities and prices over time for a given `subscription_id`. This endpoint can be used to power an in-product experience where you show a customer their historical changes to seat count. Future changes are not included in this endpoint - use the `getContract` endpoint to view the future scheduled changes to a subscription's quantity.
1272
-
1273
- Subscriptions are used to model fixed recurring fees as well as seat-based recurring fees. To model changes to the number of seats in Metronome, you can increment or decrement the quantity on a subscription at any point in the past or future.
1274
-
1275
- - `schedule_pro_services_invoice_v1_contracts` (`write`): Create a new scheduled invoice for Professional Services terms on a contract. This endpoint's availability is dependent on your client's configuration.
1276
- - `set_usage_filter_v1_contracts` (`write`): If a customer has multiple contracts with overlapping rates, the usage filter routes usage to the appropriate contract based on a predefined group key.
1277
-
1278
- As an example, imagine you have a customer associated with two projects. Each project is associated with its own contract. You can create a usage filter with group key `project_id`
1279
- on each contract, and route usage for `project_1` to the first contract and `project_2` to the second contract.
1280
-
1281
- ### Use this endpoint to:
1282
-
1283
- - Support enterprise contracting scenarios where multiple contracts are associated to the same customer with the same rates.
1284
- - Update the usage filter associated with the contract over time.
1285
-
1286
- ### Usage guidelines:
1287
-
1288
- To use usage filters, the `group_key` must be defined on the billable metrics underlying the rate card on the contracts.
1289
-
1290
- - `update_end_date_v1_contracts` (`write`): Update or add an end date to a contract. Ending a contract early will impact draft usage statements, truncate any terms, and remove upcoming scheduled invoices. Moving the date into the future will only extend the contract length. Terms and scheduled invoices are not extended. In-advance subscriptions will not be extended. Use this if a contract's end date has changed or if a perpetual contract ends.
1291
-
1292
- ### Resource `v1.contracts.products`:
1293
-
1294
- - `create_contracts_v1_products` (`write`): Create a new product object. Products in Metronome represent your company's individual product or service offerings. A Product can be thought of as the basic unit of a line item on the invoice. This is analogous to SKUs or items in an ERP system. Give the product a meaningful name as they will appear on customer invoices.
1295
- - `retrieve_contracts_v1_products` (`write`): Retrieve a product by its ID, including all metadata and historical changes.
1296
- - `update_contracts_v1_products` (`write`): Updates a product's configuration while maintaining billing continuity for active customers. Use this endpoint to modify product names, metrics, pricing rules, and composite settings without disrupting ongoing billing cycles. Changes are scheduled using the starting_at timestamp, which must be on an hour boundary—set future dates to schedule updates ahead of time, or past dates for retroactive changes. Returns the updated product ID upon success.
1297
-
1298
- ### Usage guidance:
1299
-
1300
- - Product type cannot be changed after creation. For incorrect product types, create a new product and archive the original instead.
1301
-
1302
- - `list_contracts_v1_products` (`write`): Get a paginated list of all products in your organization with their complete configuration, version history, and metadata. By default excludes archived products unless explicitly requested via the `archive_filter` parameter.
1303
- - `archive_contracts_v1_products` (`write`): Archive a product. Any current rate cards associated with this product will continue to function as normal. However, it will no longer be available as an option for newly created rates. Once you archive a product, you can still retrieve it in the UI and API, but you cannot unarchive it.
1304
-
1305
- ### Resource `v1.contracts.rateCards`:
1306
-
1307
- - `create_contracts_v1_rate_cards` (`write`): In Metronome, the rate card is the central location for your pricing. Rate cards were built with new product launches and pricing changes in mind - you can update your products and pricing in one place, and that change will be automatically propagated across your customer cohorts. Most clients need only maintain one or a few rate cards within Metronome.
1308
-
1309
- ### Use this endpoint to:
1310
-
1311
- - Create a rate card with a name and description
1312
- - Define the rate card's single underlying fiat currency, and any number of conversion rates between that fiat currency and custom pricing units. You can then add products and associated rates in the fiat currency or custom pricing unit for which you have defined a conversion rate.
1313
- - Set aliases for the rate card. Aliases are human-readable names that you can use in the place of the id of the rate card when provisioning a customer's contract. By using an alias, you can easily create a contract and provision a customer by choosing the paygo rate card, without storing the rate card id in your internal systems. This is helpful when launching a new rate card for paygo customers, you can update the alias for paygo to be scheduled to be assigned to the new rate card without updating your code.
1314
-
1315
- ### Key response fields:
1316
-
1317
- - The ID of the rate card you just created
1318
-
1319
- ### Usage guidelines:
1320
-
1321
- - After creating a rate card, you can now use the addRate or addRates endpoints to add products and their prices to it
1322
- - A rate card alias can only be used by one rate card at a time. If you create a contract with a rate card alias that is already in use by another rate card, the original rate card's alias schedule will be updated. The alias will reference the rate card to which it was most recently assigned.
1323
-
1324
- - `retrieve_contracts_v1_rate_cards` (`write`): Return details for a specific rate card including name, description, and aliases. This endpoint does not return rates - use the dedicated getRates or getRateSchedule endpoints to understand the rates on a rate card.
1325
- - `update_contracts_v1_rate_cards` (`write`): Update the metadata properties of an existing rate card, including its name, description, and aliases. This endpoint is designed for managing rate card identity and reference aliases rather than modifying pricing rates.
1326
-
1327
- Modifies the descriptive properties and alias configuration of a rate card without affecting the underlying pricing rates or schedules. This allows you to update how a rate card is identified and referenced throughout your system.
1328
-
1329
- ### Use this endpoint to:
1330
-
1331
- - Rate card renaming: Update display names or descriptions for organizational clarity
1332
- - Alias management: Add, modify, or schedule alias transitions for seamless rate card migrations
1333
- - Documentation updates: Keep rate card descriptions current with business context
1334
- - Self-serve provisioning setup: Configure aliases to enable code-free rate card transitions
1335
-
1336
- #### Active contract impact:
1337
-
1338
- - Alias changes: Already-created contracts continue using their originally assigned rate cards.
1339
- - Other changes made using this endpoint will only impact the Metronome UI.
1340
-
1341
- #### Grandfathering existing PLG customer pricing:
1342
-
1343
- - Rate card aliases support scheduled transitions, enabling seamless rate card migrations for new customers, allowing existing customers to be grandfathered into their existing prices without code. Note that there are multiple mechanisms to support grandfathering in Metronome.
1344
-
1345
- #### How scheduled aliases work for PLG grandfathering:
1346
-
1347
- Initial setup:
1348
-
1349
- - Add alias to current rate card: Assign a stable alias (e.g., "standard-pricing") to your active rate card
1350
- - Reference alias during contract creation: Configure your self-serve workflow to create contracts using `rate_card_alias` instead of direct `rate_card_id`
1351
- - Automatic resolution: New contracts referencing the alias automatically resolve to the rate card associated with the alias at the point in time of provisioning
1352
-
1353
- #### Grandfathering process:
1354
-
1355
- - Create new rate card: Build your new rate card with updated pricing structure
1356
- - Schedule alias transition: Add the same alias to the new rate card with a `starting_at` timestamp
1357
- - Automatic cutover: Starting at the scheduled time, new contracts created in your PLG workflow using that alias will automatically reference the new rate card
1358
-
1359
- - `list_contracts_v1_rate_cards` (`write`): List all rate cards. Returns rate card IDs, names, descriptions, aliases, and other details. To view the rates associated with a given rate card, use the getRates or getRateSchedule endpoints.
1360
- - `archive_contracts_v1_rate_cards` (`write`): Permanently disable a rate card by archiving it, preventing use in new contracts while preserving existing contract pricing. Use this when retiring old pricing models, consolidating rate cards, or removing outdated pricing structures. Returns the archived rate card ID and stops the rate card from appearing in contract creation workflows.
1361
- - `retrieve_rate_schedule_contracts_v1_rate_cards` (`write`): A rate card defines the prices that you charge for your products. Rate cards support scheduled changes over time, to allow you to easily roll out pricing changes and new product launches across your customer base. Use this endpoint to understand the rate schedule `starting_at` a given date, optionally filtering the list of rates returned based on product id or pricing group values. For example, you may want to display a schedule of upcoming price changes for a given product in your product experience - use this endpoint to fetch that information from its source of truth in Metronome.
1362
-
1363
- If you want to understand the rates for a specific customer's contract, inclusive of contract-level overrides, use the `getContractRateSchedule` endpoint.
1364
-
1365
- ### Resource `v1.contracts.rateCards.product_orders`:
1366
-
1367
- - `update_rate_cards_contracts_v1_product_orders` (`write`): The ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of specific products on the rate card by moving them relative to their current location.
1368
- - `set_rate_cards_contracts_v1_product_orders` (`write`): The ordering of products on a rate card determines the order in which the products will appear on customers' invoices. Use this endpoint to set the order of products on the rate card.
1369
-
1370
- ### Resource `v1.contracts.rateCards.rates`:
1371
-
1372
- - `list_rate_cards_contracts_v1_rates` (`write`): Understand the rate schedule at a given timestamp, optionally filtering the list of rates returned based on properties such as `product_id` and `pricing_group_values`. For example, you may want to display the current price for a given product in your product experience - use this endpoint to fetch that information from its source of truth in Metronome.
1373
-
1374
- If you want to understand the rates for a specific customer's contract, inclusive of contract-level overrides, use the `getContractRateSchedule` endpoint.
1375
-
1376
- - `add_rate_cards_contracts_v1_rates` (`write`): Add a new rate
1377
- - `add_many_rate_cards_contracts_v1_rates` (`write`): Add new rates
1378
-
1379
- ### Resource `v1.contracts.rateCards.named_schedules`:
1380
-
1381
- - `retrieve_rate_cards_contracts_v1_named_schedules` (`write`): Get a named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.
1382
- - `update_rate_cards_contracts_v1_named_schedules` (`write`): Update a named schedule for the given contract. This endpoint's availability is dependent on your client's configuration.
1383
-
1384
- ### Resource `v1.contracts.named_schedules`:
1385
-
1386
- - `retrieve_contracts_v1_named_schedules` (`write`): Get a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.
1387
- - `update_contracts_v1_named_schedules` (`write`): Update a named schedule for the given rate card. This endpoint's availability is dependent on your client's configuration.
1388
-
1389
- ### Resource `v1.payments`:
1390
-
1391
- - `list_v1_payments` (`write`): Fetch all payment attempts for the given invoice.
1392
- - `attempt_v1_payments` (`write`): Trigger a new attempt by canceling any existing attempts for this invoice and creating a new Payment. This will trigger another attempt to charge the Customer's configured Payment Gateway.
1393
- Payment can only be attempted if all of the following are true:
1394
-
1395
- - The Metronome Invoice is finalized
1396
- - PLG Invoicing is configured for the Customer
1397
- - You cannot attempt payments for invoices that have already been `paid` or `voided`.
1398
-
1399
- Attempting to payment on an ineligible Invoice or Customer will result in a `400` response.
1400
-
1401
- - `cancel_v1_payments` (`write`): Cancel an existing payment attempt for an invoice.
1402
-
1403
- ### Resource `v1.settings`:
1404
-
1405
- - `upsert_avalara_credentials_v1_settings` (`write`): Set 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.
1406
-
1407
- ### Resource `v1.settings.billing_providers`:
1408
-
1409
- - `create_settings_v1_billing_providers` (`write`): Set 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.
1410
- - `list_settings_v1_billing_providers` (`write`): Lists 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.