@stigg/typescript 0.1.0-alpha.4 → 0.1.0-alpha.8

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 (276) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/README.md +9 -0
  3. package/client.d.mts +4 -6
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +4 -6
  6. package/client.d.ts.map +1 -1
  7. package/client.js +23 -21
  8. package/client.js.map +1 -1
  9. package/client.mjs +23 -21
  10. package/client.mjs.map +1 -1
  11. package/internal/parse.d.mts.map +1 -1
  12. package/internal/parse.d.ts.map +1 -1
  13. package/internal/parse.js +5 -0
  14. package/internal/parse.js.map +1 -1
  15. package/internal/parse.mjs +5 -0
  16. package/internal/parse.mjs.map +1 -1
  17. package/internal/qs/formats.d.mts +7 -0
  18. package/internal/qs/formats.d.mts.map +1 -0
  19. package/internal/qs/formats.d.ts +7 -0
  20. package/internal/qs/formats.d.ts.map +1 -0
  21. package/internal/qs/formats.js +13 -0
  22. package/internal/qs/formats.js.map +1 -0
  23. package/internal/qs/formats.mjs +9 -0
  24. package/internal/qs/formats.mjs.map +1 -0
  25. package/internal/qs/index.d.mts +10 -0
  26. package/internal/qs/index.d.mts.map +1 -0
  27. package/internal/qs/index.d.ts +10 -0
  28. package/internal/qs/index.d.ts.map +1 -0
  29. package/internal/qs/index.js +14 -0
  30. package/internal/qs/index.js.map +1 -0
  31. package/internal/qs/index.mjs +10 -0
  32. package/internal/qs/index.mjs.map +1 -0
  33. package/internal/qs/stringify.d.mts +3 -0
  34. package/internal/qs/stringify.d.mts.map +1 -0
  35. package/internal/qs/stringify.d.ts +3 -0
  36. package/internal/qs/stringify.d.ts.map +1 -0
  37. package/internal/qs/stringify.js +277 -0
  38. package/internal/qs/stringify.js.map +1 -0
  39. package/internal/qs/stringify.mjs +274 -0
  40. package/internal/qs/stringify.mjs.map +1 -0
  41. package/internal/qs/types.d.mts +57 -0
  42. package/internal/qs/types.d.mts.map +1 -0
  43. package/internal/qs/types.d.ts +57 -0
  44. package/internal/qs/types.d.ts.map +1 -0
  45. package/internal/qs/types.js +3 -0
  46. package/internal/qs/types.js.map +1 -0
  47. package/internal/qs/types.mjs +2 -0
  48. package/internal/qs/types.mjs.map +1 -0
  49. package/internal/qs/utils.d.mts +15 -0
  50. package/internal/qs/utils.d.mts.map +1 -0
  51. package/internal/qs/utils.d.ts +15 -0
  52. package/internal/qs/utils.d.ts.map +1 -0
  53. package/internal/qs/utils.js +230 -0
  54. package/internal/qs/utils.js.map +1 -0
  55. package/internal/qs/utils.mjs +217 -0
  56. package/internal/qs/utils.mjs.map +1 -0
  57. package/package.json +1 -1
  58. package/resources/v1/coupons.d.mts +74 -8
  59. package/resources/v1/coupons.d.mts.map +1 -1
  60. package/resources/v1/coupons.d.ts +74 -8
  61. package/resources/v1/coupons.d.ts.map +1 -1
  62. package/resources/v1/coupons.js +16 -3
  63. package/resources/v1/coupons.js.map +1 -1
  64. package/resources/v1/coupons.mjs +16 -3
  65. package/resources/v1/coupons.mjs.map +1 -1
  66. package/resources/v1/customers/customers.d.mts +74 -10
  67. package/resources/v1/customers/customers.d.mts.map +1 -1
  68. package/resources/v1/customers/customers.d.ts +74 -10
  69. package/resources/v1/customers/customers.d.ts.map +1 -1
  70. package/resources/v1/customers/customers.js +18 -7
  71. package/resources/v1/customers/customers.js.map +1 -1
  72. package/resources/v1/customers/customers.mjs +18 -7
  73. package/resources/v1/customers/customers.mjs.map +1 -1
  74. package/resources/v1/customers/index.d.mts +2 -2
  75. package/resources/v1/customers/index.d.mts.map +1 -1
  76. package/resources/v1/customers/index.d.ts +2 -2
  77. package/resources/v1/customers/index.d.ts.map +1 -1
  78. package/resources/v1/customers/index.js.map +1 -1
  79. package/resources/v1/customers/index.mjs.map +1 -1
  80. package/resources/v1/customers/payment-method.d.mts +4 -2
  81. package/resources/v1/customers/payment-method.d.mts.map +1 -1
  82. package/resources/v1/customers/payment-method.d.ts +4 -2
  83. package/resources/v1/customers/payment-method.d.ts.map +1 -1
  84. package/resources/v1/customers/payment-method.js +4 -2
  85. package/resources/v1/customers/payment-method.js.map +1 -1
  86. package/resources/v1/customers/payment-method.mjs +4 -2
  87. package/resources/v1/customers/payment-method.mjs.map +1 -1
  88. package/resources/v1/customers/promotional-entitlements.d.mts +159 -11
  89. package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
  90. package/resources/v1/customers/promotional-entitlements.d.ts +159 -11
  91. package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
  92. package/resources/v1/customers/promotional-entitlements.js +15 -6
  93. package/resources/v1/customers/promotional-entitlements.js.map +1 -1
  94. package/resources/v1/customers/promotional-entitlements.mjs +15 -6
  95. package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
  96. package/resources/v1/events/addons/addons.d.mts +605 -0
  97. package/resources/v1/events/addons/addons.d.mts.map +1 -0
  98. package/resources/v1/events/addons/addons.d.ts +605 -0
  99. package/resources/v1/events/addons/addons.d.ts.map +1 -0
  100. package/resources/v1/events/addons/addons.js +60 -0
  101. package/resources/v1/events/addons/addons.js.map +1 -0
  102. package/resources/v1/events/addons/addons.mjs +55 -0
  103. package/resources/v1/events/addons/addons.mjs.map +1 -0
  104. package/resources/v1/events/addons/draft.d.mts +121 -0
  105. package/resources/v1/events/addons/draft.d.mts.map +1 -0
  106. package/resources/v1/events/addons/draft.d.ts +121 -0
  107. package/resources/v1/events/addons/draft.d.ts.map +1 -0
  108. package/resources/v1/events/addons/draft.js +22 -0
  109. package/resources/v1/events/addons/draft.js.map +1 -0
  110. package/resources/v1/events/addons/draft.mjs +18 -0
  111. package/resources/v1/events/addons/draft.mjs.map +1 -0
  112. package/resources/v1/events/addons/index.d.mts +3 -0
  113. package/resources/v1/events/addons/index.d.mts.map +1 -0
  114. package/resources/v1/events/addons/index.d.ts +3 -0
  115. package/resources/v1/events/addons/index.d.ts.map +1 -0
  116. package/resources/v1/events/addons/index.js +9 -0
  117. package/resources/v1/events/addons/index.js.map +1 -0
  118. package/resources/v1/events/addons/index.mjs +4 -0
  119. package/resources/v1/events/addons/index.mjs.map +1 -0
  120. package/resources/v1/events/addons.d.mts +2 -0
  121. package/resources/v1/events/addons.d.mts.map +1 -0
  122. package/resources/v1/events/addons.d.ts +2 -0
  123. package/resources/v1/events/addons.d.ts.map +1 -0
  124. package/resources/v1/events/addons.js +6 -0
  125. package/resources/v1/events/addons.js.map +1 -0
  126. package/resources/v1/events/addons.mjs +3 -0
  127. package/resources/v1/events/addons.mjs.map +1 -0
  128. package/resources/v1/events/events.d.mts +75 -0
  129. package/resources/v1/events/events.d.mts.map +1 -0
  130. package/resources/v1/events/events.d.ts +75 -0
  131. package/resources/v1/events/events.d.ts.map +1 -0
  132. package/resources/v1/events/events.js +32 -0
  133. package/resources/v1/events/events.js.map +1 -0
  134. package/resources/v1/events/events.mjs +27 -0
  135. package/resources/v1/events/events.mjs.map +1 -0
  136. package/resources/v1/events/features.d.mts +856 -0
  137. package/resources/v1/events/features.d.mts.map +1 -0
  138. package/resources/v1/events/features.d.ts +856 -0
  139. package/resources/v1/events/features.d.ts.map +1 -0
  140. package/resources/v1/events/features.js +51 -0
  141. package/resources/v1/events/features.js.map +1 -0
  142. package/resources/v1/events/features.mjs +47 -0
  143. package/resources/v1/events/features.mjs.map +1 -0
  144. package/resources/v1/events/index.d.mts +5 -0
  145. package/resources/v1/events/index.d.mts.map +1 -0
  146. package/resources/v1/events/index.d.ts +5 -0
  147. package/resources/v1/events/index.d.ts.map +1 -0
  148. package/resources/v1/events/index.js +13 -0
  149. package/resources/v1/events/index.js.map +1 -0
  150. package/resources/v1/events/index.mjs +6 -0
  151. package/resources/v1/events/index.mjs.map +1 -0
  152. package/resources/v1/events/plans.d.mts +348 -0
  153. package/resources/v1/events/plans.d.mts.map +1 -0
  154. package/resources/v1/events/plans.d.ts +348 -0
  155. package/resources/v1/events/plans.d.ts.map +1 -0
  156. package/resources/v1/events/plans.js +30 -0
  157. package/resources/v1/events/plans.js.map +1 -0
  158. package/resources/v1/events/plans.mjs +26 -0
  159. package/resources/v1/events/plans.mjs.map +1 -0
  160. package/resources/v1/events.d.mts +1 -61
  161. package/resources/v1/events.d.mts.map +1 -1
  162. package/resources/v1/events.d.ts +1 -61
  163. package/resources/v1/events.d.ts.map +1 -1
  164. package/resources/v1/events.js +2 -11
  165. package/resources/v1/events.js.map +1 -1
  166. package/resources/v1/events.mjs +1 -9
  167. package/resources/v1/events.mjs.map +1 -1
  168. package/resources/v1/index.d.mts +4 -3
  169. package/resources/v1/index.d.mts.map +1 -1
  170. package/resources/v1/index.d.ts +4 -3
  171. package/resources/v1/index.d.ts.map +1 -1
  172. package/resources/v1/index.js +7 -5
  173. package/resources/v1/index.js.map +1 -1
  174. package/resources/v1/index.mjs +2 -1
  175. package/resources/v1/index.mjs.map +1 -1
  176. package/resources/v1/products.d.mts +672 -0
  177. package/resources/v1/products.d.mts.map +1 -0
  178. package/resources/v1/products.d.ts +672 -0
  179. package/resources/v1/products.d.ts.map +1 -0
  180. package/resources/v1/products.js +52 -0
  181. package/resources/v1/products.js.map +1 -0
  182. package/resources/v1/products.mjs +48 -0
  183. package/resources/v1/products.mjs.map +1 -0
  184. package/resources/v1/subscriptions/future-update.d.mts +3 -2
  185. package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
  186. package/resources/v1/subscriptions/future-update.d.ts +3 -2
  187. package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
  188. package/resources/v1/subscriptions/future-update.js +3 -2
  189. package/resources/v1/subscriptions/future-update.js.map +1 -1
  190. package/resources/v1/subscriptions/future-update.mjs +3 -2
  191. package/resources/v1/subscriptions/future-update.mjs.map +1 -1
  192. package/resources/v1/subscriptions/index.d.mts +2 -0
  193. package/resources/v1/subscriptions/index.d.mts.map +1 -1
  194. package/resources/v1/subscriptions/index.d.ts +2 -0
  195. package/resources/v1/subscriptions/index.d.ts.map +1 -1
  196. package/resources/v1/subscriptions/index.js +5 -1
  197. package/resources/v1/subscriptions/index.js.map +1 -1
  198. package/resources/v1/subscriptions/index.mjs +2 -0
  199. package/resources/v1/subscriptions/index.mjs.map +1 -1
  200. package/resources/v1/subscriptions/invoice.d.mts +34 -0
  201. package/resources/v1/subscriptions/invoice.d.mts.map +1 -0
  202. package/resources/v1/subscriptions/invoice.d.ts +34 -0
  203. package/resources/v1/subscriptions/invoice.d.ts.map +1 -0
  204. package/resources/v1/subscriptions/invoice.js +17 -0
  205. package/resources/v1/subscriptions/invoice.js.map +1 -0
  206. package/resources/v1/subscriptions/invoice.mjs +13 -0
  207. package/resources/v1/subscriptions/invoice.mjs.map +1 -0
  208. package/resources/v1/subscriptions/subscriptions.d.mts +166 -34
  209. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  210. package/resources/v1/subscriptions/subscriptions.d.ts +166 -34
  211. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  212. package/resources/v1/subscriptions/subscriptions.js +28 -10
  213. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  214. package/resources/v1/subscriptions/subscriptions.mjs +28 -10
  215. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  216. package/resources/v1/subscriptions/usage.d.mts +98 -0
  217. package/resources/v1/subscriptions/usage.d.mts.map +1 -0
  218. package/resources/v1/subscriptions/usage.d.ts +98 -0
  219. package/resources/v1/subscriptions/usage.d.ts.map +1 -0
  220. package/resources/v1/subscriptions/usage.js +24 -0
  221. package/resources/v1/subscriptions/usage.js.map +1 -0
  222. package/resources/v1/subscriptions/usage.mjs +20 -0
  223. package/resources/v1/subscriptions/usage.mjs.map +1 -0
  224. package/resources/v1/usage.d.mts +3 -2
  225. package/resources/v1/usage.d.mts.map +1 -1
  226. package/resources/v1/usage.d.ts +3 -2
  227. package/resources/v1/usage.d.ts.map +1 -1
  228. package/resources/v1/usage.js +3 -2
  229. package/resources/v1/usage.js.map +1 -1
  230. package/resources/v1/usage.mjs +3 -2
  231. package/resources/v1/usage.mjs.map +1 -1
  232. package/resources/v1/v1.d.mts +10 -6
  233. package/resources/v1/v1.d.mts.map +1 -1
  234. package/resources/v1/v1.d.ts +10 -6
  235. package/resources/v1/v1.d.ts.map +1 -1
  236. package/resources/v1/v1.js +6 -2
  237. package/resources/v1/v1.js.map +1 -1
  238. package/resources/v1/v1.mjs +6 -2
  239. package/resources/v1/v1.mjs.map +1 -1
  240. package/src/client.ts +31 -26
  241. package/src/internal/parse.ts +6 -0
  242. package/src/internal/qs/LICENSE.md +13 -0
  243. package/src/internal/qs/README.md +3 -0
  244. package/src/internal/qs/formats.ts +10 -0
  245. package/src/internal/qs/index.ts +13 -0
  246. package/src/internal/qs/stringify.ts +385 -0
  247. package/src/internal/qs/types.ts +71 -0
  248. package/src/internal/qs/utils.ts +265 -0
  249. package/src/resources/v1/coupons.ts +89 -9
  250. package/src/resources/v1/customers/customers.ts +107 -12
  251. package/src/resources/v1/customers/index.ts +8 -2
  252. package/src/resources/v1/customers/payment-method.ts +4 -2
  253. package/src/resources/v1/customers/promotional-entitlements.ts +221 -18
  254. package/src/resources/v1/events/addons/addons.ts +761 -0
  255. package/src/resources/v1/events/addons/draft.ts +151 -0
  256. package/src/resources/v1/events/addons/index.ts +17 -0
  257. package/src/resources/v1/events/addons.ts +3 -0
  258. package/src/resources/v1/events/events.ts +160 -0
  259. package/src/resources/v1/events/features.ts +1066 -0
  260. package/src/resources/v1/events/index.ts +39 -0
  261. package/src/resources/v1/events/plans.ts +429 -0
  262. package/src/resources/v1/events.ts +1 -71
  263. package/src/resources/v1/index.ts +19 -1
  264. package/src/resources/v1/products.ts +829 -0
  265. package/src/resources/v1/subscriptions/future-update.ts +3 -2
  266. package/src/resources/v1/subscriptions/index.ts +7 -0
  267. package/src/resources/v1/subscriptions/invoice.ts +42 -0
  268. package/src/resources/v1/subscriptions/subscriptions.ts +235 -36
  269. package/src/resources/v1/subscriptions/usage.ts +126 -0
  270. package/src/resources/v1/usage.ts +3 -2
  271. package/src/resources/v1/v1.ts +42 -2
  272. package/src/version.ts +1 -1
  273. package/version.d.mts +1 -1
  274. package/version.d.ts +1 -1
  275. package/version.js +1 -1
  276. package/version.mjs +1 -1
@@ -0,0 +1,672 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import { APIPromise } from "../../core/api-promise.js";
3
+ import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from "../../core/pagination.js";
4
+ import { RequestOptions } from "../../internal/request-options.js";
5
+ export declare class Products extends APIResource {
6
+ /**
7
+ * Archives a product, preventing new subscriptions. All plans and addons are
8
+ * archived.
9
+ */
10
+ archiveProduct(id: string, options?: RequestOptions): APIPromise<ProductArchiveProductResponse>;
11
+ /**
12
+ * Creates a new product.
13
+ */
14
+ createProduct(body: ProductCreateProductParams, options?: RequestOptions): APIPromise<ProductCreateProductResponse>;
15
+ /**
16
+ * Duplicates an existing product, including its plans, addons, and configuration.
17
+ */
18
+ duplicateProduct(id: string, body: ProductDuplicateProductParams, options?: RequestOptions): APIPromise<ProductDuplicateProductResponse>;
19
+ /**
20
+ * Retrieves a paginated list of products in the environment.
21
+ */
22
+ listProducts(query?: ProductListProductsParams | null | undefined, options?: RequestOptions): PagePromise<ProductListProductsResponsesMyCursorIDPage, ProductListProductsResponse>;
23
+ /**
24
+ * Restores an archived product, allowing new subscriptions to be created.
25
+ */
26
+ unarchiveProduct(id: string, options?: RequestOptions): APIPromise<ProductUnarchiveProductResponse>;
27
+ /**
28
+ * Updates an existing product's properties such as display name, description, and
29
+ * metadata.
30
+ */
31
+ updateProduct(id: string, body: ProductUpdateProductParams, options?: RequestOptions): APIPromise<ProductUpdateProductResponse>;
32
+ }
33
+ export type ProductListProductsResponsesMyCursorIDPage = MyCursorIDPage<ProductListProductsResponse>;
34
+ /**
35
+ * Response object
36
+ */
37
+ export interface ProductArchiveProductResponse {
38
+ /**
39
+ * Product configuration object
40
+ */
41
+ data: ProductArchiveProductResponse.Data;
42
+ }
43
+ export declare namespace ProductArchiveProductResponse {
44
+ /**
45
+ * Product configuration object
46
+ */
47
+ interface Data {
48
+ /**
49
+ * The unique identifier for the entity
50
+ */
51
+ id: string;
52
+ /**
53
+ * Timestamp of when the record was created
54
+ */
55
+ createdAt: string;
56
+ /**
57
+ * Description of the product
58
+ */
59
+ description: string | null;
60
+ /**
61
+ * Display name of the product
62
+ */
63
+ displayName: string;
64
+ /**
65
+ * Metadata associated with the entity
66
+ */
67
+ metadata: {
68
+ [key: string]: string;
69
+ };
70
+ /**
71
+ * Indicates if multiple subscriptions to this product are allowed
72
+ */
73
+ multipleSubscriptions: boolean;
74
+ /**
75
+ * The status of the product
76
+ */
77
+ status: 'PUBLISHED' | 'ARCHIVED';
78
+ /**
79
+ * Timestamp of when the record was last updated
80
+ */
81
+ updatedAt: string;
82
+ /**
83
+ * Product behavior settings for subscription lifecycle management.
84
+ */
85
+ productSettings?: Data.ProductSettings;
86
+ }
87
+ namespace Data {
88
+ /**
89
+ * Product behavior settings for subscription lifecycle management.
90
+ */
91
+ interface ProductSettings {
92
+ /**
93
+ * Time when the subscription will be cancelled
94
+ */
95
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
96
+ /**
97
+ * Setup for the end of the subscription
98
+ */
99
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
100
+ /**
101
+ * Setup for the start of the subscription
102
+ */
103
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
104
+ /**
105
+ * ID of the plan to downgrade to at the end of the billing period
106
+ */
107
+ downgradePlanId?: string | null;
108
+ /**
109
+ * Indicates if the subscription should be prorated at the end of the billing
110
+ * period
111
+ */
112
+ prorateAtEndOfBillingPeriod?: boolean | null;
113
+ /**
114
+ * ID of the plan to start the subscription with
115
+ */
116
+ subscriptionStartPlanId?: string | null;
117
+ }
118
+ }
119
+ }
120
+ /**
121
+ * Response object
122
+ */
123
+ export interface ProductCreateProductResponse {
124
+ /**
125
+ * Product configuration object
126
+ */
127
+ data: ProductCreateProductResponse.Data;
128
+ }
129
+ export declare namespace ProductCreateProductResponse {
130
+ /**
131
+ * Product configuration object
132
+ */
133
+ interface Data {
134
+ /**
135
+ * The unique identifier for the entity
136
+ */
137
+ id: string;
138
+ /**
139
+ * Timestamp of when the record was created
140
+ */
141
+ createdAt: string;
142
+ /**
143
+ * Description of the product
144
+ */
145
+ description: string | null;
146
+ /**
147
+ * Display name of the product
148
+ */
149
+ displayName: string;
150
+ /**
151
+ * Metadata associated with the entity
152
+ */
153
+ metadata: {
154
+ [key: string]: string;
155
+ };
156
+ /**
157
+ * Indicates if multiple subscriptions to this product are allowed
158
+ */
159
+ multipleSubscriptions: boolean;
160
+ /**
161
+ * The status of the product
162
+ */
163
+ status: 'PUBLISHED' | 'ARCHIVED';
164
+ /**
165
+ * Timestamp of when the record was last updated
166
+ */
167
+ updatedAt: string;
168
+ /**
169
+ * Product behavior settings for subscription lifecycle management.
170
+ */
171
+ productSettings?: Data.ProductSettings;
172
+ }
173
+ namespace Data {
174
+ /**
175
+ * Product behavior settings for subscription lifecycle management.
176
+ */
177
+ interface ProductSettings {
178
+ /**
179
+ * Time when the subscription will be cancelled
180
+ */
181
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
182
+ /**
183
+ * Setup for the end of the subscription
184
+ */
185
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
186
+ /**
187
+ * Setup for the start of the subscription
188
+ */
189
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
190
+ /**
191
+ * ID of the plan to downgrade to at the end of the billing period
192
+ */
193
+ downgradePlanId?: string | null;
194
+ /**
195
+ * Indicates if the subscription should be prorated at the end of the billing
196
+ * period
197
+ */
198
+ prorateAtEndOfBillingPeriod?: boolean | null;
199
+ /**
200
+ * ID of the plan to start the subscription with
201
+ */
202
+ subscriptionStartPlanId?: string | null;
203
+ }
204
+ }
205
+ }
206
+ /**
207
+ * Response object
208
+ */
209
+ export interface ProductDuplicateProductResponse {
210
+ /**
211
+ * Product configuration object
212
+ */
213
+ data: ProductDuplicateProductResponse.Data;
214
+ }
215
+ export declare namespace ProductDuplicateProductResponse {
216
+ /**
217
+ * Product configuration object
218
+ */
219
+ interface Data {
220
+ /**
221
+ * The unique identifier for the entity
222
+ */
223
+ id: string;
224
+ /**
225
+ * Timestamp of when the record was created
226
+ */
227
+ createdAt: string;
228
+ /**
229
+ * Description of the product
230
+ */
231
+ description: string | null;
232
+ /**
233
+ * Display name of the product
234
+ */
235
+ displayName: string;
236
+ /**
237
+ * Metadata associated with the entity
238
+ */
239
+ metadata: {
240
+ [key: string]: string;
241
+ };
242
+ /**
243
+ * Indicates if multiple subscriptions to this product are allowed
244
+ */
245
+ multipleSubscriptions: boolean;
246
+ /**
247
+ * The status of the product
248
+ */
249
+ status: 'PUBLISHED' | 'ARCHIVED';
250
+ /**
251
+ * Timestamp of when the record was last updated
252
+ */
253
+ updatedAt: string;
254
+ /**
255
+ * Product behavior settings for subscription lifecycle management.
256
+ */
257
+ productSettings?: Data.ProductSettings;
258
+ }
259
+ namespace Data {
260
+ /**
261
+ * Product behavior settings for subscription lifecycle management.
262
+ */
263
+ interface ProductSettings {
264
+ /**
265
+ * Time when the subscription will be cancelled
266
+ */
267
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
268
+ /**
269
+ * Setup for the end of the subscription
270
+ */
271
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
272
+ /**
273
+ * Setup for the start of the subscription
274
+ */
275
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
276
+ /**
277
+ * ID of the plan to downgrade to at the end of the billing period
278
+ */
279
+ downgradePlanId?: string | null;
280
+ /**
281
+ * Indicates if the subscription should be prorated at the end of the billing
282
+ * period
283
+ */
284
+ prorateAtEndOfBillingPeriod?: boolean | null;
285
+ /**
286
+ * ID of the plan to start the subscription with
287
+ */
288
+ subscriptionStartPlanId?: string | null;
289
+ }
290
+ }
291
+ }
292
+ /**
293
+ * Product configuration object
294
+ */
295
+ export interface ProductListProductsResponse {
296
+ /**
297
+ * The unique identifier for the entity
298
+ */
299
+ id: string;
300
+ /**
301
+ * Timestamp of when the record was created
302
+ */
303
+ createdAt: string;
304
+ /**
305
+ * Description of the product
306
+ */
307
+ description: string | null;
308
+ /**
309
+ * Display name of the product
310
+ */
311
+ displayName: string;
312
+ /**
313
+ * Metadata associated with the entity
314
+ */
315
+ metadata: {
316
+ [key: string]: string;
317
+ };
318
+ /**
319
+ * Indicates if multiple subscriptions to this product are allowed
320
+ */
321
+ multipleSubscriptions: boolean;
322
+ /**
323
+ * The status of the product
324
+ */
325
+ status: 'PUBLISHED' | 'ARCHIVED';
326
+ /**
327
+ * Timestamp of when the record was last updated
328
+ */
329
+ updatedAt: string;
330
+ /**
331
+ * Product behavior settings for subscription lifecycle management.
332
+ */
333
+ productSettings?: ProductListProductsResponse.ProductSettings;
334
+ }
335
+ export declare namespace ProductListProductsResponse {
336
+ /**
337
+ * Product behavior settings for subscription lifecycle management.
338
+ */
339
+ interface ProductSettings {
340
+ /**
341
+ * Time when the subscription will be cancelled
342
+ */
343
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
344
+ /**
345
+ * Setup for the end of the subscription
346
+ */
347
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
348
+ /**
349
+ * Setup for the start of the subscription
350
+ */
351
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
352
+ /**
353
+ * ID of the plan to downgrade to at the end of the billing period
354
+ */
355
+ downgradePlanId?: string | null;
356
+ /**
357
+ * Indicates if the subscription should be prorated at the end of the billing
358
+ * period
359
+ */
360
+ prorateAtEndOfBillingPeriod?: boolean | null;
361
+ /**
362
+ * ID of the plan to start the subscription with
363
+ */
364
+ subscriptionStartPlanId?: string | null;
365
+ }
366
+ }
367
+ /**
368
+ * Response object
369
+ */
370
+ export interface ProductUnarchiveProductResponse {
371
+ /**
372
+ * Product configuration object
373
+ */
374
+ data: ProductUnarchiveProductResponse.Data;
375
+ }
376
+ export declare namespace ProductUnarchiveProductResponse {
377
+ /**
378
+ * Product configuration object
379
+ */
380
+ interface Data {
381
+ /**
382
+ * The unique identifier for the entity
383
+ */
384
+ id: string;
385
+ /**
386
+ * Timestamp of when the record was created
387
+ */
388
+ createdAt: string;
389
+ /**
390
+ * Description of the product
391
+ */
392
+ description: string | null;
393
+ /**
394
+ * Display name of the product
395
+ */
396
+ displayName: string;
397
+ /**
398
+ * Metadata associated with the entity
399
+ */
400
+ metadata: {
401
+ [key: string]: string;
402
+ };
403
+ /**
404
+ * Indicates if multiple subscriptions to this product are allowed
405
+ */
406
+ multipleSubscriptions: boolean;
407
+ /**
408
+ * The status of the product
409
+ */
410
+ status: 'PUBLISHED' | 'ARCHIVED';
411
+ /**
412
+ * Timestamp of when the record was last updated
413
+ */
414
+ updatedAt: string;
415
+ /**
416
+ * Product behavior settings for subscription lifecycle management.
417
+ */
418
+ productSettings?: Data.ProductSettings;
419
+ }
420
+ namespace Data {
421
+ /**
422
+ * Product behavior settings for subscription lifecycle management.
423
+ */
424
+ interface ProductSettings {
425
+ /**
426
+ * Time when the subscription will be cancelled
427
+ */
428
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
429
+ /**
430
+ * Setup for the end of the subscription
431
+ */
432
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
433
+ /**
434
+ * Setup for the start of the subscription
435
+ */
436
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
437
+ /**
438
+ * ID of the plan to downgrade to at the end of the billing period
439
+ */
440
+ downgradePlanId?: string | null;
441
+ /**
442
+ * Indicates if the subscription should be prorated at the end of the billing
443
+ * period
444
+ */
445
+ prorateAtEndOfBillingPeriod?: boolean | null;
446
+ /**
447
+ * ID of the plan to start the subscription with
448
+ */
449
+ subscriptionStartPlanId?: string | null;
450
+ }
451
+ }
452
+ }
453
+ /**
454
+ * Response object
455
+ */
456
+ export interface ProductUpdateProductResponse {
457
+ /**
458
+ * Product configuration object
459
+ */
460
+ data: ProductUpdateProductResponse.Data;
461
+ }
462
+ export declare namespace ProductUpdateProductResponse {
463
+ /**
464
+ * Product configuration object
465
+ */
466
+ interface Data {
467
+ /**
468
+ * The unique identifier for the entity
469
+ */
470
+ id: string;
471
+ /**
472
+ * Timestamp of when the record was created
473
+ */
474
+ createdAt: string;
475
+ /**
476
+ * Description of the product
477
+ */
478
+ description: string | null;
479
+ /**
480
+ * Display name of the product
481
+ */
482
+ displayName: string;
483
+ /**
484
+ * Metadata associated with the entity
485
+ */
486
+ metadata: {
487
+ [key: string]: string;
488
+ };
489
+ /**
490
+ * Indicates if multiple subscriptions to this product are allowed
491
+ */
492
+ multipleSubscriptions: boolean;
493
+ /**
494
+ * The status of the product
495
+ */
496
+ status: 'PUBLISHED' | 'ARCHIVED';
497
+ /**
498
+ * Timestamp of when the record was last updated
499
+ */
500
+ updatedAt: string;
501
+ /**
502
+ * Product behavior settings for subscription lifecycle management.
503
+ */
504
+ productSettings?: Data.ProductSettings;
505
+ }
506
+ namespace Data {
507
+ /**
508
+ * Product behavior settings for subscription lifecycle management.
509
+ */
510
+ interface ProductSettings {
511
+ /**
512
+ * Time when the subscription will be cancelled
513
+ */
514
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
515
+ /**
516
+ * Setup for the end of the subscription
517
+ */
518
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
519
+ /**
520
+ * Setup for the start of the subscription
521
+ */
522
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
523
+ /**
524
+ * ID of the plan to downgrade to at the end of the billing period
525
+ */
526
+ downgradePlanId?: string | null;
527
+ /**
528
+ * Indicates if the subscription should be prorated at the end of the billing
529
+ * period
530
+ */
531
+ prorateAtEndOfBillingPeriod?: boolean | null;
532
+ /**
533
+ * ID of the plan to start the subscription with
534
+ */
535
+ subscriptionStartPlanId?: string | null;
536
+ }
537
+ }
538
+ }
539
+ export interface ProductCreateProductParams {
540
+ /**
541
+ * The unique identifier for the entity
542
+ */
543
+ id: string;
544
+ /**
545
+ * Description of the product
546
+ */
547
+ description?: string | null;
548
+ /**
549
+ * Display name of the product
550
+ */
551
+ displayName?: string;
552
+ /**
553
+ * Additional metadata for the product
554
+ */
555
+ metadata?: {
556
+ [key: string]: string;
557
+ } | null;
558
+ /**
559
+ * Indicates if multiple subscriptions to this product are allowed
560
+ */
561
+ multipleSubscriptions?: boolean;
562
+ }
563
+ export interface ProductDuplicateProductParams {
564
+ /**
565
+ * Description of the product
566
+ */
567
+ description?: string | null;
568
+ /**
569
+ * Display name of the product
570
+ */
571
+ displayName?: string;
572
+ }
573
+ export interface ProductListProductsParams extends MyCursorIDPageParams {
574
+ /**
575
+ * Filter by entity ID
576
+ */
577
+ id?: string;
578
+ /**
579
+ * Filter by creation date using range operators: gt, gte, lt, lte
580
+ */
581
+ createdAt?: ProductListProductsParams.CreatedAt;
582
+ /**
583
+ * Filter by product status. Supports comma-separated values for multiple statuses
584
+ */
585
+ status?: string;
586
+ }
587
+ export declare namespace ProductListProductsParams {
588
+ /**
589
+ * Filter by creation date using range operators: gt, gte, lt, lte
590
+ */
591
+ interface CreatedAt {
592
+ /**
593
+ * Greater than the specified createdAt value
594
+ */
595
+ gt?: string;
596
+ /**
597
+ * Greater than or equal to the specified createdAt value
598
+ */
599
+ gte?: string;
600
+ /**
601
+ * Less than the specified createdAt value
602
+ */
603
+ lt?: string;
604
+ /**
605
+ * Less than or equal to the specified createdAt value
606
+ */
607
+ lte?: string;
608
+ }
609
+ }
610
+ export interface ProductUpdateProductParams {
611
+ /**
612
+ * Description of the product
613
+ */
614
+ description?: string | null;
615
+ /**
616
+ * Display name of the product
617
+ */
618
+ displayName?: string;
619
+ /**
620
+ * Additional metadata for the product
621
+ */
622
+ metadata?: {
623
+ [key: string]: string;
624
+ } | null;
625
+ /**
626
+ * Indicates if multiple subscriptions to this product are allowed
627
+ */
628
+ multipleSubscriptions?: boolean;
629
+ productSettings?: ProductUpdateProductParams.ProductSettings;
630
+ /**
631
+ * Rule defining when usage resets upon subscription update.
632
+ */
633
+ usageResetCutoffRule?: ProductUpdateProductParams.UsageResetCutoffRule;
634
+ }
635
+ export declare namespace ProductUpdateProductParams {
636
+ interface ProductSettings {
637
+ /**
638
+ * Time when the subscription will be cancelled
639
+ */
640
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
641
+ /**
642
+ * Setup for the end of the subscription
643
+ */
644
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
645
+ /**
646
+ * Setup for the start of the subscription
647
+ */
648
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
649
+ /**
650
+ * ID of the plan to downgrade to at the end of the billing period
651
+ */
652
+ downgradePlanId?: string | null;
653
+ prorateAtEndOfBillingPeriod?: boolean | null;
654
+ /**
655
+ * ID of the plan to start the subscription with
656
+ */
657
+ subscriptionStartPlanId?: string | null;
658
+ }
659
+ /**
660
+ * Rule defining when usage resets upon subscription update.
661
+ */
662
+ interface UsageResetCutoffRule {
663
+ /**
664
+ * Behavior of the usage reset cutoff rule
665
+ */
666
+ behavior: 'NEVER_RESET' | 'ALWAYS_RESET' | 'BILLING_PERIOD_CHANGE';
667
+ }
668
+ }
669
+ export declare namespace Products {
670
+ export { type ProductArchiveProductResponse as ProductArchiveProductResponse, type ProductCreateProductResponse as ProductCreateProductResponse, type ProductDuplicateProductResponse as ProductDuplicateProductResponse, type ProductListProductsResponse as ProductListProductsResponse, type ProductUnarchiveProductResponse as ProductUnarchiveProductResponse, type ProductUpdateProductResponse as ProductUpdateProductResponse, type ProductListProductsResponsesMyCursorIDPage as ProductListProductsResponsesMyCursorIDPage, type ProductCreateProductParams as ProductCreateProductParams, type ProductDuplicateProductParams as ProductDuplicateProductParams, type ProductListProductsParams as ProductListProductsParams, type ProductUpdateProductParams as ProductUpdateProductParams, };
671
+ }
672
+ //# sourceMappingURL=products.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/resources/v1/products.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAI/F;;OAEG;IACH,aAAa,CACX,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;OAEG;IACH,gBAAgB,CACd,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;OAEG;IACH,YAAY,CACV,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0CAA0C,EAAE,2BAA2B,CAAC;IAOvF;;OAEG;IACH,gBAAgB,CAAC,EAAE,EAAE,MAA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