@stigg/typescript 0.1.0-alpha.7 → 0.1.0-alpha.9

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 (190) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts.map +1 -1
  4. package/client.js +7 -0
  5. package/client.js.map +1 -1
  6. package/client.mjs +7 -0
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/v1/coupons.d.mts +25 -1
  10. package/resources/v1/coupons.d.mts.map +1 -1
  11. package/resources/v1/coupons.d.ts +25 -1
  12. package/resources/v1/coupons.d.ts.map +1 -1
  13. package/resources/v1/coupons.js +12 -0
  14. package/resources/v1/coupons.js.map +1 -1
  15. package/resources/v1/coupons.mjs +12 -0
  16. package/resources/v1/coupons.mjs.map +1 -1
  17. package/resources/v1/customers/customers.d.mts +2 -2
  18. package/resources/v1/customers/customers.d.mts.map +1 -1
  19. package/resources/v1/customers/customers.d.ts +2 -2
  20. package/resources/v1/customers/customers.d.ts.map +1 -1
  21. package/resources/v1/customers/customers.js.map +1 -1
  22. package/resources/v1/customers/customers.mjs.map +1 -1
  23. package/resources/v1/customers/index.d.mts +1 -1
  24. package/resources/v1/customers/index.d.mts.map +1 -1
  25. package/resources/v1/customers/index.d.ts +1 -1
  26. package/resources/v1/customers/index.d.ts.map +1 -1
  27. package/resources/v1/customers/index.js.map +1 -1
  28. package/resources/v1/customers/index.mjs.map +1 -1
  29. package/resources/v1/customers/promotional-entitlements.d.mts +155 -9
  30. package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -1
  31. package/resources/v1/customers/promotional-entitlements.d.ts +155 -9
  32. package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -1
  33. package/resources/v1/customers/promotional-entitlements.js +11 -4
  34. package/resources/v1/customers/promotional-entitlements.js.map +1 -1
  35. package/resources/v1/customers/promotional-entitlements.mjs +11 -4
  36. package/resources/v1/customers/promotional-entitlements.mjs.map +1 -1
  37. package/resources/v1/events/addons/addons.d.mts +605 -0
  38. package/resources/v1/events/addons/addons.d.mts.map +1 -0
  39. package/resources/v1/events/addons/addons.d.ts +605 -0
  40. package/resources/v1/events/addons/addons.d.ts.map +1 -0
  41. package/resources/v1/events/addons/addons.js +60 -0
  42. package/resources/v1/events/addons/addons.js.map +1 -0
  43. package/resources/v1/events/addons/addons.mjs +55 -0
  44. package/resources/v1/events/addons/addons.mjs.map +1 -0
  45. package/resources/v1/events/addons/draft.d.mts +121 -0
  46. package/resources/v1/events/addons/draft.d.mts.map +1 -0
  47. package/resources/v1/events/addons/draft.d.ts +121 -0
  48. package/resources/v1/events/addons/draft.d.ts.map +1 -0
  49. package/resources/v1/events/addons/draft.js +22 -0
  50. package/resources/v1/events/addons/draft.js.map +1 -0
  51. package/resources/v1/events/addons/draft.mjs +18 -0
  52. package/resources/v1/events/addons/draft.mjs.map +1 -0
  53. package/resources/v1/events/addons/index.d.mts +3 -0
  54. package/resources/v1/events/addons/index.d.mts.map +1 -0
  55. package/resources/v1/events/addons/index.d.ts +3 -0
  56. package/resources/v1/events/addons/index.d.ts.map +1 -0
  57. package/resources/v1/events/addons/index.js +9 -0
  58. package/resources/v1/events/addons/index.js.map +1 -0
  59. package/resources/v1/events/addons/index.mjs +4 -0
  60. package/resources/v1/events/addons/index.mjs.map +1 -0
  61. package/resources/v1/events/addons.d.mts +2 -0
  62. package/resources/v1/events/addons.d.mts.map +1 -0
  63. package/resources/v1/events/addons.d.ts +2 -0
  64. package/resources/v1/events/addons.d.ts.map +1 -0
  65. package/resources/v1/events/addons.js +6 -0
  66. package/resources/v1/events/addons.js.map +1 -0
  67. package/resources/v1/events/addons.mjs +3 -0
  68. package/resources/v1/events/addons.mjs.map +1 -0
  69. package/resources/v1/events/events.d.mts +75 -0
  70. package/resources/v1/events/events.d.mts.map +1 -0
  71. package/resources/v1/events/events.d.ts +75 -0
  72. package/resources/v1/events/events.d.ts.map +1 -0
  73. package/resources/v1/events/events.js +32 -0
  74. package/resources/v1/events/events.js.map +1 -0
  75. package/resources/v1/events/events.mjs +27 -0
  76. package/resources/v1/events/events.mjs.map +1 -0
  77. package/resources/v1/events/features.d.mts +856 -0
  78. package/resources/v1/events/features.d.mts.map +1 -0
  79. package/resources/v1/events/features.d.ts +856 -0
  80. package/resources/v1/events/features.d.ts.map +1 -0
  81. package/resources/v1/events/features.js +51 -0
  82. package/resources/v1/events/features.js.map +1 -0
  83. package/resources/v1/events/features.mjs +47 -0
  84. package/resources/v1/events/features.mjs.map +1 -0
  85. package/resources/v1/events/index.d.mts +5 -0
  86. package/resources/v1/events/index.d.mts.map +1 -0
  87. package/resources/v1/events/index.d.ts +5 -0
  88. package/resources/v1/events/index.d.ts.map +1 -0
  89. package/resources/v1/events/index.js +13 -0
  90. package/resources/v1/events/index.js.map +1 -0
  91. package/resources/v1/events/index.mjs +6 -0
  92. package/resources/v1/events/index.mjs.map +1 -0
  93. package/resources/v1/events/plans.d.mts +348 -0
  94. package/resources/v1/events/plans.d.mts.map +1 -0
  95. package/resources/v1/events/plans.d.ts +348 -0
  96. package/resources/v1/events/plans.d.ts.map +1 -0
  97. package/resources/v1/events/plans.js +30 -0
  98. package/resources/v1/events/plans.js.map +1 -0
  99. package/resources/v1/events/plans.mjs +26 -0
  100. package/resources/v1/events/plans.mjs.map +1 -0
  101. package/resources/v1/events.d.mts +1 -62
  102. package/resources/v1/events.d.mts.map +1 -1
  103. package/resources/v1/events.d.ts +1 -62
  104. package/resources/v1/events.d.ts.map +1 -1
  105. package/resources/v1/events.js +2 -12
  106. package/resources/v1/events.js.map +1 -1
  107. package/resources/v1/events.mjs +1 -10
  108. package/resources/v1/events.mjs.map +1 -1
  109. package/resources/v1/index.d.mts +3 -3
  110. package/resources/v1/index.d.mts.map +1 -1
  111. package/resources/v1/index.d.ts +3 -3
  112. package/resources/v1/index.d.ts.map +1 -1
  113. package/resources/v1/index.js +4 -4
  114. package/resources/v1/index.js.map +1 -1
  115. package/resources/v1/index.mjs +1 -1
  116. package/resources/v1/index.mjs.map +1 -1
  117. package/resources/v1/products.d.mts +551 -1
  118. package/resources/v1/products.d.mts.map +1 -1
  119. package/resources/v1/products.d.ts +551 -1
  120. package/resources/v1/products.d.ts.map +1 -1
  121. package/resources/v1/products.js +33 -0
  122. package/resources/v1/products.js.map +1 -1
  123. package/resources/v1/products.mjs +33 -0
  124. package/resources/v1/products.mjs.map +1 -1
  125. package/resources/v1/subscriptions/index.d.mts +2 -0
  126. package/resources/v1/subscriptions/index.d.mts.map +1 -1
  127. package/resources/v1/subscriptions/index.d.ts +2 -0
  128. package/resources/v1/subscriptions/index.d.ts.map +1 -1
  129. package/resources/v1/subscriptions/index.js +5 -1
  130. package/resources/v1/subscriptions/index.js.map +1 -1
  131. package/resources/v1/subscriptions/index.mjs +2 -0
  132. package/resources/v1/subscriptions/index.mjs.map +1 -1
  133. package/resources/v1/subscriptions/invoice.d.mts +34 -0
  134. package/resources/v1/subscriptions/invoice.d.mts.map +1 -0
  135. package/resources/v1/subscriptions/invoice.d.ts +34 -0
  136. package/resources/v1/subscriptions/invoice.d.ts.map +1 -0
  137. package/resources/v1/subscriptions/invoice.js +17 -0
  138. package/resources/v1/subscriptions/invoice.js.map +1 -0
  139. package/resources/v1/subscriptions/invoice.mjs +13 -0
  140. package/resources/v1/subscriptions/invoice.mjs.map +1 -0
  141. package/resources/v1/subscriptions/subscriptions.d.mts +15 -7
  142. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  143. package/resources/v1/subscriptions/subscriptions.d.ts +15 -7
  144. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  145. package/resources/v1/subscriptions/subscriptions.js +8 -0
  146. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  147. package/resources/v1/subscriptions/subscriptions.mjs +8 -0
  148. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  149. package/resources/v1/subscriptions/usage.d.mts +98 -0
  150. package/resources/v1/subscriptions/usage.d.mts.map +1 -0
  151. package/resources/v1/subscriptions/usage.d.ts +98 -0
  152. package/resources/v1/subscriptions/usage.d.ts.map +1 -0
  153. package/resources/v1/subscriptions/usage.js +24 -0
  154. package/resources/v1/subscriptions/usage.js.map +1 -0
  155. package/resources/v1/subscriptions/usage.mjs +20 -0
  156. package/resources/v1/subscriptions/usage.mjs.map +1 -0
  157. package/resources/v1/v1.d.mts +6 -6
  158. package/resources/v1/v1.d.mts.map +1 -1
  159. package/resources/v1/v1.d.ts +6 -6
  160. package/resources/v1/v1.d.ts.map +1 -1
  161. package/resources/v1/v1.js +2 -2
  162. package/resources/v1/v1.js.map +1 -1
  163. package/resources/v1/v1.mjs +2 -2
  164. package/resources/v1/v1.mjs.map +1 -1
  165. package/src/client.ts +8 -0
  166. package/src/resources/v1/coupons.ts +32 -0
  167. package/src/resources/v1/customers/customers.ts +10 -4
  168. package/src/resources/v1/customers/index.ts +5 -2
  169. package/src/resources/v1/customers/promotional-entitlements.ts +217 -16
  170. package/src/resources/v1/events/addons/addons.ts +761 -0
  171. package/src/resources/v1/events/addons/draft.ts +151 -0
  172. package/src/resources/v1/events/addons/index.ts +17 -0
  173. package/src/resources/v1/events/addons.ts +3 -0
  174. package/src/resources/v1/events/events.ts +160 -0
  175. package/src/resources/v1/events/features.ts +1066 -0
  176. package/src/resources/v1/events/index.ts +39 -0
  177. package/src/resources/v1/events/plans.ts +429 -0
  178. package/src/resources/v1/events.ts +1 -72
  179. package/src/resources/v1/index.ts +10 -1
  180. package/src/resources/v1/products.ts +672 -0
  181. package/src/resources/v1/subscriptions/index.ts +7 -0
  182. package/src/resources/v1/subscriptions/invoice.ts +42 -0
  183. package/src/resources/v1/subscriptions/subscriptions.ts +24 -7
  184. package/src/resources/v1/subscriptions/usage.ts +126 -0
  185. package/src/resources/v1/v1.ts +20 -2
  186. package/src/version.ts +1 -1
  187. package/version.d.mts +1 -1
  188. package/version.d.ts +1 -1
  189. package/version.js +1 -1
  190. package/version.mjs +1 -1
@@ -6,12 +6,12 @@ var coupons_1 = require("./coupons.js");
6
6
  Object.defineProperty(exports, "Coupons", { enumerable: true, get: function () { return coupons_1.Coupons; } });
7
7
  var index_1 = require("./customers/index.js");
8
8
  Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return index_1.Customers; } });
9
- var events_1 = require("./events.js");
10
- Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return events_1.Events; } });
9
+ var index_2 = require("./events/index.js");
10
+ Object.defineProperty(exports, "Events", { enumerable: true, get: function () { return index_2.Events; } });
11
11
  var products_1 = require("./products.js");
12
12
  Object.defineProperty(exports, "Products", { enumerable: true, get: function () { return products_1.Products; } });
13
- var index_2 = require("./subscriptions/index.js");
14
- Object.defineProperty(exports, "Subscriptions", { enumerable: true, get: function () { return index_2.Subscriptions; } });
13
+ var index_3 = require("./subscriptions/index.js");
14
+ Object.defineProperty(exports, "Subscriptions", { enumerable: true, get: function () { return index_3.Subscriptions; } });
15
15
  var usage_1 = require("./usage.js");
16
16
  Object.defineProperty(exports, "Usage", { enumerable: true, get: function () { return usage_1.Usage; } });
17
17
  var v1_1 = require("./v1.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAOmB;AANjB,kGAAA,OAAO,OAAA;AAOT,8CAa2B;AAZzB,kGAAA,SAAS,OAAA;AAaX,sCAAoF;AAA3E,gGAAA,MAAM,OAAA;AACf,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,kDAiB+B;AAhB7B,sGAAA,aAAa,OAAA;AAiBf,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,8CAa2B;AAZzB,kGAAA,SAAS,OAAA;AAaX,2CAA0F;AAAjF,+FAAA,MAAM,OAAA;AACf,0CAaoB;AAZlB,oGAAA,QAAQ,OAAA;AAaV,kDAiB+B;AAhB7B,sGAAA,aAAa,OAAA;AAiBf,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Coupons, } from "./coupons.mjs";
3
3
  export { Customers, } from "./customers/index.mjs";
4
- export { Events } from "./events.mjs";
4
+ export { Events } from "./events/index.mjs";
5
5
  export { Products, } from "./products.mjs";
6
6
  export { Subscriptions, } from "./subscriptions/index.mjs";
7
7
  export { Usage, } from "./usage.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAMR;OACM,EACL,SAAS,GAYV;OACM,EAAE,MAAM,EAAoD;OAC5D,EACL,QAAQ,GAIT;OACM,EACL,aAAa,GAgBd;OACM,EACL,KAAK,GAKN;OACM,EAAE,EAAE,EAAE"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAOR;OACM,EACL,SAAS,GAYV;OACM,EAAE,MAAM,EAAoD;OAC5D,EACL,QAAQ,GAYT;OACM,EACL,aAAa,GAgBd;OACM,EACL,KAAK,GAKN;OACM,EAAE,EAAE,EAAE"}
@@ -1,13 +1,294 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
2
3
  import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from "../../core/pagination.mjs";
3
4
  import { RequestOptions } from "../../internal/request-options.mjs";
4
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(pathID: string, body: ProductDuplicateProductParams, options?: RequestOptions): APIPromise<ProductDuplicateProductResponse>;
5
19
  /**
6
20
  * Retrieves a paginated list of products in the environment.
7
21
  */
8
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>;
9
32
  }
10
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
+ }
11
292
  /**
12
293
  * Product configuration object
13
294
  */
@@ -83,6 +364,216 @@ export declare namespace ProductListProductsResponse {
83
364
  subscriptionStartPlanId?: string | null;
84
365
  }
85
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
+ * The unique identifier for the entity
566
+ */
567
+ body_id: string;
568
+ /**
569
+ * Description of the product
570
+ */
571
+ description?: string | null;
572
+ /**
573
+ * Display name of the product
574
+ */
575
+ displayName?: string;
576
+ }
86
577
  export interface ProductListProductsParams extends MyCursorIDPageParams {
87
578
  /**
88
579
  * Filter by entity ID
@@ -120,7 +611,66 @@ export declare namespace ProductListProductsParams {
120
611
  lte?: string;
121
612
  }
122
613
  }
614
+ export interface ProductUpdateProductParams {
615
+ /**
616
+ * Description of the product
617
+ */
618
+ description?: string | null;
619
+ /**
620
+ * Display name of the product
621
+ */
622
+ displayName?: string;
623
+ /**
624
+ * Additional metadata for the product
625
+ */
626
+ metadata?: {
627
+ [key: string]: string;
628
+ } | null;
629
+ /**
630
+ * Indicates if multiple subscriptions to this product are allowed
631
+ */
632
+ multipleSubscriptions?: boolean;
633
+ productSettings?: ProductUpdateProductParams.ProductSettings;
634
+ /**
635
+ * Rule defining when usage resets upon subscription update.
636
+ */
637
+ usageResetCutoffRule?: ProductUpdateProductParams.UsageResetCutoffRule;
638
+ }
639
+ export declare namespace ProductUpdateProductParams {
640
+ interface ProductSettings {
641
+ /**
642
+ * Time when the subscription will be cancelled
643
+ */
644
+ subscriptionCancellationTime: 'END_OF_BILLING_PERIOD' | 'IMMEDIATE' | 'SPECIFIC_DATE';
645
+ /**
646
+ * Setup for the end of the subscription
647
+ */
648
+ subscriptionEndSetup: 'DOWNGRADE_TO_FREE' | 'CANCEL_SUBSCRIPTION';
649
+ /**
650
+ * Setup for the start of the subscription
651
+ */
652
+ subscriptionStartSetup: 'PLAN_SELECTION' | 'TRIAL_PERIOD' | 'FREE_PLAN';
653
+ /**
654
+ * ID of the plan to downgrade to at the end of the billing period
655
+ */
656
+ downgradePlanId?: string | null;
657
+ prorateAtEndOfBillingPeriod?: boolean | null;
658
+ /**
659
+ * ID of the plan to start the subscription with
660
+ */
661
+ subscriptionStartPlanId?: string | null;
662
+ }
663
+ /**
664
+ * Rule defining when usage resets upon subscription update.
665
+ */
666
+ interface UsageResetCutoffRule {
667
+ /**
668
+ * Behavior of the usage reset cutoff rule
669
+ */
670
+ behavior: 'NEVER_RESET' | 'ALWAYS_RESET' | 'BILLING_PERIOD_CHANGE';
671
+ }
672
+ }
123
673
  export declare namespace Products {
124
- export { type ProductListProductsResponse as ProductListProductsResponse, type ProductListProductsResponsesMyCursorIDPage as ProductListProductsResponsesMyCursorIDPage, type ProductListProductsParams as ProductListProductsParams, };
674
+ 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, };
125
675
  }
126
676
  //# sourceMappingURL=products.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.mts","sourceRoot":"","sources":["../../src/resources/v1/products.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,YAAY,CACV,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0CAA0C,EAAE,2BAA2B,CAAC;CAMxF;AAED,MAAM,MAAM,0CAA0C,GAAG,cAAc,CAAC,2BAA2B,CAAC,CAAC;AAErG;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEpC;;OAEG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,MAAM,EAAE,WAAW,GAAG,UAAU,CAAC;IAEjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,eAAe,CAAC,EAAE,2BAA2B,CAAC,eAAe,CAAC;CAC/D;AAED,yBAAiB,2BAA2B,CAAC;IAC3C;;OAEG;IACH,UAAiB,eAAe;QAC9B;;WAEG;QACH,4BAA4B,EAAE,uBAAuB,GAAG,WAAW,GAAG,eAAe,CAAC;QAEtF;;WAEG;QACH,oBAAoB,EAAE,mBAAmB,GAAG,qBAAqB,CAAC;QAElE;;WAEG;QACH,sBAAsB,EAAE,gBAAgB,GAA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