@stigg/typescript 0.1.0-beta.21 → 0.1.0-beta.22

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 (371) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/client.d.mts +3 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/index.d.mts +1 -0
  12. package/resources/index.d.mts.map +1 -1
  13. package/resources/index.d.ts +1 -0
  14. package/resources/index.d.ts.map +1 -1
  15. package/resources/index.js +3 -1
  16. package/resources/index.js.map +1 -1
  17. package/resources/index.mjs +1 -0
  18. package/resources/index.mjs.map +1 -1
  19. package/resources/v1/addons/addons.d.mts +0 -59
  20. package/resources/v1/addons/addons.d.mts.map +1 -1
  21. package/resources/v1/addons/addons.d.ts +0 -59
  22. package/resources/v1/addons/addons.d.ts.map +1 -1
  23. package/resources/v1/addons/addons.js +0 -59
  24. package/resources/v1/addons/addons.js.map +1 -1
  25. package/resources/v1/addons/addons.mjs +0 -59
  26. package/resources/v1/addons/addons.mjs.map +1 -1
  27. package/resources/v1/addons/entitlements.d.mts +0 -31
  28. package/resources/v1/addons/entitlements.d.mts.map +1 -1
  29. package/resources/v1/addons/entitlements.d.ts +0 -31
  30. package/resources/v1/addons/entitlements.d.ts.map +1 -1
  31. package/resources/v1/addons/entitlements.js +0 -31
  32. package/resources/v1/addons/entitlements.js.map +1 -1
  33. package/resources/v1/addons/entitlements.mjs +0 -31
  34. package/resources/v1/addons/entitlements.mjs.map +1 -1
  35. package/resources/v1/coupons.d.mts +0 -36
  36. package/resources/v1/coupons.d.mts.map +1 -1
  37. package/resources/v1/coupons.d.ts +0 -36
  38. package/resources/v1/coupons.d.ts.map +1 -1
  39. package/resources/v1/coupons.js +0 -36
  40. package/resources/v1/coupons.js.map +1 -1
  41. package/resources/v1/coupons.mjs +0 -36
  42. package/resources/v1/coupons.mjs.map +1 -1
  43. package/resources/v1/credits/credits.d.mts +0 -25
  44. package/resources/v1/credits/credits.d.mts.map +1 -1
  45. package/resources/v1/credits/credits.d.ts +0 -25
  46. package/resources/v1/credits/credits.d.ts.map +1 -1
  47. package/resources/v1/credits/credits.js +0 -25
  48. package/resources/v1/credits/credits.js.map +1 -1
  49. package/resources/v1/credits/credits.mjs +0 -25
  50. package/resources/v1/credits/credits.mjs.map +1 -1
  51. package/resources/v1/credits/custom-currencies.d.mts +0 -49
  52. package/resources/v1/credits/custom-currencies.d.mts.map +1 -1
  53. package/resources/v1/credits/custom-currencies.d.ts +0 -49
  54. package/resources/v1/credits/custom-currencies.d.ts.map +1 -1
  55. package/resources/v1/credits/custom-currencies.js +0 -49
  56. package/resources/v1/credits/custom-currencies.js.map +1 -1
  57. package/resources/v1/credits/custom-currencies.mjs +0 -49
  58. package/resources/v1/credits/custom-currencies.mjs.map +1 -1
  59. package/resources/v1/credits/grants.d.mts +0 -28
  60. package/resources/v1/credits/grants.d.mts.map +1 -1
  61. package/resources/v1/credits/grants.d.ts +0 -28
  62. package/resources/v1/credits/grants.d.ts.map +1 -1
  63. package/resources/v1/credits/grants.js +0 -28
  64. package/resources/v1/credits/grants.js.map +1 -1
  65. package/resources/v1/credits/grants.mjs +0 -28
  66. package/resources/v1/credits/grants.mjs.map +1 -1
  67. package/resources/v1/customers/customers.d.mts +0 -77
  68. package/resources/v1/customers/customers.d.mts.map +1 -1
  69. package/resources/v1/customers/customers.d.ts +0 -77
  70. package/resources/v1/customers/customers.d.ts.map +1 -1
  71. package/resources/v1/customers/customers.js +0 -77
  72. package/resources/v1/customers/customers.js.map +1 -1
  73. package/resources/v1/customers/customers.mjs +0 -77
  74. package/resources/v1/customers/customers.mjs.map +1 -1
  75. package/resources/v1/customers/integrations.d.mts +0 -47
  76. package/resources/v1/customers/integrations.d.mts.map +1 -1
  77. package/resources/v1/customers/integrations.d.ts +0 -47
  78. package/resources/v1/customers/integrations.d.ts.map +1 -1
  79. package/resources/v1/customers/integrations.js +0 -47
  80. package/resources/v1/customers/integrations.js.map +1 -1
  81. package/resources/v1/customers/integrations.mjs +0 -47
  82. package/resources/v1/customers/integrations.mjs.map +1 -1
  83. package/resources/v1/customers/payment-method.d.mts +0 -16
  84. package/resources/v1/customers/payment-method.d.mts.map +1 -1
  85. package/resources/v1/customers/payment-method.d.ts +0 -16
  86. package/resources/v1/customers/payment-method.d.ts.map +1 -1
  87. package/resources/v1/customers/payment-method.js +0 -16
  88. package/resources/v1/customers/payment-method.js.map +1 -1
  89. package/resources/v1/customers/payment-method.mjs +0 -16
  90. package/resources/v1/customers/payment-method.mjs.map +1 -1
  91. package/resources/v1/customers/promotional-entitlements.d.mts +0 -51
  92. package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
  93. package/resources/v1/customers/promotional-entitlements.d.ts +0 -51
  94. package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
  95. package/resources/v1/customers/promotional-entitlements.js +0 -51
  96. package/resources/v1/customers/promotional-entitlements.js.map +1 -1
  97. package/resources/v1/customers/promotional-entitlements.mjs +0 -51
  98. package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
  99. package/resources/v1/events/data-export/data-export.d.mts +29 -21
  100. package/resources/v1/events/data-export/data-export.d.mts.map +1 -1
  101. package/resources/v1/events/data-export/data-export.d.ts +29 -21
  102. package/resources/v1/events/data-export/data-export.d.ts.map +1 -1
  103. package/resources/v1/events/data-export/data-export.js +27 -18
  104. package/resources/v1/events/data-export/data-export.js.map +1 -1
  105. package/resources/v1/events/data-export/data-export.mjs +27 -18
  106. package/resources/v1/events/data-export/data-export.mjs.map +1 -1
  107. package/resources/v1/events/data-export/destinations.d.mts +29 -22
  108. package/resources/v1/events/data-export/destinations.d.mts.map +1 -1
  109. package/resources/v1/events/data-export/destinations.d.ts +29 -22
  110. package/resources/v1/events/data-export/destinations.d.ts.map +1 -1
  111. package/resources/v1/events/data-export/destinations.js +26 -21
  112. package/resources/v1/events/data-export/destinations.js.map +1 -1
  113. package/resources/v1/events/data-export/destinations.mjs +26 -21
  114. package/resources/v1/events/data-export/destinations.mjs.map +1 -1
  115. package/resources/v1/events/data-export/index.d.mts +1 -1
  116. package/resources/v1/events/data-export/index.d.mts.map +1 -1
  117. package/resources/v1/events/data-export/index.d.ts +1 -1
  118. package/resources/v1/events/data-export/index.d.ts.map +1 -1
  119. package/resources/v1/events/data-export/index.js.map +1 -1
  120. package/resources/v1/events/data-export/index.mjs.map +1 -1
  121. package/resources/v1/events/events.d.mts +0 -17
  122. package/resources/v1/events/events.d.mts.map +1 -1
  123. package/resources/v1/events/events.d.ts +0 -17
  124. package/resources/v1/events/events.d.ts.map +1 -1
  125. package/resources/v1/events/events.js +0 -17
  126. package/resources/v1/events/events.js.map +1 -1
  127. package/resources/v1/events/events.mjs +0 -17
  128. package/resources/v1/events/events.mjs.map +1 -1
  129. package/resources/v1/events/index.d.mts +0 -1
  130. package/resources/v1/events/index.d.mts.map +1 -1
  131. package/resources/v1/events/index.d.ts +0 -1
  132. package/resources/v1/events/index.d.ts.map +1 -1
  133. package/resources/v1/events/index.js +3 -5
  134. package/resources/v1/events/index.js.map +1 -1
  135. package/resources/v1/events/index.mjs +0 -1
  136. package/resources/v1/events/index.mjs.map +1 -1
  137. package/resources/v1/features.d.mts +0 -43
  138. package/resources/v1/features.d.mts.map +1 -1
  139. package/resources/v1/features.d.ts +0 -43
  140. package/resources/v1/features.d.ts.map +1 -1
  141. package/resources/v1/features.js +0 -43
  142. package/resources/v1/features.js.map +1 -1
  143. package/resources/v1/features.mjs +0 -43
  144. package/resources/v1/features.mjs.map +1 -1
  145. package/resources/v1/plans/entitlements.d.mts +0 -31
  146. package/resources/v1/plans/entitlements.d.mts.map +1 -1
  147. package/resources/v1/plans/entitlements.d.ts +0 -31
  148. package/resources/v1/plans/entitlements.d.ts.map +1 -1
  149. package/resources/v1/plans/entitlements.js +0 -31
  150. package/resources/v1/plans/entitlements.js.map +1 -1
  151. package/resources/v1/plans/entitlements.mjs +0 -31
  152. package/resources/v1/plans/entitlements.mjs.map +1 -1
  153. package/resources/v1/plans/plans.d.mts +0 -69
  154. package/resources/v1/plans/plans.d.mts.map +1 -1
  155. package/resources/v1/plans/plans.d.ts +0 -69
  156. package/resources/v1/plans/plans.d.ts.map +1 -1
  157. package/resources/v1/plans/plans.js +0 -69
  158. package/resources/v1/plans/plans.js.map +1 -1
  159. package/resources/v1/plans/plans.mjs +0 -69
  160. package/resources/v1/plans/plans.mjs.map +1 -1
  161. package/resources/v1/products.d.mts +0 -43
  162. package/resources/v1/products.d.mts.map +1 -1
  163. package/resources/v1/products.d.ts +0 -43
  164. package/resources/v1/products.d.ts.map +1 -1
  165. package/resources/v1/products.js +0 -43
  166. package/resources/v1/products.js.map +1 -1
  167. package/resources/v1/products.mjs +0 -43
  168. package/resources/v1/products.mjs.map +1 -1
  169. package/resources/v1/subscriptions/future-update.d.mts +0 -16
  170. package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
  171. package/resources/v1/subscriptions/future-update.d.ts +0 -16
  172. package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
  173. package/resources/v1/subscriptions/future-update.js +0 -16
  174. package/resources/v1/subscriptions/future-update.js.map +1 -1
  175. package/resources/v1/subscriptions/future-update.mjs +0 -16
  176. package/resources/v1/subscriptions/future-update.mjs.map +1 -1
  177. package/resources/v1/subscriptions/invoice.d.mts +0 -6
  178. package/resources/v1/subscriptions/invoice.d.mts.map +1 -1
  179. package/resources/v1/subscriptions/invoice.d.ts +0 -6
  180. package/resources/v1/subscriptions/invoice.d.ts.map +1 -1
  181. package/resources/v1/subscriptions/invoice.js +0 -6
  182. package/resources/v1/subscriptions/invoice.js.map +1 -1
  183. package/resources/v1/subscriptions/invoice.mjs +0 -6
  184. package/resources/v1/subscriptions/invoice.mjs.map +1 -1
  185. package/resources/v1/subscriptions/subscriptions.d.mts +0 -81
  186. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  187. package/resources/v1/subscriptions/subscriptions.d.ts +0 -81
  188. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  189. package/resources/v1/subscriptions/subscriptions.js +0 -81
  190. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  191. package/resources/v1/subscriptions/subscriptions.mjs +0 -81
  192. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  193. package/resources/v1/subscriptions/usage.d.mts +0 -13
  194. package/resources/v1/subscriptions/usage.d.mts.map +1 -1
  195. package/resources/v1/subscriptions/usage.d.ts +0 -13
  196. package/resources/v1/subscriptions/usage.d.ts.map +1 -1
  197. package/resources/v1/subscriptions/usage.js +0 -13
  198. package/resources/v1/subscriptions/usage.js.map +1 -1
  199. package/resources/v1/subscriptions/usage.mjs +0 -13
  200. package/resources/v1/subscriptions/usage.mjs.map +1 -1
  201. package/resources/v1/usage.d.mts +0 -24
  202. package/resources/v1/usage.d.mts.map +1 -1
  203. package/resources/v1/usage.d.ts +0 -24
  204. package/resources/v1/usage.d.ts.map +1 -1
  205. package/resources/v1/usage.js +0 -24
  206. package/resources/v1/usage.js.map +1 -1
  207. package/resources/v1/usage.mjs +0 -24
  208. package/resources/v1/usage.mjs.map +1 -1
  209. package/resources/{v1/events/beta → v1-beta}/customers/assignments.d.mts +82 -40
  210. package/resources/v1-beta/customers/assignments.d.mts.map +1 -0
  211. package/resources/{v1/events/beta → v1-beta}/customers/assignments.d.ts +82 -40
  212. package/resources/v1-beta/customers/assignments.d.ts.map +1 -0
  213. package/resources/{v1/events/beta → v1-beta}/customers/assignments.js +23 -24
  214. package/resources/v1-beta/customers/assignments.js.map +1 -0
  215. package/resources/{v1/events/beta → v1-beta}/customers/assignments.mjs +23 -24
  216. package/resources/v1-beta/customers/assignments.mjs.map +1 -0
  217. package/resources/{v1/events/beta → v1-beta}/customers/customers.d.mts +1 -1
  218. package/resources/v1-beta/customers/customers.d.mts.map +1 -0
  219. package/resources/{v1/events/beta → v1-beta}/customers/customers.d.ts +1 -1
  220. package/resources/v1-beta/customers/customers.d.ts.map +1 -0
  221. package/resources/{v1/events/beta → v1-beta}/customers/customers.js +2 -2
  222. package/resources/v1-beta/customers/customers.js.map +1 -0
  223. package/resources/{v1/events/beta → v1-beta}/customers/customers.mjs +1 -1
  224. package/resources/v1-beta/customers/customers.mjs.map +1 -0
  225. package/resources/{v1/events/beta → v1-beta}/customers/entities.d.mts +28 -37
  226. package/resources/v1-beta/customers/entities.d.mts.map +1 -0
  227. package/resources/{v1/events/beta → v1-beta}/customers/entities.d.ts +28 -37
  228. package/resources/v1-beta/customers/entities.d.ts.map +1 -0
  229. package/resources/{v1/events/beta → v1-beta}/customers/entities.js +28 -37
  230. package/resources/v1-beta/customers/entities.js.map +1 -0
  231. package/resources/{v1/events/beta → v1-beta}/customers/entities.mjs +28 -37
  232. package/resources/v1-beta/customers/entities.mjs.map +1 -0
  233. package/resources/{v1/events/beta → v1-beta}/customers/entitlements.d.mts +4 -6
  234. package/resources/v1-beta/customers/entitlements.d.mts.map +1 -0
  235. package/resources/{v1/events/beta → v1-beta}/customers/entitlements.d.ts +4 -6
  236. package/resources/v1-beta/customers/entitlements.d.ts.map +1 -0
  237. package/resources/{v1/events/beta → v1-beta}/customers/entitlements.js +4 -6
  238. package/resources/v1-beta/customers/entitlements.js.map +1 -0
  239. package/resources/{v1/events/beta → v1-beta}/customers/entitlements.mjs +4 -6
  240. package/resources/v1-beta/customers/entitlements.mjs.map +1 -0
  241. package/resources/v1-beta/customers/index.d.mts.map +1 -0
  242. package/resources/v1-beta/customers/index.d.ts.map +1 -0
  243. package/resources/v1-beta/customers/index.js.map +1 -0
  244. package/resources/v1-beta/customers/index.mjs.map +1 -0
  245. package/resources/v1-beta/customers.d.mts.map +1 -0
  246. package/resources/v1-beta/customers.d.ts.map +1 -0
  247. package/resources/{v1/events/beta → v1-beta}/customers.js +1 -1
  248. package/resources/v1-beta/customers.js.map +1 -0
  249. package/resources/v1-beta/customers.mjs.map +1 -0
  250. package/resources/{v1/events/beta → v1-beta}/entity-types.d.mts +19 -20
  251. package/resources/v1-beta/entity-types.d.mts.map +1 -0
  252. package/resources/{v1/events/beta → v1-beta}/entity-types.d.ts +19 -20
  253. package/resources/v1-beta/entity-types.d.ts.map +1 -0
  254. package/resources/{v1/events/beta → v1-beta}/entity-types.js +18 -19
  255. package/resources/v1-beta/entity-types.js.map +1 -0
  256. package/resources/{v1/events/beta → v1-beta}/entity-types.mjs +18 -19
  257. package/resources/v1-beta/entity-types.mjs.map +1 -0
  258. package/resources/{v1/events/beta → v1-beta}/index.d.mts +1 -1
  259. package/resources/v1-beta/index.d.mts.map +1 -0
  260. package/resources/{v1/events/beta → v1-beta}/index.d.ts +1 -1
  261. package/resources/v1-beta/index.d.ts.map +1 -0
  262. package/resources/{v1/events/beta → v1-beta}/index.js +3 -3
  263. package/resources/v1-beta/index.js.map +1 -0
  264. package/resources/{v1/events/beta → v1-beta}/index.mjs +1 -1
  265. package/resources/v1-beta/index.mjs.map +1 -0
  266. package/resources/{v1/events/beta/beta.d.mts → v1-beta/v1-beta.d.mts} +4 -4
  267. package/resources/v1-beta/v1-beta.d.mts.map +1 -0
  268. package/resources/{v1/events/beta/beta.d.ts → v1-beta/v1-beta.d.ts} +4 -4
  269. package/resources/v1-beta/v1-beta.d.ts.map +1 -0
  270. package/resources/{v1/events/beta/beta.js → v1-beta/v1-beta.js} +8 -8
  271. package/resources/v1-beta/v1-beta.js.map +1 -0
  272. package/resources/{v1/events/beta/beta.mjs → v1-beta/v1-beta.mjs} +5 -5
  273. package/resources/v1-beta/v1-beta.mjs.map +1 -0
  274. package/resources/v1-beta.d.mts +2 -0
  275. package/resources/v1-beta.d.mts.map +1 -0
  276. package/resources/v1-beta.d.ts +2 -0
  277. package/resources/v1-beta.d.ts.map +1 -0
  278. package/resources/{v1/events/beta.js → v1-beta.js} +3 -3
  279. package/resources/v1-beta.js.map +1 -0
  280. package/resources/{v1/events/beta.mjs → v1-beta.mjs} +2 -2
  281. package/resources/v1-beta.mjs.map +1 -0
  282. package/src/client.ts +5 -0
  283. package/src/resources/index.ts +1 -0
  284. package/src/resources/v1/addons/addons.ts +0 -59
  285. package/src/resources/v1/addons/entitlements.ts +0 -31
  286. package/src/resources/v1/coupons.ts +0 -36
  287. package/src/resources/v1/credits/credits.ts +0 -25
  288. package/src/resources/v1/credits/custom-currencies.ts +0 -49
  289. package/src/resources/v1/credits/grants.ts +0 -28
  290. package/src/resources/v1/customers/customers.ts +0 -77
  291. package/src/resources/v1/customers/integrations.ts +0 -47
  292. package/src/resources/v1/customers/payment-method.ts +0 -16
  293. package/src/resources/v1/customers/promotional-entitlements.ts +0 -51
  294. package/src/resources/v1/events/data-export/data-export.ts +58 -21
  295. package/src/resources/v1/events/data-export/destinations.ts +61 -23
  296. package/src/resources/v1/events/data-export/index.ts +1 -0
  297. package/src/resources/v1/events/events.ts +0 -19
  298. package/src/resources/v1/events/index.ts +0 -1
  299. package/src/resources/v1/features.ts +0 -43
  300. package/src/resources/v1/plans/entitlements.ts +0 -31
  301. package/src/resources/v1/plans/plans.ts +0 -69
  302. package/src/resources/v1/products.ts +0 -43
  303. package/src/resources/v1/subscriptions/future-update.ts +0 -16
  304. package/src/resources/v1/subscriptions/invoice.ts +0 -6
  305. package/src/resources/v1/subscriptions/subscriptions.ts +0 -81
  306. package/src/resources/v1/subscriptions/usage.ts +0 -13
  307. package/src/resources/v1/usage.ts +0 -24
  308. package/src/resources/{v1/events/beta → v1-beta}/customers/assignments.ts +96 -45
  309. package/src/resources/{v1/events/beta → v1-beta}/customers/customers.ts +1 -1
  310. package/src/resources/{v1/events/beta → v1-beta}/customers/entities.ts +30 -39
  311. package/src/resources/{v1/events/beta → v1-beta}/customers/entitlements.ts +6 -8
  312. package/src/resources/{v1/events/beta → v1-beta}/entity-types.ts +20 -21
  313. package/src/resources/{v1/events/beta → v1-beta}/index.ts +1 -1
  314. package/src/resources/{v1/events/beta/beta.ts → v1-beta/v1-beta.ts} +5 -5
  315. package/src/resources/{v1/events/beta.ts → v1-beta.ts} +1 -1
  316. package/src/version.ts +1 -1
  317. package/version.d.mts +1 -1
  318. package/version.d.ts +1 -1
  319. package/version.js +1 -1
  320. package/version.mjs +1 -1
  321. package/resources/v1/events/beta/beta.d.mts.map +0 -1
  322. package/resources/v1/events/beta/beta.d.ts.map +0 -1
  323. package/resources/v1/events/beta/beta.js.map +0 -1
  324. package/resources/v1/events/beta/beta.mjs.map +0 -1
  325. package/resources/v1/events/beta/customers/assignments.d.mts.map +0 -1
  326. package/resources/v1/events/beta/customers/assignments.d.ts.map +0 -1
  327. package/resources/v1/events/beta/customers/assignments.js.map +0 -1
  328. package/resources/v1/events/beta/customers/assignments.mjs.map +0 -1
  329. package/resources/v1/events/beta/customers/customers.d.mts.map +0 -1
  330. package/resources/v1/events/beta/customers/customers.d.ts.map +0 -1
  331. package/resources/v1/events/beta/customers/customers.js.map +0 -1
  332. package/resources/v1/events/beta/customers/customers.mjs.map +0 -1
  333. package/resources/v1/events/beta/customers/entities.d.mts.map +0 -1
  334. package/resources/v1/events/beta/customers/entities.d.ts.map +0 -1
  335. package/resources/v1/events/beta/customers/entities.js.map +0 -1
  336. package/resources/v1/events/beta/customers/entities.mjs.map +0 -1
  337. package/resources/v1/events/beta/customers/entitlements.d.mts.map +0 -1
  338. package/resources/v1/events/beta/customers/entitlements.d.ts.map +0 -1
  339. package/resources/v1/events/beta/customers/entitlements.js.map +0 -1
  340. package/resources/v1/events/beta/customers/entitlements.mjs.map +0 -1
  341. package/resources/v1/events/beta/customers/index.d.mts.map +0 -1
  342. package/resources/v1/events/beta/customers/index.d.ts.map +0 -1
  343. package/resources/v1/events/beta/customers/index.js.map +0 -1
  344. package/resources/v1/events/beta/customers/index.mjs.map +0 -1
  345. package/resources/v1/events/beta/customers.d.mts.map +0 -1
  346. package/resources/v1/events/beta/customers.d.ts.map +0 -1
  347. package/resources/v1/events/beta/customers.js.map +0 -1
  348. package/resources/v1/events/beta/customers.mjs.map +0 -1
  349. package/resources/v1/events/beta/entity-types.d.mts.map +0 -1
  350. package/resources/v1/events/beta/entity-types.d.ts.map +0 -1
  351. package/resources/v1/events/beta/entity-types.js.map +0 -1
  352. package/resources/v1/events/beta/entity-types.mjs.map +0 -1
  353. package/resources/v1/events/beta/index.d.mts.map +0 -1
  354. package/resources/v1/events/beta/index.d.ts.map +0 -1
  355. package/resources/v1/events/beta/index.js.map +0 -1
  356. package/resources/v1/events/beta/index.mjs.map +0 -1
  357. package/resources/v1/events/beta.d.mts +0 -2
  358. package/resources/v1/events/beta.d.mts.map +0 -1
  359. package/resources/v1/events/beta.d.ts +0 -2
  360. package/resources/v1/events/beta.d.ts.map +0 -1
  361. package/resources/v1/events/beta.js.map +0 -1
  362. package/resources/v1/events/beta.mjs.map +0 -1
  363. /package/resources/{v1/events/beta → v1-beta}/customers/index.d.mts +0 -0
  364. /package/resources/{v1/events/beta → v1-beta}/customers/index.d.ts +0 -0
  365. /package/resources/{v1/events/beta → v1-beta}/customers/index.js +0 -0
  366. /package/resources/{v1/events/beta → v1-beta}/customers/index.mjs +0 -0
  367. /package/resources/{v1/events/beta → v1-beta}/customers.d.mts +0 -0
  368. /package/resources/{v1/events/beta → v1-beta}/customers.d.ts +0 -0
  369. /package/resources/{v1/events/beta → v1-beta}/customers.mjs +0 -0
  370. /package/src/resources/{v1/events/beta → v1-beta}/customers/index.ts +0 -0
  371. /package/src/resources/{v1/events/beta → v1-beta}/customers.ts +0 -0
@@ -32,13 +32,6 @@ export class Subscriptions extends APIResource {
32
32
  /**
33
33
  * Retrieves a subscription by its unique identifier, including plan details,
34
34
  * billing period, status, and add-ons.
35
- *
36
- * @example
37
- * ```ts
38
- * const subscription = await client.v1.subscriptions.retrieve(
39
- * 'x',
40
- * );
41
- * ```
42
35
  */
43
36
  retrieve(
44
37
  id: string,
@@ -61,13 +54,6 @@ export class Subscriptions extends APIResource {
61
54
  /**
62
55
  * Updates an active subscription's properties including billing period, add-ons,
63
56
  * unit quantities, and discounts.
64
- *
65
- * @example
66
- * ```ts
67
- * const subscription = await client.v1.subscriptions.update(
68
- * 'x',
69
- * );
70
- * ```
71
57
  */
72
58
  update(id: string, params: SubscriptionUpdateParams, options?: RequestOptions): APIPromise<Subscription> {
73
59
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -87,14 +73,6 @@ export class Subscriptions extends APIResource {
87
73
  /**
88
74
  * Retrieves a paginated list of subscriptions, with optional filters for customer,
89
75
  * status, and plan.
90
- *
91
- * @example
92
- * ```ts
93
- * // Automatically fetches more pages as needed.
94
- * for await (const subscriptionListResponse of client.v1.subscriptions.list()) {
95
- * // ...
96
- * }
97
- * ```
98
76
  */
99
77
  list(
100
78
  params: SubscriptionListParams | null | undefined = {},
@@ -117,13 +95,6 @@ export class Subscriptions extends APIResource {
117
95
  /**
118
96
  * Cancels an active subscription, either immediately or at a specified time such
119
97
  * as end of billing period.
120
- *
121
- * @example
122
- * ```ts
123
- * const subscription = await client.v1.subscriptions.cancel(
124
- * 'x',
125
- * );
126
- * ```
127
98
  */
128
99
  cancel(id: string, params: SubscriptionCancelParams, options?: RequestOptions): APIPromise<Subscription> {
129
100
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -143,14 +114,6 @@ export class Subscriptions extends APIResource {
143
114
  /**
144
115
  * Delegates the payment responsibility of a subscription to a different customer.
145
116
  * The delegated customer will be billed for this subscription.
146
- *
147
- * @example
148
- * ```ts
149
- * const subscription = await client.v1.subscriptions.delegate(
150
- * 'x',
151
- * { targetCustomerId: 'targetCustomerId' },
152
- * );
153
- * ```
154
117
  */
155
118
  delegate(
156
119
  id: string,
@@ -174,19 +137,6 @@ export class Subscriptions extends APIResource {
174
137
  /**
175
138
  * Imports multiple subscriptions in bulk. Used for migrating subscription data
176
139
  * from external systems.
177
- *
178
- * @example
179
- * ```ts
180
- * const response = await client.v1.subscriptions.import({
181
- * subscriptions: [
182
- * {
183
- * id: 'id',
184
- * customerId: 'customerId',
185
- * planId: 'planId',
186
- * },
187
- * ],
188
- * });
189
- * ```
190
140
  */
191
141
  import(params: SubscriptionImportParams, options?: RequestOptions): APIPromise<SubscriptionImportResponse> {
192
142
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -206,13 +156,6 @@ export class Subscriptions extends APIResource {
206
156
  /**
207
157
  * Migrates a subscription to the latest published version of its plan or add-ons.
208
158
  * Handles prorated charges or credits automatically.
209
- *
210
- * @example
211
- * ```ts
212
- * const subscription = await client.v1.subscriptions.migrate(
213
- * 'x',
214
- * );
215
- * ```
216
159
  */
217
160
  migrate(id: string, params: SubscriptionMigrateParams, options?: RequestOptions): APIPromise<Subscription> {
218
161
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -232,14 +175,6 @@ export class Subscriptions extends APIResource {
232
175
  /**
233
176
  * Previews the pricing impact of creating or updating a subscription without
234
177
  * making changes. Returns estimated costs, taxes, and proration details.
235
- *
236
- * @example
237
- * ```ts
238
- * const response = await client.v1.subscriptions.preview({
239
- * customerId: 'customerId',
240
- * planId: 'planId',
241
- * });
242
- * ```
243
178
  */
244
179
  preview(
245
180
  params: SubscriptionPreviewParams,
@@ -262,14 +197,6 @@ export class Subscriptions extends APIResource {
262
197
  /**
263
198
  * Creates a new subscription for an existing customer. When payment is required
264
199
  * and no payment method exists, returns a checkout URL.
265
- *
266
- * @example
267
- * ```ts
268
- * const response = await client.v1.subscriptions.provision({
269
- * customerId: 'customerId',
270
- * planId: 'planId',
271
- * });
272
- * ```
273
200
  */
274
201
  provision(
275
202
  params: SubscriptionProvisionParams,
@@ -292,14 +219,6 @@ export class Subscriptions extends APIResource {
292
219
  /**
293
220
  * Transfers a subscription to a different resource ID. Used for multi-resource
294
221
  * products where subscriptions apply to specific entities like websites or apps.
295
- *
296
- * @example
297
- * ```ts
298
- * const subscription = await client.v1.subscriptions.transfer(
299
- * 'x',
300
- * { destinationResourceId: 'destinationResourceId' },
301
- * );
302
- * ```
303
222
  */
304
223
  transfer(
305
224
  id: string,
@@ -13,12 +13,6 @@ export class Usage extends APIResource {
13
13
  /**
14
14
  * Immediately charges usage for a subscription via the billing integration.
15
15
  * Calculates usage since the last charge and creates an invoice.
16
- *
17
- * @example
18
- * ```ts
19
- * const response =
20
- * await client.v1.subscriptions.usage.chargeUsage('x');
21
- * ```
22
16
  */
23
17
  chargeUsage(
24
18
  id: string,
@@ -42,13 +36,6 @@ export class Usage extends APIResource {
42
36
  /**
43
37
  * Triggers a usage sync for a subscription, reporting current usage to the billing
44
38
  * provider.
45
- *
46
- * @example
47
- * ```ts
48
- * const response = await client.v1.subscriptions.usage.sync(
49
- * 'x',
50
- * );
51
- * ```
52
39
  */
53
40
  sync(
54
41
  id: string,
@@ -12,17 +12,6 @@ import { path } from '../../internal/utils/path';
12
12
  export class Usage extends APIResource {
13
13
  /**
14
14
  * Retrieves historical usage data for a customer's metered feature over time.
15
- *
16
- * @example
17
- * ```ts
18
- * const response = await client.v1.usage.history(
19
- * 'featureId',
20
- * {
21
- * customerId: 'customerId',
22
- * startDate: '2019-12-27T18:11:19.117Z',
23
- * },
24
- * );
25
- * ```
26
15
  */
27
16
  history(
28
17
  featureID: string,
@@ -46,19 +35,6 @@ export class Usage extends APIResource {
46
35
  /**
47
36
  * Reports usage measurements for metered features. The reported usage is used to
48
37
  * track, limit, and bill customer consumption.
49
- *
50
- * @example
51
- * ```ts
52
- * const response = await client.v1.usage.report({
53
- * usages: [
54
- * {
55
- * customerId: 'customerId',
56
- * featureId: 'featureId',
57
- * value: -9007199254740991,
58
- * },
59
- * ],
60
- * });
61
- * ```
62
38
  */
63
39
  report(params: UsageReportParams, options?: RequestOptions): APIPromise<UsageReportResponse> {
64
40
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -1,11 +1,11 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../../../core/resource';
4
- import { APIPromise } from '../../../../../core/api-promise';
5
- import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../../../core/pagination';
6
- import { buildHeaders } from '../../../../../internal/headers';
7
- import { RequestOptions } from '../../../../../internal/request-options';
8
- import { path } from '../../../../../internal/utils/path';
3
+ import { APIResource } from '../../../core/resource';
4
+ import { APIPromise } from '../../../core/api-promise';
5
+ import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../core/pagination';
6
+ import { buildHeaders } from '../../../internal/headers';
7
+ import { RequestOptions } from '../../../internal/request-options';
8
+ import { path } from '../../../internal/utils/path';
9
9
 
10
10
  export class Assignments extends APIResource {
11
11
  /**
@@ -16,7 +16,7 @@ export class Assignments extends APIResource {
16
16
  * @example
17
17
  * ```ts
18
18
  * // Automatically fetches more pages as needed.
19
- * for await (const assignmentListResponse of client.v1.events.beta.customers.assignments.list(
19
+ * for await (const assignmentListResponse of client.v1Beta.customers.assignments.list(
20
20
  * 'id',
21
21
  * )) {
22
22
  * // ...
@@ -55,25 +55,24 @@ export class Assignments extends APIResource {
55
55
  * @example
56
56
  * ```ts
57
57
  * const response =
58
- * await client.v1.events.beta.customers.assignments.upsert(
59
- * 'id',
60
- * {
61
- * assignments: [
62
- * {
63
- * entityId: 'workspace-001',
64
- * capabilityId: 'compute-minutes',
65
- * usageLimit: 1000,
66
- * cadence: 'MONTH',
67
- * },
68
- * {
69
- * entityId: 'workspace-002',
70
- * capabilityId: 'compute-minutes',
71
- * usageLimit: 2000,
72
- * cadence: 'MONTH',
73
- * },
74
- * ],
75
- * },
76
- * );
58
+ * await client.v1Beta.customers.assignments.upsert('id', {
59
+ * assignments: [
60
+ * {
61
+ * entityId: 'workspace-001',
62
+ * featureId: 'compute-minutes',
63
+ * usageLimit: 1000,
64
+ * cadence: 'MONTH',
65
+ * },
66
+ * {
67
+ * entityId: 'workspace-002',
68
+ * currencyId: 'cred-type-tokens',
69
+ * usageLimit: 2000,
70
+ * cadence: 'MONTH',
71
+ * parentId: 'workspace-001',
72
+ * scopeEntityIds: ['user-1'],
73
+ * },
74
+ * ],
75
+ * });
77
76
  * ```
78
77
  */
79
78
  upsert(
@@ -114,11 +113,6 @@ export interface AssignmentListResponse {
114
113
  */
115
114
  cadence: 'MONTH';
116
115
 
117
- /**
118
- * The capability refId this assignment grants
119
- */
120
- capabilityId: string;
121
-
122
116
  /**
123
117
  * Timestamp of when the record was created
124
118
  */
@@ -129,6 +123,19 @@ export interface AssignmentListResponse {
129
123
  */
130
124
  entityId: string;
131
125
 
126
+ /**
127
+ * Parent entity refId in the hierarchy, or `null` for a root.
128
+ */
129
+ parentId: string | null;
130
+
131
+ /**
132
+ * Dimension-scoped sub-budget key: the set of entity refIds this budget applies
133
+ * to. Empty is the node-wide budget that always matches; a non-empty set only
134
+ * applies when every listed entity is present in the resolved set
135
+ * (order-insensitive).
136
+ */
137
+ scopeEntityIds: Array<string>;
138
+
132
139
  /**
133
140
  * Timestamp of when the record was last updated
134
141
  */
@@ -138,6 +145,16 @@ export interface AssignmentListResponse {
138
145
  * Maximum usage allowed within one cadence window
139
146
  */
140
147
  usageLimit: number;
148
+
149
+ /**
150
+ * Currency refId this assignment grants (present for credit capabilities).
151
+ */
152
+ currencyId?: string;
153
+
154
+ /**
155
+ * Feature refId this assignment grants (present for feature capabilities).
156
+ */
157
+ featureId?: string;
141
158
  }
142
159
 
143
160
  /**
@@ -164,11 +181,6 @@ export namespace AssignmentUpsertResponse {
164
181
  */
165
182
  cadence: 'MONTH';
166
183
 
167
- /**
168
- * The capability refId this assignment grants
169
- */
170
- capabilityId: string;
171
-
172
184
  /**
173
185
  * Timestamp of when the record was created
174
186
  */
@@ -179,6 +191,19 @@ export namespace AssignmentUpsertResponse {
179
191
  */
180
192
  entityId: string;
181
193
 
194
+ /**
195
+ * Parent entity refId in the hierarchy, or `null` for a root.
196
+ */
197
+ parentId: string | null;
198
+
199
+ /**
200
+ * Dimension-scoped sub-budget key: the set of entity refIds this budget applies
201
+ * to. Empty is the node-wide budget that always matches; a non-empty set only
202
+ * applies when every listed entity is present in the resolved set
203
+ * (order-insensitive).
204
+ */
205
+ scopeEntityIds: Array<string>;
206
+
182
207
  /**
183
208
  * Timestamp of when the record was last updated
184
209
  */
@@ -188,6 +213,16 @@ export namespace AssignmentUpsertResponse {
188
213
  * Maximum usage allowed within one cadence window
189
214
  */
190
215
  usageLimit: number;
216
+
217
+ /**
218
+ * Currency refId this assignment grants (present for credit capabilities).
219
+ */
220
+ currencyId?: string;
221
+
222
+ /**
223
+ * Feature refId this assignment grants (present for feature capabilities).
224
+ */
225
+ featureId?: string;
191
226
  }
192
227
  }
193
228
 
@@ -238,17 +273,13 @@ export interface AssignmentUpsertParams {
238
273
 
239
274
  export namespace AssignmentUpsertParams {
240
275
  /**
241
- * A single assignment to create or update. The natural key is the
242
- * `(entityId, capabilityId)` pair. On create both `usageLimit` and `cadence` are
243
- * required; on update they may be omitted individually to preserve the existing
244
- * value.
276
+ * A single assignment to create or update. Identify the capability with exactly
277
+ * one of `featureId` or `currencyId`. The natural key is the
278
+ * `(entityId, capability, scopeEntityIds)` triple. On create both `usageLimit` and
279
+ * `cadence` are required; on update they may be omitted individually to preserve
280
+ * the existing value.
245
281
  */
246
282
  export interface Assignment {
247
- /**
248
- * The capability refId this assignment grants
249
- */
250
- capabilityId: string;
251
-
252
283
  /**
253
284
  * The entity refId this assignment is attached to
254
285
  */
@@ -259,6 +290,26 @@ export namespace AssignmentUpsertParams {
259
290
  */
260
291
  cadence?: 'MONTH';
261
292
 
293
+ /**
294
+ * Currency refId this assignment grants (credit budgets). Mutually exclusive with
295
+ * `featureId`.
296
+ */
297
+ currencyId?: string;
298
+
299
+ /**
300
+ * Feature refId this assignment grants. Mutually exclusive with `currencyId`.
301
+ */
302
+ featureId?: string;
303
+
304
+ /**
305
+ * Parent entity refId in the hierarchy. Omit to leave the current parent untouched
306
+ * (a new node defaults to a root); `null` detaches to a root; a refId sets or
307
+ * changes the parent. Reparenting an existing node is leaf-only.
308
+ */
309
+ parentId?: string | null;
310
+
311
+ scopeEntityIds?: Array<string>;
312
+
262
313
  /**
263
314
  * Maximum usage allowed within one cadence window (required on create)
264
315
  */
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../../../core/resource';
3
+ import { APIResource } from '../../../core/resource';
4
4
  import * as AssignmentsAPI from './assignments';
5
5
  import {
6
6
  AssignmentListParams,
@@ -1,11 +1,11 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../../../core/resource';
4
- import { APIPromise } from '../../../../../core/api-promise';
5
- import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../../../core/pagination';
6
- import { buildHeaders } from '../../../../../internal/headers';
7
- import { RequestOptions } from '../../../../../internal/request-options';
8
- import { path } from '../../../../../internal/utils/path';
3
+ import { APIResource } from '../../../core/resource';
4
+ import { APIPromise } from '../../../core/api-promise';
5
+ import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../core/pagination';
6
+ import { buildHeaders } from '../../../internal/headers';
7
+ import { RequestOptions } from '../../../internal/request-options';
8
+ import { path } from '../../../internal/utils/path';
9
9
 
10
10
  export class Entities extends APIResource {
11
11
  /**
@@ -14,10 +14,9 @@ export class Entities extends APIResource {
14
14
  * @example
15
15
  * ```ts
16
16
  * const entity =
17
- * await client.v1.events.beta.customers.entities.retrieve(
18
- * 'x',
19
- * { id: 'id' },
20
- * );
17
+ * await client.v1Beta.customers.entities.retrieve('x', {
18
+ * id: 'id',
19
+ * });
21
20
  * ```
22
21
  */
23
22
  retrieve(
@@ -44,7 +43,7 @@ export class Entities extends APIResource {
44
43
  * @example
45
44
  * ```ts
46
45
  * // Automatically fetches more pages as needed.
47
- * for await (const entityListResponse of client.v1.events.beta.customers.entities.list(
46
+ * for await (const entityListResponse of client.v1Beta.customers.entities.list(
48
47
  * 'id',
49
48
  * )) {
50
49
  * // ...
@@ -80,10 +79,9 @@ export class Entities extends APIResource {
80
79
  * @example
81
80
  * ```ts
82
81
  * const response =
83
- * await client.v1.events.beta.customers.entities.archive(
84
- * 'id',
85
- * { ids: ['user-7f3a0c1d', 'user-c4d1b2e9'] },
86
- * );
82
+ * await client.v1Beta.customers.entities.archive('id', {
83
+ * ids: ['user-7f3a0c1d', 'user-c4d1b2e9'],
84
+ * });
87
85
  * ```
88
86
  */
89
87
  archive(
@@ -111,10 +109,9 @@ export class Entities extends APIResource {
111
109
  * @example
112
110
  * ```ts
113
111
  * const response =
114
- * await client.v1.events.beta.customers.entities.unarchive(
115
- * 'id',
116
- * { ids: ['user-7f3a0c1d', 'user-c4d1b2e9'] },
117
- * );
112
+ * await client.v1Beta.customers.entities.unarchive('id', {
113
+ * ids: ['user-7f3a0c1d', 'user-c4d1b2e9'],
114
+ * });
118
115
  * ```
119
116
  */
120
117
  unarchive(
@@ -143,26 +140,20 @@ export class Entities extends APIResource {
143
140
  * @example
144
141
  * ```ts
145
142
  * const response =
146
- * await client.v1.events.beta.customers.entities.upsert(
147
- * 'id',
148
- * {
149
- * entities: [
150
- * {
151
- * id: 'user-7f3a0c1d',
152
- * typeRefId: 'user',
153
- * metadata: {
154
- * email: 'jane@acme.com',
155
- * role: 'admin',
156
- * },
157
- * },
158
- * {
159
- * id: 'user-c4d1b2e9',
160
- * typeRefId: 'user',
161
- * metadata: { email: 'john@acme.com' },
162
- * },
163
- * ],
164
- * },
165
- * );
143
+ * await client.v1Beta.customers.entities.upsert('id', {
144
+ * entities: [
145
+ * {
146
+ * id: 'user-7f3a0c1d',
147
+ * typeRefId: 'user',
148
+ * metadata: { email: 'jane@acme.com', role: 'admin' },
149
+ * },
150
+ * {
151
+ * id: 'user-c4d1b2e9',
152
+ * typeRefId: 'user',
153
+ * metadata: { email: 'john@acme.com' },
154
+ * },
155
+ * ],
156
+ * });
166
157
  * ```
167
158
  */
168
159
  upsert(id: string, params: EntityUpsertParams, options?: RequestOptions): APIPromise<EntityUpsertResponse> {
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../../../core/resource';
4
- import { APIPromise } from '../../../../../core/api-promise';
5
- import { buildHeaders } from '../../../../../internal/headers';
6
- import { RequestOptions } from '../../../../../internal/request-options';
7
- import { path } from '../../../../../internal/utils/path';
3
+ import { APIResource } from '../../../core/resource';
4
+ import { APIPromise } from '../../../core/api-promise';
5
+ import { buildHeaders } from '../../../internal/headers';
6
+ import { RequestOptions } from '../../../internal/request-options';
7
+ import { path } from '../../../internal/utils/path';
8
8
 
9
9
  export class Entitlements extends APIResource {
10
10
  /**
@@ -15,9 +15,7 @@ export class Entitlements extends APIResource {
15
15
  * @example
16
16
  * ```ts
17
17
  * const response =
18
- * await client.v1.events.beta.customers.entitlements.check(
19
- * 'x',
20
- * );
18
+ * await client.v1Beta.customers.entitlements.check('x');
21
19
  * ```
22
20
  */
23
21
  check(
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../../core/resource';
4
- import { APIPromise } from '../../../../core/api-promise';
5
- import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../../core/pagination';
6
- import { buildHeaders } from '../../../../internal/headers';
7
- import { RequestOptions } from '../../../../internal/request-options';
3
+ import { APIResource } from '../../core/resource';
4
+ import { APIPromise } from '../../core/api-promise';
5
+ import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../core/pagination';
6
+ import { buildHeaders } from '../../internal/headers';
7
+ import { RequestOptions } from '../../internal/request-options';
8
8
 
9
9
  export class EntityTypes extends APIResource {
10
10
  /**
@@ -15,7 +15,7 @@ export class EntityTypes extends APIResource {
15
15
  * @example
16
16
  * ```ts
17
17
  * // Automatically fetches more pages as needed.
18
- * for await (const entityTypeListResponse of client.v1.events.beta.entityTypes.list()) {
18
+ * for await (const entityTypeListResponse of client.v1Beta.entityTypes.list()) {
19
19
  * // ...
20
20
  * }
21
21
  * ```
@@ -45,21 +45,20 @@ export class EntityTypes extends APIResource {
45
45
  *
46
46
  * @example
47
47
  * ```ts
48
- * const response =
49
- * await client.v1.events.beta.entityTypes.upsert({
50
- * types: [
51
- * {
52
- * id: 'org',
53
- * displayName: 'Organization',
54
- * attributionKeys: ['organizationId'],
55
- * },
56
- * {
57
- * id: 'team',
58
- * displayName: 'Team',
59
- * attributionKeys: ['teamId'],
60
- * },
61
- * ],
62
- * });
48
+ * const response = await client.v1Beta.entityTypes.upsert({
49
+ * types: [
50
+ * {
51
+ * id: 'org',
52
+ * displayName: 'Organization',
53
+ * attributionKeys: ['organizationId'],
54
+ * },
55
+ * {
56
+ * id: 'team',
57
+ * displayName: 'Team',
58
+ * attributionKeys: ['teamId'],
59
+ * },
60
+ * ],
61
+ * });
63
62
  * ```
64
63
  */
65
64
  upsert(params: EntityTypeUpsertParams, options?: RequestOptions): APIPromise<EntityTypeUpsertResponse> {
@@ -1,6 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export { Beta } from './beta';
4
3
  export { Customers } from './customers/index';
5
4
  export {
6
5
  EntityTypes,
@@ -10,3 +9,4 @@ export {
10
9
  type EntityTypeUpsertParams,
11
10
  type EntityTypeListResponsesMyCursorIDPage,
12
11
  } from './entity-types';
12
+ export { V1Beta } from './v1-beta';
@@ -1,6 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../../../core/resource';
3
+ import { APIResource } from '../../core/resource';
4
4
  import * as EntityTypesAPI from './entity-types';
5
5
  import {
6
6
  EntityTypeListParams,
@@ -13,15 +13,15 @@ import {
13
13
  import * as CustomersAPI from './customers/customers';
14
14
  import { Customers } from './customers/customers';
15
15
 
16
- export class Beta extends APIResource {
16
+ export class V1Beta extends APIResource {
17
17
  customers: CustomersAPI.Customers = new CustomersAPI.Customers(this._client);
18
18
  entityTypes: EntityTypesAPI.EntityTypes = new EntityTypesAPI.EntityTypes(this._client);
19
19
  }
20
20
 
21
- Beta.Customers = Customers;
22
- Beta.EntityTypes = EntityTypes;
21
+ V1Beta.Customers = Customers;
22
+ V1Beta.EntityTypes = EntityTypes;
23
23
 
24
- export declare namespace Beta {
24
+ export declare namespace V1Beta {
25
25
  export { Customers as Customers };
26
26
 
27
27
  export {