@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
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../../core/resource.mjs";
3
- import { MyCursorIDPage } from "../../../../core/pagination.mjs";
4
- import { buildHeaders } from "../../../../internal/headers.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import { MyCursorIDPage } from "../../core/pagination.mjs";
4
+ import { buildHeaders } from "../../internal/headers.mjs";
5
5
  export class EntityTypes extends APIResource {
6
6
  /**
7
7
  * Returns a cursor-paginated list of entity types defined in the environment.
@@ -11,7 +11,7 @@ export class EntityTypes extends APIResource {
11
11
  * @example
12
12
  * ```ts
13
13
  * // Automatically fetches more pages as needed.
14
- * for await (const entityTypeListResponse of client.v1.events.beta.entityTypes.list()) {
14
+ * for await (const entityTypeListResponse of client.v1Beta.entityTypes.list()) {
15
15
  * // ...
16
16
  * }
17
17
  * ```
@@ -37,21 +37,20 @@ export class EntityTypes extends APIResource {
37
37
  *
38
38
  * @example
39
39
  * ```ts
40
- * const response =
41
- * await client.v1.events.beta.entityTypes.upsert({
42
- * types: [
43
- * {
44
- * id: 'org',
45
- * displayName: 'Organization',
46
- * attributionKeys: ['organizationId'],
47
- * },
48
- * {
49
- * id: 'team',
50
- * displayName: 'Team',
51
- * attributionKeys: ['teamId'],
52
- * },
53
- * ],
54
- * });
40
+ * const response = await client.v1Beta.entityTypes.upsert({
41
+ * types: [
42
+ * {
43
+ * id: 'org',
44
+ * displayName: 'Organization',
45
+ * attributionKeys: ['organizationId'],
46
+ * },
47
+ * {
48
+ * id: 'team',
49
+ * displayName: 'Team',
50
+ * attributionKeys: ['teamId'],
51
+ * },
52
+ * ],
53
+ * });
55
54
  * ```
56
55
  */
57
56
  upsert(params, options) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-types.mjs","sourceRoot":"","sources":["../../src/resources/v1-beta/entity-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,cAAc,EAA0C,kCAA8B;AAC/F,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAGtD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAClG,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE,CAAA,cAAsC,CAAA,EAAE;YAClG,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,MAA8B,EAAE,OAAwB;QAC7D,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC3F,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
- export { Beta } from "./beta.mjs";
2
1
  export { Customers } from "./customers/index.mjs";
3
2
  export { EntityTypes, type EntityTypeListResponse, type EntityTypeUpsertResponse, type EntityTypeListParams, type EntityTypeUpsertParams, type EntityTypeListResponsesMyCursorIDPage, } from "./entity-types.mjs";
3
+ export { V1Beta } from "./v1-beta.mjs";
4
4
  //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1-beta/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,8BAA0B;AAC9C,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qCAAqC,GAC3C,2BAAuB;AACxB,OAAO,EAAE,MAAM,EAAE,sBAAkB"}
@@ -1,4 +1,4 @@
1
- export { Beta } from "./beta.js";
2
1
  export { Customers } from "./customers/index.js";
3
2
  export { EntityTypes, type EntityTypeListResponse, type EntityTypeUpsertResponse, type EntityTypeListParams, type EntityTypeUpsertParams, type EntityTypeListResponsesMyCursorIDPage, } from "./entity-types.js";
3
+ export { V1Beta } from "./v1-beta.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1-beta/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,6BAA0B;AAC9C,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qCAAqC,GAC3C,0BAAuB;AACxB,OAAO,EAAE,MAAM,EAAE,qBAAkB"}
@@ -1,11 +1,11 @@
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.EntityTypes = exports.Customers = exports.Beta = void 0;
5
- var beta_1 = require("./beta.js");
6
- Object.defineProperty(exports, "Beta", { enumerable: true, get: function () { return beta_1.Beta; } });
4
+ exports.V1Beta = exports.EntityTypes = exports.Customers = void 0;
7
5
  var index_1 = require("./customers/index.js");
8
6
  Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return index_1.Customers; } });
9
7
  var entity_types_1 = require("./entity-types.js");
10
8
  Object.defineProperty(exports, "EntityTypes", { enumerable: true, get: function () { return entity_types_1.EntityTypes; } });
9
+ var v1_beta_1 = require("./v1-beta.js");
10
+ Object.defineProperty(exports, "V1Beta", { enumerable: true, get: function () { return v1_beta_1.V1Beta; } });
11
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1-beta/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAA8C;AAArC,kGAAA,SAAS,OAAA;AAClB,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,wCAAmC;AAA1B,iGAAA,MAAM,OAAA"}
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Beta } from "./beta.mjs";
3
2
  export { Customers } from "./customers/index.mjs";
4
3
  export { EntityTypes, } from "./entity-types.mjs";
4
+ export { V1Beta } from "./v1-beta.mjs";
5
5
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1-beta/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,SAAS,EAAE,8BAA0B;AAC9C,OAAO,EACL,WAAW,GAMZ,2BAAuB;AACxB,OAAO,EAAE,MAAM,EAAE,sBAAkB"}
@@ -1,14 +1,14 @@
1
- import { APIResource } from "../../../../core/resource.mjs";
1
+ import { APIResource } from "../../core/resource.mjs";
2
2
  import * as EntityTypesAPI from "./entity-types.mjs";
3
3
  import { EntityTypeListParams, EntityTypeListResponse, EntityTypeListResponsesMyCursorIDPage, EntityTypeUpsertParams, EntityTypeUpsertResponse, EntityTypes } from "./entity-types.mjs";
4
4
  import * as CustomersAPI from "./customers/customers.mjs";
5
5
  import { Customers } from "./customers/customers.mjs";
6
- export declare class Beta extends APIResource {
6
+ export declare class V1Beta extends APIResource {
7
7
  customers: CustomersAPI.Customers;
8
8
  entityTypes: EntityTypesAPI.EntityTypes;
9
9
  }
10
- export declare namespace Beta {
10
+ export declare namespace V1Beta {
11
11
  export { Customers as Customers };
12
12
  export { EntityTypes as EntityTypes, type EntityTypeListResponse as EntityTypeListResponse, type EntityTypeUpsertResponse as EntityTypeUpsertResponse, type EntityTypeListResponsesMyCursorIDPage as EntityTypeListResponsesMyCursorIDPage, type EntityTypeListParams as EntityTypeListParams, type EntityTypeUpsertParams as EntityTypeUpsertParams, };
13
13
  }
14
- //# sourceMappingURL=beta.d.mts.map
14
+ //# sourceMappingURL=v1-beta.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.d.mts","sourceRoot":"","sources":["../../src/resources/v1-beta/v1-beta.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,qCAAqC,EACrC,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACZ,2BAAuB;AACxB,OAAO,KAAK,YAAY,kCAA8B;AACtD,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAElD,qBAAa,MAAO,SAAQ,WAAW;IACrC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;CACxF;AAKD,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,CAAC;IAElC,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -1,14 +1,14 @@
1
- import { APIResource } from "../../../../core/resource.js";
1
+ import { APIResource } from "../../core/resource.js";
2
2
  import * as EntityTypesAPI from "./entity-types.js";
3
3
  import { EntityTypeListParams, EntityTypeListResponse, EntityTypeListResponsesMyCursorIDPage, EntityTypeUpsertParams, EntityTypeUpsertResponse, EntityTypes } from "./entity-types.js";
4
4
  import * as CustomersAPI from "./customers/customers.js";
5
5
  import { Customers } from "./customers/customers.js";
6
- export declare class Beta extends APIResource {
6
+ export declare class V1Beta extends APIResource {
7
7
  customers: CustomersAPI.Customers;
8
8
  entityTypes: EntityTypesAPI.EntityTypes;
9
9
  }
10
- export declare namespace Beta {
10
+ export declare namespace V1Beta {
11
11
  export { Customers as Customers };
12
12
  export { EntityTypes as EntityTypes, type EntityTypeListResponse as EntityTypeListResponse, type EntityTypeUpsertResponse as EntityTypeUpsertResponse, type EntityTypeListResponsesMyCursorIDPage as EntityTypeListResponsesMyCursorIDPage, type EntityTypeListParams as EntityTypeListParams, type EntityTypeUpsertParams as EntityTypeUpsertParams, };
13
13
  }
14
- //# sourceMappingURL=beta.d.ts.map
14
+ //# sourceMappingURL=v1-beta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.d.ts","sourceRoot":"","sources":["../../src/resources/v1-beta/v1-beta.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,0BAAuB;AACjD,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,qCAAqC,EACrC,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACZ,0BAAuB;AACxB,OAAO,KAAK,YAAY,iCAA8B;AACtD,OAAO,EAAE,SAAS,EAAE,iCAA8B;AAElD,qBAAa,MAAO,SAAQ,WAAW;IACrC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;CACxF;AAKD,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,CAAC;IAElC,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -1,21 +1,21 @@
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.Beta = void 0;
5
- const tslib_1 = require("../../../../internal/tslib.js");
6
- const resource_1 = require("../../../../core/resource.js");
4
+ exports.V1Beta = void 0;
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
7
  const EntityTypesAPI = tslib_1.__importStar(require("./entity-types.js"));
8
8
  const entity_types_1 = require("./entity-types.js");
9
9
  const CustomersAPI = tslib_1.__importStar(require("./customers/customers.js"));
10
10
  const customers_1 = require("./customers/customers.js");
11
- class Beta extends resource_1.APIResource {
11
+ class V1Beta extends resource_1.APIResource {
12
12
  constructor() {
13
13
  super(...arguments);
14
14
  this.customers = new CustomersAPI.Customers(this._client);
15
15
  this.entityTypes = new EntityTypesAPI.EntityTypes(this._client);
16
16
  }
17
17
  }
18
- exports.Beta = Beta;
19
- Beta.Customers = customers_1.Customers;
20
- Beta.EntityTypes = entity_types_1.EntityTypes;
21
- //# sourceMappingURL=beta.js.map
18
+ exports.V1Beta = V1Beta;
19
+ V1Beta.Customers = customers_1.Customers;
20
+ V1Beta.EntityTypes = entity_types_1.EntityTypes;
21
+ //# sourceMappingURL=v1-beta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.js","sourceRoot":"","sources":["../../src/resources/v1-beta/v1-beta.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0EAAiD;AACjD,oDAOwB;AACxB,+EAAsD;AACtD,wDAAkD;AAElD,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAHD,wBAGC;AAED,MAAM,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC7B,MAAM,CAAC,WAAW,GAAG,0BAAW,CAAC"}
@@ -1,16 +1,16 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../../core/resource.mjs";
2
+ import { APIResource } from "../../core/resource.mjs";
3
3
  import * as EntityTypesAPI from "./entity-types.mjs";
4
4
  import { EntityTypes, } from "./entity-types.mjs";
5
5
  import * as CustomersAPI from "./customers/customers.mjs";
6
6
  import { Customers } from "./customers/customers.mjs";
7
- export class Beta extends APIResource {
7
+ export class V1Beta extends APIResource {
8
8
  constructor() {
9
9
  super(...arguments);
10
10
  this.customers = new CustomersAPI.Customers(this._client);
11
11
  this.entityTypes = new EntityTypesAPI.EntityTypes(this._client);
12
12
  }
13
13
  }
14
- Beta.Customers = Customers;
15
- Beta.EntityTypes = EntityTypes;
16
- //# sourceMappingURL=beta.mjs.map
14
+ V1Beta.Customers = Customers;
15
+ V1Beta.EntityTypes = EntityTypes;
16
+ //# sourceMappingURL=v1-beta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.mjs","sourceRoot":"","sources":["../../src/resources/v1-beta/v1-beta.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EAML,WAAW,GACZ,2BAAuB;AACxB,OAAO,KAAK,YAAY,kCAA8B;AACtD,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAElD,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAED,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;AAC7B,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./v1-beta/index.mjs";
2
+ //# sourceMappingURL=v1-beta.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.d.mts","sourceRoot":"","sources":["../src/resources/v1-beta.ts"],"names":[],"mappings":"AAEA,oCAAgC"}
@@ -0,0 +1,2 @@
1
+ export * from "./v1-beta/index.js";
2
+ //# sourceMappingURL=v1-beta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.d.ts","sourceRoot":"","sources":["../src/resources/v1-beta.ts"],"names":[],"mappings":"AAEA,mCAAgC"}
@@ -1,6 +1,6 @@
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
- const tslib_1 = require("../../../internal/tslib.js");
5
- tslib_1.__exportStar(require("./beta/index.js"), exports);
6
- //# sourceMappingURL=beta.js.map
4
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./v1-beta/index.js"), exports);
6
+ //# sourceMappingURL=v1-beta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.js","sourceRoot":"","sources":["../src/resources/v1-beta.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"}
@@ -1,3 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export * from "./beta/index.mjs";
3
- //# sourceMappingURL=beta.mjs.map
2
+ export * from "./v1-beta/index.mjs";
3
+ //# sourceMappingURL=v1-beta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1-beta.mjs","sourceRoot":"","sources":["../src/resources/v1-beta.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,oCAAgC"}
package/src/client.ts CHANGED
@@ -19,6 +19,7 @@ import { AbstractPage, type MyCursorIDPageParams, MyCursorIDPageResponse } from
19
19
  import * as Uploads from './core/uploads';
20
20
  import * as API from './resources/index';
21
21
  import { APIPromise } from './core/api-promise';
22
+ import { V1Beta } from './resources/v1-beta/v1-beta';
22
23
  import { V1 } from './resources/v1/v1';
23
24
  import { type Fetch } from './internal/builtin-types';
24
25
  import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
@@ -754,9 +755,11 @@ export class Stigg {
754
755
  static toFile = Uploads.toFile;
755
756
 
756
757
  v1: API.V1 = new API.V1(this);
758
+ v1Beta: API.V1Beta = new API.V1Beta(this);
757
759
  }
758
760
 
759
761
  Stigg.V1 = V1;
762
+ Stigg.V1Beta = V1Beta;
760
763
 
761
764
  export declare namespace Stigg {
762
765
  export type RequestOptions = Opts.RequestOptions;
@@ -768,4 +771,6 @@ export declare namespace Stigg {
768
771
  };
769
772
 
770
773
  export { V1 as V1 };
774
+
775
+ export { V1Beta as V1Beta };
771
776
  }
@@ -1,3 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export { V1 } from './v1/v1';
4
+ export { V1Beta } from './v1-beta/v1-beta';
@@ -26,15 +26,6 @@ export class Addons extends APIResource {
26
26
 
27
27
  /**
28
28
  * Creates a new addon in draft status, associated with a specific product.
29
- *
30
- * @example
31
- * ```ts
32
- * const addon = await client.v1.addons.create({
33
- * id: 'id',
34
- * displayName: 'displayName',
35
- * productId: 'productId',
36
- * });
37
- * ```
38
29
  */
39
30
  create(params: AddonCreateParams, options?: RequestOptions): APIPromise<Addon> {
40
31
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -54,11 +45,6 @@ export class Addons extends APIResource {
54
45
  /**
55
46
  * Retrieves an addon by its unique identifier, including entitlements and pricing
56
47
  * details.
57
- *
58
- * @example
59
- * ```ts
60
- * const addon = await client.v1.addons.retrieve('x');
61
- * ```
62
48
  */
63
49
  retrieve(
64
50
  id: string,
@@ -81,11 +67,6 @@ export class Addons extends APIResource {
81
67
  /**
82
68
  * Updates an existing addon's properties such as display name, description, and
83
69
  * metadata.
84
- *
85
- * @example
86
- * ```ts
87
- * const addon = await client.v1.addons.update('x');
88
- * ```
89
70
  */
90
71
  update(id: string, params: AddonUpdateParams, options?: RequestOptions): APIPromise<Addon> {
91
72
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -104,14 +85,6 @@ export class Addons extends APIResource {
104
85
 
105
86
  /**
106
87
  * Retrieves a paginated list of addons in the environment.
107
- *
108
- * @example
109
- * ```ts
110
- * // Automatically fetches more pages as needed.
111
- * for await (const addonListResponse of client.v1.addons.list()) {
112
- * // ...
113
- * }
114
- * ```
115
88
  */
116
89
  list(
117
90
  params: AddonListParams | null | undefined = {},
@@ -133,11 +106,6 @@ export class Addons extends APIResource {
133
106
 
134
107
  /**
135
108
  * Archives an addon, preventing it from being used in new subscriptions.
136
- *
137
- * @example
138
- * ```ts
139
- * const addon = await client.v1.addons.archive('x');
140
- * ```
141
109
  */
142
110
  archive(
143
111
  id: string,
@@ -159,11 +127,6 @@ export class Addons extends APIResource {
159
127
 
160
128
  /**
161
129
  * Creates a draft version of an existing addon for modification before publishing.
162
- *
163
- * @example
164
- * ```ts
165
- * const addon = await client.v1.addons.createDraft('x');
166
- * ```
167
130
  */
168
131
  createDraft(
169
132
  id: string,
@@ -185,16 +148,6 @@ export class Addons extends APIResource {
185
148
 
186
149
  /**
187
150
  * Retrieves the list of charges configured on an addon.
188
- *
189
- * @example
190
- * ```ts
191
- * // Automatically fetches more pages as needed.
192
- * for await (const addonListChargesResponse of client.v1.addons.listCharges(
193
- * 'x',
194
- * )) {
195
- * // ...
196
- * }
197
- * ```
198
151
  */
199
152
  listCharges(
200
153
  id: string,
@@ -221,13 +174,6 @@ export class Addons extends APIResource {
221
174
 
222
175
  /**
223
176
  * Publishes a draft addon, making it available for use in subscriptions.
224
- *
225
- * @example
226
- * ```ts
227
- * const response = await client.v1.addons.publish('x', {
228
- * migrationType: 'NEW_CUSTOMERS',
229
- * });
230
- * ```
231
177
  */
232
178
  publish(
233
179
  id: string,
@@ -250,11 +196,6 @@ export class Addons extends APIResource {
250
196
 
251
197
  /**
252
198
  * Removes a draft version of an addon.
253
- *
254
- * @example
255
- * ```ts
256
- * const response = await client.v1.addons.removeDraft('x');
257
- * ```
258
199
  */
259
200
  removeDraft(
260
201
  id: string,
@@ -9,14 +9,6 @@ import { path } from '../../../internal/utils/path';
9
9
  export class Entitlements extends APIResource {
10
10
  /**
11
11
  * Creates one or more entitlements (feature or credit) on a draft addon.
12
- *
13
- * @example
14
- * ```ts
15
- * const entitlement =
16
- * await client.v1.addons.entitlements.create('addonId', {
17
- * entitlements: [{ id: 'id', type: 'FEATURE' }],
18
- * });
19
- * ```
20
12
  */
21
13
  create(
22
14
  addonID: string,
@@ -39,15 +31,6 @@ export class Entitlements extends APIResource {
39
31
 
40
32
  /**
41
33
  * Updates an existing entitlement on a draft addon.
42
- *
43
- * @example
44
- * ```ts
45
- * const addonPackageEntitlement =
46
- * await client.v1.addons.entitlements.update('id', {
47
- * addonId: 'addonId',
48
- * type: 'FEATURE',
49
- * });
50
- * ```
51
34
  */
52
35
  update(
53
36
  id: string,
@@ -70,12 +53,6 @@ export class Entitlements extends APIResource {
70
53
 
71
54
  /**
72
55
  * Retrieves a list of entitlements for an addon.
73
- *
74
- * @example
75
- * ```ts
76
- * const entitlements =
77
- * await client.v1.addons.entitlements.list('addonId');
78
- * ```
79
56
  */
80
57
  list(
81
58
  addonID: string,
@@ -97,14 +74,6 @@ export class Entitlements extends APIResource {
97
74
 
98
75
  /**
99
76
  * Deletes an entitlement from a draft addon.
100
- *
101
- * @example
102
- * ```ts
103
- * const addonPackageEntitlement =
104
- * await client.v1.addons.entitlements.delete('id', {
105
- * addonId: 'addonId',
106
- * });
107
- * ```
108
77
  */
109
78
  delete(
110
79
  id: string,
@@ -14,19 +14,6 @@ export class Coupons extends APIResource {
14
14
  /**
15
15
  * Creates a new discount coupon with percentage or fixed amount off, applicable to
16
16
  * customer subscriptions.
17
- *
18
- * @example
19
- * ```ts
20
- * const coupon = await client.v1.coupons.create({
21
- * id: 'id',
22
- * amountsOff: [{ amount: 0, currency: 'usd' }],
23
- * description: 'description',
24
- * durationInMonths: 1,
25
- * metadata: { foo: 'string' },
26
- * name: 'name',
27
- * percentOff: 1,
28
- * });
29
- * ```
30
17
  */
31
18
  create(params: CouponCreateParams, options?: RequestOptions): APIPromise<Coupon> {
32
19
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -45,11 +32,6 @@ export class Coupons extends APIResource {
45
32
 
46
33
  /**
47
34
  * Retrieves a coupon by its unique identifier.
48
- *
49
- * @example
50
- * ```ts
51
- * const coupon = await client.v1.coupons.retrieve('x');
52
- * ```
53
35
  */
54
36
  retrieve(
55
37
  id: string,
@@ -71,14 +53,6 @@ export class Coupons extends APIResource {
71
53
 
72
54
  /**
73
55
  * Retrieves a paginated list of coupons in the environment.
74
- *
75
- * @example
76
- * ```ts
77
- * // Automatically fetches more pages as needed.
78
- * for await (const couponListResponse of client.v1.coupons.list()) {
79
- * // ...
80
- * }
81
- * ```
82
56
  */
83
57
  list(
84
58
  params: CouponListParams | null | undefined = {},
@@ -100,11 +74,6 @@ export class Coupons extends APIResource {
100
74
 
101
75
  /**
102
76
  * Archives a coupon, preventing it from being applied to new subscriptions.
103
- *
104
- * @example
105
- * ```ts
106
- * const coupon = await client.v1.coupons.archiveCoupon('x');
107
- * ```
108
77
  */
109
78
  archiveCoupon(
110
79
  id: string,
@@ -126,11 +95,6 @@ export class Coupons extends APIResource {
126
95
 
127
96
  /**
128
97
  * Updates an existing coupon's properties such as name, description, and metadata.
129
- *
130
- * @example
131
- * ```ts
132
- * const coupon = await client.v1.coupons.updateCoupon('x');
133
- * ```
134
98
  */
135
99
  updateCoupon(id: string, params: CouponUpdateCouponParams, options?: RequestOptions): APIPromise<Coupon> {
136
100
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
@@ -39,14 +39,6 @@ export class Credits extends APIResource {
39
39
  /**
40
40
  * Retrieves the automatic recharge configuration for a customer and currency.
41
41
  * Returns default settings if no configuration exists.
42
- *
43
- * @example
44
- * ```ts
45
- * const response = await client.v1.credits.getAutoRecharge({
46
- * currencyId: 'currencyId',
47
- * customerId: 'customerId',
48
- * });
49
- * ```
50
42
  */
51
43
  getAutoRecharge(
52
44
  params: CreditGetAutoRechargeParams,
@@ -69,13 +61,6 @@ export class Credits extends APIResource {
69
61
  /**
70
62
  * Retrieves credit usage time-series data for a customer, grouped by feature, over
71
63
  * a specified time range.
72
- *
73
- * @example
74
- * ```ts
75
- * const response = await client.v1.credits.getUsage({
76
- * customerId: 'customerId',
77
- * });
78
- * ```
79
64
  */
80
65
  getUsage(params: CreditGetUsageParams, options?: RequestOptions): APIPromise<CreditGetUsageResponse> {
81
66
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params;
@@ -94,16 +79,6 @@ export class Credits extends APIResource {
94
79
 
95
80
  /**
96
81
  * Retrieves a paginated list of credit ledger events for a customer.
97
- *
98
- * @example
99
- * ```ts
100
- * // Automatically fetches more pages as needed.
101
- * for await (const creditListLedgerResponse of client.v1.credits.listLedger(
102
- * { customerId: 'customerId' },
103
- * )) {
104
- * // ...
105
- * }
106
- * ```
107
82
  */
108
83
  listLedger(
109
84
  params: CreditListLedgerParams,