orb-billing 5.75.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (926) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +118 -45
  3. package/api-promise.d.mts +3 -0
  4. package/api-promise.d.mts.map +1 -0
  5. package/api-promise.d.ts +3 -0
  6. package/api-promise.d.ts.map +1 -0
  7. package/api-promise.js +6 -0
  8. package/api-promise.js.map +1 -0
  9. package/api-promise.mjs +3 -0
  10. package/api-promise.mjs.map +1 -0
  11. package/client.d.mts +474 -0
  12. package/client.d.mts.map +1 -0
  13. package/client.d.ts +474 -0
  14. package/client.d.ts.map +1 -0
  15. package/client.js +650 -0
  16. package/client.js.map +1 -0
  17. package/client.mjs +645 -0
  18. package/client.mjs.map +1 -0
  19. package/core/api-promise.d.mts +46 -0
  20. package/core/api-promise.d.mts.map +1 -0
  21. package/core/api-promise.d.ts +46 -0
  22. package/core/api-promise.d.ts.map +1 -0
  23. package/core/api-promise.js +74 -0
  24. package/core/api-promise.js.map +1 -0
  25. package/core/api-promise.mjs +70 -0
  26. package/core/api-promise.mjs.map +1 -0
  27. package/core/error.d.mts +131 -0
  28. package/core/error.d.mts.map +1 -0
  29. package/core/error.d.ts +131 -0
  30. package/core/error.d.ts.map +1 -0
  31. package/core/error.js +294 -0
  32. package/core/error.js.map +1 -0
  33. package/core/error.mjs +266 -0
  34. package/core/error.mjs.map +1 -0
  35. package/core/pagination.d.mts +67 -0
  36. package/core/pagination.d.mts.map +1 -0
  37. package/core/pagination.d.ts +67 -0
  38. package/core/pagination.d.ts.map +1 -0
  39. package/core/pagination.js +101 -0
  40. package/core/pagination.js.map +1 -0
  41. package/core/pagination.mjs +95 -0
  42. package/core/pagination.mjs.map +1 -0
  43. package/core/resource.d.mts +6 -0
  44. package/core/resource.d.mts.map +1 -0
  45. package/core/resource.d.ts +6 -0
  46. package/core/resource.d.ts.map +1 -0
  47. package/core/resource.js +11 -0
  48. package/core/resource.js.map +1 -0
  49. package/core/resource.mjs +7 -0
  50. package/core/resource.mjs.map +1 -0
  51. package/core/uploads.d.mts +3 -0
  52. package/core/uploads.d.mts.map +1 -0
  53. package/core/uploads.d.ts +3 -0
  54. package/core/uploads.d.ts.map +1 -0
  55. package/core/uploads.js +6 -0
  56. package/core/uploads.js.map +1 -0
  57. package/core/uploads.mjs +2 -0
  58. package/core/uploads.mjs.map +1 -0
  59. package/error.d.mts +3 -0
  60. package/error.d.mts.map +1 -0
  61. package/error.d.ts +2 -131
  62. package/error.d.ts.map +1 -1
  63. package/error.js +3 -291
  64. package/error.js.map +1 -1
  65. package/error.mjs +2 -265
  66. package/error.mjs.map +1 -1
  67. package/index.d.mts +7 -401
  68. package/index.d.mts.map +1 -0
  69. package/index.d.ts +6 -400
  70. package/index.d.ts.map +1 -1
  71. package/index.js +15 -286
  72. package/index.js.map +1 -1
  73. package/index.mjs +6 -259
  74. package/index.mjs.map +1 -1
  75. package/internal/builtin-types.d.mts +73 -0
  76. package/internal/builtin-types.d.mts.map +1 -0
  77. package/internal/builtin-types.d.ts +73 -0
  78. package/internal/builtin-types.d.ts.map +1 -0
  79. package/internal/builtin-types.js +4 -0
  80. package/internal/builtin-types.js.map +1 -0
  81. package/internal/builtin-types.mjs +3 -0
  82. package/internal/builtin-types.mjs.map +1 -0
  83. package/internal/detect-platform.d.mts +15 -0
  84. package/internal/detect-platform.d.mts.map +1 -0
  85. package/internal/detect-platform.d.ts +15 -0
  86. package/internal/detect-platform.d.ts.map +1 -0
  87. package/internal/detect-platform.js +162 -0
  88. package/internal/detect-platform.js.map +1 -0
  89. package/internal/detect-platform.mjs +157 -0
  90. package/internal/detect-platform.mjs.map +1 -0
  91. package/internal/errors.d.mts +3 -0
  92. package/internal/errors.d.mts.map +1 -0
  93. package/internal/errors.d.ts +3 -0
  94. package/internal/errors.d.ts.map +1 -0
  95. package/internal/errors.js +41 -0
  96. package/internal/errors.js.map +1 -0
  97. package/internal/errors.mjs +36 -0
  98. package/internal/errors.mjs.map +1 -0
  99. package/internal/headers.d.mts +20 -0
  100. package/internal/headers.d.mts.map +1 -0
  101. package/internal/headers.d.ts +20 -0
  102. package/internal/headers.d.ts.map +1 -0
  103. package/internal/headers.js +79 -0
  104. package/internal/headers.js.map +1 -0
  105. package/internal/headers.mjs +74 -0
  106. package/internal/headers.mjs.map +1 -0
  107. package/internal/parse.d.mts +12 -0
  108. package/internal/parse.d.mts.map +1 -0
  109. package/internal/parse.d.ts +12 -0
  110. package/internal/parse.d.ts.map +1 -0
  111. package/internal/parse.js +40 -0
  112. package/internal/parse.js.map +1 -0
  113. package/internal/parse.mjs +37 -0
  114. package/internal/parse.mjs.map +1 -0
  115. package/internal/qs/formats.d.mts +7 -0
  116. package/internal/qs/formats.d.mts.map +1 -0
  117. package/internal/qs/formats.d.ts +1 -0
  118. package/internal/qs/formats.d.ts.map +1 -1
  119. package/internal/qs/formats.js +4 -2
  120. package/internal/qs/formats.js.map +1 -1
  121. package/internal/qs/formats.mjs +2 -1
  122. package/internal/qs/formats.mjs.map +1 -1
  123. package/internal/qs/index.d.mts +10 -0
  124. package/internal/qs/index.d.mts.map +1 -0
  125. package/internal/qs/index.d.ts +2 -2
  126. package/internal/qs/index.d.ts.map +1 -1
  127. package/internal/qs/index.mjs.map +1 -1
  128. package/internal/qs/stringify.d.mts +3 -0
  129. package/internal/qs/stringify.d.mts.map +1 -0
  130. package/internal/qs/stringify.d.ts.map +1 -1
  131. package/internal/qs/stringify.js +16 -19
  132. package/internal/qs/stringify.js.map +1 -1
  133. package/internal/qs/stringify.mjs +17 -19
  134. package/internal/qs/stringify.mjs.map +1 -1
  135. package/internal/qs/types.d.mts +57 -0
  136. package/internal/qs/types.d.mts.map +1 -0
  137. package/internal/qs/utils.d.mts +15 -0
  138. package/internal/qs/utils.d.mts.map +1 -0
  139. package/internal/qs/utils.d.ts +1 -0
  140. package/internal/qs/utils.d.ts.map +1 -1
  141. package/internal/qs/utils.js +22 -21
  142. package/internal/qs/utils.js.map +1 -1
  143. package/internal/qs/utils.mjs +12 -12
  144. package/internal/qs/utils.mjs.map +1 -1
  145. package/internal/request-options.d.mts +75 -0
  146. package/internal/request-options.d.mts.map +1 -0
  147. package/internal/request-options.d.ts +75 -0
  148. package/internal/request-options.d.ts.map +1 -0
  149. package/internal/request-options.js +14 -0
  150. package/internal/request-options.js.map +1 -0
  151. package/internal/request-options.mjs +10 -0
  152. package/internal/request-options.mjs.map +1 -0
  153. package/internal/shim-types.d.mts +17 -0
  154. package/internal/shim-types.d.mts.map +1 -0
  155. package/internal/shim-types.d.ts +17 -0
  156. package/internal/shim-types.d.ts.map +1 -0
  157. package/internal/shim-types.js +4 -0
  158. package/internal/shim-types.js.map +1 -0
  159. package/internal/shim-types.mjs +3 -0
  160. package/internal/shim-types.mjs.map +1 -0
  161. package/internal/shims.d.mts +26 -0
  162. package/internal/shims.d.mts.map +1 -0
  163. package/internal/shims.d.ts +26 -0
  164. package/internal/shims.d.ts.map +1 -0
  165. package/internal/shims.js +92 -0
  166. package/internal/shims.js.map +1 -0
  167. package/internal/shims.mjs +85 -0
  168. package/internal/shims.mjs.map +1 -0
  169. package/internal/to-file.d.mts +45 -0
  170. package/internal/to-file.d.mts.map +1 -0
  171. package/internal/to-file.d.ts +45 -0
  172. package/internal/to-file.d.ts.map +1 -0
  173. package/internal/to-file.js +91 -0
  174. package/internal/to-file.js.map +1 -0
  175. package/internal/to-file.mjs +88 -0
  176. package/internal/to-file.mjs.map +1 -0
  177. package/internal/tslib.js +81 -0
  178. package/internal/tslib.mjs +17 -0
  179. package/internal/types.d.mts +69 -0
  180. package/internal/types.d.mts.map +1 -0
  181. package/internal/types.d.ts +69 -0
  182. package/internal/types.d.ts.map +1 -0
  183. package/internal/types.js +4 -0
  184. package/internal/types.js.map +1 -0
  185. package/internal/types.mjs +3 -0
  186. package/internal/types.mjs.map +1 -0
  187. package/internal/uploads.d.mts +42 -0
  188. package/internal/uploads.d.mts.map +1 -0
  189. package/internal/uploads.d.ts +42 -0
  190. package/internal/uploads.d.ts.map +1 -0
  191. package/internal/uploads.js +141 -0
  192. package/internal/uploads.js.map +1 -0
  193. package/internal/uploads.mjs +131 -0
  194. package/internal/uploads.mjs.map +1 -0
  195. package/internal/utils/base64.d.mts +3 -0
  196. package/internal/utils/base64.d.mts.map +1 -0
  197. package/internal/utils/base64.d.ts +3 -0
  198. package/internal/utils/base64.d.ts.map +1 -0
  199. package/internal/utils/base64.js +38 -0
  200. package/internal/utils/base64.js.map +1 -0
  201. package/internal/utils/base64.mjs +33 -0
  202. package/internal/utils/base64.mjs.map +1 -0
  203. package/internal/utils/bytes.d.mts +4 -0
  204. package/internal/utils/bytes.d.mts.map +1 -0
  205. package/internal/utils/bytes.d.ts +4 -0
  206. package/internal/utils/bytes.d.ts.map +1 -0
  207. package/internal/utils/bytes.js +31 -0
  208. package/internal/utils/bytes.js.map +1 -0
  209. package/internal/utils/bytes.mjs +26 -0
  210. package/internal/utils/bytes.mjs.map +1 -0
  211. package/internal/utils/env.d.mts +9 -0
  212. package/internal/utils/env.d.mts.map +1 -0
  213. package/internal/utils/env.d.ts +9 -0
  214. package/internal/utils/env.d.ts.map +1 -0
  215. package/internal/utils/env.js +22 -0
  216. package/internal/utils/env.js.map +1 -0
  217. package/internal/utils/env.mjs +18 -0
  218. package/internal/utils/env.mjs.map +1 -0
  219. package/internal/utils/log.d.mts +37 -0
  220. package/internal/utils/log.d.mts.map +1 -0
  221. package/internal/utils/log.d.ts +37 -0
  222. package/internal/utils/log.d.ts.map +1 -0
  223. package/internal/utils/log.js +87 -0
  224. package/internal/utils/log.js.map +1 -0
  225. package/internal/utils/log.mjs +81 -0
  226. package/internal/utils/log.mjs.map +1 -0
  227. package/internal/utils/path.d.mts +15 -0
  228. package/internal/utils/path.d.mts.map +1 -0
  229. package/internal/utils/path.d.ts +15 -0
  230. package/internal/utils/path.d.ts.map +1 -0
  231. package/internal/utils/path.js +79 -0
  232. package/internal/utils/path.js.map +1 -0
  233. package/internal/utils/path.mjs +74 -0
  234. package/internal/utils/path.mjs.map +1 -0
  235. package/internal/utils/query.d.mts +2 -0
  236. package/internal/utils/query.d.mts.map +1 -0
  237. package/internal/utils/query.js +3 -26
  238. package/internal/utils/query.js.map +1 -1
  239. package/internal/utils/query.mjs.map +1 -1
  240. package/internal/utils/sleep.d.mts +2 -0
  241. package/internal/utils/sleep.d.mts.map +1 -0
  242. package/internal/utils/sleep.d.ts +2 -0
  243. package/internal/utils/sleep.d.ts.map +1 -0
  244. package/internal/utils/sleep.js +7 -0
  245. package/internal/utils/sleep.js.map +1 -0
  246. package/internal/utils/sleep.mjs +3 -0
  247. package/internal/utils/sleep.mjs.map +1 -0
  248. package/internal/utils/uuid.d.mts +5 -0
  249. package/internal/utils/uuid.d.mts.map +1 -0
  250. package/internal/utils/uuid.d.ts +5 -0
  251. package/internal/utils/uuid.d.ts.map +1 -0
  252. package/internal/utils/uuid.js +19 -0
  253. package/internal/utils/uuid.js.map +1 -0
  254. package/internal/utils/uuid.mjs +15 -0
  255. package/internal/utils/uuid.mjs.map +1 -0
  256. package/internal/utils/values.d.mts +18 -0
  257. package/internal/utils/values.d.mts.map +1 -0
  258. package/internal/utils/values.d.ts +18 -0
  259. package/internal/utils/values.d.ts.map +1 -0
  260. package/internal/utils/values.js +112 -0
  261. package/internal/utils/values.js.map +1 -0
  262. package/internal/utils/values.mjs +94 -0
  263. package/internal/utils/values.mjs.map +1 -0
  264. package/internal/utils.d.mts +8 -0
  265. package/internal/utils.d.mts.map +1 -0
  266. package/internal/utils.d.ts +8 -0
  267. package/internal/utils.d.ts.map +1 -0
  268. package/internal/utils.js +12 -0
  269. package/internal/utils.js.map +1 -0
  270. package/internal/utils.mjs +9 -0
  271. package/internal/utils.mjs.map +1 -0
  272. package/package.json +122 -65
  273. package/pagination.d.mts +3 -0
  274. package/pagination.d.mts.map +1 -0
  275. package/pagination.d.ts +2 -30
  276. package/pagination.d.ts.map +1 -1
  277. package/pagination.js +3 -37
  278. package/pagination.js.map +1 -1
  279. package/pagination.mjs +2 -35
  280. package/pagination.mjs.map +1 -1
  281. package/resource.d.mts +3 -0
  282. package/resource.d.mts.map +1 -0
  283. package/resource.d.ts +2 -5
  284. package/resource.d.ts.map +1 -1
  285. package/resource.js +3 -8
  286. package/resource.js.map +1 -1
  287. package/resource.mjs +2 -6
  288. package/resource.mjs.map +1 -1
  289. package/resources/alerts.d.mts +430 -0
  290. package/resources/alerts.d.mts.map +1 -0
  291. package/resources/alerts.d.ts +14 -17
  292. package/resources/alerts.d.ts.map +1 -1
  293. package/resources/alerts.js +37 -27
  294. package/resources/alerts.js.map +1 -1
  295. package/resources/alerts.mjs +36 -25
  296. package/resources/alerts.mjs.map +1 -1
  297. package/resources/beta/beta.d.mts +2826 -0
  298. package/resources/beta/beta.d.mts.map +1 -0
  299. package/resources/beta/beta.d.ts +13 -9
  300. package/resources/beta/beta.d.ts.map +1 -1
  301. package/resources/beta/beta.js +10 -30
  302. package/resources/beta/beta.js.map +1 -1
  303. package/resources/beta/beta.mjs +8 -6
  304. package/resources/beta/beta.mjs.map +1 -1
  305. package/resources/beta/external-plan-id.d.mts +2713 -0
  306. package/resources/beta/external-plan-id.d.mts.map +1 -0
  307. package/resources/beta/external-plan-id.d.ts +10 -6
  308. package/resources/beta/external-plan-id.d.ts.map +1 -1
  309. package/resources/beta/external-plan-id.js +7 -5
  310. package/resources/beta/external-plan-id.js.map +1 -1
  311. package/resources/beta/external-plan-id.mjs +7 -5
  312. package/resources/beta/external-plan-id.mjs.map +1 -1
  313. package/resources/beta/index.d.mts +3 -0
  314. package/resources/beta/index.d.mts.map +1 -0
  315. package/resources/beta/index.d.ts +2 -2
  316. package/resources/beta/index.d.ts.map +1 -1
  317. package/resources/beta/index.js.map +1 -1
  318. package/resources/beta/index.mjs.map +1 -1
  319. package/resources/beta.d.mts +2 -0
  320. package/resources/beta.d.mts.map +1 -0
  321. package/resources/beta.d.ts.map +1 -1
  322. package/resources/beta.js +2 -15
  323. package/resources/beta.js.map +1 -1
  324. package/resources/beta.mjs.map +1 -1
  325. package/resources/coupons/coupons.d.mts +148 -0
  326. package/resources/coupons/coupons.d.mts.map +1 -0
  327. package/resources/coupons/coupons.d.ts +10 -11
  328. package/resources/coupons/coupons.d.ts.map +1 -1
  329. package/resources/coupons/coupons.js +24 -38
  330. package/resources/coupons/coupons.js.map +1 -1
  331. package/resources/coupons/coupons.mjs +21 -12
  332. package/resources/coupons/coupons.mjs.map +1 -1
  333. package/resources/coupons/index.d.mts +3 -0
  334. package/resources/coupons/index.d.mts.map +1 -0
  335. package/resources/coupons/index.d.ts +1 -1
  336. package/resources/coupons/index.d.ts.map +1 -1
  337. package/resources/coupons/index.js +1 -2
  338. package/resources/coupons/index.js.map +1 -1
  339. package/resources/coupons/index.mjs +1 -1
  340. package/resources/coupons/index.mjs.map +1 -1
  341. package/resources/coupons/subscriptions.d.mts +34 -0
  342. package/resources/coupons/subscriptions.d.mts.map +1 -0
  343. package/resources/coupons/subscriptions.d.ts +5 -6
  344. package/resources/coupons/subscriptions.d.ts.map +1 -1
  345. package/resources/coupons/subscriptions.js +21 -12
  346. package/resources/coupons/subscriptions.js.map +1 -1
  347. package/resources/coupons/subscriptions.mjs +20 -11
  348. package/resources/coupons/subscriptions.mjs.map +1 -1
  349. package/resources/coupons.d.mts +2 -0
  350. package/resources/coupons.d.mts.map +1 -0
  351. package/resources/coupons.d.ts.map +1 -1
  352. package/resources/coupons.js +2 -15
  353. package/resources/coupons.js.map +1 -1
  354. package/resources/coupons.mjs.map +1 -1
  355. package/resources/credit-blocks.d.mts +275 -0
  356. package/resources/credit-blocks.d.mts.map +1 -0
  357. package/resources/credit-blocks.d.ts +50 -9
  358. package/resources/credit-blocks.d.ts.map +1 -1
  359. package/resources/credit-blocks.js +7 -5
  360. package/resources/credit-blocks.js.map +1 -1
  361. package/resources/credit-blocks.mjs +7 -5
  362. package/resources/credit-blocks.mjs.map +1 -1
  363. package/resources/credit-notes.d.mts +144 -0
  364. package/resources/credit-notes.d.mts.map +1 -0
  365. package/resources/credit-notes.d.ts +8 -8
  366. package/resources/credit-notes.d.ts.map +1 -1
  367. package/resources/credit-notes.js +19 -10
  368. package/resources/credit-notes.js.map +1 -1
  369. package/resources/credit-notes.mjs +18 -9
  370. package/resources/credit-notes.mjs.map +1 -1
  371. package/resources/customers/balance-transactions.d.mts +135 -0
  372. package/resources/customers/balance-transactions.d.mts.map +1 -0
  373. package/resources/customers/balance-transactions.d.ts +8 -9
  374. package/resources/customers/balance-transactions.d.ts.map +1 -1
  375. package/resources/customers/balance-transactions.js +29 -13
  376. package/resources/customers/balance-transactions.js.map +1 -1
  377. package/resources/customers/balance-transactions.mjs +28 -11
  378. package/resources/customers/balance-transactions.mjs.map +1 -1
  379. package/resources/customers/costs.d.mts +314 -0
  380. package/resources/customers/costs.d.mts.map +1 -0
  381. package/resources/customers/costs.d.ts +5 -6
  382. package/resources/customers/costs.d.ts.map +1 -1
  383. package/resources/customers/costs.js +243 -11
  384. package/resources/customers/costs.js.map +1 -1
  385. package/resources/customers/costs.mjs +243 -11
  386. package/resources/customers/costs.mjs.map +1 -1
  387. package/resources/customers/credits/credits.d.mts +287 -0
  388. package/resources/customers/credits/credits.d.mts.map +1 -0
  389. package/resources/customers/credits/credits.d.ts +55 -19
  390. package/resources/customers/credits/credits.d.ts.map +1 -1
  391. package/resources/customers/credits/credits.js +38 -50
  392. package/resources/customers/credits/credits.js.map +1 -1
  393. package/resources/customers/credits/credits.mjs +36 -24
  394. package/resources/customers/credits/credits.mjs.map +1 -1
  395. package/resources/customers/credits/index.d.mts +4 -0
  396. package/resources/customers/credits/index.d.mts.map +1 -0
  397. package/resources/customers/credits/index.d.ts +3 -3
  398. package/resources/customers/credits/index.d.ts.map +1 -1
  399. package/resources/customers/credits/index.js +1 -7
  400. package/resources/customers/credits/index.js.map +1 -1
  401. package/resources/customers/credits/index.mjs +3 -3
  402. package/resources/customers/credits/index.mjs.map +1 -1
  403. package/resources/customers/credits/ledger.d.mts +1202 -0
  404. package/resources/customers/credits/ledger.d.mts.map +1 -0
  405. package/resources/customers/credits/ledger.d.ts +11 -14
  406. package/resources/customers/credits/ledger.d.ts.map +1 -1
  407. package/resources/customers/credits/ledger.js +172 -27
  408. package/resources/customers/credits/ledger.js.map +1 -1
  409. package/resources/customers/credits/ledger.mjs +171 -24
  410. package/resources/customers/credits/ledger.mjs.map +1 -1
  411. package/resources/customers/credits/top-ups.d.mts +357 -0
  412. package/resources/customers/credits/top-ups.d.mts.map +1 -0
  413. package/resources/customers/credits/top-ups.d.ts +19 -16
  414. package/resources/customers/credits/top-ups.d.ts.map +1 -1
  415. package/resources/customers/credits/top-ups.js +24 -29
  416. package/resources/customers/credits/top-ups.js.map +1 -1
  417. package/resources/customers/credits/top-ups.mjs +23 -26
  418. package/resources/customers/credits/top-ups.mjs.map +1 -1
  419. package/resources/customers/credits.d.mts +2 -0
  420. package/resources/customers/credits.d.mts.map +1 -0
  421. package/resources/customers/credits.d.ts.map +1 -1
  422. package/resources/customers/credits.js +2 -15
  423. package/resources/customers/credits.js.map +1 -1
  424. package/resources/customers/credits.mjs.map +1 -1
  425. package/resources/customers/customers.d.mts +1453 -0
  426. package/resources/customers/customers.d.mts.map +1 -0
  427. package/resources/customers/customers.d.ts +17 -18
  428. package/resources/customers/customers.d.ts.map +1 -1
  429. package/resources/customers/customers.js +30 -53
  430. package/resources/customers/customers.js.map +1 -1
  431. package/resources/customers/customers.mjs +27 -27
  432. package/resources/customers/customers.mjs.map +1 -1
  433. package/resources/customers/index.d.mts +5 -0
  434. package/resources/customers/index.d.mts.map +1 -0
  435. package/resources/customers/index.d.ts +3 -3
  436. package/resources/customers/index.d.ts.map +1 -1
  437. package/resources/customers/index.js +1 -5
  438. package/resources/customers/index.js.map +1 -1
  439. package/resources/customers/index.mjs +3 -3
  440. package/resources/customers/index.mjs.map +1 -1
  441. package/resources/customers.d.mts +2 -0
  442. package/resources/customers.d.mts.map +1 -0
  443. package/resources/customers.d.ts.map +1 -1
  444. package/resources/customers.js +2 -15
  445. package/resources/customers.js.map +1 -1
  446. package/resources/customers.mjs.map +1 -1
  447. package/resources/dimensional-price-groups/dimensional-price-groups.d.mts +150 -0
  448. package/resources/dimensional-price-groups/dimensional-price-groups.d.mts.map +1 -0
  449. package/resources/dimensional-price-groups/dimensional-price-groups.d.ts +11 -12
  450. package/resources/dimensional-price-groups/dimensional-price-groups.d.ts.map +1 -1
  451. package/resources/dimensional-price-groups/dimensional-price-groups.js +21 -39
  452. package/resources/dimensional-price-groups/dimensional-price-groups.js.map +1 -1
  453. package/resources/dimensional-price-groups/dimensional-price-groups.mjs +18 -13
  454. package/resources/dimensional-price-groups/dimensional-price-groups.mjs.map +1 -1
  455. package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.mts +53 -0
  456. package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.mts.map +1 -0
  457. package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.ts +7 -6
  458. package/resources/dimensional-price-groups/external-dimensional-price-group-id.d.ts.map +1 -1
  459. package/resources/dimensional-price-groups/external-dimensional-price-group-id.js +6 -5
  460. package/resources/dimensional-price-groups/external-dimensional-price-group-id.js.map +1 -1
  461. package/resources/dimensional-price-groups/external-dimensional-price-group-id.mjs +6 -5
  462. package/resources/dimensional-price-groups/external-dimensional-price-group-id.mjs.map +1 -1
  463. package/resources/dimensional-price-groups/index.d.mts +3 -0
  464. package/resources/dimensional-price-groups/index.d.mts.map +1 -0
  465. package/resources/dimensional-price-groups/index.d.ts +1 -1
  466. package/resources/dimensional-price-groups/index.d.ts.map +1 -1
  467. package/resources/dimensional-price-groups/index.js +1 -2
  468. package/resources/dimensional-price-groups/index.js.map +1 -1
  469. package/resources/dimensional-price-groups/index.mjs +1 -1
  470. package/resources/dimensional-price-groups/index.mjs.map +1 -1
  471. package/resources/dimensional-price-groups.d.mts +2 -0
  472. package/resources/dimensional-price-groups.d.mts.map +1 -0
  473. package/resources/dimensional-price-groups.d.ts.map +1 -1
  474. package/resources/dimensional-price-groups.js +2 -15
  475. package/resources/dimensional-price-groups.js.map +1 -1
  476. package/resources/dimensional-price-groups.mjs.map +1 -1
  477. package/resources/events/backfills.d.mts +389 -0
  478. package/resources/events/backfills.d.mts.map +1 -0
  479. package/resources/events/backfills.d.ts +11 -12
  480. package/resources/events/backfills.d.ts.map +1 -1
  481. package/resources/events/backfills.js +24 -15
  482. package/resources/events/backfills.js.map +1 -1
  483. package/resources/events/backfills.mjs +23 -13
  484. package/resources/events/backfills.mjs.map +1 -1
  485. package/resources/events/events.d.mts +536 -0
  486. package/resources/events/events.d.mts.map +1 -0
  487. package/resources/events/events.d.ts +10 -11
  488. package/resources/events/events.d.ts.map +1 -1
  489. package/resources/events/events.js +7 -29
  490. package/resources/events/events.js.map +1 -1
  491. package/resources/events/events.mjs +5 -5
  492. package/resources/events/events.mjs.map +1 -1
  493. package/resources/events/index.d.mts +4 -0
  494. package/resources/events/index.d.mts.map +1 -0
  495. package/resources/events/index.d.ts +1 -1
  496. package/resources/events/index.d.ts.map +1 -1
  497. package/resources/events/index.js +1 -2
  498. package/resources/events/index.js.map +1 -1
  499. package/resources/events/index.mjs +1 -1
  500. package/resources/events/index.mjs.map +1 -1
  501. package/resources/events/volume.d.mts +79 -0
  502. package/resources/events/volume.d.mts.map +1 -0
  503. package/resources/events/volume.d.ts +4 -3
  504. package/resources/events/volume.d.ts.map +1 -1
  505. package/resources/events/volume.js +1 -1
  506. package/resources/events/volume.js.map +1 -1
  507. package/resources/events/volume.mjs +1 -1
  508. package/resources/events/volume.mjs.map +1 -1
  509. package/resources/events.d.mts +2 -0
  510. package/resources/events.d.mts.map +1 -0
  511. package/resources/events.d.ts.map +1 -1
  512. package/resources/events.js +2 -15
  513. package/resources/events.js.map +1 -1
  514. package/resources/events.mjs.map +1 -1
  515. package/resources/index.d.mts +22 -0
  516. package/resources/index.d.mts.map +1 -0
  517. package/resources/index.d.ts +13 -13
  518. package/resources/index.d.ts.map +1 -1
  519. package/resources/index.js +7 -33
  520. package/resources/index.js.map +1 -1
  521. package/resources/index.mjs +12 -12
  522. package/resources/index.mjs.map +1 -1
  523. package/resources/invoice-line-items.d.mts +245 -0
  524. package/resources/invoice-line-items.d.mts.map +1 -0
  525. package/resources/invoice-line-items.d.ts +4 -3
  526. package/resources/invoice-line-items.d.ts.map +1 -1
  527. package/resources/invoice-line-items.js +1 -1
  528. package/resources/invoice-line-items.js.map +1 -1
  529. package/resources/invoice-line-items.mjs +1 -1
  530. package/resources/invoice-line-items.mjs.map +1 -1
  531. package/resources/invoices.d.mts +1795 -0
  532. package/resources/invoices.d.mts.map +1 -0
  533. package/resources/invoices.d.ts +25 -27
  534. package/resources/invoices.d.ts.map +1 -1
  535. package/resources/invoices.js +105 -38
  536. package/resources/invoices.js.map +1 -1
  537. package/resources/invoices.mjs +104 -36
  538. package/resources/invoices.mjs.map +1 -1
  539. package/resources/items.d.mts +163 -0
  540. package/resources/items.d.mts.map +1 -0
  541. package/resources/items.d.ts +11 -12
  542. package/resources/items.d.ts.map +1 -1
  543. package/resources/items.js +20 -15
  544. package/resources/items.js.map +1 -1
  545. package/resources/items.mjs +19 -13
  546. package/resources/items.mjs.map +1 -1
  547. package/resources/license-types.d.mts +112 -0
  548. package/resources/license-types.d.mts.map +1 -0
  549. package/resources/license-types.d.ts +9 -10
  550. package/resources/license-types.d.ts.map +1 -1
  551. package/resources/license-types.js +14 -13
  552. package/resources/license-types.js.map +1 -1
  553. package/resources/license-types.mjs +13 -11
  554. package/resources/license-types.mjs.map +1 -1
  555. package/resources/licenses/external-licenses.d.mts +127 -0
  556. package/resources/licenses/external-licenses.d.mts.map +1 -0
  557. package/resources/licenses/external-licenses.d.ts +4 -3
  558. package/resources/licenses/external-licenses.d.ts.map +1 -1
  559. package/resources/licenses/external-licenses.js +6 -2
  560. package/resources/licenses/external-licenses.js.map +1 -1
  561. package/resources/licenses/external-licenses.mjs +6 -2
  562. package/resources/licenses/external-licenses.mjs.map +1 -1
  563. package/resources/licenses/index.d.mts +4 -0
  564. package/resources/licenses/index.d.mts.map +1 -0
  565. package/resources/licenses/index.d.ts +1 -1
  566. package/resources/licenses/index.d.ts.map +1 -1
  567. package/resources/licenses/index.js +1 -2
  568. package/resources/licenses/index.js.map +1 -1
  569. package/resources/licenses/index.mjs +1 -1
  570. package/resources/licenses/index.mjs.map +1 -1
  571. package/resources/licenses/licenses.d.mts +177 -0
  572. package/resources/licenses/licenses.d.mts.map +1 -0
  573. package/resources/licenses/licenses.d.ts +12 -12
  574. package/resources/licenses/licenses.d.ts.map +1 -1
  575. package/resources/licenses/licenses.js +13 -38
  576. package/resources/licenses/licenses.js.map +1 -1
  577. package/resources/licenses/licenses.mjs +9 -11
  578. package/resources/licenses/licenses.mjs.map +1 -1
  579. package/resources/licenses/usage.d.mts +226 -0
  580. package/resources/licenses/usage.d.mts.map +1 -0
  581. package/resources/licenses/usage.d.ts +5 -5
  582. package/resources/licenses/usage.d.ts.map +1 -1
  583. package/resources/licenses/usage.js +15 -6
  584. package/resources/licenses/usage.js.map +1 -1
  585. package/resources/licenses/usage.mjs +15 -6
  586. package/resources/licenses/usage.mjs.map +1 -1
  587. package/resources/licenses.d.mts +2 -0
  588. package/resources/licenses.d.mts.map +1 -0
  589. package/resources/licenses.d.ts.map +1 -1
  590. package/resources/licenses.js +2 -15
  591. package/resources/licenses.js.map +1 -1
  592. package/resources/licenses.mjs.map +1 -1
  593. package/resources/metrics.d.mts +147 -0
  594. package/resources/metrics.d.mts.map +1 -0
  595. package/resources/metrics.d.ts +15 -11
  596. package/resources/metrics.d.ts.map +1 -1
  597. package/resources/metrics.js +19 -14
  598. package/resources/metrics.js.map +1 -1
  599. package/resources/metrics.mjs +18 -12
  600. package/resources/metrics.mjs.map +1 -1
  601. package/resources/plans/external-plan-id.d.mts +61 -0
  602. package/resources/plans/external-plan-id.d.mts.map +1 -0
  603. package/resources/plans/external-plan-id.d.ts +5 -4
  604. package/resources/plans/external-plan-id.d.ts.map +1 -1
  605. package/resources/plans/external-plan-id.js +4 -3
  606. package/resources/plans/external-plan-id.js.map +1 -1
  607. package/resources/plans/external-plan-id.mjs +4 -3
  608. package/resources/plans/external-plan-id.mjs.map +1 -1
  609. package/resources/plans/index.d.mts +4 -0
  610. package/resources/plans/index.d.mts.map +1 -0
  611. package/resources/plans/index.d.ts +2 -2
  612. package/resources/plans/index.d.ts.map +1 -1
  613. package/resources/plans/index.js +1 -3
  614. package/resources/plans/index.js.map +1 -1
  615. package/resources/plans/index.mjs +2 -2
  616. package/resources/plans/index.mjs.map +1 -1
  617. package/resources/plans/migrations.d.mts +99 -0
  618. package/resources/plans/migrations.d.mts.map +1 -0
  619. package/resources/plans/migrations.d.ts +15 -10
  620. package/resources/plans/migrations.d.ts.map +1 -1
  621. package/resources/plans/migrations.js +17 -16
  622. package/resources/plans/migrations.js.map +1 -1
  623. package/resources/plans/migrations.mjs +16 -14
  624. package/resources/plans/migrations.mjs.map +1 -1
  625. package/resources/plans/plans.d.mts +1682 -0
  626. package/resources/plans/plans.d.mts.map +1 -0
  627. package/resources/plans/plans.d.ts +13 -14
  628. package/resources/plans/plans.d.ts.map +1 -1
  629. package/resources/plans/plans.js +18 -41
  630. package/resources/plans/plans.js.map +1 -1
  631. package/resources/plans/plans.mjs +15 -15
  632. package/resources/plans/plans.mjs.map +1 -1
  633. package/resources/plans.d.mts +2 -0
  634. package/resources/plans.d.mts.map +1 -0
  635. package/resources/plans.d.ts.map +1 -1
  636. package/resources/plans.js +2 -15
  637. package/resources/plans.js.map +1 -1
  638. package/resources/plans.mjs.map +1 -1
  639. package/resources/prices/external-price-id.d.mts +55 -0
  640. package/resources/prices/external-price-id.d.mts.map +1 -0
  641. package/resources/prices/external-price-id.d.ts +7 -6
  642. package/resources/prices/external-price-id.d.ts.map +1 -1
  643. package/resources/prices/external-price-id.js +6 -5
  644. package/resources/prices/external-price-id.js.map +1 -1
  645. package/resources/prices/external-price-id.mjs +6 -5
  646. package/resources/prices/external-price-id.mjs.map +1 -1
  647. package/resources/prices/index.d.mts +3 -0
  648. package/resources/prices/index.d.mts.map +1 -0
  649. package/resources/prices/index.d.ts.map +1 -1
  650. package/resources/prices/index.mjs.map +1 -1
  651. package/resources/prices/prices.d.mts +5950 -0
  652. package/resources/prices/prices.d.mts.map +1 -0
  653. package/resources/prices/prices.d.ts +13 -13
  654. package/resources/prices/prices.d.ts.map +1 -1
  655. package/resources/prices/prices.js +23 -37
  656. package/resources/prices/prices.js.map +1 -1
  657. package/resources/prices/prices.mjs +20 -12
  658. package/resources/prices/prices.mjs.map +1 -1
  659. package/resources/prices.d.mts +2 -0
  660. package/resources/prices.d.mts.map +1 -0
  661. package/resources/prices.d.ts.map +1 -1
  662. package/resources/prices.js +2 -15
  663. package/resources/prices.js.map +1 -1
  664. package/resources/prices.mjs.map +1 -1
  665. package/resources/shared.d.mts +13354 -0
  666. package/resources/shared.d.mts.map +1 -0
  667. package/resources/shared.d.ts +4 -7
  668. package/resources/shared.d.ts.map +1 -1
  669. package/resources/shared.js +0 -11
  670. package/resources/shared.js.map +1 -1
  671. package/resources/shared.mjs +1 -7
  672. package/resources/shared.mjs.map +1 -1
  673. package/resources/subscription-changes.d.mts +434 -0
  674. package/resources/subscription-changes.d.mts.map +1 -0
  675. package/resources/subscription-changes.d.ts +10 -12
  676. package/resources/subscription-changes.d.ts.map +1 -1
  677. package/resources/subscription-changes.js +18 -18
  678. package/resources/subscription-changes.js.map +1 -1
  679. package/resources/subscription-changes.mjs +17 -16
  680. package/resources/subscription-changes.mjs.map +1 -1
  681. package/resources/subscriptions.d.mts +10821 -0
  682. package/resources/subscriptions.d.mts.map +1 -0
  683. package/resources/subscriptions.d.ts +24 -29
  684. package/resources/subscriptions.d.ts.map +1 -1
  685. package/resources/subscriptions.js +284 -40
  686. package/resources/subscriptions.js.map +1 -1
  687. package/resources/subscriptions.mjs +283 -37
  688. package/resources/subscriptions.mjs.map +1 -1
  689. package/resources/top-level.d.mts +21 -0
  690. package/resources/top-level.d.mts.map +1 -0
  691. package/resources/top-level.d.ts +4 -3
  692. package/resources/top-level.d.ts.map +1 -1
  693. package/resources/top-level.js +1 -1
  694. package/resources/top-level.js.map +1 -1
  695. package/resources/top-level.mjs +1 -1
  696. package/resources/top-level.mjs.map +1 -1
  697. package/resources/webhooks.d.mts +24 -0
  698. package/resources/webhooks.d.mts.map +1 -0
  699. package/resources/webhooks.d.ts +2 -2
  700. package/resources/webhooks.d.ts.map +1 -1
  701. package/resources/webhooks.js +18 -5
  702. package/resources/webhooks.js.map +1 -1
  703. package/resources/webhooks.mjs +16 -3
  704. package/resources/webhooks.mjs.map +1 -1
  705. package/resources.d.mts +2 -0
  706. package/resources.d.mts.map +1 -0
  707. package/resources.d.ts.map +1 -1
  708. package/resources.js +2 -15
  709. package/resources.js.map +1 -1
  710. package/resources.mjs.map +1 -1
  711. package/src/api-promise.ts +2 -0
  712. package/src/client.ts +1499 -0
  713. package/src/core/README.md +3 -0
  714. package/src/core/api-promise.ts +92 -0
  715. package/src/core/error.ts +456 -0
  716. package/src/core/pagination.ts +167 -0
  717. package/src/core/resource.ts +11 -0
  718. package/src/core/uploads.ts +2 -0
  719. package/src/error.ts +2 -456
  720. package/src/index.ts +6 -923
  721. package/src/internal/README.md +3 -0
  722. package/src/internal/builtin-types.ts +93 -0
  723. package/src/internal/detect-platform.ts +196 -0
  724. package/src/internal/errors.ts +33 -0
  725. package/src/internal/headers.ts +97 -0
  726. package/src/internal/parse.ts +56 -0
  727. package/src/internal/qs/formats.ts +2 -1
  728. package/src/internal/qs/stringify.ts +17 -20
  729. package/src/internal/qs/utils.ts +14 -14
  730. package/src/internal/request-options.ts +91 -0
  731. package/src/internal/shim-types.ts +26 -0
  732. package/src/internal/shims.ts +107 -0
  733. package/src/internal/to-file.ts +154 -0
  734. package/src/internal/types.ts +93 -0
  735. package/src/internal/uploads.ts +187 -0
  736. package/src/internal/utils/base64.ts +40 -0
  737. package/src/internal/utils/bytes.ts +32 -0
  738. package/src/internal/utils/env.ts +18 -0
  739. package/src/internal/utils/log.ts +128 -0
  740. package/src/internal/utils/path.ts +88 -0
  741. package/src/internal/utils/sleep.ts +3 -0
  742. package/src/internal/utils/uuid.ts +17 -0
  743. package/src/internal/utils/values.ts +105 -0
  744. package/src/internal/utils.ts +9 -0
  745. package/src/pagination.ts +2 -70
  746. package/src/resource.ts +2 -11
  747. package/src/resources/alerts.ts +34 -62
  748. package/src/resources/beta/beta.ts +23 -13
  749. package/src/resources/beta/external-plan-id.ts +20 -12
  750. package/src/resources/beta/index.ts +2 -0
  751. package/src/resources/coupons/coupons.ts +16 -21
  752. package/src/resources/coupons/index.ts +7 -1
  753. package/src/resources/coupons/subscriptions.ts +13 -24
  754. package/src/resources/credit-blocks.ts +62 -16
  755. package/src/resources/credit-notes.ts +13 -20
  756. package/src/resources/customers/balance-transactions.ts +15 -28
  757. package/src/resources/customers/costs.ts +13 -33
  758. package/src/resources/customers/credits/credits.ts +76 -56
  759. package/src/resources/customers/credits/index.ts +8 -6
  760. package/src/resources/customers/credits/ledger.ts +29 -55
  761. package/src/resources/customers/credits/top-ups.ts +48 -61
  762. package/src/resources/customers/customers.ts +37 -48
  763. package/src/resources/customers/index.ts +4 -4
  764. package/src/resources/dimensional-price-groups/dimensional-price-groups.ts +19 -30
  765. package/src/resources/dimensional-price-groups/external-dimensional-price-group-id.ts +12 -10
  766. package/src/resources/dimensional-price-groups/index.ts +1 -1
  767. package/src/resources/events/backfills.ts +18 -27
  768. package/src/resources/events/events.ts +14 -15
  769. package/src/resources/events/index.ts +1 -1
  770. package/src/resources/events/volume.ts +4 -3
  771. package/src/resources/index.ts +29 -28
  772. package/src/resources/invoice-line-items.ts +5 -4
  773. package/src/resources/invoices.ts +53 -95
  774. package/src/resources/items.ts +18 -24
  775. package/src/resources/license-types.ts +14 -31
  776. package/src/resources/licenses/external-licenses.ts +10 -5
  777. package/src/resources/licenses/index.ts +1 -1
  778. package/src/resources/licenses/licenses.ts +21 -20
  779. package/src/resources/licenses/usage.ts +9 -20
  780. package/src/resources/metrics.ts +22 -29
  781. package/src/resources/plans/external-plan-id.ts +9 -7
  782. package/src/resources/plans/index.ts +4 -2
  783. package/src/resources/plans/migrations.ts +30 -31
  784. package/src/resources/plans/plans.ts +22 -24
  785. package/src/resources/prices/external-price-id.ts +11 -9
  786. package/src/resources/prices/prices.ts +23 -31
  787. package/src/resources/shared.ts +4 -4
  788. package/src/resources/subscription-changes.ts +21 -44
  789. package/src/resources/subscriptions.ts +66 -106
  790. package/src/resources/top-level.ts +4 -3
  791. package/src/resources/webhooks.ts +17 -3
  792. package/src/tsconfig.json +2 -2
  793. package/src/uploads.ts +2 -255
  794. package/src/version.ts +1 -1
  795. package/uploads.d.mts +3 -0
  796. package/uploads.d.mts.map +1 -0
  797. package/uploads.d.ts +2 -74
  798. package/uploads.d.ts.map +1 -1
  799. package/uploads.js +3 -168
  800. package/uploads.js.map +1 -1
  801. package/uploads.mjs +2 -157
  802. package/uploads.mjs.map +1 -1
  803. package/version.d.mts +2 -0
  804. package/version.d.mts.map +1 -0
  805. package/version.d.ts +1 -1
  806. package/version.d.ts.map +1 -1
  807. package/version.js +1 -1
  808. package/version.js.map +1 -1
  809. package/version.mjs +1 -1
  810. package/version.mjs.map +1 -1
  811. package/_shims/MultipartBody.d.ts +0 -9
  812. package/_shims/MultipartBody.d.ts.map +0 -1
  813. package/_shims/MultipartBody.js +0 -16
  814. package/_shims/MultipartBody.js.map +0 -1
  815. package/_shims/MultipartBody.mjs +0 -12
  816. package/_shims/MultipartBody.mjs.map +0 -1
  817. package/_shims/README.md +0 -46
  818. package/_shims/auto/runtime-bun.d.ts +0 -5
  819. package/_shims/auto/runtime-bun.d.ts.map +0 -1
  820. package/_shims/auto/runtime-bun.js +0 -21
  821. package/_shims/auto/runtime-bun.js.map +0 -1
  822. package/_shims/auto/runtime-bun.mjs +0 -2
  823. package/_shims/auto/runtime-bun.mjs.map +0 -1
  824. package/_shims/auto/runtime-node.d.ts +0 -5
  825. package/_shims/auto/runtime-node.d.ts.map +0 -1
  826. package/_shims/auto/runtime-node.js +0 -21
  827. package/_shims/auto/runtime-node.js.map +0 -1
  828. package/_shims/auto/runtime-node.mjs +0 -2
  829. package/_shims/auto/runtime-node.mjs.map +0 -1
  830. package/_shims/auto/runtime.d.ts +0 -5
  831. package/_shims/auto/runtime.d.ts.map +0 -1
  832. package/_shims/auto/runtime.js +0 -21
  833. package/_shims/auto/runtime.js.map +0 -1
  834. package/_shims/auto/runtime.mjs +0 -2
  835. package/_shims/auto/runtime.mjs.map +0 -1
  836. package/_shims/auto/types-node.d.ts +0 -5
  837. package/_shims/auto/types-node.d.ts.map +0 -1
  838. package/_shims/auto/types-node.js +0 -21
  839. package/_shims/auto/types-node.js.map +0 -1
  840. package/_shims/auto/types-node.mjs +0 -2
  841. package/_shims/auto/types-node.mjs.map +0 -1
  842. package/_shims/auto/types.d.ts +0 -101
  843. package/_shims/auto/types.js +0 -3
  844. package/_shims/auto/types.mjs +0 -3
  845. package/_shims/bun-runtime.d.ts +0 -6
  846. package/_shims/bun-runtime.d.ts.map +0 -1
  847. package/_shims/bun-runtime.js +0 -14
  848. package/_shims/bun-runtime.js.map +0 -1
  849. package/_shims/bun-runtime.mjs +0 -10
  850. package/_shims/bun-runtime.mjs.map +0 -1
  851. package/_shims/index.d.ts +0 -83
  852. package/_shims/index.js +0 -17
  853. package/_shims/index.mjs +0 -11
  854. package/_shims/manual-types.d.ts +0 -12
  855. package/_shims/manual-types.js +0 -3
  856. package/_shims/manual-types.mjs +0 -3
  857. package/_shims/node-runtime.d.ts +0 -3
  858. package/_shims/node-runtime.d.ts.map +0 -1
  859. package/_shims/node-runtime.js +0 -89
  860. package/_shims/node-runtime.js.map +0 -1
  861. package/_shims/node-runtime.mjs +0 -56
  862. package/_shims/node-runtime.mjs.map +0 -1
  863. package/_shims/node-types.d.ts +0 -42
  864. package/_shims/node-types.js +0 -3
  865. package/_shims/node-types.mjs +0 -3
  866. package/_shims/registry.d.ts +0 -37
  867. package/_shims/registry.d.ts.map +0 -1
  868. package/_shims/registry.js +0 -41
  869. package/_shims/registry.js.map +0 -1
  870. package/_shims/registry.mjs +0 -37
  871. package/_shims/registry.mjs.map +0 -1
  872. package/_shims/web-runtime.d.ts +0 -5
  873. package/_shims/web-runtime.d.ts.map +0 -1
  874. package/_shims/web-runtime.js +0 -78
  875. package/_shims/web-runtime.js.map +0 -1
  876. package/_shims/web-runtime.mjs +0 -71
  877. package/_shims/web-runtime.mjs.map +0 -1
  878. package/_shims/web-types.d.ts +0 -83
  879. package/_shims/web-types.js +0 -3
  880. package/_shims/web-types.mjs +0 -3
  881. package/core.d.ts +0 -255
  882. package/core.d.ts.map +0 -1
  883. package/core.js +0 -920
  884. package/core.js.map +0 -1
  885. package/core.mjs +0 -888
  886. package/core.mjs.map +0 -1
  887. package/shims/node.d.ts +0 -30
  888. package/shims/node.d.ts.map +0 -1
  889. package/shims/node.js +0 -31
  890. package/shims/node.js.map +0 -1
  891. package/shims/node.mjs +0 -5
  892. package/shims/node.mjs.map +0 -1
  893. package/shims/web.d.ts +0 -26
  894. package/shims/web.d.ts.map +0 -1
  895. package/shims/web.js +0 -31
  896. package/shims/web.js.map +0 -1
  897. package/shims/web.mjs +0 -5
  898. package/shims/web.mjs.map +0 -1
  899. package/src/_shims/MultipartBody.ts +0 -9
  900. package/src/_shims/README.md +0 -46
  901. package/src/_shims/auto/runtime-bun.ts +0 -4
  902. package/src/_shims/auto/runtime-node.ts +0 -4
  903. package/src/_shims/auto/runtime.ts +0 -4
  904. package/src/_shims/auto/types-node.ts +0 -4
  905. package/src/_shims/auto/types.d.ts +0 -101
  906. package/src/_shims/auto/types.js +0 -3
  907. package/src/_shims/auto/types.mjs +0 -3
  908. package/src/_shims/bun-runtime.ts +0 -14
  909. package/src/_shims/index.d.ts +0 -83
  910. package/src/_shims/index.js +0 -17
  911. package/src/_shims/index.mjs +0 -11
  912. package/src/_shims/manual-types.d.ts +0 -12
  913. package/src/_shims/manual-types.js +0 -3
  914. package/src/_shims/manual-types.mjs +0 -3
  915. package/src/_shims/node-runtime.ts +0 -81
  916. package/src/_shims/node-types.d.ts +0 -42
  917. package/src/_shims/node-types.js +0 -3
  918. package/src/_shims/node-types.mjs +0 -3
  919. package/src/_shims/registry.ts +0 -67
  920. package/src/_shims/web-runtime.ts +0 -103
  921. package/src/_shims/web-types.d.ts +0 -83
  922. package/src/_shims/web-types.js +0 -3
  923. package/src/_shims/web-types.mjs +0 -3
  924. package/src/core.ts +0 -1231
  925. package/src/shims/node.ts +0 -50
  926. package/src/shims/web.ts +0 -50
@@ -1,35 +1,14 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || function (mod) {
20
- if (mod && mod.__esModule) return mod;
21
- var result = {};
22
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
- __setModuleDefault(result, mod);
24
- return result;
25
- };
26
3
  Object.defineProperty(exports, "__esModule", { value: true });
27
4
  exports.Events = void 0;
28
- const resource_1 = require("../../resource.js");
29
- const BackfillsAPI = __importStar(require("./backfills.js"));
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
+ const BackfillsAPI = tslib_1.__importStar(require("./backfills.js"));
30
8
  const backfills_1 = require("./backfills.js");
31
- const VolumeAPI = __importStar(require("./volume.js"));
9
+ const VolumeAPI = tslib_1.__importStar(require("./volume.js"));
32
10
  const volume_1 = require("./volume.js");
11
+ const path_1 = require("../../internal/utils/path.js");
33
12
  /**
34
13
  * The [Event](/core-concepts#event) resource represents a usage event that has been created for a
35
14
  * customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
@@ -98,7 +77,7 @@ class Events extends resource_1.APIResource {
98
77
  * ```
99
78
  */
100
79
  update(eventId, body, options) {
101
- return this._client.put(`/events/${eventId}`, { body, ...options });
80
+ return this._client.put((0, path_1.path) `/events/${eventId}`, { body, ...options });
102
81
  }
103
82
  /**
104
83
  * This endpoint is used to deprecate a single usage event with a given `event_id`.
@@ -148,7 +127,7 @@ class Events extends resource_1.APIResource {
148
127
  * ```
149
128
  */
150
129
  deprecate(eventId, options) {
151
- return this._client.put(`/events/${eventId}/deprecate`, options);
130
+ return this._client.put((0, path_1.path) `/events/${eventId}/deprecate`, options);
152
131
  }
153
132
  /**
154
133
  * Orb's event ingestion model and API is designed around two core principles:
@@ -377,6 +356,5 @@ class Events extends resource_1.APIResource {
377
356
  }
378
357
  exports.Events = Events;
379
358
  Events.Backfills = backfills_1.Backfills;
380
- Events.BackfillListResponsesPage = backfills_1.BackfillListResponsesPage;
381
359
  Events.Volume = volume_1.Volume;
382
360
  //# sourceMappingURL=events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/resources/events/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAE7C,6DAA4C;AAC5C,8CAUqB;AACrB,uDAAsC;AACtC,wCAAkE;AAElE;;;;GAIG;AACH,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,WAAM,GAAqB,I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgMG;IACH,MAAM,CAAC,MAAyB,EAAE,OAAwB;QACxD,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAxVD,wBAwVC;AA2ND,MAAM,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC7B,MAAM,CAAC,MAAM,GAAG,eAAM,CAAC"}
@@ -1,9 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
3
  import * as BackfillsAPI from "./backfills.mjs";
4
- import { BackfillListResponsesPage, Backfills, } from "./backfills.mjs";
4
+ import { Backfills, } from "./backfills.mjs";
5
5
  import * as VolumeAPI from "./volume.mjs";
6
6
  import { Volume } from "./volume.mjs";
7
+ import { path } from "../../internal/utils/path.mjs";
7
8
  /**
8
9
  * The [Event](/core-concepts#event) resource represents a usage event that has been created for a
9
10
  * customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
@@ -72,7 +73,7 @@ export class Events extends APIResource {
72
73
  * ```
73
74
  */
74
75
  update(eventId, body, options) {
75
- return this._client.put(`/events/${eventId}`, { body, ...options });
76
+ return this._client.put(path `/events/${eventId}`, { body, ...options });
76
77
  }
77
78
  /**
78
79
  * This endpoint is used to deprecate a single usage event with a given `event_id`.
@@ -122,7 +123,7 @@ export class Events extends APIResource {
122
123
  * ```
123
124
  */
124
125
  deprecate(eventId, options) {
125
- return this._client.put(`/events/${eventId}/deprecate`, options);
126
+ return this._client.put(path `/events/${eventId}/deprecate`, options);
126
127
  }
127
128
  /**
128
129
  * Orb's event ingestion model and API is designed around two core principles:
@@ -350,6 +351,5 @@ export class Events extends APIResource {
350
351
  }
351
352
  }
352
353
  Events.Backfills = Backfills;
353
- Events.BackfillListResponsesPage = BackfillListResponsesPage;
354
354
  Events.Volume = Volume;
355
355
  //# sourceMappingURL=events.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../../src/resources/events/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,YAAY;OACjB,EAOL,yBAAyB,EAEzB,SAAS,GACV;OACM,KAAK,SAAS;OACd,EAAgB,MAAM,EAAoB;AAEjD;;;;GAIG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsVhE,CAAC;IApVC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuDG;IACH,MAAM,CACJ,OAAe,EACf,IAAuB,EACvB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;O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,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AA2ND,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;AAC7B,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Backfills, type BackfillCreateResponse, type BackfillListResponse, type BackfillCloseResponse, type BackfillFetchResponse, type BackfillRevertResponse, type BackfillCreateParams, type BackfillListParams, type BackfillListResponsesPage, } from "./backfills.mjs";
2
+ export { Events, type EventUpdateResponse, type EventDeprecateResponse, type EventIngestResponse, type EventSearchResponse, type EventUpdateParams, type EventIngestParams, type EventSearchParams, } from "./events.mjs";
3
+ export { Volume, type EventVolumes, type VolumeListParams } from "./volume.mjs";
4
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,GAC/B,wBAAoB;AACrB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,qBAAiB;AAClB,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,qBAAiB"}
@@ -1,4 +1,4 @@
1
- export { BackfillListResponsesPage, Backfills, type BackfillCreateResponse, type BackfillListResponse, type BackfillCloseResponse, type BackfillFetchResponse, type BackfillRevertResponse, type BackfillCreateParams, type BackfillListParams, } from "./backfills.js";
1
+ export { Backfills, type BackfillCreateResponse, type BackfillListResponse, type BackfillCloseResponse, type BackfillFetchResponse, type BackfillRevertResponse, type BackfillCreateParams, type BackfillListParams, type BackfillListResponsesPage, } from "./backfills.js";
2
2
  export { Events, type EventUpdateResponse, type EventDeprecateResponse, type EventIngestResponse, type EventSearchResponse, type EventUpdateParams, type EventIngestParams, type EventSearchParams, } from "./events.js";
3
3
  export { Volume, type EventVolumes, type VolumeListParams } from "./volume.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,yBAAyB,EACzB,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,GAC/B,uBAAoB;AACrB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,oBAAiB;AAClB,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,oBAAiB"}
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Volume = exports.Events = exports.Backfills = exports.BackfillListResponsesPage = void 0;
4
+ exports.Volume = exports.Events = exports.Backfills = void 0;
5
5
  var backfills_1 = require("./backfills.js");
6
- Object.defineProperty(exports, "BackfillListResponsesPage", { enumerable: true, get: function () { return backfills_1.BackfillListResponsesPage; } });
7
6
  Object.defineProperty(exports, "Backfills", { enumerable: true, get: function () { return backfills_1.Backfills; } });
8
7
  var events_1 = require("./events.js");
9
8
  Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return events_1.Events; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/events/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAUqB;AATnB,sHAAA,yBAAyB,OAAA;AACzB,sGAAA,SAAS,OAAA;AASX,sCASkB;AARhB,gGAAA,MAAM,OAAA;AASR,sCAA4E;AAAnE,gGAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/events/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAUqB;AATnB,sGAAA,SAAS,OAAA;AAUX,sCASkB;AARhB,gGAAA,MAAM,OAAA;AASR,sCAA4E;AAAnE,gGAAA,MAAM,OAAA"}
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { BackfillListResponsesPage, Backfills, } from "./backfills.mjs";
2
+ export { Backfills, } from "./backfills.mjs";
3
3
  export { Events, } from "./events.mjs";
4
4
  export { Volume } from "./volume.mjs";
5
5
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/events/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,yBAAyB,EACzB,SAAS,GAQV;OACM,EACL,MAAM,GAQP;OACM,EAAE,MAAM,EAA4C"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/events/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,SAAS,GASV,wBAAoB;AACrB,OAAO,EACL,MAAM,GAQP,qBAAiB;AAClB,OAAO,EAAE,MAAM,EAA4C,qBAAiB"}
@@ -0,0 +1,79 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ /**
5
+ * The [Event](/core-concepts#event) resource represents a usage event that has been created for a
6
+ * customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
7
+ * a given billing period.
8
+ */
9
+ export declare class Volume extends APIResource {
10
+ /**
11
+ * This endpoint returns the event volume for an account in a
12
+ * [paginated list format](/api-reference/pagination).
13
+ *
14
+ * The event volume is aggregated by the hour and the
15
+ * [timestamp](/api-reference/event/ingest-events) field is used to determine which
16
+ * hour an event is associated with. Note, this means that late-arriving events
17
+ * increment the volume count for the hour window the timestamp is in, not the
18
+ * latest hour window.
19
+ *
20
+ * Each item in the response contains the count of events aggregated by the hour
21
+ * where the start and end time are hour-aligned and in UTC. When a specific
22
+ * timestamp is passed in for either start or end time, the response includes the
23
+ * hours the timestamp falls in.
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const eventVolumes = await client.events.volume.list({
28
+ * timeframe_start: '2019-12-27T18:11:19.117Z',
29
+ * });
30
+ * ```
31
+ */
32
+ list(query: VolumeListParams, options?: RequestOptions): APIPromise<EventVolumes>;
33
+ }
34
+ export interface EventVolumes {
35
+ data: Array<EventVolumes.Data>;
36
+ }
37
+ export declare namespace EventVolumes {
38
+ /**
39
+ * An EventVolume contains the event volume ingested in an hourly window. The
40
+ * timestamp used for the aggregation is the `timestamp` datetime field on events.
41
+ */
42
+ interface Data {
43
+ /**
44
+ * The number of events ingested with a timestamp between the timeframe
45
+ */
46
+ count: number;
47
+ timeframe_end: string;
48
+ timeframe_start: string;
49
+ }
50
+ }
51
+ export interface VolumeListParams {
52
+ /**
53
+ * The start of the timeframe, inclusive, in which to return event volume. All
54
+ * datetime values are converted to UTC time. If the specified time isn't
55
+ * hour-aligned, the response includes the event volume count for the hour the time
56
+ * falls in.
57
+ */
58
+ timeframe_start: string;
59
+ /**
60
+ * Cursor for pagination. This can be populated by the `next_cursor` value returned
61
+ * from the initial request.
62
+ */
63
+ cursor?: string | null;
64
+ /**
65
+ * The number of items to fetch. Defaults to 20.
66
+ */
67
+ limit?: number;
68
+ /**
69
+ * The end of the timeframe, exclusive, in which to return event volume. If not
70
+ * specified, the current time is used. All datetime values are converted to UTC
71
+ * time.If the specified time isn't hour-aligned, the response includes the event
72
+ * volumecount for the hour the time falls in.
73
+ */
74
+ timeframe_end?: string;
75
+ }
76
+ export declare namespace Volume {
77
+ export { type EventVolumes as EventVolumes, type VolumeListParams as VolumeListParams };
78
+ }
79
+ //# sourceMappingURL=volume.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"volume.d.mts","sourceRoot":"","sources":["../../src/resources/events/volume.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE;;;;GAIG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;CAGlF;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;CAChC;AAED,yBAAiB,YAAY,CAAC;IAC5B;;;OAGG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd,aAAa,EAAE,MAAM,CAAC;QAEtB,eAAe,EAAE,MAAM,CAAC;KACzB;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,YAAY,IAAI,YAAY,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACzF"}
@@ -1,5 +1,6 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { RequestOptions } from "../../internal/request-options.js";
3
4
  /**
4
5
  * The [Event](/core-concepts#event) resource represents a usage event that has been created for a
5
6
  * customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
@@ -28,7 +29,7 @@ export declare class Volume extends APIResource {
28
29
  * });
29
30
  * ```
30
31
  */
31
- list(query: VolumeListParams, options?: Core.RequestOptions): Core.APIPromise<EventVolumes>;
32
+ list(query: VolumeListParams, options?: RequestOptions): APIPromise<EventVolumes>;
32
33
  }
33
34
  export interface EventVolumes {
34
35
  data: Array<EventVolumes.Data>;
@@ -1 +1 @@
1
- {"version":3,"file":"volume.d.ts","sourceRoot":"","sources":["../../src/resources/events/volume.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC;;;;GAIG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;CAG5F;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;CAChC;AAED,yBAAiB,YAAY,CAAC;IAC5B;;;OAGG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd,aAAa,EAAE,MAAM,CAAC;QAEtB,eAAe,EAAE,MAAM,CAAC;KACzB;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,YAAY,IAAI,YAAY,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACzF"}
1
+ {"version":3,"file":"volume.d.ts","sourceRoot":"","sources":["../../src/resources/events/volume.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE;;;;GAIG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;CAGlF;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;CAChC;AAED,yBAAiB,YAAY,CAAC;IAC5B;;;OAGG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd,aAAa,EAAE,MAAM,CAAC;QAEtB,eAAe,EAAE,MAAM,CAAC;KACzB;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,YAAY,IAAI,YAAY,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACzF"}
@@ -2,7 +2,7 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Volume = void 0;
5
- const resource_1 = require("../../resource.js");
5
+ const resource_1 = require("../../core/resource.js");
6
6
  /**
7
7
  * The [Event](/core-concepts#event) resource represents a usage event that has been created for a
8
8
  * customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
@@ -1 +1 @@
1
- {"version":3,"file":"volume.js","sourceRoot":"","sources":["../../src/resources/events/volume.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAG7C;;;;GAIG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CAAC,KAAuB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AA1BD,wBA0BC"}
1
+ {"version":3,"file":"volume.js","sourceRoot":"","sources":["../../src/resources/events/volume.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;;;GAIG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CAAC,KAAuB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AA1BD,wBA0BC"}
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
3
  /**
4
4
  * The [Event](/core-concepts#event) resource represents a usage event that has been created for a
5
5
  * customer. Events are the core of Orb's usage-based billing model, and are used to calculate the usage charges for
@@ -1 +1 @@
1
- {"version":3,"file":"volume.mjs","sourceRoot":"","sources":["../../src/resources/events/volume.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB;;;;GAIG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CAAC,KAAuB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
1
+ {"version":3,"file":"volume.mjs","sourceRoot":"","sources":["../../src/resources/events/volume.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD;;;;GAIG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,CAAC,KAAuB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export * from "./events/index.mjs";
2
+ //# sourceMappingURL=events.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAEA,mCAA+B"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAEA,kCAA+B"}
@@ -1,19 +1,6 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
- };
17
3
  Object.defineProperty(exports, "__esModule", { value: true });
18
- __exportStar(require("./events/index.js"), exports);
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./events/index.js"), exports);
19
6
  //# sourceMappingURL=events.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,oDAA+B"}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAA+B"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
1
+ {"version":3,"file":"events.mjs","sourceRoot":"","sources":["../src/resources/events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,mCAA+B"}
@@ -0,0 +1,22 @@
1
+ export * from "./shared.mjs";
2
+ export { Alerts, type Alert, type Threshold, type AlertUpdateParams, type AlertListParams, type AlertCreateForCustomerParams, type AlertCreateForExternalCustomerParams, type AlertCreateForSubscriptionParams, type AlertDisableParams, type AlertEnableParams, type AlertsPage, } from "./alerts.mjs";
3
+ export { Beta, type PlanVersion, type PlanVersionPhase, type BetaCreatePlanVersionParams, type BetaFetchPlanVersionParams, type BetaSetDefaultPlanVersionParams, } from "./beta/beta.mjs";
4
+ export { Coupons, type Coupon, type CouponCreateParams, type CouponListParams, type CouponsPage, } from "./coupons/coupons.mjs";
5
+ export { CreditBlocks, type CreditBlockRetrieveResponse, type CreditBlockListInvoicesResponse, } from "./credit-blocks.mjs";
6
+ export { CreditNotes, type CreditNoteCreateParams, type CreditNoteListParams } from "./credit-notes.mjs";
7
+ export { Customers, type AccountingProviderConfig, type AddressInput, type Customer, type CustomerHierarchyConfig, type NewAccountingSyncConfiguration, type NewAvalaraTaxConfiguration, type NewReportingConfiguration, type NewSphereConfiguration, type NewTaxJarConfiguration, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerUpdateByExternalIDParams, type CustomersPage, } from "./customers/customers.mjs";
8
+ export { DimensionalPriceGroups, type DimensionalPriceGroup, type DimensionalPriceGroupCreateParams, type DimensionalPriceGroupUpdateParams, type DimensionalPriceGroupListParams, type DimensionalPriceGroupsPage, } from "./dimensional-price-groups/dimensional-price-groups.mjs";
9
+ export { Events, type EventUpdateResponse, type EventDeprecateResponse, type EventIngestResponse, type EventSearchResponse, type EventUpdateParams, type EventIngestParams, type EventSearchParams, } from "./events/events.mjs";
10
+ export { InvoiceLineItems, type InvoiceLineItemCreateResponse, type InvoiceLineItemCreateParams, } from "./invoice-line-items.mjs";
11
+ export { Invoices, type InvoiceFetchUpcomingResponse, type InvoiceIssueSummaryResponse, type InvoiceListSummaryResponse, type InvoiceCreateParams, type InvoiceUpdateParams, type InvoiceListParams, type InvoiceDeleteLineItemParams, type InvoiceFetchUpcomingParams, type InvoiceIssueParams, type InvoiceIssueSummaryParams, type InvoiceListSummaryParams, type InvoiceMarkPaidParams, type InvoicePayParams, type InvoiceListSummaryResponsesPage, } from "./invoices.mjs";
12
+ export { Items, type Item, type ItemCreateParams, type ItemUpdateParams, type ItemListParams, type ItemsPage, } from "./items.mjs";
13
+ export { LicenseTypes, type LicenseTypeCreateResponse, type LicenseTypeRetrieveResponse, type LicenseTypeListResponse, type LicenseTypeCreateParams, type LicenseTypeListParams, type LicenseTypeListResponsesPage, } from "./license-types.mjs";
14
+ export { Licenses, type LicenseCreateResponse, type LicenseRetrieveResponse, type LicenseListResponse, type LicenseDeactivateResponse, type LicenseRetrieveByExternalIDResponse, type LicenseCreateParams, type LicenseListParams, type LicenseDeactivateParams, type LicenseRetrieveByExternalIDParams, type LicenseListResponsesPage, } from "./licenses/licenses.mjs";
15
+ export { Metrics, type BillableMetric, type MetricCreateParams, type MetricUpdateParams, type MetricListParams, type BillableMetricsPage, } from "./metrics.mjs";
16
+ export { Plans, type Plan, type PlanCreateParams, type PlanUpdateParams, type PlanListParams, type PlansPage, } from "./plans/plans.mjs";
17
+ export { Prices, type EvaluatePriceGroup, type PriceEvaluateResponse, type PriceEvaluateMultipleResponse, type PriceEvaluatePreviewEventsResponse, type PriceCreateParams, type PriceUpdateParams, type PriceListParams, type PriceEvaluateParams, type PriceEvaluateMultipleParams, type PriceEvaluatePreviewEventsParams, } from "./prices/prices.mjs";
18
+ export { SubscriptionChanges, type MutatedSubscription, type SubscriptionChangeRetrieveResponse, type SubscriptionChangeListResponse, type SubscriptionChangeApplyResponse, type SubscriptionChangeCancelResponse, type SubscriptionChangeListParams, type SubscriptionChangeApplyParams, type SubscriptionChangeListResponsesPage, } from "./subscription-changes.mjs";
19
+ export { Subscriptions, type DiscountOverride, type NewSubscriptionBulkPrice, type NewSubscriptionBulkWithProrationPrice, type NewSubscriptionCumulativeGroupedBulkPrice, type NewSubscriptionGroupedAllocationPrice, type NewSubscriptionGroupedTieredPackagePrice, type NewSubscriptionGroupedTieredPrice, type NewSubscriptionGroupedWithMeteredMinimumPrice, type NewSubscriptionGroupedWithProratedMinimumPrice, type NewSubscriptionMatrixPrice, type NewSubscriptionMatrixWithAllocationPrice, type NewSubscriptionMatrixWithDisplayNamePrice, type NewSubscriptionMaxGroupTieredPackagePrice, type NewSubscriptionMinimumCompositePrice, type NewSubscriptionPackagePrice, type NewSubscriptionPackageWithAllocationPrice, type NewSubscriptionScalableMatrixWithTieredPricingPrice, type NewSubscriptionScalableMatrixWithUnitPricingPrice, type NewSubscriptionThresholdTotalAmountPrice, type NewSubscriptionTieredPackagePrice, type NewSubscriptionTieredPackageWithMinimumPrice, type NewSubscriptionTieredPrice, type NewSubscriptionTieredWithMinimumPrice, type NewSubscriptionUnitPrice, type NewSubscriptionUnitWithPercentPrice, type NewSubscriptionUnitWithProrationPrice, type Subscription, type SubscriptionUsage, type SubscriptionFetchCostsResponse, type SubscriptionFetchScheduleResponse, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionCancelParams, type SubscriptionFetchCostsParams, type SubscriptionFetchScheduleParams, type SubscriptionFetchUsageParams, type SubscriptionPriceIntervalsParams, type SubscriptionRedeemCouponParams, type SubscriptionSchedulePlanChangeParams, type SubscriptionTriggerPhaseParams, type SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, type SubscriptionUpdateFixedFeeQuantityParams, type SubscriptionUpdateTrialParams, type SubscriptionsPage, type SubscriptionFetchScheduleResponsesPage, } from "./subscriptions.mjs";
20
+ export { TopLevel, type TopLevelPingResponse } from "./top-level.mjs";
21
+ export { Webhooks } from "./webhooks.mjs";
22
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,UAAU,GAChB,qBAAiB;AAClB,OAAO,EACL,IAAI,EACJ,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,GACrC,wBAAoB;AACrB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,WAAW,GACjB,8BAA0B;AAC3B,OAAO,EACL,YAAY,EACZ,KAAK,2BAA2B,EAChC,KAAK,+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,wBAAwB,EAC7B,KAAK,qCAAqC,EAC1C,KAAK,yCAAyC,EAC9C,KAAK,qCAAqC,EAC1C,KAAK,wCAAwC,EAC7C,KAAK,iCAAiC,EACtC,KAAK,6CAA6C,EAClD,KAAK,8CAA8C,EACnD,KAAK,0BAA0B,EAC/B,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,yCAAyC,EAC9C,KAAK,oCAAoC,EACzC,KAAK,2BAA2B,EAChC,KAAK,yCAAyC,EAC9C,KAAK,mDAAmD,EACxD,KAAK,iDAAiD,EACtD,KAAK,wCAAwC,EAC7C,KAAK,iCAAiC,EACtC,KAAK,4CAA4C,EACjD,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,wBAAwB,EAC7B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,oCAAoC,EACzC,KAAK,8BAA8B,EACnC,KAAK,mDAAmD,EACxD,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,EAClC,KAAK,iBAAiB,EACtB,KAAK,sCAAsC,GAC5C,4BAAwB;AACzB,OAAO,EAAE,QAAQ,EAAE,KAAK,oBAAoB,EAAE,wBAAoB;AAClE,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
@@ -1,22 +1,22 @@
1
1
  export * from "./shared.js";
2
- export { AlertsPage, Alerts, type Alert, type Threshold, type AlertUpdateParams, type AlertListParams, type AlertCreateForCustomerParams, type AlertCreateForExternalCustomerParams, type AlertCreateForSubscriptionParams, type AlertDisableParams, type AlertEnableParams, } from "./alerts.js";
3
- export { Beta, type PlanVersion, type PlanVersionPhase, type BetaCreatePlanVersionParams, type BetaSetDefaultPlanVersionParams, } from "./beta/beta.js";
4
- export { BillableMetricsPage, Metrics, type BillableMetric, type MetricCreateParams, type MetricUpdateParams, type MetricListParams, } from "./metrics.js";
5
- export { CouponsPage, Coupons, type Coupon, type CouponCreateParams, type CouponListParams, } from "./coupons/coupons.js";
2
+ export { Alerts, type Alert, type Threshold, type AlertUpdateParams, type AlertListParams, type AlertCreateForCustomerParams, type AlertCreateForExternalCustomerParams, type AlertCreateForSubscriptionParams, type AlertDisableParams, type AlertEnableParams, type AlertsPage, } from "./alerts.js";
3
+ export { Beta, type PlanVersion, type PlanVersionPhase, type BetaCreatePlanVersionParams, type BetaFetchPlanVersionParams, type BetaSetDefaultPlanVersionParams, } from "./beta/beta.js";
4
+ export { Coupons, type Coupon, type CouponCreateParams, type CouponListParams, type CouponsPage, } from "./coupons/coupons.js";
6
5
  export { CreditBlocks, type CreditBlockRetrieveResponse, type CreditBlockListInvoicesResponse, } from "./credit-blocks.js";
7
6
  export { CreditNotes, type CreditNoteCreateParams, type CreditNoteListParams } from "./credit-notes.js";
8
- export { CustomersPage, Customers, type AccountingProviderConfig, type AddressInput, type Customer, type CustomerHierarchyConfig, type NewAccountingSyncConfiguration, type NewAvalaraTaxConfiguration, type NewReportingConfiguration, type NewSphereConfiguration, type NewTaxJarConfiguration, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerUpdateByExternalIDParams, } from "./customers/customers.js";
9
- export { DimensionalPriceGroupsPage, DimensionalPriceGroups, type DimensionalPriceGroup, type DimensionalPriceGroupCreateParams, type DimensionalPriceGroupUpdateParams, type DimensionalPriceGroupListParams, } from "./dimensional-price-groups/dimensional-price-groups.js";
7
+ export { Customers, type AccountingProviderConfig, type AddressInput, type Customer, type CustomerHierarchyConfig, type NewAccountingSyncConfiguration, type NewAvalaraTaxConfiguration, type NewReportingConfiguration, type NewSphereConfiguration, type NewTaxJarConfiguration, type CustomerCreateParams, type CustomerUpdateParams, type CustomerListParams, type CustomerUpdateByExternalIDParams, type CustomersPage, } from "./customers/customers.js";
8
+ export { DimensionalPriceGroups, type DimensionalPriceGroup, type DimensionalPriceGroupCreateParams, type DimensionalPriceGroupUpdateParams, type DimensionalPriceGroupListParams, type DimensionalPriceGroupsPage, } from "./dimensional-price-groups/dimensional-price-groups.js";
10
9
  export { Events, type EventUpdateResponse, type EventDeprecateResponse, type EventIngestResponse, type EventSearchResponse, type EventUpdateParams, type EventIngestParams, type EventSearchParams, } from "./events/events.js";
11
10
  export { InvoiceLineItems, type InvoiceLineItemCreateResponse, type InvoiceLineItemCreateParams, } from "./invoice-line-items.js";
12
- export { InvoiceListSummaryResponsesPage, Invoices, type InvoiceFetchUpcomingResponse, type InvoiceIssueSummaryResponse, type InvoiceListSummaryResponse, type InvoiceCreateParams, type InvoiceUpdateParams, type InvoiceListParams, type InvoiceFetchUpcomingParams, type InvoiceIssueParams, type InvoiceIssueSummaryParams, type InvoiceListSummaryParams, type InvoiceMarkPaidParams, type InvoicePayParams, } from "./invoices.js";
13
- export { ItemsPage, Items, type Item, type ItemCreateParams, type ItemUpdateParams, type ItemListParams, } from "./items.js";
14
- export { LicenseListResponsesPage, Licenses, type LicenseCreateResponse, type LicenseRetrieveResponse, type LicenseListResponse, type LicenseDeactivateResponse, type LicenseRetrieveByExternalIDResponse, type LicenseCreateParams, type LicenseListParams, type LicenseDeactivateParams, type LicenseRetrieveByExternalIDParams, } from "./licenses/licenses.js";
15
- export { LicenseTypeListResponsesPage, LicenseTypes, type LicenseTypeCreateResponse, type LicenseTypeRetrieveResponse, type LicenseTypeListResponse, type LicenseTypeCreateParams, type LicenseTypeListParams, } from "./license-types.js";
16
- export { PlansPage, Plans, type Plan, type PlanCreateParams, type PlanUpdateParams, type PlanListParams, } from "./plans/plans.js";
11
+ export { Invoices, type InvoiceFetchUpcomingResponse, type InvoiceIssueSummaryResponse, type InvoiceListSummaryResponse, type InvoiceCreateParams, type InvoiceUpdateParams, type InvoiceListParams, type InvoiceDeleteLineItemParams, type InvoiceFetchUpcomingParams, type InvoiceIssueParams, type InvoiceIssueSummaryParams, type InvoiceListSummaryParams, type InvoiceMarkPaidParams, type InvoicePayParams, type InvoiceListSummaryResponsesPage, } from "./invoices.js";
12
+ export { Items, type Item, type ItemCreateParams, type ItemUpdateParams, type ItemListParams, type ItemsPage, } from "./items.js";
13
+ export { LicenseTypes, type LicenseTypeCreateResponse, type LicenseTypeRetrieveResponse, type LicenseTypeListResponse, type LicenseTypeCreateParams, type LicenseTypeListParams, type LicenseTypeListResponsesPage, } from "./license-types.js";
14
+ export { Licenses, type LicenseCreateResponse, type LicenseRetrieveResponse, type LicenseListResponse, type LicenseDeactivateResponse, type LicenseRetrieveByExternalIDResponse, type LicenseCreateParams, type LicenseListParams, type LicenseDeactivateParams, type LicenseRetrieveByExternalIDParams, type LicenseListResponsesPage, } from "./licenses/licenses.js";
15
+ export { Metrics, type BillableMetric, type MetricCreateParams, type MetricUpdateParams, type MetricListParams, type BillableMetricsPage, } from "./metrics.js";
16
+ export { Plans, type Plan, type PlanCreateParams, type PlanUpdateParams, type PlanListParams, type PlansPage, } from "./plans/plans.js";
17
17
  export { Prices, type EvaluatePriceGroup, type PriceEvaluateResponse, type PriceEvaluateMultipleResponse, type PriceEvaluatePreviewEventsResponse, type PriceCreateParams, type PriceUpdateParams, type PriceListParams, type PriceEvaluateParams, type PriceEvaluateMultipleParams, type PriceEvaluatePreviewEventsParams, } from "./prices/prices.js";
18
- export { SubscriptionChangeListResponsesPage, SubscriptionChanges, type MutatedSubscription, type SubscriptionChangeRetrieveResponse, type SubscriptionChangeListResponse, type SubscriptionChangeApplyResponse, type SubscriptionChangeCancelResponse, type SubscriptionChangeListParams, type SubscriptionChangeApplyParams, } from "./subscription-changes.js";
19
- export { SubscriptionsPage, SubscriptionFetchScheduleResponsesPage, Subscriptions, type DiscountOverride, type NewSubscriptionBulkPrice, type NewSubscriptionBulkWithProrationPrice, type NewSubscriptionCumulativeGroupedBulkPrice, type NewSubscriptionGroupedAllocationPrice, type NewSubscriptionGroupedTieredPackagePrice, type NewSubscriptionGroupedTieredPrice, type NewSubscriptionGroupedWithMeteredMinimumPrice, type NewSubscriptionGroupedWithProratedMinimumPrice, type NewSubscriptionMatrixPrice, type NewSubscriptionMatrixWithAllocationPrice, type NewSubscriptionMatrixWithDisplayNamePrice, type NewSubscriptionMaxGroupTieredPackagePrice, type NewSubscriptionMinimumCompositePrice, type NewSubscriptionPackagePrice, type NewSubscriptionPackageWithAllocationPrice, type NewSubscriptionScalableMatrixWithTieredPricingPrice, type NewSubscriptionScalableMatrixWithUnitPricingPrice, type NewSubscriptionThresholdTotalAmountPrice, type NewSubscriptionTieredPackagePrice, type NewSubscriptionTieredPackageWithMinimumPrice, type NewSubscriptionTieredPrice, type NewSubscriptionTieredWithMinimumPrice, type NewSubscriptionUnitPrice, type NewSubscriptionUnitWithPercentPrice, type NewSubscriptionUnitWithProrationPrice, type Subscription, type SubscriptionUsage, type SubscriptionFetchCostsResponse, type SubscriptionFetchScheduleResponse, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionCancelParams, type SubscriptionFetchCostsParams, type SubscriptionFetchScheduleParams, type SubscriptionFetchUsageParams, type SubscriptionPriceIntervalsParams, type SubscriptionRedeemCouponParams, type SubscriptionSchedulePlanChangeParams, type SubscriptionTriggerPhaseParams, type SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, type SubscriptionUpdateFixedFeeQuantityParams, type SubscriptionUpdateTrialParams, } from "./subscriptions.js";
18
+ export { SubscriptionChanges, type MutatedSubscription, type SubscriptionChangeRetrieveResponse, type SubscriptionChangeListResponse, type SubscriptionChangeApplyResponse, type SubscriptionChangeCancelResponse, type SubscriptionChangeListParams, type SubscriptionChangeApplyParams, type SubscriptionChangeListResponsesPage, } from "./subscription-changes.js";
19
+ export { Subscriptions, type DiscountOverride, type NewSubscriptionBulkPrice, type NewSubscriptionBulkWithProrationPrice, type NewSubscriptionCumulativeGroupedBulkPrice, type NewSubscriptionGroupedAllocationPrice, type NewSubscriptionGroupedTieredPackagePrice, type NewSubscriptionGroupedTieredPrice, type NewSubscriptionGroupedWithMeteredMinimumPrice, type NewSubscriptionGroupedWithProratedMinimumPrice, type NewSubscriptionMatrixPrice, type NewSubscriptionMatrixWithAllocationPrice, type NewSubscriptionMatrixWithDisplayNamePrice, type NewSubscriptionMaxGroupTieredPackagePrice, type NewSubscriptionMinimumCompositePrice, type NewSubscriptionPackagePrice, type NewSubscriptionPackageWithAllocationPrice, type NewSubscriptionScalableMatrixWithTieredPricingPrice, type NewSubscriptionScalableMatrixWithUnitPricingPrice, type NewSubscriptionThresholdTotalAmountPrice, type NewSubscriptionTieredPackagePrice, type NewSubscriptionTieredPackageWithMinimumPrice, type NewSubscriptionTieredPrice, type NewSubscriptionTieredWithMinimumPrice, type NewSubscriptionUnitPrice, type NewSubscriptionUnitWithPercentPrice, type NewSubscriptionUnitWithProrationPrice, type Subscription, type SubscriptionUsage, type SubscriptionFetchCostsResponse, type SubscriptionFetchScheduleResponse, type SubscriptionCreateParams, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionCancelParams, type SubscriptionFetchCostsParams, type SubscriptionFetchScheduleParams, type SubscriptionFetchUsageParams, type SubscriptionPriceIntervalsParams, type SubscriptionRedeemCouponParams, type SubscriptionSchedulePlanChangeParams, type SubscriptionTriggerPhaseParams, type SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, type SubscriptionUpdateFixedFeeQuantityParams, type SubscriptionUpdateTrialParams, type SubscriptionsPage, type SubscriptionFetchScheduleResponsesPage, } from "./subscriptions.js";
20
20
  export { TopLevel, type TopLevelPingResponse } from "./top-level.js";
21
21
  export { Webhooks } from "./webhooks.js";
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAE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AK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,oCAAoC,EACzC,KAAK,8BAA8B,EACnC,KAAK,mDAAmD,EACxD,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,GACnC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAElE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,UAAU,GAChB,oBAAiB;AAClB,OAAO,EACL,IAAI,EACJ,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,GACrC,uBAAoB;AACrB,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,WAAW,GACjB,6BAA0B;AAC3B,OAAO,EACL,YAAY,EACZ,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,GACrC,2BAAwB;AACzB,OAAO,EAAE,WAAW,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,0BAAuB;AACrG,OAAO,EACL,SAAS,EACT,KAAK,wBAA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AClD,KAAK,8CAA8C,EACnD,KAAK,0BAA0B,EAC/B,KAAK,wCAAwC,EAC7C,KAAK,yCAAyC,EAC9C,KAAK,yCAAyC,EAC9C,KAAK,oCAAoC,EACzC,KAAK,2BAA2B,EAChC,KAAK,yCAAyC,EAC9C,KAAK,mDAAmD,EACxD,KAAK,iDAAiD,EACtD,KAAK,wCAAwC,EAC7C,KAAK,iCAAiC,EACtC,KAAK,4CAA4C,EACjD,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,wBAAwB,EAC7B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,oCAAoC,EACzC,KAAK,8BAA8B,EACnC,KAAK,mDAAmD,EACxD,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,EAClC,KAAK,iBAAiB,EACtB,KAAK,sCAAsC,GAC5C,2BAAwB;AACzB,OAAO,EAAE,QAAQ,EAAE,KAAK,oBAAoB,EAAE,uBAAoB;AAClE,OAAO,EAAE,QAAQ,EAAE,sBAAmB"}
@@ -1,70 +1,44 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
- };
17
3
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.Webhooks = exports.TopLevel = exports.Subscriptions = exports.SubscriptionFetchScheduleResponsesPage = exports.SubscriptionsPage = exports.SubscriptionChanges = exports.SubscriptionChangeListResponsesPage = exports.Prices = exports.Plans = exports.PlansPage = exports.LicenseTypes = exports.LicenseTypeListResponsesPage = exports.Licenses = exports.LicenseListResponsesPage = exports.Items = exports.ItemsPage = exports.Invoices = exports.InvoiceListSummaryResponsesPage = exports.InvoiceLineItems = exports.Events = exports.DimensionalPriceGroups = exports.DimensionalPriceGroupsPage = exports.Customers = exports.CustomersPage = exports.CreditNotes = exports.CreditBlocks = exports.Coupons = exports.CouponsPage = exports.Metrics = exports.BillableMetricsPage = exports.Beta = exports.Alerts = exports.AlertsPage = void 0;
19
- __exportStar(require("./shared.js"), exports);
4
+ exports.Webhooks = exports.TopLevel = exports.Subscriptions = exports.SubscriptionChanges = exports.Prices = exports.Plans = exports.Metrics = exports.Licenses = exports.LicenseTypes = exports.Items = exports.Invoices = exports.InvoiceLineItems = exports.Events = exports.DimensionalPriceGroups = exports.Customers = exports.CreditNotes = exports.CreditBlocks = exports.Coupons = exports.Beta = exports.Alerts = void 0;
5
+ const tslib_1 = require("../internal/tslib.js");
6
+ tslib_1.__exportStar(require("./shared.js"), exports);
20
7
  var alerts_1 = require("./alerts.js");
21
- Object.defineProperty(exports, "AlertsPage", { enumerable: true, get: function () { return alerts_1.AlertsPage; } });
22
8
  Object.defineProperty(exports, "Alerts", { enumerable: true, get: function () { return alerts_1.Alerts; } });
23
9
  var beta_1 = require("./beta/beta.js");
24
10
  Object.defineProperty(exports, "Beta", { enumerable: true, get: function () { return beta_1.Beta; } });
25
- var metrics_1 = require("./metrics.js");
26
- Object.defineProperty(exports, "BillableMetricsPage", { enumerable: true, get: function () { return metrics_1.BillableMetricsPage; } });
27
- Object.defineProperty(exports, "Metrics", { enumerable: true, get: function () { return metrics_1.Metrics; } });
28
11
  var coupons_1 = require("./coupons/coupons.js");
29
- Object.defineProperty(exports, "CouponsPage", { enumerable: true, get: function () { return coupons_1.CouponsPage; } });
30
12
  Object.defineProperty(exports, "Coupons", { enumerable: true, get: function () { return coupons_1.Coupons; } });
31
13
  var credit_blocks_1 = require("./credit-blocks.js");
32
14
  Object.defineProperty(exports, "CreditBlocks", { enumerable: true, get: function () { return credit_blocks_1.CreditBlocks; } });
33
15
  var credit_notes_1 = require("./credit-notes.js");
34
16
  Object.defineProperty(exports, "CreditNotes", { enumerable: true, get: function () { return credit_notes_1.CreditNotes; } });
35
17
  var customers_1 = require("./customers/customers.js");
36
- Object.defineProperty(exports, "CustomersPage", { enumerable: true, get: function () { return customers_1.CustomersPage; } });
37
18
  Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
38
19
  var dimensional_price_groups_1 = require("./dimensional-price-groups/dimensional-price-groups.js");
39
- Object.defineProperty(exports, "DimensionalPriceGroupsPage", { enumerable: true, get: function () { return dimensional_price_groups_1.DimensionalPriceGroupsPage; } });
40
20
  Object.defineProperty(exports, "DimensionalPriceGroups", { enumerable: true, get: function () { return dimensional_price_groups_1.DimensionalPriceGroups; } });
41
21
  var events_1 = require("./events/events.js");
42
22
  Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return events_1.Events; } });
43
23
  var invoice_line_items_1 = require("./invoice-line-items.js");
44
24
  Object.defineProperty(exports, "InvoiceLineItems", { enumerable: true, get: function () { return invoice_line_items_1.InvoiceLineItems; } });
45
25
  var invoices_1 = require("./invoices.js");
46
- Object.defineProperty(exports, "InvoiceListSummaryResponsesPage", { enumerable: true, get: function () { return invoices_1.InvoiceListSummaryResponsesPage; } });
47
26
  Object.defineProperty(exports, "Invoices", { enumerable: true, get: function () { return invoices_1.Invoices; } });
48
27
  var items_1 = require("./items.js");
49
- Object.defineProperty(exports, "ItemsPage", { enumerable: true, get: function () { return items_1.ItemsPage; } });
50
28
  Object.defineProperty(exports, "Items", { enumerable: true, get: function () { return items_1.Items; } });
51
- var licenses_1 = require("./licenses/licenses.js");
52
- Object.defineProperty(exports, "LicenseListResponsesPage", { enumerable: true, get: function () { return licenses_1.LicenseListResponsesPage; } });
53
- Object.defineProperty(exports, "Licenses", { enumerable: true, get: function () { return licenses_1.Licenses; } });
54
29
  var license_types_1 = require("./license-types.js");
55
- Object.defineProperty(exports, "LicenseTypeListResponsesPage", { enumerable: true, get: function () { return license_types_1.LicenseTypeListResponsesPage; } });
56
30
  Object.defineProperty(exports, "LicenseTypes", { enumerable: true, get: function () { return license_types_1.LicenseTypes; } });
31
+ var licenses_1 = require("./licenses/licenses.js");
32
+ Object.defineProperty(exports, "Licenses", { enumerable: true, get: function () { return licenses_1.Licenses; } });
33
+ var metrics_1 = require("./metrics.js");
34
+ Object.defineProperty(exports, "Metrics", { enumerable: true, get: function () { return metrics_1.Metrics; } });
57
35
  var plans_1 = require("./plans/plans.js");
58
- Object.defineProperty(exports, "PlansPage", { enumerable: true, get: function () { return plans_1.PlansPage; } });
59
36
  Object.defineProperty(exports, "Plans", { enumerable: true, get: function () { return plans_1.Plans; } });
60
37
  var prices_1 = require("./prices/prices.js");
61
38
  Object.defineProperty(exports, "Prices", { enumerable: true, get: function () { return prices_1.Prices; } });
62
39
  var subscription_changes_1 = require("./subscription-changes.js");
63
- Object.defineProperty(exports, "SubscriptionChangeListResponsesPage", { enumerable: true, get: function () { return subscription_changes_1.SubscriptionChangeListResponsesPage; } });
64
40
  Object.defineProperty(exports, "SubscriptionChanges", { enumerable: true, get: function () { return subscription_changes_1.SubscriptionChanges; } });
65
41
  var subscriptions_1 = require("./subscriptions.js");
66
- Object.defineProperty(exports, "SubscriptionsPage", { enumerable: true, get: function () { return subscriptions_1.SubscriptionsPage; } });
67
- Object.defineProperty(exports, "SubscriptionFetchScheduleResponsesPage", { enumerable: true, get: function () { return subscriptions_1.SubscriptionFetchScheduleResponsesPage; } });
68
42
  Object.defineProperty(exports, "Subscriptions", { enumerable: true, get: function () { return subscriptions_1.Subscriptions; } });
69
43
  var top_level_1 = require("./top-level.js");
70
44
  Object.defineProperty(exports, "TopLevel", { enumerable: true, get: function () { return top_level_1.TopLevel; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;AAEtF,8CAAyB;AACzB,sCAYkB;AAXhB,oGAAA,UAAU,OAAA;AACV,gGAAA,MAAM,OAAA;AAWR,uCAMqB;AALnB,4FAAA,IAAI,OAAA;AAMN,wCAOmB;AANjB,8GAAA,mBAAmB,OAAA;AACnB,kGAAA,OAAO,OAAA;AAMT,gDAM2B;AALzB,sGAAA,WAAW,OAAA;AACX,kGAAA,OAAO,OAAA;AAKT,oDAIyB;AAHvB,6GAAA,YAAY,OAAA;AAId,kDAAqG;AAA5F,2GAAA,WAAW,OAAA;AACpB,sDAgB+B;AAf7B,0GAAA,aAAa,OAAA;AACb,sGAAA,SAAS,OAAA;AAeX,mGAO6D;AAN3D,sIAAA,0BAA0B,OAAA;AAC1B,kIAAA,sBAAsB,OAAA;AAMxB,6CASyB;AARvB,gGAAA,MAAM,OAAA;AASR,8DAI8B;AAH5B,sHAAA,gBAAgB,OAAA;AAIlB,0CAeoB;AAdlB,2HAAA,+BAA+B,OAAA;AAC/B,oGAAA,QAAQ,OAAA;AAcV,oCAOiB;AANf,kGAAA,SAAS,OAAA;AACT,8FAAA,KAAK,OAAA;AAMP,mDAY6B;AAX3B,oHAAA,wBAAwB,OAAA;AACxB,oGAAA,QAAQ,OAAA;AAWV,oDAQyB;AAPvB,6HAAA,4BAA4B,OAAA;AAC5B,6GAAA,YAAY,OAAA;AAOd,0CAOuB;AANrB,kGAAA,SAAS,OAA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