@kelviq/mcp-server 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +322 -0
  3. package/dist/config.d.ts +16 -0
  4. package/dist/config.js +45 -0
  5. package/dist/config.js.map +1 -0
  6. package/dist/docs/README.md +128 -0
  7. package/dist/docs/api-reference/authentication.md +41 -0
  8. package/dist/docs/backend-integration/node-sdk.md +1040 -0
  9. package/dist/docs/backend-integration/python-sdk.md +1198 -0
  10. package/dist/docs/changelog/app.md +80 -0
  11. package/dist/docs/changelog/checkout-api.md +59 -0
  12. package/dist/docs/changelog/js-promotions-ui.md +14 -0
  13. package/dist/docs/changelog/js-sdk.md +281 -0
  14. package/dist/docs/changelog/node-sdk.md +378 -0
  15. package/dist/docs/changelog/python-sdk.md +456 -0
  16. package/dist/docs/changelog/react-sdk.md +580 -0
  17. package/dist/docs/checkout/checkout-configuration.md +434 -0
  18. package/dist/docs/coustomers-management/overview.md +111 -0
  19. package/dist/docs/customer-portal/overview.md +81 -0
  20. package/dist/docs/frontend-integration/js-sdk.md +676 -0
  21. package/dist/docs/frontend-integration/promotions-ui-js.md +265 -0
  22. package/dist/docs/frontend-integration/react-promotions-ui.md +361 -0
  23. package/dist/docs/frontend-integration/react-sdk.md +1187 -0
  24. package/dist/docs/frontend-integration/react-ui.md +771 -0
  25. package/dist/docs/getstarted/fees.md +160 -0
  26. package/dist/docs/getstarted/introduction-to-kelviq.md +80 -0
  27. package/dist/docs/getstarted/merchant-of-record.md +64 -0
  28. package/dist/docs/getstarted/review-process.md +190 -0
  29. package/dist/docs/guides/subscription-integration-for-nextjs.md +512 -0
  30. package/dist/docs/guides/subscription-integration.md +291 -0
  31. package/dist/docs/guides/webhooks.md +963 -0
  32. package/dist/docs/legal/approved-prohibited-policy.md +252 -0
  33. package/dist/docs/legal/buyer-terms.md +177 -0
  34. package/dist/docs/legal/compliant-user-flow.md +216 -0
  35. package/dist/docs/legal/master-service-agreement.md +404 -0
  36. package/dist/docs/legal/payment-flow-diagram.md +188 -0
  37. package/dist/docs/legal/seller-terms.md +169 -0
  38. package/dist/docs/manifest.json +415 -0
  39. package/dist/docs/monetization/offerings.md +156 -0
  40. package/dist/docs/monetization/pricing-tables.md +226 -0
  41. package/dist/docs/monetization/targeting-rules.md +278 -0
  42. package/dist/docs/openapi.json +5479 -0
  43. package/dist/docs/payouts/overview.md +43 -0
  44. package/dist/docs/payouts/payout-account.md +12 -0
  45. package/dist/docs/payouts/transactions.md +23 -0
  46. package/dist/docs/product-catalog/digital-downloads.md +117 -0
  47. package/dist/docs/product-catalog/discounts.md +69 -0
  48. package/dist/docs/product-catalog/entitlements.md +428 -0
  49. package/dist/docs/product-catalog/free-and-trials.md +36 -0
  50. package/dist/docs/product-catalog/license-keys.md +324 -0
  51. package/dist/docs/product-catalog/links.md +92 -0
  52. package/dist/docs/product-catalog/location-based-pricing.md +41 -0
  53. package/dist/docs/product-catalog/one-time-payments.md +24 -0
  54. package/dist/docs/product-catalog/plans.md +199 -0
  55. package/dist/docs/product-catalog/products.md +60 -0
  56. package/dist/docs/product-catalog/subscriptions.md +29 -0
  57. package/dist/docs/product-catalog/tax-settings.md +37 -0
  58. package/dist/docs/product-catalog/usage-based-billing.md +119 -0
  59. package/dist/docs/promotions/create-a-promotion.md +75 -0
  60. package/dist/docs/promotions/customize-banner.md +41 -0
  61. package/dist/docs/promotions/integrate.md +38 -0
  62. package/dist/docs/promotions/overview.md +51 -0
  63. package/dist/docs/quickstart/core-concepts.md +146 -0
  64. package/dist/docs/quickstart/dashboard-setup.md +129 -0
  65. package/dist/docs/quickstart/integrate-with-your-app.md +149 -0
  66. package/dist/docs/sales/checkout-sessions.md +58 -0
  67. package/dist/docs/sales/orders.md +76 -0
  68. package/dist/http/client.d.ts +28 -0
  69. package/dist/http/client.js +76 -0
  70. package/dist/http/client.js.map +1 -0
  71. package/dist/http/errors.d.ts +20 -0
  72. package/dist/http/errors.js +58 -0
  73. package/dist/http/errors.js.map +1 -0
  74. package/dist/resources/docs-index.d.ts +25 -0
  75. package/dist/resources/docs-index.js +109 -0
  76. package/dist/resources/docs-index.js.map +1 -0
  77. package/dist/resources/index.d.ts +2 -0
  78. package/dist/resources/index.js +73 -0
  79. package/dist/resources/index.js.map +1 -0
  80. package/dist/schemas/kelviq.d.ts +1304 -0
  81. package/dist/schemas/kelviq.js +468 -0
  82. package/dist/schemas/kelviq.js.map +1 -0
  83. package/dist/server.d.ts +2 -0
  84. package/dist/server.js +41 -0
  85. package/dist/server.js.map +1 -0
  86. package/dist/tools/_util.d.ts +15 -0
  87. package/dist/tools/_util.js +15 -0
  88. package/dist/tools/_util.js.map +1 -0
  89. package/dist/tools/checkout.d.ts +3 -0
  90. package/dist/tools/checkout.js +18 -0
  91. package/dist/tools/checkout.js.map +1 -0
  92. package/dist/tools/customers.d.ts +3 -0
  93. package/dist/tools/customers.js +32 -0
  94. package/dist/tools/customers.js.map +1 -0
  95. package/dist/tools/docs.d.ts +2 -0
  96. package/dist/tools/docs.js +43 -0
  97. package/dist/tools/docs.js.map +1 -0
  98. package/dist/tools/entitlements.d.ts +3 -0
  99. package/dist/tools/entitlements.js +22 -0
  100. package/dist/tools/entitlements.js.map +1 -0
  101. package/dist/tools/features.d.ts +3 -0
  102. package/dist/tools/features.js +55 -0
  103. package/dist/tools/features.js.map +1 -0
  104. package/dist/tools/index.d.ts +3 -0
  105. package/dist/tools/index.js +44 -0
  106. package/dist/tools/index.js.map +1 -0
  107. package/dist/tools/licenses.d.ts +3 -0
  108. package/dist/tools/licenses.js +44 -0
  109. package/dist/tools/licenses.js.map +1 -0
  110. package/dist/tools/media.d.ts +3 -0
  111. package/dist/tools/media.js +18 -0
  112. package/dist/tools/media.js.map +1 -0
  113. package/dist/tools/offerings.d.ts +3 -0
  114. package/dist/tools/offerings.js +21 -0
  115. package/dist/tools/offerings.js.map +1 -0
  116. package/dist/tools/partner.d.ts +3 -0
  117. package/dist/tools/partner.js +55 -0
  118. package/dist/tools/partner.js.map +1 -0
  119. package/dist/tools/plan-entitlements.d.ts +3 -0
  120. package/dist/tools/plan-entitlements.js +56 -0
  121. package/dist/tools/plan-entitlements.js.map +1 -0
  122. package/dist/tools/plan-files.d.ts +3 -0
  123. package/dist/tools/plan-files.js +43 -0
  124. package/dist/tools/plan-files.js.map +1 -0
  125. package/dist/tools/plans.d.ts +3 -0
  126. package/dist/tools/plans.js +120 -0
  127. package/dist/tools/plans.js.map +1 -0
  128. package/dist/tools/portal.d.ts +3 -0
  129. package/dist/tools/portal.js +18 -0
  130. package/dist/tools/portal.js.map +1 -0
  131. package/dist/tools/product-files.d.ts +3 -0
  132. package/dist/tools/product-files.js +31 -0
  133. package/dist/tools/product-files.js.map +1 -0
  134. package/dist/tools/product-settings.d.ts +3 -0
  135. package/dist/tools/product-settings.js +31 -0
  136. package/dist/tools/product-settings.js.map +1 -0
  137. package/dist/tools/products.d.ts +3 -0
  138. package/dist/tools/products.js +69 -0
  139. package/dist/tools/products.js.map +1 -0
  140. package/dist/tools/promotions.d.ts +3 -0
  141. package/dist/tools/promotions.js +19 -0
  142. package/dist/tools/promotions.js.map +1 -0
  143. package/dist/tools/subscriptions.d.ts +3 -0
  144. package/dist/tools/subscriptions.js +63 -0
  145. package/dist/tools/subscriptions.js.map +1 -0
  146. package/dist/tools/usage.d.ts +3 -0
  147. package/dist/tools/usage.js +18 -0
  148. package/dist/tools/usage.js.map +1 -0
  149. package/package.json +88 -0
@@ -0,0 +1,1304 @@
1
+ /**
2
+ * Zod schemas for Kelviq API request bodies & query params.
3
+ *
4
+ * Names mirror the OpenAPI `components.schemas` so cross-referencing the spec
5
+ * is straightforward. We define request inputs here (what tools accept);
6
+ * responses are passed through as `unknown` and serialized to JSON for the
7
+ * LLM — there's no benefit to validating server responses inside the MCP server.
8
+ */
9
+ import { z } from 'zod';
10
+ export declare const ChargePeriod: z.ZodEnum<["ONE_TIME", "MONTHLY", "YEARLY", "WEEKLY", "DAILY", "THREE_MONTHS", "SIX_MONTHS"]>;
11
+ export declare const UsageBehaviour: z.ZodEnum<["SET", "DELTA"]>;
12
+ export declare const CancellationType: z.ZodEnum<["IMMEDIATE", "CURRENT_PERIOD_ENDS", "SPECIFIC_DATE"]>;
13
+ export declare const BillingAddress: z.ZodObject<{
14
+ country: z.ZodString;
15
+ line1: z.ZodString;
16
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ postalCode: z.ZodString;
18
+ city: z.ZodString;
19
+ state: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ country: string;
22
+ line1: string;
23
+ postalCode: string;
24
+ city: string;
25
+ state: string;
26
+ line2?: string | null | undefined;
27
+ }, {
28
+ country: string;
29
+ line1: string;
30
+ postalCode: string;
31
+ city: string;
32
+ state: string;
33
+ line2?: string | null | undefined;
34
+ }>;
35
+ export declare const FeatureInput: z.ZodObject<{
36
+ identifier: z.ZodString;
37
+ quantity: z.ZodNumber;
38
+ }, "strip", z.ZodTypeAny, {
39
+ identifier: string;
40
+ quantity: number;
41
+ }, {
42
+ identifier: string;
43
+ quantity: number;
44
+ }>;
45
+ export declare const CustomerCreate: z.ZodObject<{
46
+ customerId: z.ZodString;
47
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
50
+ billingAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
51
+ country: z.ZodString;
52
+ line1: z.ZodString;
53
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ postalCode: z.ZodString;
55
+ city: z.ZodString;
56
+ state: z.ZodString;
57
+ }, "strip", z.ZodTypeAny, {
58
+ country: string;
59
+ line1: string;
60
+ postalCode: string;
61
+ city: string;
62
+ state: string;
63
+ line2?: string | null | undefined;
64
+ }, {
65
+ country: string;
66
+ line1: string;
67
+ postalCode: string;
68
+ city: string;
69
+ state: string;
70
+ line2?: string | null | undefined;
71
+ }>>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ customerId: string;
74
+ email?: string | null | undefined;
75
+ name?: string | null | undefined;
76
+ metadata?: Record<string, string> | null | undefined;
77
+ billingAddress?: {
78
+ country: string;
79
+ line1: string;
80
+ postalCode: string;
81
+ city: string;
82
+ state: string;
83
+ line2?: string | null | undefined;
84
+ } | null | undefined;
85
+ }, {
86
+ customerId: string;
87
+ email?: string | null | undefined;
88
+ name?: string | null | undefined;
89
+ metadata?: Record<string, string> | null | undefined;
90
+ billingAddress?: {
91
+ country: string;
92
+ line1: string;
93
+ postalCode: string;
94
+ city: string;
95
+ state: string;
96
+ line2?: string | null | undefined;
97
+ } | null | undefined;
98
+ }>;
99
+ export declare const CustomerUpdate: z.ZodObject<{
100
+ customerId: z.ZodString;
101
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
104
+ billingAddress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
+ country: z.ZodString;
106
+ line1: z.ZodString;
107
+ line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
108
+ postalCode: z.ZodString;
109
+ city: z.ZodString;
110
+ state: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ country: string;
113
+ line1: string;
114
+ postalCode: string;
115
+ city: string;
116
+ state: string;
117
+ line2?: string | null | undefined;
118
+ }, {
119
+ country: string;
120
+ line1: string;
121
+ postalCode: string;
122
+ city: string;
123
+ state: string;
124
+ line2?: string | null | undefined;
125
+ }>>>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ customerId: string;
128
+ email?: string | null | undefined;
129
+ name?: string | null | undefined;
130
+ metadata?: Record<string, string> | null | undefined;
131
+ billingAddress?: {
132
+ country: string;
133
+ line1: string;
134
+ postalCode: string;
135
+ city: string;
136
+ state: string;
137
+ line2?: string | null | undefined;
138
+ } | null | undefined;
139
+ }, {
140
+ customerId: string;
141
+ email?: string | null | undefined;
142
+ name?: string | null | undefined;
143
+ metadata?: Record<string, string> | null | undefined;
144
+ billingAddress?: {
145
+ country: string;
146
+ line1: string;
147
+ postalCode: string;
148
+ city: string;
149
+ state: string;
150
+ line2?: string | null | undefined;
151
+ } | null | undefined;
152
+ }>;
153
+ export declare const CreateCheckoutSession: z.ZodObject<{
154
+ planIdentifier: z.ZodString;
155
+ successUrl: z.ZodString;
156
+ chargePeriod: z.ZodEnum<["ONE_TIME", "MONTHLY", "YEARLY", "WEEKLY", "DAILY", "THREE_MONTHS", "SIX_MONTHS"]>;
157
+ customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
159
+ identifier: z.ZodString;
160
+ quantity: z.ZodNumber;
161
+ }, "strip", z.ZodTypeAny, {
162
+ identifier: string;
163
+ quantity: number;
164
+ }, {
165
+ identifier: string;
166
+ quantity: number;
167
+ }>, "many">>>;
168
+ ipAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
+ cancelUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
+ plansEnabled: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ planIdentifier: string;
173
+ successUrl: string;
174
+ chargePeriod: "ONE_TIME" | "MONTHLY" | "YEARLY" | "WEEKLY" | "DAILY" | "THREE_MONTHS" | "SIX_MONTHS";
175
+ customerId?: string | null | undefined;
176
+ features?: {
177
+ identifier: string;
178
+ quantity: number;
179
+ }[] | null | undefined;
180
+ ipAddress?: string | null | undefined;
181
+ cancelUrl?: string | null | undefined;
182
+ plansEnabled?: string | null | undefined;
183
+ }, {
184
+ planIdentifier: string;
185
+ successUrl: string;
186
+ chargePeriod: "ONE_TIME" | "MONTHLY" | "YEARLY" | "WEEKLY" | "DAILY" | "THREE_MONTHS" | "SIX_MONTHS";
187
+ customerId?: string | null | undefined;
188
+ features?: {
189
+ identifier: string;
190
+ quantity: number;
191
+ }[] | null | undefined;
192
+ ipAddress?: string | null | undefined;
193
+ cancelUrl?: string | null | undefined;
194
+ plansEnabled?: string | null | undefined;
195
+ }>;
196
+ export declare const GetEntitlements: z.ZodObject<{
197
+ customerId: z.ZodString;
198
+ featureId: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ customerId: string;
201
+ featureId?: string | undefined;
202
+ }, {
203
+ customerId: string;
204
+ featureId?: string | undefined;
205
+ }>;
206
+ export declare const LicenseActivate: z.ZodObject<{
207
+ licenseKey: z.ZodString;
208
+ customerId: z.ZodOptional<z.ZodString>;
209
+ instanceName: z.ZodOptional<z.ZodString>;
210
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ licenseKey: string;
213
+ customerId?: string | undefined;
214
+ metadata?: Record<string, unknown> | undefined;
215
+ instanceName?: string | undefined;
216
+ }, {
217
+ licenseKey: string;
218
+ customerId?: string | undefined;
219
+ metadata?: Record<string, unknown> | undefined;
220
+ instanceName?: string | undefined;
221
+ }>;
222
+ export declare const LicenseDeactivate: z.ZodObject<{
223
+ licenseKey: z.ZodString;
224
+ instanceId: z.ZodString;
225
+ }, "strip", z.ZodTypeAny, {
226
+ licenseKey: string;
227
+ instanceId: string;
228
+ }, {
229
+ licenseKey: string;
230
+ instanceId: string;
231
+ }>;
232
+ export declare const LicenseValidate: z.ZodObject<{
233
+ licenseKey: z.ZodString;
234
+ instanceId: z.ZodOptional<z.ZodString>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ licenseKey: string;
237
+ instanceId?: string | undefined;
238
+ }, {
239
+ licenseKey: string;
240
+ instanceId?: string | undefined;
241
+ }>;
242
+ export declare const ReportUsage: z.ZodObject<{
243
+ customerId: z.ZodString;
244
+ featureId: z.ZodString;
245
+ value: z.ZodNumber;
246
+ behaviour: z.ZodEnum<["SET", "DELTA"]>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ value: number;
249
+ customerId: string;
250
+ featureId: string;
251
+ behaviour: "SET" | "DELTA";
252
+ }, {
253
+ value: number;
254
+ customerId: string;
255
+ featureId: string;
256
+ behaviour: "SET" | "DELTA";
257
+ }>;
258
+ export declare const CreateSubscription: z.ZodObject<{
259
+ planIdentifier: z.ZodString;
260
+ chargePeriod: z.ZodEnum<["ONE_TIME", "MONTHLY", "YEARLY", "WEEKLY", "DAILY", "THREE_MONTHS", "SIX_MONTHS"]>;
261
+ customerId: z.ZodString;
262
+ successUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
+ features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
264
+ identifier: z.ZodString;
265
+ quantity: z.ZodNumber;
266
+ }, "strip", z.ZodTypeAny, {
267
+ identifier: string;
268
+ quantity: number;
269
+ }, {
270
+ identifier: string;
271
+ quantity: number;
272
+ }>, "many">>>;
273
+ ipAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ customerId: string;
276
+ planIdentifier: string;
277
+ chargePeriod: "ONE_TIME" | "MONTHLY" | "YEARLY" | "WEEKLY" | "DAILY" | "THREE_MONTHS" | "SIX_MONTHS";
278
+ successUrl?: string | null | undefined;
279
+ features?: {
280
+ identifier: string;
281
+ quantity: number;
282
+ }[] | null | undefined;
283
+ ipAddress?: string | null | undefined;
284
+ }, {
285
+ customerId: string;
286
+ planIdentifier: string;
287
+ chargePeriod: "ONE_TIME" | "MONTHLY" | "YEARLY" | "WEEKLY" | "DAILY" | "THREE_MONTHS" | "SIX_MONTHS";
288
+ successUrl?: string | null | undefined;
289
+ features?: {
290
+ identifier: string;
291
+ quantity: number;
292
+ }[] | null | undefined;
293
+ ipAddress?: string | null | undefined;
294
+ }>;
295
+ export declare const ListSubscriptions: z.ZodObject<{
296
+ customerId: z.ZodOptional<z.ZodString>;
297
+ page: z.ZodOptional<z.ZodNumber>;
298
+ pageSize: z.ZodOptional<z.ZodNumber>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ customerId?: string | undefined;
301
+ page?: number | undefined;
302
+ pageSize?: number | undefined;
303
+ }, {
304
+ customerId?: string | undefined;
305
+ page?: number | undefined;
306
+ pageSize?: number | undefined;
307
+ }>;
308
+ export declare const UpdateSubscription: z.ZodObject<{
309
+ subscriptionId: z.ZodString;
310
+ planIdentifier: z.ZodString;
311
+ chargePeriod: z.ZodEnum<["ONE_TIME", "MONTHLY", "YEARLY", "WEEKLY", "DAILY", "THREE_MONTHS", "SIX_MONTHS"]>;
312
+ features: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
313
+ identifier: z.ZodString;
314
+ quantity: z.ZodNumber;
315
+ }, "strip", z.ZodTypeAny, {
316
+ identifier: string;
317
+ quantity: number;
318
+ }, {
319
+ identifier: string;
320
+ quantity: number;
321
+ }>, "many">>>;
322
+ ipAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ planIdentifier: string;
325
+ chargePeriod: "ONE_TIME" | "MONTHLY" | "YEARLY" | "WEEKLY" | "DAILY" | "THREE_MONTHS" | "SIX_MONTHS";
326
+ subscriptionId: string;
327
+ features?: {
328
+ identifier: string;
329
+ quantity: number;
330
+ }[] | null | undefined;
331
+ ipAddress?: string | null | undefined;
332
+ }, {
333
+ planIdentifier: string;
334
+ chargePeriod: "ONE_TIME" | "MONTHLY" | "YEARLY" | "WEEKLY" | "DAILY" | "THREE_MONTHS" | "SIX_MONTHS";
335
+ subscriptionId: string;
336
+ features?: {
337
+ identifier: string;
338
+ quantity: number;
339
+ }[] | null | undefined;
340
+ ipAddress?: string | null | undefined;
341
+ }>;
342
+ export declare const CancelSubscription: z.ZodObject<{
343
+ subscriptionId: z.ZodString;
344
+ cancellationType: z.ZodEnum<["IMMEDIATE", "CURRENT_PERIOD_ENDS", "SPECIFIC_DATE"]>;
345
+ cancellationDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ subscriptionId: string;
348
+ cancellationType: "IMMEDIATE" | "CURRENT_PERIOD_ENDS" | "SPECIFIC_DATE";
349
+ cancellationDate?: string | null | undefined;
350
+ }, {
351
+ subscriptionId: string;
352
+ cancellationType: "IMMEDIATE" | "CURRENT_PERIOD_ENDS" | "SPECIFIC_DATE";
353
+ cancellationDate?: string | null | undefined;
354
+ }>;
355
+ export declare const GetProductOffering: z.ZodObject<{
356
+ productId: z.ZodString;
357
+ customerId: z.ZodOptional<z.ZodString>;
358
+ plansEnabled: z.ZodOptional<z.ZodString>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ productId: string;
361
+ customerId?: string | undefined;
362
+ plansEnabled?: string | undefined;
363
+ }, {
364
+ productId: string;
365
+ customerId?: string | undefined;
366
+ plansEnabled?: string | undefined;
367
+ }>;
368
+ export declare const GetPromotion: z.ZodObject<{
369
+ promotionId: z.ZodString;
370
+ }, "strip", z.ZodTypeAny, {
371
+ promotionId: string;
372
+ }, {
373
+ promotionId: string;
374
+ }>;
375
+ export declare const CreatePortalSession: z.ZodObject<{
376
+ customerId: z.ZodString;
377
+ }, "strip", z.ZodTypeAny, {
378
+ customerId: string;
379
+ }, {
380
+ customerId: string;
381
+ }>;
382
+ export declare const DocsSearch: z.ZodObject<{
383
+ query: z.ZodString;
384
+ limit: z.ZodOptional<z.ZodNumber>;
385
+ section: z.ZodOptional<z.ZodString>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ query: string;
388
+ limit?: number | undefined;
389
+ section?: string | undefined;
390
+ }, {
391
+ query: string;
392
+ limit?: number | undefined;
393
+ section?: string | undefined;
394
+ }>;
395
+ export declare const DocsRead: z.ZodObject<{
396
+ slug: z.ZodString;
397
+ }, "strip", z.ZodTypeAny, {
398
+ slug: string;
399
+ }, {
400
+ slug: string;
401
+ }>;
402
+ export declare const TaxCode: z.ZodEnum<["saas", "saas_business", "software", "videocontent", "informationservice", "ebook", "digitalgraphic", "videogame", "eservice", "training"]>;
403
+ export declare const FeatureType: z.ZodEnum<["BOOLEAN", "CUSTOMIZABLE", "METER"]>;
404
+ export declare const ResetPeriod: z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>;
405
+ export declare const DurationUnit: z.ZodEnum<["DAY", "MONTH", "YEAR"]>;
406
+ export declare const PriceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
407
+ export declare const PriceModel: z.ZodEnum<["FLAT", "PACKAGE", "TIERED", "VOLUME", "STAIRSTEP"]>;
408
+ export declare const TaxBehavior: z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>;
409
+ export declare const PaymentType: z.ZodEnum<["ADVANCE_COMMITMENT", "PAY_AS_YOU_GO"]>;
410
+ export declare const ListProducts: z.ZodObject<{
411
+ search: z.ZodOptional<z.ZodString>;
412
+ page: z.ZodOptional<z.ZodNumber>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ page?: number | undefined;
415
+ search?: string | undefined;
416
+ }, {
417
+ page?: number | undefined;
418
+ search?: string | undefined;
419
+ }>;
420
+ export declare const ProductCreate: z.ZodObject<{
421
+ name: z.ZodString;
422
+ taxCode: z.ZodEnum<["saas", "saas_business", "software", "videocontent", "informationservice", "ebook", "digitalgraphic", "videogame", "eservice", "training"]>;
423
+ identifier: z.ZodOptional<z.ZodString>;
424
+ description: z.ZodOptional<z.ZodString>;
425
+ imageKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ name: string;
428
+ taxCode: "saas" | "saas_business" | "software" | "videocontent" | "informationservice" | "ebook" | "digitalgraphic" | "videogame" | "eservice" | "training";
429
+ identifier?: string | undefined;
430
+ description?: string | undefined;
431
+ imageKeys?: string[] | undefined;
432
+ }, {
433
+ name: string;
434
+ taxCode: "saas" | "saas_business" | "software" | "videocontent" | "informationservice" | "ebook" | "digitalgraphic" | "videogame" | "eservice" | "training";
435
+ identifier?: string | undefined;
436
+ description?: string | undefined;
437
+ imageKeys?: string[] | undefined;
438
+ }>;
439
+ export declare const ProductRetrieve: z.ZodObject<{
440
+ productId: z.ZodString;
441
+ }, "strip", z.ZodTypeAny, {
442
+ productId: string;
443
+ }, {
444
+ productId: string;
445
+ }>;
446
+ export declare const ProductUpdate: z.ZodObject<{
447
+ productId: z.ZodString;
448
+ name: z.ZodOptional<z.ZodString>;
449
+ description: z.ZodOptional<z.ZodString>;
450
+ taxCode: z.ZodOptional<z.ZodEnum<["saas", "saas_business", "software", "videocontent", "informationservice", "ebook", "digitalgraphic", "videogame", "eservice", "training"]>>;
451
+ imageKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
452
+ fileKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ productId: string;
455
+ name?: string | undefined;
456
+ taxCode?: "saas" | "saas_business" | "software" | "videocontent" | "informationservice" | "ebook" | "digitalgraphic" | "videogame" | "eservice" | "training" | undefined;
457
+ description?: string | undefined;
458
+ imageKeys?: string[] | undefined;
459
+ fileKeys?: string[] | undefined;
460
+ }, {
461
+ productId: string;
462
+ name?: string | undefined;
463
+ taxCode?: "saas" | "saas_business" | "software" | "videocontent" | "informationservice" | "ebook" | "digitalgraphic" | "videogame" | "eservice" | "training" | undefined;
464
+ description?: string | undefined;
465
+ imageKeys?: string[] | undefined;
466
+ fileKeys?: string[] | undefined;
467
+ }>;
468
+ export declare const ProductArchive: z.ZodObject<{
469
+ productId: z.ZodString;
470
+ }, "strip", z.ZodTypeAny, {
471
+ productId: string;
472
+ }, {
473
+ productId: string;
474
+ }>;
475
+ export declare const ProductSettingsGet: z.ZodObject<{
476
+ productId: z.ZodString;
477
+ }, "strip", z.ZodTypeAny, {
478
+ productId: string;
479
+ }, {
480
+ productId: string;
481
+ }>;
482
+ export declare const ProductSettingsUpdate: z.ZodObject<{
483
+ productId: z.ZodString;
484
+ vpn: z.ZodOptional<z.ZodBoolean>;
485
+ tor: z.ZodOptional<z.ZodBoolean>;
486
+ proxy: z.ZodOptional<z.ZodBoolean>;
487
+ currency: z.ZodOptional<z.ZodString>;
488
+ productUrl: z.ZodOptional<z.ZodString>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ productId: string;
491
+ vpn?: boolean | undefined;
492
+ tor?: boolean | undefined;
493
+ proxy?: boolean | undefined;
494
+ currency?: string | undefined;
495
+ productUrl?: string | undefined;
496
+ }, {
497
+ productId: string;
498
+ vpn?: boolean | undefined;
499
+ tor?: boolean | undefined;
500
+ proxy?: boolean | undefined;
501
+ currency?: string | undefined;
502
+ productUrl?: string | undefined;
503
+ }>;
504
+ export declare const ProductImageUpdate: z.ZodObject<{
505
+ productId: z.ZodString;
506
+ imageId: z.ZodString;
507
+ name: z.ZodOptional<z.ZodString>;
508
+ ordering: z.ZodOptional<z.ZodNumber>;
509
+ thumbnail: z.ZodOptional<z.ZodBoolean>;
510
+ enabled: z.ZodOptional<z.ZodBoolean>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ productId: string;
513
+ imageId: string;
514
+ name?: string | undefined;
515
+ ordering?: number | undefined;
516
+ thumbnail?: boolean | undefined;
517
+ enabled?: boolean | undefined;
518
+ }, {
519
+ productId: string;
520
+ imageId: string;
521
+ name?: string | undefined;
522
+ ordering?: number | undefined;
523
+ thumbnail?: boolean | undefined;
524
+ enabled?: boolean | undefined;
525
+ }>;
526
+ export declare const ProductImageDelete: z.ZodObject<{
527
+ productId: z.ZodString;
528
+ imageId: z.ZodString;
529
+ }, "strip", z.ZodTypeAny, {
530
+ productId: string;
531
+ imageId: string;
532
+ }, {
533
+ productId: string;
534
+ imageId: string;
535
+ }>;
536
+ export declare const ListFeatures: z.ZodObject<{
537
+ search: z.ZodOptional<z.ZodString>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ search?: string | undefined;
540
+ }, {
541
+ search?: string | undefined;
542
+ }>;
543
+ export declare const FeatureCreate: z.ZodObject<{
544
+ name: z.ZodString;
545
+ featureType: z.ZodEnum<["BOOLEAN", "CUSTOMIZABLE", "METER"]>;
546
+ identifier: z.ZodOptional<z.ZodString>;
547
+ description: z.ZodOptional<z.ZodString>;
548
+ featureDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
549
+ meter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
550
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ name: string;
553
+ featureType: "BOOLEAN" | "CUSTOMIZABLE" | "METER";
554
+ identifier?: string | undefined;
555
+ metadata?: Record<string, unknown> | undefined;
556
+ description?: string | undefined;
557
+ featureDetails?: Record<string, unknown> | undefined;
558
+ meter?: Record<string, unknown> | undefined;
559
+ }, {
560
+ name: string;
561
+ featureType: "BOOLEAN" | "CUSTOMIZABLE" | "METER";
562
+ identifier?: string | undefined;
563
+ metadata?: Record<string, unknown> | undefined;
564
+ description?: string | undefined;
565
+ featureDetails?: Record<string, unknown> | undefined;
566
+ meter?: Record<string, unknown> | undefined;
567
+ }>;
568
+ export declare const FeatureRetrieve: z.ZodObject<{
569
+ featureId: z.ZodString;
570
+ }, "strip", z.ZodTypeAny, {
571
+ featureId: string;
572
+ }, {
573
+ featureId: string;
574
+ }>;
575
+ export declare const FeatureArchive: z.ZodObject<{
576
+ featureId: z.ZodString;
577
+ }, "strip", z.ZodTypeAny, {
578
+ featureId: string;
579
+ }, {
580
+ featureId: string;
581
+ }>;
582
+ export declare const PlanLink: z.ZodObject<{
583
+ name: z.ZodString;
584
+ url: z.ZodString;
585
+ }, "strip", z.ZodTypeAny, {
586
+ name: string;
587
+ url: string;
588
+ }, {
589
+ name: string;
590
+ url: string;
591
+ }>;
592
+ export declare const PlanLicenseConfig: z.ZodObject<{
593
+ enabled: z.ZodOptional<z.ZodBoolean>;
594
+ activationLimit: z.ZodOptional<z.ZodNumber>;
595
+ activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
596
+ durationUnit: z.ZodOptional<z.ZodEnum<["DAY", "MONTH", "YEAR"]>>;
597
+ durationValue: z.ZodOptional<z.ZodNumber>;
598
+ hasExpiry: z.ZodOptional<z.ZodBoolean>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ enabled?: boolean | undefined;
601
+ activationLimit?: number | undefined;
602
+ activationLimitEnabled?: boolean | undefined;
603
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
604
+ durationValue?: number | undefined;
605
+ hasExpiry?: boolean | undefined;
606
+ }, {
607
+ enabled?: boolean | undefined;
608
+ activationLimit?: number | undefined;
609
+ activationLimitEnabled?: boolean | undefined;
610
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
611
+ durationValue?: number | undefined;
612
+ hasExpiry?: boolean | undefined;
613
+ }>;
614
+ export declare const ListPlans: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
615
+ export declare const PlanCreate: z.ZodObject<{
616
+ name: z.ZodString;
617
+ product: z.ZodString;
618
+ identifier: z.ZodOptional<z.ZodString>;
619
+ description: z.ZodOptional<z.ZodString>;
620
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
621
+ isVisible: z.ZodOptional<z.ZodBoolean>;
622
+ license: z.ZodOptional<z.ZodObject<{
623
+ enabled: z.ZodOptional<z.ZodBoolean>;
624
+ activationLimit: z.ZodOptional<z.ZodNumber>;
625
+ activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
626
+ durationUnit: z.ZodOptional<z.ZodEnum<["DAY", "MONTH", "YEAR"]>>;
627
+ durationValue: z.ZodOptional<z.ZodNumber>;
628
+ hasExpiry: z.ZodOptional<z.ZodBoolean>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ enabled?: boolean | undefined;
631
+ activationLimit?: number | undefined;
632
+ activationLimitEnabled?: boolean | undefined;
633
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
634
+ durationValue?: number | undefined;
635
+ hasExpiry?: boolean | undefined;
636
+ }, {
637
+ enabled?: boolean | undefined;
638
+ activationLimit?: number | undefined;
639
+ activationLimitEnabled?: boolean | undefined;
640
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
641
+ durationValue?: number | undefined;
642
+ hasExpiry?: boolean | undefined;
643
+ }>>;
644
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
645
+ name: z.ZodString;
646
+ url: z.ZodString;
647
+ }, "strip", z.ZodTypeAny, {
648
+ name: string;
649
+ url: string;
650
+ }, {
651
+ name: string;
652
+ url: string;
653
+ }>, "many">>;
654
+ fileKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
655
+ ordering: z.ZodOptional<z.ZodNumber>;
656
+ }, "strip", z.ZodTypeAny, {
657
+ name: string;
658
+ product: string;
659
+ identifier?: string | undefined;
660
+ metadata?: Record<string, unknown> | undefined;
661
+ description?: string | undefined;
662
+ fileKeys?: string[] | undefined;
663
+ ordering?: number | undefined;
664
+ isVisible?: boolean | undefined;
665
+ license?: {
666
+ enabled?: boolean | undefined;
667
+ activationLimit?: number | undefined;
668
+ activationLimitEnabled?: boolean | undefined;
669
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
670
+ durationValue?: number | undefined;
671
+ hasExpiry?: boolean | undefined;
672
+ } | undefined;
673
+ links?: {
674
+ name: string;
675
+ url: string;
676
+ }[] | undefined;
677
+ }, {
678
+ name: string;
679
+ product: string;
680
+ identifier?: string | undefined;
681
+ metadata?: Record<string, unknown> | undefined;
682
+ description?: string | undefined;
683
+ fileKeys?: string[] | undefined;
684
+ ordering?: number | undefined;
685
+ isVisible?: boolean | undefined;
686
+ license?: {
687
+ enabled?: boolean | undefined;
688
+ activationLimit?: number | undefined;
689
+ activationLimitEnabled?: boolean | undefined;
690
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
691
+ durationValue?: number | undefined;
692
+ hasExpiry?: boolean | undefined;
693
+ } | undefined;
694
+ links?: {
695
+ name: string;
696
+ url: string;
697
+ }[] | undefined;
698
+ }>;
699
+ export declare const PlanRetrieve: z.ZodObject<{
700
+ planIdentifier: z.ZodString;
701
+ }, "strip", z.ZodTypeAny, {
702
+ planIdentifier: string;
703
+ }, {
704
+ planIdentifier: string;
705
+ }>;
706
+ export declare const PlanUpdate: z.ZodObject<{
707
+ planIdentifier: z.ZodString;
708
+ name: z.ZodOptional<z.ZodString>;
709
+ description: z.ZodOptional<z.ZodString>;
710
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
711
+ isVisible: z.ZodOptional<z.ZodBoolean>;
712
+ license: z.ZodOptional<z.ZodObject<{
713
+ enabled: z.ZodOptional<z.ZodBoolean>;
714
+ activationLimit: z.ZodOptional<z.ZodNumber>;
715
+ activationLimitEnabled: z.ZodOptional<z.ZodBoolean>;
716
+ durationUnit: z.ZodOptional<z.ZodEnum<["DAY", "MONTH", "YEAR"]>>;
717
+ durationValue: z.ZodOptional<z.ZodNumber>;
718
+ hasExpiry: z.ZodOptional<z.ZodBoolean>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ enabled?: boolean | undefined;
721
+ activationLimit?: number | undefined;
722
+ activationLimitEnabled?: boolean | undefined;
723
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
724
+ durationValue?: number | undefined;
725
+ hasExpiry?: boolean | undefined;
726
+ }, {
727
+ enabled?: boolean | undefined;
728
+ activationLimit?: number | undefined;
729
+ activationLimitEnabled?: boolean | undefined;
730
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
731
+ durationValue?: number | undefined;
732
+ hasExpiry?: boolean | undefined;
733
+ }>>;
734
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
735
+ name: z.ZodString;
736
+ url: z.ZodString;
737
+ }, "strip", z.ZodTypeAny, {
738
+ name: string;
739
+ url: string;
740
+ }, {
741
+ name: string;
742
+ url: string;
743
+ }>, "many">>;
744
+ fileKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
745
+ }, "strip", z.ZodTypeAny, {
746
+ planIdentifier: string;
747
+ name?: string | undefined;
748
+ metadata?: Record<string, unknown> | undefined;
749
+ description?: string | undefined;
750
+ fileKeys?: string[] | undefined;
751
+ isVisible?: boolean | undefined;
752
+ license?: {
753
+ enabled?: boolean | undefined;
754
+ activationLimit?: number | undefined;
755
+ activationLimitEnabled?: boolean | undefined;
756
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
757
+ durationValue?: number | undefined;
758
+ hasExpiry?: boolean | undefined;
759
+ } | undefined;
760
+ links?: {
761
+ name: string;
762
+ url: string;
763
+ }[] | undefined;
764
+ }, {
765
+ planIdentifier: string;
766
+ name?: string | undefined;
767
+ metadata?: Record<string, unknown> | undefined;
768
+ description?: string | undefined;
769
+ fileKeys?: string[] | undefined;
770
+ isVisible?: boolean | undefined;
771
+ license?: {
772
+ enabled?: boolean | undefined;
773
+ activationLimit?: number | undefined;
774
+ activationLimitEnabled?: boolean | undefined;
775
+ durationUnit?: "DAY" | "MONTH" | "YEAR" | undefined;
776
+ durationValue?: number | undefined;
777
+ hasExpiry?: boolean | undefined;
778
+ } | undefined;
779
+ links?: {
780
+ name: string;
781
+ url: string;
782
+ }[] | undefined;
783
+ }>;
784
+ export declare const PlanArchive: z.ZodObject<{
785
+ planIdentifier: z.ZodString;
786
+ }, "strip", z.ZodTypeAny, {
787
+ planIdentifier: string;
788
+ }, {
789
+ planIdentifier: string;
790
+ }>;
791
+ export declare const PlanPublish: z.ZodObject<{
792
+ planIdentifier: z.ZodString;
793
+ updateFeatures: z.ZodOptional<z.ZodBoolean>;
794
+ updatePricing: z.ZodOptional<z.ZodBoolean>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ planIdentifier: string;
797
+ updateFeatures?: boolean | undefined;
798
+ updatePricing?: boolean | undefined;
799
+ }, {
800
+ planIdentifier: string;
801
+ updateFeatures?: boolean | undefined;
802
+ updatePricing?: boolean | undefined;
803
+ }>;
804
+ export declare const PlanDiscardDraft: z.ZodObject<{
805
+ planIdentifier: z.ZodString;
806
+ }, "strip", z.ZodTypeAny, {
807
+ planIdentifier: string;
808
+ }, {
809
+ planIdentifier: string;
810
+ }>;
811
+ /**
812
+ * Plan price payload — kept loose because pricing tiers/models permit many
813
+ * shapes (FLAT/PACKAGE/TIERED/VOLUME/STAIRSTEP) and the docs are the source of
814
+ * truth for the deeply-nested feature-pricing details.
815
+ */
816
+ export declare const PlanPriceItem: z.ZodObject<{
817
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
818
+ currency: z.ZodOptional<z.ZodString>;
819
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
820
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
821
+ enabled: z.ZodOptional<z.ZodBoolean>;
822
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
823
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
824
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
825
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
826
+ currency: z.ZodOptional<z.ZodString>;
827
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
828
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
829
+ enabled: z.ZodOptional<z.ZodBoolean>;
830
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
831
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
832
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
833
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
834
+ currency: z.ZodOptional<z.ZodString>;
835
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
836
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
837
+ enabled: z.ZodOptional<z.ZodBoolean>;
838
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
839
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
840
+ }, z.ZodTypeAny, "passthrough">>;
841
+ export declare const PlanPricesList: z.ZodObject<{
842
+ planIdentifier: z.ZodString;
843
+ }, "strip", z.ZodTypeAny, {
844
+ planIdentifier: string;
845
+ }, {
846
+ planIdentifier: string;
847
+ }>;
848
+ export declare const PlanPricesBulkSet: z.ZodObject<{
849
+ planIdentifier: z.ZodString;
850
+ prices: z.ZodArray<z.ZodObject<{
851
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
852
+ currency: z.ZodOptional<z.ZodString>;
853
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
854
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
855
+ enabled: z.ZodOptional<z.ZodBoolean>;
856
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
857
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
858
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
859
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
860
+ currency: z.ZodOptional<z.ZodString>;
861
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
862
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
863
+ enabled: z.ZodOptional<z.ZodBoolean>;
864
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
865
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
866
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
867
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
868
+ currency: z.ZodOptional<z.ZodString>;
869
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
870
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
871
+ enabled: z.ZodOptional<z.ZodBoolean>;
872
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
873
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
874
+ }, z.ZodTypeAny, "passthrough">>, "many">;
875
+ }, "strip", z.ZodTypeAny, {
876
+ planIdentifier: string;
877
+ prices: z.objectOutputType<{
878
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
879
+ currency: z.ZodOptional<z.ZodString>;
880
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
881
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
882
+ enabled: z.ZodOptional<z.ZodBoolean>;
883
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
884
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
885
+ }, z.ZodTypeAny, "passthrough">[];
886
+ }, {
887
+ planIdentifier: string;
888
+ prices: z.objectInputType<{
889
+ priceType: z.ZodEnum<["FREE", "PAID", "CUSTOM"]>;
890
+ currency: z.ZodOptional<z.ZodString>;
891
+ freeTrial: z.ZodOptional<z.ZodBoolean>;
892
+ trialPeriod: z.ZodOptional<z.ZodNumber>;
893
+ enabled: z.ZodOptional<z.ZodBoolean>;
894
+ taxBehavior: z.ZodOptional<z.ZodEnum<["INCLUSIVE", "EXCLUSIVE", "UNSPECIFIED"]>>;
895
+ chargeCatalogPrice: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
896
+ }, z.ZodTypeAny, "passthrough">[];
897
+ }>;
898
+ /**
899
+ * Per-feature entitlement on a plan. The exact shape varies by feature_type;
900
+ * passthrough lets the caller supply additional keys not enumerated here.
901
+ */
902
+ export declare const PlanEntitlementDetails: z.ZodObject<{
903
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
904
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
905
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
906
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
907
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
908
+ usageAlerts: z.ZodOptional<z.ZodObject<{
909
+ enabled: z.ZodOptional<z.ZodBoolean>;
910
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
911
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
912
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
913
+ enabled: z.ZodOptional<z.ZodBoolean>;
914
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
915
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
916
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
917
+ enabled: z.ZodOptional<z.ZodBoolean>;
918
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
919
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
920
+ }, z.ZodTypeAny, "passthrough">>>;
921
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
922
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
923
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
924
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
925
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
926
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
927
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
928
+ usageAlerts: z.ZodOptional<z.ZodObject<{
929
+ enabled: z.ZodOptional<z.ZodBoolean>;
930
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
931
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
932
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
933
+ enabled: z.ZodOptional<z.ZodBoolean>;
934
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
935
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
936
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
937
+ enabled: z.ZodOptional<z.ZodBoolean>;
938
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
939
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
940
+ }, z.ZodTypeAny, "passthrough">>>;
941
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
942
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
943
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
944
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
945
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
946
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
947
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
948
+ usageAlerts: z.ZodOptional<z.ZodObject<{
949
+ enabled: z.ZodOptional<z.ZodBoolean>;
950
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
951
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
952
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
953
+ enabled: z.ZodOptional<z.ZodBoolean>;
954
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
955
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
956
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
957
+ enabled: z.ZodOptional<z.ZodBoolean>;
958
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
959
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
960
+ }, z.ZodTypeAny, "passthrough">>>;
961
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
962
+ }, z.ZodTypeAny, "passthrough">>;
963
+ export declare const PlanEntitlementsList: z.ZodObject<{
964
+ planIdentifier: z.ZodString;
965
+ }, "strip", z.ZodTypeAny, {
966
+ planIdentifier: string;
967
+ }, {
968
+ planIdentifier: string;
969
+ }>;
970
+ export declare const PlanEntitlementsAdd: z.ZodObject<{
971
+ planIdentifier: z.ZodString;
972
+ planEntitlements: z.ZodArray<z.ZodObject<{
973
+ feature: z.ZodString;
974
+ details: z.ZodObject<{
975
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
976
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
977
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
978
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
979
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
980
+ usageAlerts: z.ZodOptional<z.ZodObject<{
981
+ enabled: z.ZodOptional<z.ZodBoolean>;
982
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
983
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
984
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
985
+ enabled: z.ZodOptional<z.ZodBoolean>;
986
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
987
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
988
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
989
+ enabled: z.ZodOptional<z.ZodBoolean>;
990
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
991
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
992
+ }, z.ZodTypeAny, "passthrough">>>;
993
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
994
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
995
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
996
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
997
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
998
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1000
+ usageAlerts: z.ZodOptional<z.ZodObject<{
1001
+ enabled: z.ZodOptional<z.ZodBoolean>;
1002
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1003
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1004
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1005
+ enabled: z.ZodOptional<z.ZodBoolean>;
1006
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1007
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1008
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1009
+ enabled: z.ZodOptional<z.ZodBoolean>;
1010
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1011
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1012
+ }, z.ZodTypeAny, "passthrough">>>;
1013
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
1014
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1015
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
1016
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
1017
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
1018
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1020
+ usageAlerts: z.ZodOptional<z.ZodObject<{
1021
+ enabled: z.ZodOptional<z.ZodBoolean>;
1022
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1023
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1024
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1025
+ enabled: z.ZodOptional<z.ZodBoolean>;
1026
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1027
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1028
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1029
+ enabled: z.ZodOptional<z.ZodBoolean>;
1030
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1031
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1032
+ }, z.ZodTypeAny, "passthrough">>>;
1033
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
1034
+ }, z.ZodTypeAny, "passthrough">>;
1035
+ }, "strip", z.ZodTypeAny, {
1036
+ feature: string;
1037
+ details: {
1038
+ value?: number | boolean | undefined;
1039
+ hasUnlimitedUsage?: boolean | undefined;
1040
+ reset?: "NEVER" | "EVERY_DAY" | "EVERY_MONTH" | "EVERY_QUARTER" | "EVERY_YEAR" | undefined;
1041
+ resetTime?: string | null | undefined;
1042
+ rollover?: Record<string, unknown> | undefined;
1043
+ usageAlerts?: z.objectOutputType<{
1044
+ enabled: z.ZodOptional<z.ZodBoolean>;
1045
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1046
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1047
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1048
+ hardLimit?: boolean | undefined;
1049
+ } & {
1050
+ [k: string]: unknown;
1051
+ };
1052
+ }, {
1053
+ feature: string;
1054
+ details: {
1055
+ value?: number | boolean | undefined;
1056
+ hasUnlimitedUsage?: boolean | undefined;
1057
+ reset?: "NEVER" | "EVERY_DAY" | "EVERY_MONTH" | "EVERY_QUARTER" | "EVERY_YEAR" | undefined;
1058
+ resetTime?: string | null | undefined;
1059
+ rollover?: Record<string, unknown> | undefined;
1060
+ usageAlerts?: z.objectInputType<{
1061
+ enabled: z.ZodOptional<z.ZodBoolean>;
1062
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1063
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1064
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1065
+ hardLimit?: boolean | undefined;
1066
+ } & {
1067
+ [k: string]: unknown;
1068
+ };
1069
+ }>, "many">;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ planIdentifier: string;
1072
+ planEntitlements: {
1073
+ feature: string;
1074
+ details: {
1075
+ value?: number | boolean | undefined;
1076
+ hasUnlimitedUsage?: boolean | undefined;
1077
+ reset?: "NEVER" | "EVERY_DAY" | "EVERY_MONTH" | "EVERY_QUARTER" | "EVERY_YEAR" | undefined;
1078
+ resetTime?: string | null | undefined;
1079
+ rollover?: Record<string, unknown> | undefined;
1080
+ usageAlerts?: z.objectOutputType<{
1081
+ enabled: z.ZodOptional<z.ZodBoolean>;
1082
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1083
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1084
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1085
+ hardLimit?: boolean | undefined;
1086
+ } & {
1087
+ [k: string]: unknown;
1088
+ };
1089
+ }[];
1090
+ }, {
1091
+ planIdentifier: string;
1092
+ planEntitlements: {
1093
+ feature: string;
1094
+ details: {
1095
+ value?: number | boolean | undefined;
1096
+ hasUnlimitedUsage?: boolean | undefined;
1097
+ reset?: "NEVER" | "EVERY_DAY" | "EVERY_MONTH" | "EVERY_QUARTER" | "EVERY_YEAR" | undefined;
1098
+ resetTime?: string | null | undefined;
1099
+ rollover?: Record<string, unknown> | undefined;
1100
+ usageAlerts?: z.objectInputType<{
1101
+ enabled: z.ZodOptional<z.ZodBoolean>;
1102
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1103
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1104
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1105
+ hardLimit?: boolean | undefined;
1106
+ } & {
1107
+ [k: string]: unknown;
1108
+ };
1109
+ }[];
1110
+ }>;
1111
+ export declare const PlanEntitlementUpdate: z.ZodObject<{
1112
+ planIdentifier: z.ZodString;
1113
+ featureId: z.ZodString;
1114
+ details: z.ZodObject<{
1115
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
1116
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
1117
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
1118
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1119
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1120
+ usageAlerts: z.ZodOptional<z.ZodObject<{
1121
+ enabled: z.ZodOptional<z.ZodBoolean>;
1122
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1123
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1124
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1125
+ enabled: z.ZodOptional<z.ZodBoolean>;
1126
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1127
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1128
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1129
+ enabled: z.ZodOptional<z.ZodBoolean>;
1130
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1131
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1132
+ }, z.ZodTypeAny, "passthrough">>>;
1133
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
1134
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1135
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
1136
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
1137
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
1138
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1139
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1140
+ usageAlerts: z.ZodOptional<z.ZodObject<{
1141
+ enabled: z.ZodOptional<z.ZodBoolean>;
1142
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1143
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1144
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1145
+ enabled: z.ZodOptional<z.ZodBoolean>;
1146
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1147
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1148
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1149
+ enabled: z.ZodOptional<z.ZodBoolean>;
1150
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1151
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1152
+ }, z.ZodTypeAny, "passthrough">>>;
1153
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
1154
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1155
+ value: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
1156
+ hasUnlimitedUsage: z.ZodOptional<z.ZodBoolean>;
1157
+ reset: z.ZodOptional<z.ZodEnum<["NEVER", "EVERY_DAY", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR"]>>;
1158
+ resetTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1159
+ rollover: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1160
+ usageAlerts: z.ZodOptional<z.ZodObject<{
1161
+ enabled: z.ZodOptional<z.ZodBoolean>;
1162
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1163
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1164
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1165
+ enabled: z.ZodOptional<z.ZodBoolean>;
1166
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1167
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1168
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1169
+ enabled: z.ZodOptional<z.ZodBoolean>;
1170
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1171
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1172
+ }, z.ZodTypeAny, "passthrough">>>;
1173
+ hardLimit: z.ZodOptional<z.ZodBoolean>;
1174
+ }, z.ZodTypeAny, "passthrough">>;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ planIdentifier: string;
1177
+ featureId: string;
1178
+ details: {
1179
+ value?: number | boolean | undefined;
1180
+ hasUnlimitedUsage?: boolean | undefined;
1181
+ reset?: "NEVER" | "EVERY_DAY" | "EVERY_MONTH" | "EVERY_QUARTER" | "EVERY_YEAR" | undefined;
1182
+ resetTime?: string | null | undefined;
1183
+ rollover?: Record<string, unknown> | undefined;
1184
+ usageAlerts?: z.objectOutputType<{
1185
+ enabled: z.ZodOptional<z.ZodBoolean>;
1186
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1187
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1188
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1189
+ hardLimit?: boolean | undefined;
1190
+ } & {
1191
+ [k: string]: unknown;
1192
+ };
1193
+ }, {
1194
+ planIdentifier: string;
1195
+ featureId: string;
1196
+ details: {
1197
+ value?: number | boolean | undefined;
1198
+ hasUnlimitedUsage?: boolean | undefined;
1199
+ reset?: "NEVER" | "EVERY_DAY" | "EVERY_MONTH" | "EVERY_QUARTER" | "EVERY_YEAR" | undefined;
1200
+ resetTime?: string | null | undefined;
1201
+ rollover?: Record<string, unknown> | undefined;
1202
+ usageAlerts?: z.objectInputType<{
1203
+ enabled: z.ZodOptional<z.ZodBoolean>;
1204
+ thresholds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1205
+ thresholdType: z.ZodOptional<z.ZodEnum<["PERCENTAGE", "BALANCE"]>>;
1206
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1207
+ hardLimit?: boolean | undefined;
1208
+ } & {
1209
+ [k: string]: unknown;
1210
+ };
1211
+ }>;
1212
+ export declare const PlanEntitlementDelete: z.ZodObject<{
1213
+ planIdentifier: z.ZodString;
1214
+ featureId: z.ZodString;
1215
+ }, "strip", z.ZodTypeAny, {
1216
+ planIdentifier: string;
1217
+ featureId: string;
1218
+ }, {
1219
+ planIdentifier: string;
1220
+ featureId: string;
1221
+ }>;
1222
+ export declare const PlanFileUpdate: z.ZodObject<{
1223
+ planIdentifier: z.ZodString;
1224
+ fileId: z.ZodString;
1225
+ name: z.ZodOptional<z.ZodString>;
1226
+ ordering: z.ZodOptional<z.ZodNumber>;
1227
+ enabled: z.ZodOptional<z.ZodBoolean>;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ planIdentifier: string;
1230
+ fileId: string;
1231
+ name?: string | undefined;
1232
+ ordering?: number | undefined;
1233
+ enabled?: boolean | undefined;
1234
+ }, {
1235
+ planIdentifier: string;
1236
+ fileId: string;
1237
+ name?: string | undefined;
1238
+ ordering?: number | undefined;
1239
+ enabled?: boolean | undefined;
1240
+ }>;
1241
+ export declare const PlanFileDelete: z.ZodObject<{
1242
+ planIdentifier: z.ZodString;
1243
+ fileId: z.ZodString;
1244
+ }, "strip", z.ZodTypeAny, {
1245
+ planIdentifier: string;
1246
+ fileId: string;
1247
+ }, {
1248
+ planIdentifier: string;
1249
+ fileId: string;
1250
+ }>;
1251
+ export declare const PlanFileDownload: z.ZodObject<{
1252
+ planIdentifier: z.ZodString;
1253
+ fileId: z.ZodString;
1254
+ }, "strip", z.ZodTypeAny, {
1255
+ planIdentifier: string;
1256
+ fileId: string;
1257
+ }, {
1258
+ planIdentifier: string;
1259
+ fileId: string;
1260
+ }>;
1261
+ export declare const MediaPresignedUpload: z.ZodObject<{
1262
+ fileName: z.ZodString;
1263
+ fileType: z.ZodString;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ fileName: string;
1266
+ fileType: string;
1267
+ }, {
1268
+ fileName: string;
1269
+ fileType: string;
1270
+ }>;
1271
+ export declare const PartnerOrgProvision: z.ZodObject<{
1272
+ externalId: z.ZodString;
1273
+ email: z.ZodString;
1274
+ businessName: z.ZodOptional<z.ZodString>;
1275
+ }, "strip", z.ZodTypeAny, {
1276
+ email: string;
1277
+ externalId: string;
1278
+ businessName?: string | undefined;
1279
+ }, {
1280
+ email: string;
1281
+ externalId: string;
1282
+ businessName?: string | undefined;
1283
+ }>;
1284
+ export declare const PartnerOrgList: z.ZodObject<{
1285
+ externalId: z.ZodOptional<z.ZodString>;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ externalId?: string | undefined;
1288
+ }, {
1289
+ externalId?: string | undefined;
1290
+ }>;
1291
+ export declare const PartnerOrgRetrieve: z.ZodObject<{
1292
+ identifier: z.ZodString;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ identifier: string;
1295
+ }, {
1296
+ identifier: string;
1297
+ }>;
1298
+ export declare const PartnerOrgRetrieveByExternalId: z.ZodObject<{
1299
+ externalId: z.ZodString;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ externalId: string;
1302
+ }, {
1303
+ externalId: string;
1304
+ }>;