@metronome/sdk 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 (353) hide show
  1. package/CHANGELOG.md +188 -0
  2. package/LICENSE +1 -1
  3. package/README.md +26 -4
  4. package/client.d.mts +5 -3
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +5 -3
  7. package/client.d.ts.map +1 -1
  8. package/client.js +26 -10
  9. package/client.js.map +1 -1
  10. package/client.mjs +26 -10
  11. package/client.mjs.map +1 -1
  12. package/internal/parse.d.mts.map +1 -1
  13. package/internal/parse.d.ts.map +1 -1
  14. package/internal/parse.js +5 -0
  15. package/internal/parse.js.map +1 -1
  16. package/internal/parse.mjs +5 -0
  17. package/internal/parse.mjs.map +1 -1
  18. package/internal/tslib.js +17 -17
  19. package/internal/utils/query.d.mts +2 -0
  20. package/internal/utils/query.d.mts.map +1 -0
  21. package/internal/utils/query.d.ts +2 -0
  22. package/internal/utils/query.d.ts.map +1 -0
  23. package/internal/utils/query.js +10 -0
  24. package/internal/utils/query.js.map +1 -0
  25. package/internal/utils/query.mjs +6 -0
  26. package/internal/utils/query.mjs.map +1 -0
  27. package/internal/utils.d.mts +1 -0
  28. package/internal/utils.d.ts +1 -0
  29. package/internal/utils.js +1 -0
  30. package/internal/utils.js.map +1 -1
  31. package/internal/utils.mjs +1 -0
  32. package/package.json +12 -1
  33. package/resources/shared.d.mts +111 -30
  34. package/resources/shared.d.mts.map +1 -1
  35. package/resources/shared.d.ts +111 -30
  36. package/resources/shared.d.ts.map +1 -1
  37. package/resources/v1/alerts.d.mts +3 -0
  38. package/resources/v1/alerts.d.mts.map +1 -1
  39. package/resources/v1/alerts.d.ts +3 -0
  40. package/resources/v1/alerts.d.ts.map +1 -1
  41. package/resources/v1/alerts.js +3 -0
  42. package/resources/v1/alerts.js.map +1 -1
  43. package/resources/v1/alerts.mjs +3 -0
  44. package/resources/v1/alerts.mjs.map +1 -1
  45. package/resources/v1/audit-logs.d.mts +3 -0
  46. package/resources/v1/audit-logs.d.mts.map +1 -1
  47. package/resources/v1/audit-logs.d.ts +3 -0
  48. package/resources/v1/audit-logs.d.ts.map +1 -1
  49. package/resources/v1/audit-logs.js +3 -0
  50. package/resources/v1/audit-logs.js.map +1 -1
  51. package/resources/v1/audit-logs.mjs +3 -0
  52. package/resources/v1/audit-logs.mjs.map +1 -1
  53. package/resources/v1/billable-metrics.d.mts +3 -0
  54. package/resources/v1/billable-metrics.d.mts.map +1 -1
  55. package/resources/v1/billable-metrics.d.ts +3 -0
  56. package/resources/v1/billable-metrics.d.ts.map +1 -1
  57. package/resources/v1/billable-metrics.js +3 -0
  58. package/resources/v1/billable-metrics.js.map +1 -1
  59. package/resources/v1/billable-metrics.mjs +3 -0
  60. package/resources/v1/billable-metrics.mjs.map +1 -1
  61. package/resources/v1/contracts/contracts.d.mts +134 -14
  62. package/resources/v1/contracts/contracts.d.mts.map +1 -1
  63. package/resources/v1/contracts/contracts.d.ts +134 -14
  64. package/resources/v1/contracts/contracts.d.ts.map +1 -1
  65. package/resources/v1/contracts/contracts.js +69 -0
  66. package/resources/v1/contracts/contracts.js.map +1 -1
  67. package/resources/v1/contracts/contracts.mjs +69 -0
  68. package/resources/v1/contracts/contracts.mjs.map +1 -1
  69. package/resources/v1/contracts/index.d.mts +1 -1
  70. package/resources/v1/contracts/index.d.mts.map +1 -1
  71. package/resources/v1/contracts/index.d.ts +1 -1
  72. package/resources/v1/contracts/index.d.ts.map +1 -1
  73. package/resources/v1/contracts/index.js.map +1 -1
  74. package/resources/v1/contracts/index.mjs.map +1 -1
  75. package/resources/v1/contracts/named-schedules.d.mts +3 -0
  76. package/resources/v1/contracts/named-schedules.d.mts.map +1 -1
  77. package/resources/v1/contracts/named-schedules.d.ts +3 -0
  78. package/resources/v1/contracts/named-schedules.d.ts.map +1 -1
  79. package/resources/v1/contracts/named-schedules.js +3 -0
  80. package/resources/v1/contracts/named-schedules.js.map +1 -1
  81. package/resources/v1/contracts/named-schedules.mjs +3 -0
  82. package/resources/v1/contracts/named-schedules.mjs.map +1 -1
  83. package/resources/v1/contracts/products.d.mts +3 -0
  84. package/resources/v1/contracts/products.d.mts.map +1 -1
  85. package/resources/v1/contracts/products.d.ts +3 -0
  86. package/resources/v1/contracts/products.d.ts.map +1 -1
  87. package/resources/v1/contracts/products.js +3 -0
  88. package/resources/v1/contracts/products.js.map +1 -1
  89. package/resources/v1/contracts/products.mjs +3 -0
  90. package/resources/v1/contracts/products.mjs.map +1 -1
  91. package/resources/v1/contracts/rate-cards/named-schedules.d.mts +3 -0
  92. package/resources/v1/contracts/rate-cards/named-schedules.d.mts.map +1 -1
  93. package/resources/v1/contracts/rate-cards/named-schedules.d.ts +3 -0
  94. package/resources/v1/contracts/rate-cards/named-schedules.d.ts.map +1 -1
  95. package/resources/v1/contracts/rate-cards/named-schedules.js +3 -0
  96. package/resources/v1/contracts/rate-cards/named-schedules.js.map +1 -1
  97. package/resources/v1/contracts/rate-cards/named-schedules.mjs +3 -0
  98. package/resources/v1/contracts/rate-cards/named-schedules.mjs.map +1 -1
  99. package/resources/v1/contracts/rate-cards/product-orders.d.mts +3 -0
  100. package/resources/v1/contracts/rate-cards/product-orders.d.mts.map +1 -1
  101. package/resources/v1/contracts/rate-cards/product-orders.d.ts +3 -0
  102. package/resources/v1/contracts/rate-cards/product-orders.d.ts.map +1 -1
  103. package/resources/v1/contracts/rate-cards/product-orders.js +3 -0
  104. package/resources/v1/contracts/rate-cards/product-orders.js.map +1 -1
  105. package/resources/v1/contracts/rate-cards/product-orders.mjs +3 -0
  106. package/resources/v1/contracts/rate-cards/product-orders.mjs.map +1 -1
  107. package/resources/v1/contracts/rate-cards/rate-cards.d.mts +4 -1
  108. package/resources/v1/contracts/rate-cards/rate-cards.d.mts.map +1 -1
  109. package/resources/v1/contracts/rate-cards/rate-cards.d.ts +4 -1
  110. package/resources/v1/contracts/rate-cards/rate-cards.d.ts.map +1 -1
  111. package/resources/v1/contracts/rate-cards/rate-cards.js +3 -0
  112. package/resources/v1/contracts/rate-cards/rate-cards.js.map +1 -1
  113. package/resources/v1/contracts/rate-cards/rate-cards.mjs +3 -0
  114. package/resources/v1/contracts/rate-cards/rate-cards.mjs.map +1 -1
  115. package/resources/v1/contracts/rate-cards/rates.d.mts +6 -21
  116. package/resources/v1/contracts/rate-cards/rates.d.mts.map +1 -1
  117. package/resources/v1/contracts/rate-cards/rates.d.ts +6 -21
  118. package/resources/v1/contracts/rate-cards/rates.d.ts.map +1 -1
  119. package/resources/v1/contracts/rate-cards/rates.js +3 -0
  120. package/resources/v1/contracts/rate-cards/rates.js.map +1 -1
  121. package/resources/v1/contracts/rate-cards/rates.mjs +3 -0
  122. package/resources/v1/contracts/rate-cards/rates.mjs.map +1 -1
  123. package/resources/v1/credit-grants.d.mts +3 -0
  124. package/resources/v1/credit-grants.d.mts.map +1 -1
  125. package/resources/v1/credit-grants.d.ts +3 -0
  126. package/resources/v1/credit-grants.d.ts.map +1 -1
  127. package/resources/v1/credit-grants.js +3 -0
  128. package/resources/v1/credit-grants.js.map +1 -1
  129. package/resources/v1/credit-grants.mjs +3 -0
  130. package/resources/v1/credit-grants.mjs.map +1 -1
  131. package/resources/v1/custom-fields.d.mts +9 -6
  132. package/resources/v1/custom-fields.d.mts.map +1 -1
  133. package/resources/v1/custom-fields.d.ts +9 -6
  134. package/resources/v1/custom-fields.d.ts.map +1 -1
  135. package/resources/v1/custom-fields.js +3 -0
  136. package/resources/v1/custom-fields.js.map +1 -1
  137. package/resources/v1/custom-fields.mjs +3 -0
  138. package/resources/v1/custom-fields.mjs.map +1 -1
  139. package/resources/v1/customers/alerts.d.mts +3 -0
  140. package/resources/v1/customers/alerts.d.mts.map +1 -1
  141. package/resources/v1/customers/alerts.d.ts +3 -0
  142. package/resources/v1/customers/alerts.d.ts.map +1 -1
  143. package/resources/v1/customers/alerts.js +3 -0
  144. package/resources/v1/customers/alerts.js.map +1 -1
  145. package/resources/v1/customers/alerts.mjs +3 -0
  146. package/resources/v1/customers/alerts.mjs.map +1 -1
  147. package/resources/v1/customers/billing-config.d.mts +8 -5
  148. package/resources/v1/customers/billing-config.d.mts.map +1 -1
  149. package/resources/v1/customers/billing-config.d.ts +8 -5
  150. package/resources/v1/customers/billing-config.d.ts.map +1 -1
  151. package/resources/v1/customers/billing-config.js +3 -0
  152. package/resources/v1/customers/billing-config.js.map +1 -1
  153. package/resources/v1/customers/billing-config.mjs +3 -0
  154. package/resources/v1/customers/billing-config.mjs.map +1 -1
  155. package/resources/v1/customers/commits.d.mts +3 -0
  156. package/resources/v1/customers/commits.d.mts.map +1 -1
  157. package/resources/v1/customers/commits.d.ts +3 -0
  158. package/resources/v1/customers/commits.d.ts.map +1 -1
  159. package/resources/v1/customers/commits.js +3 -0
  160. package/resources/v1/customers/commits.js.map +1 -1
  161. package/resources/v1/customers/commits.mjs +3 -0
  162. package/resources/v1/customers/commits.mjs.map +1 -1
  163. package/resources/v1/customers/credits.d.mts +3 -0
  164. package/resources/v1/customers/credits.d.mts.map +1 -1
  165. package/resources/v1/customers/credits.d.ts +3 -0
  166. package/resources/v1/customers/credits.d.ts.map +1 -1
  167. package/resources/v1/customers/credits.js +3 -0
  168. package/resources/v1/customers/credits.js.map +1 -1
  169. package/resources/v1/customers/credits.mjs +3 -0
  170. package/resources/v1/customers/credits.mjs.map +1 -1
  171. package/resources/v1/customers/customers.d.mts +84 -8
  172. package/resources/v1/customers/customers.d.mts.map +1 -1
  173. package/resources/v1/customers/customers.d.ts +84 -8
  174. package/resources/v1/customers/customers.d.ts.map +1 -1
  175. package/resources/v1/customers/customers.js +53 -0
  176. package/resources/v1/customers/customers.js.map +1 -1
  177. package/resources/v1/customers/customers.mjs +53 -0
  178. package/resources/v1/customers/customers.mjs.map +1 -1
  179. package/resources/v1/customers/index.d.mts +1 -1
  180. package/resources/v1/customers/index.d.mts.map +1 -1
  181. package/resources/v1/customers/index.d.ts +1 -1
  182. package/resources/v1/customers/index.d.ts.map +1 -1
  183. package/resources/v1/customers/index.js.map +1 -1
  184. package/resources/v1/customers/index.mjs.map +1 -1
  185. package/resources/v1/customers/invoices.d.mts +38 -19
  186. package/resources/v1/customers/invoices.d.mts.map +1 -1
  187. package/resources/v1/customers/invoices.d.ts +38 -19
  188. package/resources/v1/customers/invoices.d.ts.map +1 -1
  189. package/resources/v1/customers/invoices.js +3 -0
  190. package/resources/v1/customers/invoices.js.map +1 -1
  191. package/resources/v1/customers/invoices.mjs +3 -0
  192. package/resources/v1/customers/invoices.mjs.map +1 -1
  193. package/resources/v1/customers/named-schedules.d.mts +3 -0
  194. package/resources/v1/customers/named-schedules.d.mts.map +1 -1
  195. package/resources/v1/customers/named-schedules.d.ts +3 -0
  196. package/resources/v1/customers/named-schedules.d.ts.map +1 -1
  197. package/resources/v1/customers/named-schedules.js +3 -0
  198. package/resources/v1/customers/named-schedules.js.map +1 -1
  199. package/resources/v1/customers/named-schedules.mjs +3 -0
  200. package/resources/v1/customers/named-schedules.mjs.map +1 -1
  201. package/resources/v1/customers/plans.d.mts +8 -5
  202. package/resources/v1/customers/plans.d.mts.map +1 -1
  203. package/resources/v1/customers/plans.d.ts +8 -5
  204. package/resources/v1/customers/plans.d.ts.map +1 -1
  205. package/resources/v1/customers/plans.js +3 -0
  206. package/resources/v1/customers/plans.js.map +1 -1
  207. package/resources/v1/customers/plans.mjs +3 -0
  208. package/resources/v1/customers/plans.mjs.map +1 -1
  209. package/resources/v1/dashboards.d.mts +3 -0
  210. package/resources/v1/dashboards.d.mts.map +1 -1
  211. package/resources/v1/dashboards.d.ts +3 -0
  212. package/resources/v1/dashboards.d.ts.map +1 -1
  213. package/resources/v1/dashboards.js +3 -0
  214. package/resources/v1/dashboards.js.map +1 -1
  215. package/resources/v1/dashboards.mjs +3 -0
  216. package/resources/v1/dashboards.mjs.map +1 -1
  217. package/resources/v1/index.d.mts +3 -2
  218. package/resources/v1/index.d.mts.map +1 -1
  219. package/resources/v1/index.d.ts +3 -2
  220. package/resources/v1/index.d.ts.map +1 -1
  221. package/resources/v1/index.js +3 -1
  222. package/resources/v1/index.js.map +1 -1
  223. package/resources/v1/index.mjs +1 -0
  224. package/resources/v1/index.mjs.map +1 -1
  225. package/resources/v1/invoices.d.mts +3 -0
  226. package/resources/v1/invoices.d.mts.map +1 -1
  227. package/resources/v1/invoices.d.ts +3 -0
  228. package/resources/v1/invoices.d.ts.map +1 -1
  229. package/resources/v1/invoices.js +3 -0
  230. package/resources/v1/invoices.js.map +1 -1
  231. package/resources/v1/invoices.mjs +3 -0
  232. package/resources/v1/invoices.mjs.map +1 -1
  233. package/resources/v1/packages.d.mts +2352 -0
  234. package/resources/v1/packages.d.mts.map +1 -0
  235. package/resources/v1/packages.d.ts +2352 -0
  236. package/resources/v1/packages.d.ts.map +1 -0
  237. package/resources/v1/packages.js +160 -0
  238. package/resources/v1/packages.js.map +1 -0
  239. package/resources/v1/packages.mjs +156 -0
  240. package/resources/v1/packages.mjs.map +1 -0
  241. package/resources/v1/payments.d.mts +10 -0
  242. package/resources/v1/payments.d.mts.map +1 -1
  243. package/resources/v1/payments.d.ts +10 -0
  244. package/resources/v1/payments.d.ts.map +1 -1
  245. package/resources/v1/plans.d.mts +5 -2
  246. package/resources/v1/plans.d.mts.map +1 -1
  247. package/resources/v1/plans.d.ts +5 -2
  248. package/resources/v1/plans.d.ts.map +1 -1
  249. package/resources/v1/plans.js +3 -0
  250. package/resources/v1/plans.js.map +1 -1
  251. package/resources/v1/plans.mjs +3 -0
  252. package/resources/v1/plans.mjs.map +1 -1
  253. package/resources/v1/pricing-units.d.mts +3 -0
  254. package/resources/v1/pricing-units.d.mts.map +1 -1
  255. package/resources/v1/pricing-units.d.ts +3 -0
  256. package/resources/v1/pricing-units.d.ts.map +1 -1
  257. package/resources/v1/pricing-units.js +3 -0
  258. package/resources/v1/pricing-units.js.map +1 -1
  259. package/resources/v1/pricing-units.mjs +3 -0
  260. package/resources/v1/pricing-units.mjs.map +1 -1
  261. package/resources/v1/services.d.mts +3 -0
  262. package/resources/v1/services.d.mts.map +1 -1
  263. package/resources/v1/services.d.ts +3 -0
  264. package/resources/v1/services.d.ts.map +1 -1
  265. package/resources/v1/services.js +3 -0
  266. package/resources/v1/services.js.map +1 -1
  267. package/resources/v1/services.mjs +3 -0
  268. package/resources/v1/services.mjs.map +1 -1
  269. package/resources/v1/settings/billing-providers.d.mts +3 -0
  270. package/resources/v1/settings/billing-providers.d.mts.map +1 -1
  271. package/resources/v1/settings/billing-providers.d.ts +3 -0
  272. package/resources/v1/settings/billing-providers.d.ts.map +1 -1
  273. package/resources/v1/settings/billing-providers.js +3 -0
  274. package/resources/v1/settings/billing-providers.js.map +1 -1
  275. package/resources/v1/settings/billing-providers.mjs +3 -0
  276. package/resources/v1/settings/billing-providers.mjs.map +1 -1
  277. package/resources/v1/settings/settings.d.mts +3 -0
  278. package/resources/v1/settings/settings.d.mts.map +1 -1
  279. package/resources/v1/settings/settings.d.ts +3 -0
  280. package/resources/v1/settings/settings.d.ts.map +1 -1
  281. package/resources/v1/settings/settings.js +3 -0
  282. package/resources/v1/settings/settings.js.map +1 -1
  283. package/resources/v1/settings/settings.mjs +3 -0
  284. package/resources/v1/settings/settings.mjs.map +1 -1
  285. package/resources/v1/usage.d.mts +87 -18
  286. package/resources/v1/usage.d.mts.map +1 -1
  287. package/resources/v1/usage.d.ts +87 -18
  288. package/resources/v1/usage.d.ts.map +1 -1
  289. package/resources/v1/usage.js +37 -11
  290. package/resources/v1/usage.js.map +1 -1
  291. package/resources/v1/usage.mjs +37 -11
  292. package/resources/v1/usage.mjs.map +1 -1
  293. package/resources/v1/v1.d.mts +8 -4
  294. package/resources/v1/v1.d.mts.map +1 -1
  295. package/resources/v1/v1.d.ts +8 -4
  296. package/resources/v1/v1.d.ts.map +1 -1
  297. package/resources/v1/v1.js +4 -0
  298. package/resources/v1/v1.js.map +1 -1
  299. package/resources/v1/v1.mjs +4 -0
  300. package/resources/v1/v1.mjs.map +1 -1
  301. package/resources/v2/contracts.d.mts +45 -7
  302. package/resources/v2/contracts.d.mts.map +1 -1
  303. package/resources/v2/contracts.d.ts +45 -7
  304. package/resources/v2/contracts.d.ts.map +1 -1
  305. package/resources/v2/contracts.js +1 -4
  306. package/resources/v2/contracts.js.map +1 -1
  307. package/resources/v2/contracts.mjs +1 -4
  308. package/resources/v2/contracts.mjs.map +1 -1
  309. package/src/client.ts +37 -15
  310. package/src/internal/parse.ts +6 -0
  311. package/src/internal/utils/query.ts +7 -0
  312. package/src/internal/utils.ts +1 -0
  313. package/src/resources/shared.ts +127 -32
  314. package/src/resources/v1/alerts.ts +3 -0
  315. package/src/resources/v1/audit-logs.ts +3 -0
  316. package/src/resources/v1/billable-metrics.ts +3 -0
  317. package/src/resources/v1/contracts/contracts.ts +151 -13
  318. package/src/resources/v1/contracts/index.ts +2 -0
  319. package/src/resources/v1/contracts/named-schedules.ts +3 -0
  320. package/src/resources/v1/contracts/products.ts +3 -0
  321. package/src/resources/v1/contracts/rate-cards/named-schedules.ts +3 -0
  322. package/src/resources/v1/contracts/rate-cards/product-orders.ts +3 -0
  323. package/src/resources/v1/contracts/rate-cards/rate-cards.ts +4 -1
  324. package/src/resources/v1/contracts/rate-cards/rates.ts +6 -24
  325. package/src/resources/v1/credit-grants.ts +3 -0
  326. package/src/resources/v1/custom-fields.ts +32 -5
  327. package/src/resources/v1/customers/alerts.ts +3 -0
  328. package/src/resources/v1/customers/billing-config.ts +8 -5
  329. package/src/resources/v1/customers/commits.ts +3 -0
  330. package/src/resources/v1/customers/credits.ts +3 -0
  331. package/src/resources/v1/customers/customers.ts +96 -7
  332. package/src/resources/v1/customers/index.ts +2 -0
  333. package/src/resources/v1/customers/invoices.ts +45 -19
  334. package/src/resources/v1/customers/named-schedules.ts +3 -0
  335. package/src/resources/v1/customers/plans.ts +8 -5
  336. package/src/resources/v1/dashboards.ts +3 -0
  337. package/src/resources/v1/index.ts +19 -0
  338. package/src/resources/v1/invoices.ts +3 -0
  339. package/src/resources/v1/packages.ts +3057 -0
  340. package/src/resources/v1/payments.ts +15 -0
  341. package/src/resources/v1/plans.ts +5 -2
  342. package/src/resources/v1/pricing-units.ts +3 -0
  343. package/src/resources/v1/services.ts +3 -0
  344. package/src/resources/v1/settings/billing-providers.ts +3 -0
  345. package/src/resources/v1/settings/settings.ts +3 -0
  346. package/src/resources/v1/usage.ts +86 -18
  347. package/src/resources/v1/v1.ts +42 -0
  348. package/src/resources/v2/contracts.ts +55 -7
  349. package/src/version.ts +1 -1
  350. package/version.d.mts +1 -1
  351. package/version.d.ts +1 -1
  352. package/version.js +1 -1
  353. package/version.mjs +1 -1
@@ -3,6 +3,9 @@ import * as Shared from "../shared.js";
3
3
  import { APIPromise } from "../../core/api-promise.js";
4
4
  import { CursorPage, type CursorPageParams, CursorPageWithoutLimit, type CursorPageWithoutLimitParams, PagePromise } from "../../core/pagination.js";
5
5
  import { RequestOptions } from "../../internal/request-options.js";
6
+ /**
7
+ * [Usage events](https://docs.metronome.com/connecting-metronome/send-usage-data/) are the basis for billable metrics. Use these endpoints to send usage events to Metronome and retrieve aggregated event data.
8
+ */
6
9
  export declare class Usage extends APIResource {
7
10
  /**
8
11
  * Retrieve aggregated usage data across multiple customers and billable metrics in
@@ -159,13 +162,37 @@ export declare class Usage extends APIResource {
159
162
  * - Build detailed usage dashboards with dimensional filtering
160
163
  * - Identify high-usage segments for optimization opportunities
161
164
  *
165
+ * ### Request parameters
166
+ *
167
+ * Use [`group_key`](#body-group-key) and [`group_filters`](#body-group-filters) to
168
+ * group by one or more dimensions. This is required for compound group keys and
169
+ * recommended for all new integrations:
170
+ *
171
+ * ```json
172
+ * {
173
+ * "group_key": ["region", "team"],
174
+ * "group_filters": {
175
+ * "region": ["US-East", "US-West"]
176
+ * }
177
+ * }
178
+ * ```
179
+ *
180
+ * Important: For compound group keys, you must pass the complete set of keys that
181
+ * make up the compound key. Partial key combinations are not supported. For
182
+ * example, if your billable metric has a compound group key [region, team,
183
+ * environment], you must pass all three keys in group_key—you cannot pass just
184
+ * `[region]` or `[region, team]`.
185
+ *
162
186
  * ### Key response fields:
163
187
  *
164
188
  * An array of `PagedUsageAggregate` objects containing:
165
189
  *
166
190
  * - `starting_on` and `ending_before`: Time window boundaries
167
- * - `group_key`: The dimension being grouped by (e.g., "region")
168
- * - `group_value`: The specific value for this group (e.g., "US-East")
191
+ * - `group`: Object mapping group keys to their values
192
+ * - For simple groups, this will be a map with a single key-value pair (e.g.,
193
+ * `{"region": "US-East"}`)
194
+ * - For compound groups, this will be a map with multiple key-value pairs (e.g.,
195
+ * `{"region": "US-East", "team": "engineering"}`)
169
196
  * - `value`: Aggregated usage for this group and time window
170
197
  * - `next_page`: Pagination cursor for large datasets
171
198
  *
@@ -175,12 +202,13 @@ export declare class Usage extends APIResource {
175
202
  * `window_size`
176
203
  * - Time windows: Set `window_size` to hour, day, or none for different
177
204
  * granularities
178
- * - Group filtering: Use `group_by` to specify:
179
- * - key: The dimension to group by (must be set on the billable metric as a
180
- * group key)
181
- * - values: Optional array to filter to specific values only
205
+ * - Group filtering: Use `group_key` and `group_filters` to specify groups and
206
+ * group filters
207
+ * - Limits: When using compound group keys (2+ keys in `group_key`), the default
208
+ * and max limit is 100
182
209
  * - Pagination: Use limit and `next_page` for large result sets
183
- * - Null handling: `group_value` may be null for unmatched data
210
+ * - Null handling: Group values may be null for events missing the group key
211
+ * property
184
212
  *
185
213
  * @example
186
214
  * ```ts
@@ -192,10 +220,8 @@ export declare class Usage extends APIResource {
192
220
  * customer_id: '04ca7e72-4229-4a6e-ab11-9f7376fccbcb',
193
221
  * window_size: 'day',
194
222
  * ending_before: '2021-01-03T00:00:00Z',
195
- * group_by: {
196
- * key: 'region',
197
- * values: ['US-East', 'US-West', 'EU-Central'],
198
- * },
223
+ * group_filters: { region: ['us-east1', 'us-west1'] },
224
+ * group_key: ['region'],
199
225
  * starting_on: '2021-01-01T00:00:00Z',
200
226
  * },
201
227
  * )) {
@@ -268,10 +294,25 @@ export interface UsageListResponse {
268
294
  }
269
295
  export interface UsageListWithGroupsResponse {
270
296
  ending_before: string;
297
+ /**
298
+ * @deprecated Use `group` instead. The group key for single-key grouping.
299
+ */
271
300
  group_key: string | null;
301
+ /**
302
+ * @deprecated Use `group` instead. The group value for single-key grouping.
303
+ */
272
304
  group_value: string | null;
273
305
  starting_on: string;
274
306
  value: number | null;
307
+ /**
308
+ * Map of group key to their value for this usage aggregate. For simple group keys,
309
+ * this should be a single key e.g. `{"region": "US-East"}` For compound group
310
+ * keys, this should contain the values of each group key that forms the compound
311
+ * e.g. `{"region": "US-East", "team": "engineering"}`
312
+ */
313
+ group?: {
314
+ [key: string]: string;
315
+ };
275
316
  }
276
317
  export type UsageSearchResponse = Array<UsageSearchResponse.UsageSearchResponseItem>;
277
318
  export declare namespace UsageSearchResponse {
@@ -370,11 +411,11 @@ export declare namespace UsageSearchResponse {
370
411
  }
371
412
  export interface UsageListParams extends CursorPageWithoutLimitParams {
372
413
  /**
373
- * Body param:
414
+ * Body param
374
415
  */
375
416
  ending_before: string;
376
417
  /**
377
- * Body param:
418
+ * Body param
378
419
  */
379
420
  starting_on: string;
380
421
  /**
@@ -433,11 +474,11 @@ export declare namespace UsageIngestParams {
433
474
  }
434
475
  export interface UsageListWithGroupsParams extends CursorPageParams {
435
476
  /**
436
- * Body param:
477
+ * Body param
437
478
  */
438
479
  billable_metric_id: string;
439
480
  /**
440
- * Body param:
481
+ * Body param
441
482
  */
442
483
  customer_id: string;
443
484
  /**
@@ -454,19 +495,47 @@ export interface UsageListWithGroupsParams extends CursorPageParams {
454
495
  */
455
496
  current_period?: boolean;
456
497
  /**
457
- * Body param:
498
+ * Body param
458
499
  */
459
500
  ending_before?: string;
460
501
  /**
461
- * Body param:
502
+ * @deprecated Body param: Use group_key and group_filters instead. Use a single
503
+ * group key to group by. Compound group keys are not supported.
462
504
  */
463
505
  group_by?: UsageListWithGroupsParams.GroupBy;
464
506
  /**
465
- * Body param:
507
+ * Body param: Object mapping group keys to arrays of values to filter on. Only
508
+ * usage matching these filter values will be returned. Keys must be present in
509
+ * group_key. Omit a key or use an empty array to include all values for that
510
+ * dimension.
511
+ */
512
+ group_filters?: {
513
+ [key: string]: Array<string>;
514
+ };
515
+ /**
516
+ * Body param: Group key to group usage by. Supports both simple (single key) and
517
+ * compound (multiple keys) group keys.
518
+ *
519
+ * For simple group keys, provide a single key e.g. `["region"]`. For compound
520
+ * group keys, provide multiple keys e.g. `["region", "team"]`.
521
+ *
522
+ * For streaming metrics, the keys must be defined as a simple or compound group
523
+ * key on the billable metric. For compound group keys, all keys must match an
524
+ * exact compound group key definition — partial matches are not allowed.
525
+ *
526
+ * Cannot be used together with `group_by`.
527
+ */
528
+ group_key?: Array<string>;
529
+ /**
530
+ * Body param
466
531
  */
467
532
  starting_on?: string;
468
533
  }
469
534
  export declare namespace UsageListWithGroupsParams {
535
+ /**
536
+ * @deprecated Use group_key and group_filters instead. Use a single group key to
537
+ * group by. Compound group keys are not supported.
538
+ */
470
539
  interface GroupBy {
471
540
  /**
472
541
  * The name of the group_by key to use
@@ -1 +1 @@
1
- {"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EACL,UAAU,EACV,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,4BAA4B,EACjC,WAAW,EACZ;OAEM,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,IAAI,CACF,MAAM,EAAE,eAAe,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,wCAAwC,EAAE,iBAAiB,CAAC;IAU3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4FG;IACH,MAAM,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AAG,KAAK,GAAG,MAAM,CAAC;IAErC;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC,OAAO,CAAC;IAE7C;;;;;OAKG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IAEjD;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,yBAAiB,yBAAyB,CAAC;IACzC;;;OAGG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;;WAGG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACxB;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -5,6 +5,9 @@ exports.Usage = void 0;
5
5
  const resource_1 = require("../../core/resource.js");
6
6
  const pagination_1 = require("../../core/pagination.js");
7
7
  const headers_1 = require("../../internal/headers.js");
8
+ /**
9
+ * [Usage events](https://docs.metronome.com/connecting-metronome/send-usage-data/) are the basis for billable metrics. Use these endpoints to send usage events to Metronome and retrieve aggregated event data.
10
+ */
8
11
  class Usage extends resource_1.APIResource {
9
12
  /**
10
13
  * Retrieve aggregated usage data across multiple customers and billable metrics in
@@ -176,13 +179,37 @@ class Usage extends resource_1.APIResource {
176
179
  * - Build detailed usage dashboards with dimensional filtering
177
180
  * - Identify high-usage segments for optimization opportunities
178
181
  *
182
+ * ### Request parameters
183
+ *
184
+ * Use [`group_key`](#body-group-key) and [`group_filters`](#body-group-filters) to
185
+ * group by one or more dimensions. This is required for compound group keys and
186
+ * recommended for all new integrations:
187
+ *
188
+ * ```json
189
+ * {
190
+ * "group_key": ["region", "team"],
191
+ * "group_filters": {
192
+ * "region": ["US-East", "US-West"]
193
+ * }
194
+ * }
195
+ * ```
196
+ *
197
+ * Important: For compound group keys, you must pass the complete set of keys that
198
+ * make up the compound key. Partial key combinations are not supported. For
199
+ * example, if your billable metric has a compound group key [region, team,
200
+ * environment], you must pass all three keys in group_key—you cannot pass just
201
+ * `[region]` or `[region, team]`.
202
+ *
179
203
  * ### Key response fields:
180
204
  *
181
205
  * An array of `PagedUsageAggregate` objects containing:
182
206
  *
183
207
  * - `starting_on` and `ending_before`: Time window boundaries
184
- * - `group_key`: The dimension being grouped by (e.g., "region")
185
- * - `group_value`: The specific value for this group (e.g., "US-East")
208
+ * - `group`: Object mapping group keys to their values
209
+ * - For simple groups, this will be a map with a single key-value pair (e.g.,
210
+ * `{"region": "US-East"}`)
211
+ * - For compound groups, this will be a map with multiple key-value pairs (e.g.,
212
+ * `{"region": "US-East", "team": "engineering"}`)
186
213
  * - `value`: Aggregated usage for this group and time window
187
214
  * - `next_page`: Pagination cursor for large datasets
188
215
  *
@@ -192,12 +219,13 @@ class Usage extends resource_1.APIResource {
192
219
  * `window_size`
193
220
  * - Time windows: Set `window_size` to hour, day, or none for different
194
221
  * granularities
195
- * - Group filtering: Use `group_by` to specify:
196
- * - key: The dimension to group by (must be set on the billable metric as a
197
- * group key)
198
- * - values: Optional array to filter to specific values only
222
+ * - Group filtering: Use `group_key` and `group_filters` to specify groups and
223
+ * group filters
224
+ * - Limits: When using compound group keys (2+ keys in `group_key`), the default
225
+ * and max limit is 100
199
226
  * - Pagination: Use limit and `next_page` for large result sets
200
- * - Null handling: `group_value` may be null for unmatched data
227
+ * - Null handling: Group values may be null for events missing the group key
228
+ * property
201
229
  *
202
230
  * @example
203
231
  * ```ts
@@ -209,10 +237,8 @@ class Usage extends resource_1.APIResource {
209
237
  * customer_id: '04ca7e72-4229-4a6e-ab11-9f7376fccbcb',
210
238
  * window_size: 'day',
211
239
  * ending_before: '2021-01-03T00:00:00Z',
212
- * group_by: {
213
- * key: 'region',
214
- * values: ['US-East', 'US-West', 'EU-Central'],
215
- * },
240
+ * group_filters: { region: ['us-east1', 'us-west1'] },
241
+ * group_key: ['region'],
216
242
  * starting_on: '2021-01-01T00:00:00Z',
217
243
  * },
218
244
  * )) {
@@ -1 +1 @@
1
- {"version":3,"file":"usage.js","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAM+B;AAC/B,uDAAsD;AAGtD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,IAAI,CACF,MAAuB,EACvB,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,mCAAyC,CAAA,EAAE;YACrF,KAAK,EAAE,EAAE,SAAS,EAAE;YACpB,IAAI;YACJ,MAAM,EAAE,MAAM;YACd,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C3B,IAAI;YACJ,MAAM,EAAE,MAAM;YACd,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF;AAjTD,sBAiTC"}
@@ -2,6 +2,9 @@
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import { CursorPage, CursorPageWithoutLimit, } from "../../core/pagination.mjs";
4
4
  import { buildHeaders } from "../../internal/headers.mjs";
5
+ /**
6
+ * [Usage events](https://docs.metronome.com/connecting-metronome/send-usage-data/) are the basis for billable metrics. Use these endpoints to send usage events to Metronome and retrieve aggregated event data.
7
+ */
5
8
  export class Usage extends APIResource {
6
9
  /**
7
10
  * Retrieve aggregated usage data across multiple customers and billable metrics in
@@ -173,13 +176,37 @@ export class Usage extends APIResource {
173
176
  * - Build detailed usage dashboards with dimensional filtering
174
177
  * - Identify high-usage segments for optimization opportunities
175
178
  *
179
+ * ### Request parameters
180
+ *
181
+ * Use [`group_key`](#body-group-key) and [`group_filters`](#body-group-filters) to
182
+ * group by one or more dimensions. This is required for compound group keys and
183
+ * recommended for all new integrations:
184
+ *
185
+ * ```json
186
+ * {
187
+ * "group_key": ["region", "team"],
188
+ * "group_filters": {
189
+ * "region": ["US-East", "US-West"]
190
+ * }
191
+ * }
192
+ * ```
193
+ *
194
+ * Important: For compound group keys, you must pass the complete set of keys that
195
+ * make up the compound key. Partial key combinations are not supported. For
196
+ * example, if your billable metric has a compound group key [region, team,
197
+ * environment], you must pass all three keys in group_key—you cannot pass just
198
+ * `[region]` or `[region, team]`.
199
+ *
176
200
  * ### Key response fields:
177
201
  *
178
202
  * An array of `PagedUsageAggregate` objects containing:
179
203
  *
180
204
  * - `starting_on` and `ending_before`: Time window boundaries
181
- * - `group_key`: The dimension being grouped by (e.g., "region")
182
- * - `group_value`: The specific value for this group (e.g., "US-East")
205
+ * - `group`: Object mapping group keys to their values
206
+ * - For simple groups, this will be a map with a single key-value pair (e.g.,
207
+ * `{"region": "US-East"}`)
208
+ * - For compound groups, this will be a map with multiple key-value pairs (e.g.,
209
+ * `{"region": "US-East", "team": "engineering"}`)
183
210
  * - `value`: Aggregated usage for this group and time window
184
211
  * - `next_page`: Pagination cursor for large datasets
185
212
  *
@@ -189,12 +216,13 @@ export class Usage extends APIResource {
189
216
  * `window_size`
190
217
  * - Time windows: Set `window_size` to hour, day, or none for different
191
218
  * granularities
192
- * - Group filtering: Use `group_by` to specify:
193
- * - key: The dimension to group by (must be set on the billable metric as a
194
- * group key)
195
- * - values: Optional array to filter to specific values only
219
+ * - Group filtering: Use `group_key` and `group_filters` to specify groups and
220
+ * group filters
221
+ * - Limits: When using compound group keys (2+ keys in `group_key`), the default
222
+ * and max limit is 100
196
223
  * - Pagination: Use limit and `next_page` for large result sets
197
- * - Null handling: `group_value` may be null for unmatched data
224
+ * - Null handling: Group values may be null for events missing the group key
225
+ * property
198
226
  *
199
227
  * @example
200
228
  * ```ts
@@ -206,10 +234,8 @@ export class Usage extends APIResource {
206
234
  * customer_id: '04ca7e72-4229-4a6e-ab11-9f7376fccbcb',
207
235
  * window_size: 'day',
208
236
  * ending_before: '2021-01-03T00:00:00Z',
209
- * group_by: {
210
- * key: 'region',
211
- * values: ['US-East', 'US-West', 'EU-Central'],
212
- * },
237
+ * group_filters: { region: ['us-east1', 'us-west1'] },
238
+ * group_key: ['region'],
213
239
  * starting_on: '2021-01-01T00:00:00Z',
214
240
  * },
215
241
  * )) {
@@ -1 +1 @@
1
- {"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../src/resources/v1/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EACL,UAAU,EAEV,sBAAsB,GAGv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YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+EG;IACH,cAAc,CACZ,MAAiC,EACjC,OAAwB;QAExB,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,UAAuC,CAAA,EAAE;YAC1F,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;YAC3B,IAAI;YACJ,MAAM,EAAE,MAAM;YACd,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF"}
@@ -13,6 +13,8 @@ import * as DashboardsAPI from "./dashboards.mjs";
13
13
  import { DashboardGetEmbeddableURLParams, DashboardGetEmbeddableURLResponse, Dashboards } from "./dashboards.mjs";
14
14
  import * as InvoicesAPI from "./invoices.mjs";
15
15
  import { InvoiceRegenerateParams, InvoiceRegenerateResponse, InvoiceVoidParams, InvoiceVoidResponse, Invoices } from "./invoices.mjs";
16
+ import * as PackagesAPI from "./packages.mjs";
17
+ import { PackageArchiveParams, PackageArchiveResponse, PackageCreateParams, PackageCreateResponse, PackageListContractsOnPackageParams, PackageListContractsOnPackageResponse, PackageListContractsOnPackageResponsesCursorPage, PackageListParams, PackageListResponse, PackageListResponsesCursorPage, PackageRetrieveParams, PackageRetrieveResponse, Packages } from "./packages.mjs";
16
18
  import * as PaymentsAPI from "./payments.mjs";
17
19
  import { Payment, PaymentAttemptParams, PaymentAttemptResponse, PaymentCancelParams, PaymentCancelResponse, PaymentListParams, PaymentStatus, Payments, PaymentsBodyCursorPage } from "./payments.mjs";
18
20
  import * as PlansAPI from "./plans.mjs";
@@ -24,9 +26,9 @@ import { ServiceListResponse, Services } from "./services.mjs";
24
26
  import * as UsageAPI from "./usage.mjs";
25
27
  import { Usage, UsageIngestParams, UsageListParams, UsageListResponse, UsageListResponsesCursorPageWithoutLimit, UsageListWithGroupsParams, UsageListWithGroupsResponse, UsageListWithGroupsResponsesCursorPage, UsageSearchParams, UsageSearchResponse } from "./usage.mjs";
26
28
  import * as ContractsAPI from "./contracts/contracts.mjs";
27
- import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.mjs";
29
+ import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractGetNetBalanceParams, ContractGetNetBalanceResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.mjs";
28
30
  import * as CustomersAPI from "./customers/customers.mjs";
29
- import { Customer, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.mjs";
31
+ import { Customer, CustomerArchiveBillingConfigurationsParams, CustomerArchiveBillingConfigurationsResponse, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.mjs";
30
32
  import * as SettingsAPI from "./settings/settings.mjs";
31
33
  import { SettingUpsertAvalaraCredentialsParams, SettingUpsertAvalaraCredentialsResponse, Settings } from "./settings/settings.mjs";
32
34
  export declare class V1 extends APIResource {
@@ -43,6 +45,7 @@ export declare class V1 extends APIResource {
43
45
  services: ServicesAPI.Services;
44
46
  invoices: InvoicesAPI.Invoices;
45
47
  contracts: ContractsAPI.Contracts;
48
+ packages: PackagesAPI.Packages;
46
49
  payments: PaymentsAPI.Payments;
47
50
  settings: SettingsAPI.Settings;
48
51
  }
@@ -51,7 +54,7 @@ export declare namespace V1 {
51
54
  export { Plans as Plans, type PlanDetail as PlanDetail, type PlanListResponse as PlanListResponse, type PlanGetDetailsResponse as PlanGetDetailsResponse, type PlanListChargesResponse as PlanListChargesResponse, type PlanListCustomersResponse as PlanListCustomersResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type PlanListChargesResponsesCursorPage as PlanListChargesResponsesCursorPage, type PlanListCustomersResponsesCursorPage as PlanListCustomersResponsesCursorPage, type PlanListParams as PlanListParams, type PlanGetDetailsParams as PlanGetDetailsParams, type PlanListChargesParams as PlanListChargesParams, type PlanListCustomersParams as PlanListCustomersParams, };
52
55
  export { CreditGrants as CreditGrants, type CreditLedgerEntry as CreditLedgerEntry, type RolloverAmountMaxAmount as RolloverAmountMaxAmount, type RolloverAmountMaxPercentage as RolloverAmountMaxPercentage, type CreditGrantCreateResponse as CreditGrantCreateResponse, type CreditGrantListResponse as CreditGrantListResponse, type CreditGrantEditResponse as CreditGrantEditResponse, type CreditGrantListEntriesResponse as CreditGrantListEntriesResponse, type CreditGrantVoidResponse as CreditGrantVoidResponse, type CreditGrantListResponsesCursorPage as CreditGrantListResponsesCursorPage, type CreditGrantListEntriesResponsesCursorPageWithoutLimit as CreditGrantListEntriesResponsesCursorPageWithoutLimit, type CreditGrantCreateParams as CreditGrantCreateParams, type CreditGrantListParams as CreditGrantListParams, type CreditGrantEditParams as CreditGrantEditParams, type CreditGrantListEntriesParams as CreditGrantListEntriesParams, type CreditGrantVoidParams as CreditGrantVoidParams, };
53
56
  export { PricingUnits as PricingUnits, type PricingUnitListResponse as PricingUnitListResponse, type PricingUnitListResponsesCursorPage as PricingUnitListResponsesCursorPage, type PricingUnitListParams as PricingUnitListParams, };
54
- export { Customers as Customers, type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerRetrieveBillingConfigurationsResponse as CustomerRetrieveBillingConfigurationsResponse, type CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, type CustomerSetNameResponse as CustomerSetNameResponse, type CustomerDetailsCursorPage as CustomerDetailsCursorPage, type CustomerListBillableMetricsResponsesCursorPage as CustomerListBillableMetricsResponsesCursorPage, type CustomerListCostsResponsesCursorPage as CustomerListCostsResponsesCursorPage, type CustomerCreateParams as CustomerCreateParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerListParams as CustomerListParams, type CustomerArchiveParams as CustomerArchiveParams, type CustomerListBillableMetricsParams as CustomerListBillableMetricsParams, type CustomerListCostsParams as CustomerListCostsParams, type CustomerPreviewEventsParams as CustomerPreviewEventsParams, type CustomerRetrieveBillingConfigurationsParams as CustomerRetrieveBillingConfigurationsParams, type CustomerSetBillingConfigurationsParams as CustomerSetBillingConfigurationsParams, type CustomerSetIngestAliasesParams as CustomerSetIngestAliasesParams, type CustomerSetNameParams as CustomerSetNameParams, type CustomerUpdateConfigParams as CustomerUpdateConfigParams, };
57
+ export { Customers as Customers, type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerArchiveBillingConfigurationsResponse as CustomerArchiveBillingConfigurationsResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerRetrieveBillingConfigurationsResponse as CustomerRetrieveBillingConfigurationsResponse, type CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, type CustomerSetNameResponse as CustomerSetNameResponse, type CustomerDetailsCursorPage as CustomerDetailsCursorPage, type CustomerListBillableMetricsResponsesCursorPage as CustomerListBillableMetricsResponsesCursorPage, type CustomerListCostsResponsesCursorPage as CustomerListCostsResponsesCursorPage, type CustomerCreateParams as CustomerCreateParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerListParams as CustomerListParams, type CustomerArchiveParams as CustomerArchiveParams, type CustomerArchiveBillingConfigurationsParams as CustomerArchiveBillingConfigurationsParams, type CustomerListBillableMetricsParams as CustomerListBillableMetricsParams, type CustomerListCostsParams as CustomerListCostsParams, type CustomerPreviewEventsParams as CustomerPreviewEventsParams, type CustomerRetrieveBillingConfigurationsParams as CustomerRetrieveBillingConfigurationsParams, type CustomerSetBillingConfigurationsParams as CustomerSetBillingConfigurationsParams, type CustomerSetIngestAliasesParams as CustomerSetIngestAliasesParams, type CustomerSetNameParams as CustomerSetNameParams, type CustomerUpdateConfigParams as CustomerUpdateConfigParams, };
55
58
  export { Dashboards as Dashboards, type DashboardGetEmbeddableURLResponse as DashboardGetEmbeddableURLResponse, type DashboardGetEmbeddableURLParams as DashboardGetEmbeddableURLParams, };
56
59
  export { Usage as Usage, type UsageListResponse as UsageListResponse, type UsageListWithGroupsResponse as UsageListWithGroupsResponse, type UsageSearchResponse as UsageSearchResponse, type UsageListResponsesCursorPageWithoutLimit as UsageListResponsesCursorPageWithoutLimit, type UsageListWithGroupsResponsesCursorPage as UsageListWithGroupsResponsesCursorPage, type UsageListParams as UsageListParams, type UsageIngestParams as UsageIngestParams, type UsageListWithGroupsParams as UsageListWithGroupsParams, type UsageSearchParams as UsageSearchParams, };
57
60
  export { AuditLogs as AuditLogs, type AuditLogListResponse as AuditLogListResponse, type AuditLogListResponsesCursorPage as AuditLogListResponsesCursorPage, type AuditLogListParams as AuditLogListParams, };
@@ -59,7 +62,8 @@ export declare namespace V1 {
59
62
  export { BillableMetrics as BillableMetrics, type BillableMetricCreateResponse as BillableMetricCreateResponse, type BillableMetricRetrieveResponse as BillableMetricRetrieveResponse, type BillableMetricListResponse as BillableMetricListResponse, type BillableMetricArchiveResponse as BillableMetricArchiveResponse, type BillableMetricListResponsesCursorPage as BillableMetricListResponsesCursorPage, type BillableMetricCreateParams as BillableMetricCreateParams, type BillableMetricRetrieveParams as BillableMetricRetrieveParams, type BillableMetricListParams as BillableMetricListParams, type BillableMetricArchiveParams as BillableMetricArchiveParams, };
60
63
  export { Services as Services, type ServiceListResponse as ServiceListResponse };
61
64
  export { Invoices as Invoices, type InvoiceRegenerateResponse as InvoiceRegenerateResponse, type InvoiceVoidResponse as InvoiceVoidResponse, type InvoiceRegenerateParams as InvoiceRegenerateParams, type InvoiceVoidParams as InvoiceVoidParams, };
62
- export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
65
+ export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractGetNetBalanceResponse as ContractGetNetBalanceResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractGetNetBalanceParams as ContractGetNetBalanceParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
66
+ export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageRetrieveResponse as PackageRetrieveResponse, type PackageListResponse as PackageListResponse, type PackageArchiveResponse as PackageArchiveResponse, type PackageListContractsOnPackageResponse as PackageListContractsOnPackageResponse, type PackageListResponsesCursorPage as PackageListResponsesCursorPage, type PackageListContractsOnPackageResponsesCursorPage as PackageListContractsOnPackageResponsesCursorPage, type PackageCreateParams as PackageCreateParams, type PackageRetrieveParams as PackageRetrieveParams, type PackageListParams as PackageListParams, type PackageArchiveParams as PackageArchiveParams, type PackageListContractsOnPackageParams as PackageListContractsOnPackageParams, };
63
67
  export { Payments as Payments, type Payment as Payment, type PaymentStatus as PaymentStatus, type PaymentAttemptResponse as PaymentAttemptResponse, type PaymentCancelResponse as PaymentCancelResponse, type PaymentsBodyCursorPage as PaymentsBodyCursorPage, type PaymentListParams as PaymentListParams, type PaymentAttemptParams as PaymentAttemptParams, type PaymentCancelParams as PaymentCancelParams, };
64
68
  export { Settings as Settings, type SettingUpsertAvalaraCredentialsResponse as SettingUpsertAvalaraCredentialsResponse, type SettingUpsertAvalaraCredentialsParams as SettingUpsertAvalaraCredentialsParams, };
65
69
  }
@@ -1 +1 @@
1
- {"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EACL,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP;OACM,KAAK,YAAY;OACjB,EACL,kBAAkB,EAClB,oBAAoB,EACpB,+BAA+B,EAC/B,SAAS,EACV;OACM,K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AgD,IAAI,gDAAgD,EACzG,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
@@ -13,6 +13,8 @@ import * as DashboardsAPI from "./dashboards.js";
13
13
  import { DashboardGetEmbeddableURLParams, DashboardGetEmbeddableURLResponse, Dashboards } from "./dashboards.js";
14
14
  import * as InvoicesAPI from "./invoices.js";
15
15
  import { InvoiceRegenerateParams, InvoiceRegenerateResponse, InvoiceVoidParams, InvoiceVoidResponse, Invoices } from "./invoices.js";
16
+ import * as PackagesAPI from "./packages.js";
17
+ import { PackageArchiveParams, PackageArchiveResponse, PackageCreateParams, PackageCreateResponse, PackageListContractsOnPackageParams, PackageListContractsOnPackageResponse, PackageListContractsOnPackageResponsesCursorPage, PackageListParams, PackageListResponse, PackageListResponsesCursorPage, PackageRetrieveParams, PackageRetrieveResponse, Packages } from "./packages.js";
16
18
  import * as PaymentsAPI from "./payments.js";
17
19
  import { Payment, PaymentAttemptParams, PaymentAttemptResponse, PaymentCancelParams, PaymentCancelResponse, PaymentListParams, PaymentStatus, Payments, PaymentsBodyCursorPage } from "./payments.js";
18
20
  import * as PlansAPI from "./plans.js";
@@ -24,9 +26,9 @@ import { ServiceListResponse, Services } from "./services.js";
24
26
  import * as UsageAPI from "./usage.js";
25
27
  import { Usage, UsageIngestParams, UsageListParams, UsageListResponse, UsageListResponsesCursorPageWithoutLimit, UsageListWithGroupsParams, UsageListWithGroupsResponse, UsageListWithGroupsResponsesCursorPage, UsageSearchParams, UsageSearchResponse } from "./usage.js";
26
28
  import * as ContractsAPI from "./contracts/contracts.js";
27
- import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.js";
29
+ import { ContractAddManualBalanceEntryParams, ContractAmendParams, ContractAmendResponse, ContractArchiveParams, ContractArchiveResponse, ContractCreateHistoricalInvoicesParams, ContractCreateHistoricalInvoicesResponse, ContractCreateParams, ContractCreateResponse, ContractGetNetBalanceParams, ContractGetNetBalanceResponse, ContractListBalancesParams, ContractListBalancesResponse, ContractListBalancesResponsesBodyCursorPage, ContractListParams, ContractListResponse, ContractRetrieveParams, ContractRetrieveRateScheduleParams, ContractRetrieveRateScheduleResponse, ContractRetrieveResponse, ContractRetrieveSubscriptionQuantityHistoryParams, ContractRetrieveSubscriptionQuantityHistoryResponse, ContractScheduleProServicesInvoiceParams, ContractScheduleProServicesInvoiceResponse, ContractSetUsageFilterParams, ContractUpdateEndDateParams, ContractUpdateEndDateResponse, Contracts } from "./contracts/contracts.js";
28
30
  import * as CustomersAPI from "./customers/customers.js";
29
- import { Customer, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.js";
31
+ import { Customer, CustomerArchiveBillingConfigurationsParams, CustomerArchiveBillingConfigurationsResponse, CustomerArchiveParams, CustomerArchiveResponse, CustomerCreateParams, CustomerCreateResponse, CustomerDetail, CustomerDetailsCursorPage, CustomerListBillableMetricsParams, CustomerListBillableMetricsResponse, CustomerListBillableMetricsResponsesCursorPage, CustomerListCostsParams, CustomerListCostsResponse, CustomerListCostsResponsesCursorPage, CustomerListParams, CustomerPreviewEventsParams, CustomerPreviewEventsResponse, CustomerRetrieveBillingConfigurationsParams, CustomerRetrieveBillingConfigurationsResponse, CustomerRetrieveParams, CustomerRetrieveResponse, CustomerSetBillingConfigurationsParams, CustomerSetBillingConfigurationsResponse, CustomerSetIngestAliasesParams, CustomerSetNameParams, CustomerSetNameResponse, CustomerUpdateConfigParams, Customers } from "./customers/customers.js";
30
32
  import * as SettingsAPI from "./settings/settings.js";
31
33
  import { SettingUpsertAvalaraCredentialsParams, SettingUpsertAvalaraCredentialsResponse, Settings } from "./settings/settings.js";
32
34
  export declare class V1 extends APIResource {
@@ -43,6 +45,7 @@ export declare class V1 extends APIResource {
43
45
  services: ServicesAPI.Services;
44
46
  invoices: InvoicesAPI.Invoices;
45
47
  contracts: ContractsAPI.Contracts;
48
+ packages: PackagesAPI.Packages;
46
49
  payments: PaymentsAPI.Payments;
47
50
  settings: SettingsAPI.Settings;
48
51
  }
@@ -51,7 +54,7 @@ export declare namespace V1 {
51
54
  export { Plans as Plans, type PlanDetail as PlanDetail, type PlanListResponse as PlanListResponse, type PlanGetDetailsResponse as PlanGetDetailsResponse, type PlanListChargesResponse as PlanListChargesResponse, type PlanListCustomersResponse as PlanListCustomersResponse, type PlanListResponsesCursorPage as PlanListResponsesCursorPage, type PlanListChargesResponsesCursorPage as PlanListChargesResponsesCursorPage, type PlanListCustomersResponsesCursorPage as PlanListCustomersResponsesCursorPage, type PlanListParams as PlanListParams, type PlanGetDetailsParams as PlanGetDetailsParams, type PlanListChargesParams as PlanListChargesParams, type PlanListCustomersParams as PlanListCustomersParams, };
52
55
  export { CreditGrants as CreditGrants, type CreditLedgerEntry as CreditLedgerEntry, type RolloverAmountMaxAmount as RolloverAmountMaxAmount, type RolloverAmountMaxPercentage as RolloverAmountMaxPercentage, type CreditGrantCreateResponse as CreditGrantCreateResponse, type CreditGrantListResponse as CreditGrantListResponse, type CreditGrantEditResponse as CreditGrantEditResponse, type CreditGrantListEntriesResponse as CreditGrantListEntriesResponse, type CreditGrantVoidResponse as CreditGrantVoidResponse, type CreditGrantListResponsesCursorPage as CreditGrantListResponsesCursorPage, type CreditGrantListEntriesResponsesCursorPageWithoutLimit as CreditGrantListEntriesResponsesCursorPageWithoutLimit, type CreditGrantCreateParams as CreditGrantCreateParams, type CreditGrantListParams as CreditGrantListParams, type CreditGrantEditParams as CreditGrantEditParams, type CreditGrantListEntriesParams as CreditGrantListEntriesParams, type CreditGrantVoidParams as CreditGrantVoidParams, };
53
56
  export { PricingUnits as PricingUnits, type PricingUnitListResponse as PricingUnitListResponse, type PricingUnitListResponsesCursorPage as PricingUnitListResponsesCursorPage, type PricingUnitListParams as PricingUnitListParams, };
54
- export { Customers as Customers, type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerRetrieveBillingConfigurationsResponse as CustomerRetrieveBillingConfigurationsResponse, type CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, type CustomerSetNameResponse as CustomerSetNameResponse, type CustomerDetailsCursorPage as CustomerDetailsCursorPage, type CustomerListBillableMetricsResponsesCursorPage as CustomerListBillableMetricsResponsesCursorPage, type CustomerListCostsResponsesCursorPage as CustomerListCostsResponsesCursorPage, type CustomerCreateParams as CustomerCreateParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerListParams as CustomerListParams, type CustomerArchiveParams as CustomerArchiveParams, type CustomerListBillableMetricsParams as CustomerListBillableMetricsParams, type CustomerListCostsParams as CustomerListCostsParams, type CustomerPreviewEventsParams as CustomerPreviewEventsParams, type CustomerRetrieveBillingConfigurationsParams as CustomerRetrieveBillingConfigurationsParams, type CustomerSetBillingConfigurationsParams as CustomerSetBillingConfigurationsParams, type CustomerSetIngestAliasesParams as CustomerSetIngestAliasesParams, type CustomerSetNameParams as CustomerSetNameParams, type CustomerUpdateConfigParams as CustomerUpdateConfigParams, };
57
+ export { Customers as Customers, type Customer as Customer, type CustomerDetail as CustomerDetail, type CustomerCreateResponse as CustomerCreateResponse, type CustomerRetrieveResponse as CustomerRetrieveResponse, type CustomerArchiveResponse as CustomerArchiveResponse, type CustomerArchiveBillingConfigurationsResponse as CustomerArchiveBillingConfigurationsResponse, type CustomerListBillableMetricsResponse as CustomerListBillableMetricsResponse, type CustomerListCostsResponse as CustomerListCostsResponse, type CustomerPreviewEventsResponse as CustomerPreviewEventsResponse, type CustomerRetrieveBillingConfigurationsResponse as CustomerRetrieveBillingConfigurationsResponse, type CustomerSetBillingConfigurationsResponse as CustomerSetBillingConfigurationsResponse, type CustomerSetNameResponse as CustomerSetNameResponse, type CustomerDetailsCursorPage as CustomerDetailsCursorPage, type CustomerListBillableMetricsResponsesCursorPage as CustomerListBillableMetricsResponsesCursorPage, type CustomerListCostsResponsesCursorPage as CustomerListCostsResponsesCursorPage, type CustomerCreateParams as CustomerCreateParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerListParams as CustomerListParams, type CustomerArchiveParams as CustomerArchiveParams, type CustomerArchiveBillingConfigurationsParams as CustomerArchiveBillingConfigurationsParams, type CustomerListBillableMetricsParams as CustomerListBillableMetricsParams, type CustomerListCostsParams as CustomerListCostsParams, type CustomerPreviewEventsParams as CustomerPreviewEventsParams, type CustomerRetrieveBillingConfigurationsParams as CustomerRetrieveBillingConfigurationsParams, type CustomerSetBillingConfigurationsParams as CustomerSetBillingConfigurationsParams, type CustomerSetIngestAliasesParams as CustomerSetIngestAliasesParams, type CustomerSetNameParams as CustomerSetNameParams, type CustomerUpdateConfigParams as CustomerUpdateConfigParams, };
55
58
  export { Dashboards as Dashboards, type DashboardGetEmbeddableURLResponse as DashboardGetEmbeddableURLResponse, type DashboardGetEmbeddableURLParams as DashboardGetEmbeddableURLParams, };
56
59
  export { Usage as Usage, type UsageListResponse as UsageListResponse, type UsageListWithGroupsResponse as UsageListWithGroupsResponse, type UsageSearchResponse as UsageSearchResponse, type UsageListResponsesCursorPageWithoutLimit as UsageListResponsesCursorPageWithoutLimit, type UsageListWithGroupsResponsesCursorPage as UsageListWithGroupsResponsesCursorPage, type UsageListParams as UsageListParams, type UsageIngestParams as UsageIngestParams, type UsageListWithGroupsParams as UsageListWithGroupsParams, type UsageSearchParams as UsageSearchParams, };
57
60
  export { AuditLogs as AuditLogs, type AuditLogListResponse as AuditLogListResponse, type AuditLogListResponsesCursorPage as AuditLogListResponsesCursorPage, type AuditLogListParams as AuditLogListParams, };
@@ -59,7 +62,8 @@ export declare namespace V1 {
59
62
  export { BillableMetrics as BillableMetrics, type BillableMetricCreateResponse as BillableMetricCreateResponse, type BillableMetricRetrieveResponse as BillableMetricRetrieveResponse, type BillableMetricListResponse as BillableMetricListResponse, type BillableMetricArchiveResponse as BillableMetricArchiveResponse, type BillableMetricListResponsesCursorPage as BillableMetricListResponsesCursorPage, type BillableMetricCreateParams as BillableMetricCreateParams, type BillableMetricRetrieveParams as BillableMetricRetrieveParams, type BillableMetricListParams as BillableMetricListParams, type BillableMetricArchiveParams as BillableMetricArchiveParams, };
60
63
  export { Services as Services, type ServiceListResponse as ServiceListResponse };
61
64
  export { Invoices as Invoices, type InvoiceRegenerateResponse as InvoiceRegenerateResponse, type InvoiceVoidResponse as InvoiceVoidResponse, type InvoiceRegenerateParams as InvoiceRegenerateParams, type InvoiceVoidParams as InvoiceVoidParams, };
62
- export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
65
+ export { Contracts as Contracts, type ContractCreateResponse as ContractCreateResponse, type ContractRetrieveResponse as ContractRetrieveResponse, type ContractListResponse as ContractListResponse, type ContractAmendResponse as ContractAmendResponse, type ContractArchiveResponse as ContractArchiveResponse, type ContractCreateHistoricalInvoicesResponse as ContractCreateHistoricalInvoicesResponse, type ContractGetNetBalanceResponse as ContractGetNetBalanceResponse, type ContractListBalancesResponse as ContractListBalancesResponse, type ContractRetrieveRateScheduleResponse as ContractRetrieveRateScheduleResponse, type ContractRetrieveSubscriptionQuantityHistoryResponse as ContractRetrieveSubscriptionQuantityHistoryResponse, type ContractScheduleProServicesInvoiceResponse as ContractScheduleProServicesInvoiceResponse, type ContractUpdateEndDateResponse as ContractUpdateEndDateResponse, type ContractListBalancesResponsesBodyCursorPage as ContractListBalancesResponsesBodyCursorPage, type ContractCreateParams as ContractCreateParams, type ContractRetrieveParams as ContractRetrieveParams, type ContractListParams as ContractListParams, type ContractAddManualBalanceEntryParams as ContractAddManualBalanceEntryParams, type ContractAmendParams as ContractAmendParams, type ContractArchiveParams as ContractArchiveParams, type ContractCreateHistoricalInvoicesParams as ContractCreateHistoricalInvoicesParams, type ContractGetNetBalanceParams as ContractGetNetBalanceParams, type ContractListBalancesParams as ContractListBalancesParams, type ContractRetrieveRateScheduleParams as ContractRetrieveRateScheduleParams, type ContractRetrieveSubscriptionQuantityHistoryParams as ContractRetrieveSubscriptionQuantityHistoryParams, type ContractScheduleProServicesInvoiceParams as ContractScheduleProServicesInvoiceParams, type ContractSetUsageFilterParams as ContractSetUsageFilterParams, type ContractUpdateEndDateParams as ContractUpdateEndDateParams, };
66
+ export { Packages as Packages, type PackageCreateResponse as PackageCreateResponse, type PackageRetrieveResponse as PackageRetrieveResponse, type PackageListResponse as PackageListResponse, type PackageArchiveResponse as PackageArchiveResponse, type PackageListContractsOnPackageResponse as PackageListContractsOnPackageResponse, type PackageListResponsesCursorPage as PackageListResponsesCursorPage, type PackageListContractsOnPackageResponsesCursorPage as PackageListContractsOnPackageResponsesCursorPage, type PackageCreateParams as PackageCreateParams, type PackageRetrieveParams as PackageRetrieveParams, type PackageListParams as PackageListParams, type PackageArchiveParams as PackageArchiveParams, type PackageListContractsOnPackageParams as PackageListContractsOnPackageParams, };
63
67
  export { Payments as Payments, type Payment as Payment, type PaymentStatus as PaymentStatus, type PaymentAttemptResponse as PaymentAttemptResponse, type PaymentCancelResponse as PaymentCancelResponse, type PaymentsBodyCursorPage as PaymentsBodyCursorPage, type PaymentListParams as PaymentListParams, type PaymentAttemptParams as PaymentAttemptParams, type PaymentCancelParams as PaymentCancelParams, };
64
68
  export { Settings as Settings, type SettingUpsertAvalaraCredentialsResponse as SettingUpsertAvalaraCredentialsResponse, type SettingUpsertAvalaraCredentialsParams as SettingUpsertAvalaraCredentialsParams, };
65
69
  }