zpan-cloud-sdk 1.0.0 → 1.0.1

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.
package/dist/schemas.d.ts CHANGED
@@ -1,2 +1,1167 @@
1
- import 'zod';
2
- export { G as accountBillingQuerySchema, H as accountUsagePeriodSchema, I as accountUsageQuerySchema, c as adminUserListQuerySchema, d as adminUserPatchSchema, e as billingPortalSessionSchema, f as createOrderSchema, m as createPairingSchema, g as createProductSchema, J as deliverableSchema, h as giftCardCampaignCreateSchema, i as giftCardCampaignListQuerySchema, j as giftCardCreateSchema, k as giftCardListQuerySchema, l as giftCardPatchSchema, K as orderListQuerySchema, o as orderPatchSchema, L as paginationQuerySchema, p as pairingActionSchema, n as paymentSchema, q as productListQuerySchema, M as productMetadataSchema, N as productPriceSchema, t as storePatchSchema, u as updateProductSchema, v as usageEventCreateSchema, w as walletRedemptionSchema } from './schemas-R0lkMmfq.js';
1
+ import { z } from 'zod';
2
+
3
+ declare const paginationQuerySchema: z.ZodObject<{
4
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
5
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
6
+ }, z.core.$strip>;
7
+ declare const pageSchema: <T extends z.ZodType>(itemSchema: T) => z.ZodObject<{
8
+ items: z.ZodArray<T>;
9
+ total: z.ZodNumber;
10
+ limit: z.ZodNumber;
11
+ offset: z.ZodNumber;
12
+ }, z.core.$strip>;
13
+ declare const createPairingSchema: z.ZodObject<{
14
+ instanceId: z.ZodString;
15
+ instanceName: z.ZodString;
16
+ instanceHost: z.ZodString;
17
+ }, z.core.$strip>;
18
+ declare const pairingCreateResponseSchema: z.ZodObject<{
19
+ code: z.ZodString;
20
+ pairingUrl: z.ZodString;
21
+ expiresAt: z.ZodString;
22
+ }, z.core.$strip>;
23
+ declare const pairingPreviewSchema: z.ZodObject<{
24
+ licenseId: z.ZodString;
25
+ licenseName: z.ZodString;
26
+ licenseHost: z.ZodString;
27
+ }, z.core.$strip>;
28
+ declare const pairingPollResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
29
+ status: z.ZodEnum<{
30
+ pending: "pending";
31
+ expired: "expired";
32
+ denied: "denied";
33
+ }>;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ status: z.ZodLiteral<"approved">;
36
+ refreshToken: z.ZodString;
37
+ certificate: z.ZodString;
38
+ binding: z.ZodObject<{
39
+ id: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ storeId: z.ZodString;
42
+ authorizedHosts: z.ZodArray<z.ZodString>;
43
+ }, z.core.$strip>;
44
+ account: z.ZodObject<{
45
+ id: z.ZodString;
46
+ email: z.ZodString;
47
+ }, z.core.$strip>;
48
+ }, z.core.$strip>], "status">;
49
+ declare const pairingActionSchema: z.ZodObject<{
50
+ action: z.ZodEnum<{
51
+ approve: "approve";
52
+ deny: "deny";
53
+ }>;
54
+ }, z.core.$strip>;
55
+ declare const pairingActionResponseSchema: z.ZodObject<{
56
+ status: z.ZodEnum<{
57
+ denied: "denied";
58
+ approved: "approved";
59
+ }>;
60
+ }, z.core.$strip>;
61
+ declare const entitlementRefreshResponseSchema: z.ZodObject<{
62
+ certificate: z.ZodString;
63
+ refreshToken: z.ZodString;
64
+ nextRefreshAfter: z.ZodString;
65
+ binding: z.ZodObject<{
66
+ id: z.ZodString;
67
+ instanceId: z.ZodString;
68
+ storeId: z.ZodString;
69
+ authorizedHosts: z.ZodArray<z.ZodString>;
70
+ }, z.core.$strip>;
71
+ account: z.ZodObject<{
72
+ id: z.ZodString;
73
+ email: z.ZodString;
74
+ }, z.core.$strip>;
75
+ }, z.core.$strip>;
76
+ declare const productPriceSchema: z.ZodObject<{
77
+ id: z.ZodOptional<z.ZodString>;
78
+ currency: z.ZodString;
79
+ amount: z.ZodNumber;
80
+ lookupKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ recurring: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
+ interval: z.ZodEnum<{
84
+ day: "day";
85
+ week: "week";
86
+ month: "month";
87
+ year: "year";
88
+ }>;
89
+ intervalCount: z.ZodNumber;
90
+ usageType: z.ZodOptional<z.ZodEnum<{
91
+ licensed: "licensed";
92
+ metered: "metered";
93
+ }>>;
94
+ }, z.core.$strip>>>;
95
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
96
+ }, z.core.$strip>;
97
+ declare const deliverableSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
98
+ declare const productMetadataSchema: z.ZodObject<{
99
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
100
+ }, z.core.$strip>;
101
+ declare const createProductSchema: z.ZodObject<{
102
+ type: z.ZodLiteral<"store_item">;
103
+ name: z.ZodString;
104
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ active: z.ZodOptional<z.ZodBoolean>;
106
+ sortOrder: z.ZodOptional<z.ZodNumber>;
107
+ metadata: z.ZodObject<{
108
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
109
+ }, z.core.$strip>;
110
+ prices: z.ZodArray<z.ZodObject<{
111
+ id: z.ZodOptional<z.ZodString>;
112
+ currency: z.ZodString;
113
+ amount: z.ZodNumber;
114
+ lookupKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ recurring: z.ZodOptional<z.ZodNullable<z.ZodObject<{
117
+ interval: z.ZodEnum<{
118
+ day: "day";
119
+ week: "week";
120
+ month: "month";
121
+ year: "year";
122
+ }>;
123
+ intervalCount: z.ZodNumber;
124
+ usageType: z.ZodOptional<z.ZodEnum<{
125
+ licensed: "licensed";
126
+ metered: "metered";
127
+ }>>;
128
+ }, z.core.$strip>>>;
129
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
130
+ }, z.core.$strip>>;
131
+ }, z.core.$strip>;
132
+ declare const updateProductSchema: z.ZodObject<{
133
+ type: z.ZodOptional<z.ZodLiteral<"store_item">>;
134
+ name: z.ZodOptional<z.ZodString>;
135
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ active: z.ZodOptional<z.ZodBoolean>;
137
+ sortOrder: z.ZodOptional<z.ZodNumber>;
138
+ metadata: z.ZodOptional<z.ZodObject<{
139
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
140
+ }, z.core.$strip>>;
141
+ prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
142
+ id: z.ZodOptional<z.ZodString>;
143
+ currency: z.ZodString;
144
+ amount: z.ZodNumber;
145
+ lookupKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
+ recurring: z.ZodOptional<z.ZodNullable<z.ZodObject<{
148
+ interval: z.ZodEnum<{
149
+ day: "day";
150
+ week: "week";
151
+ month: "month";
152
+ year: "year";
153
+ }>;
154
+ intervalCount: z.ZodNumber;
155
+ usageType: z.ZodOptional<z.ZodEnum<{
156
+ licensed: "licensed";
157
+ metered: "metered";
158
+ }>>;
159
+ }, z.core.$strip>>>;
160
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
161
+ }, z.core.$strip>>>;
162
+ }, z.core.$strip>;
163
+ declare const productListQuerySchema: z.ZodObject<{
164
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
165
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
166
+ type: z.ZodOptional<z.ZodLiteral<"store_item">>;
167
+ status: z.ZodOptional<z.ZodEnum<{
168
+ active: "active";
169
+ inactive: "inactive";
170
+ }>>;
171
+ }, z.core.$strip>;
172
+ declare const commerceStoreSchema: z.ZodObject<{
173
+ id: z.ZodString;
174
+ type: z.ZodEnum<{
175
+ cloud: "cloud";
176
+ instance: "instance";
177
+ }>;
178
+ name: z.ZodString;
179
+ ownerAccountId: z.ZodNullable<z.ZodString>;
180
+ boundLicenseId: z.ZodNullable<z.ZodString>;
181
+ status: z.ZodEnum<{
182
+ active: "active";
183
+ disabled: "disabled";
184
+ }>;
185
+ createdAt: z.ZodString;
186
+ updatedAt: z.ZodString;
187
+ }, z.core.$strip>;
188
+ declare const commerceProductSchema: z.ZodObject<{
189
+ id: z.ZodString;
190
+ storeId: z.ZodString;
191
+ type: z.ZodLiteral<"store_item">;
192
+ name: z.ZodString;
193
+ description: z.ZodNullable<z.ZodString>;
194
+ active: z.ZodBoolean;
195
+ sortOrder: z.ZodNumber;
196
+ metadata: z.ZodObject<{
197
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
198
+ }, z.core.$strip>;
199
+ prices: z.ZodArray<z.ZodObject<{
200
+ id: z.ZodOptional<z.ZodString>;
201
+ currency: z.ZodString;
202
+ amount: z.ZodNumber;
203
+ lookupKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
205
+ recurring: z.ZodOptional<z.ZodNullable<z.ZodObject<{
206
+ interval: z.ZodEnum<{
207
+ day: "day";
208
+ week: "week";
209
+ month: "month";
210
+ year: "year";
211
+ }>;
212
+ intervalCount: z.ZodNumber;
213
+ usageType: z.ZodOptional<z.ZodEnum<{
214
+ licensed: "licensed";
215
+ metered: "metered";
216
+ }>>;
217
+ }, z.core.$strip>>>;
218
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
219
+ }, z.core.$strip>>;
220
+ createdAt: z.ZodString;
221
+ updatedAt: z.ZodString;
222
+ }, z.core.$strip>;
223
+ declare const productListResponseSchema: z.ZodObject<{
224
+ items: z.ZodArray<z.ZodObject<{
225
+ id: z.ZodString;
226
+ storeId: z.ZodString;
227
+ type: z.ZodLiteral<"store_item">;
228
+ name: z.ZodString;
229
+ description: z.ZodNullable<z.ZodString>;
230
+ active: z.ZodBoolean;
231
+ sortOrder: z.ZodNumber;
232
+ metadata: z.ZodObject<{
233
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
234
+ }, z.core.$strip>;
235
+ prices: z.ZodArray<z.ZodObject<{
236
+ id: z.ZodOptional<z.ZodString>;
237
+ currency: z.ZodString;
238
+ amount: z.ZodNumber;
239
+ lookupKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ recurring: z.ZodOptional<z.ZodNullable<z.ZodObject<{
242
+ interval: z.ZodEnum<{
243
+ day: "day";
244
+ week: "week";
245
+ month: "month";
246
+ year: "year";
247
+ }>;
248
+ intervalCount: z.ZodNumber;
249
+ usageType: z.ZodOptional<z.ZodEnum<{
250
+ licensed: "licensed";
251
+ metered: "metered";
252
+ }>>;
253
+ }, z.core.$strip>>>;
254
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
255
+ }, z.core.$strip>>;
256
+ createdAt: z.ZodString;
257
+ updatedAt: z.ZodString;
258
+ }, z.core.$strip>>;
259
+ total: z.ZodNumber;
260
+ limit: z.ZodNumber;
261
+ offset: z.ZodNumber;
262
+ }, z.core.$strip>;
263
+ declare const storeListResponseSchema: z.ZodObject<{
264
+ items: z.ZodArray<z.ZodObject<{
265
+ id: z.ZodString;
266
+ type: z.ZodEnum<{
267
+ cloud: "cloud";
268
+ instance: "instance";
269
+ }>;
270
+ name: z.ZodString;
271
+ ownerAccountId: z.ZodNullable<z.ZodString>;
272
+ boundLicenseId: z.ZodNullable<z.ZodString>;
273
+ status: z.ZodEnum<{
274
+ active: "active";
275
+ disabled: "disabled";
276
+ }>;
277
+ createdAt: z.ZodString;
278
+ updatedAt: z.ZodString;
279
+ }, z.core.$strip>>;
280
+ total: z.ZodNumber;
281
+ limit: z.ZodNumber;
282
+ offset: z.ZodNumber;
283
+ }, z.core.$strip>;
284
+ declare const createOrderSchema: z.ZodObject<{
285
+ items: z.ZodArray<z.ZodObject<{
286
+ productId: z.ZodString;
287
+ priceId: z.ZodOptional<z.ZodString>;
288
+ quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
289
+ }, z.core.$strip>>;
290
+ currency: z.ZodString;
291
+ target: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
292
+ deliveryCallbackUrl: z.ZodOptional<z.ZodString>;
293
+ idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ }, z.core.$strip>;
295
+ declare const orderListQuerySchema: z.ZodObject<{
296
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
297
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
298
+ paymentStatus: z.ZodOptional<z.ZodEnum<{
299
+ pending: "pending";
300
+ paid: "paid";
301
+ failed: "failed";
302
+ refunded: "refunded";
303
+ canceled: "canceled";
304
+ unpaid: "unpaid";
305
+ }>>;
306
+ fulfillmentStatus: z.ZodOptional<z.ZodEnum<{
307
+ pending: "pending";
308
+ failed: "failed";
309
+ canceled: "canceled";
310
+ fulfilled: "fulfilled";
311
+ }>>;
312
+ customerId: z.ZodOptional<z.ZodString>;
313
+ }, z.core.$strip>;
314
+ declare const commerceOrderItemSchema: z.ZodObject<{
315
+ id: z.ZodString;
316
+ orderId: z.ZodString;
317
+ productId: z.ZodString;
318
+ productType: z.ZodString;
319
+ name: z.ZodString;
320
+ description: z.ZodNullable<z.ZodString>;
321
+ quantity: z.ZodNumber;
322
+ unitAmount: z.ZodNumber;
323
+ totalAmount: z.ZodNumber;
324
+ fulfillmentPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
325
+ }, z.core.$strip>;
326
+ declare const commercePaymentSchema: z.ZodObject<{
327
+ id: z.ZodString;
328
+ orderId: z.ZodString;
329
+ provider: z.ZodEnum<{
330
+ stripe: "stripe";
331
+ gift_card: "gift_card";
332
+ wallet: "wallet";
333
+ }>;
334
+ amount: z.ZodNumber;
335
+ currency: z.ZodString;
336
+ status: z.ZodEnum<{
337
+ pending: "pending";
338
+ paid: "paid";
339
+ failed: "failed";
340
+ refunded: "refunded";
341
+ canceled: "canceled";
342
+ }>;
343
+ providerSessionId: z.ZodNullable<z.ZodString>;
344
+ providerPaymentIntentId: z.ZodNullable<z.ZodString>;
345
+ createdAt: z.ZodString;
346
+ paidAt: z.ZodNullable<z.ZodString>;
347
+ }, z.core.$strip>;
348
+ declare const commerceOrderSchema: z.ZodObject<{
349
+ id: z.ZodString;
350
+ storeId: z.ZodString;
351
+ buyerAccountId: z.ZodNullable<z.ZodString>;
352
+ target: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
353
+ status: z.ZodEnum<{
354
+ pending: "pending";
355
+ paid: "paid";
356
+ failed: "failed";
357
+ refunded: "refunded";
358
+ canceled: "canceled";
359
+ fulfilled: "fulfilled";
360
+ }>;
361
+ paymentStatus: z.ZodEnum<{
362
+ pending: "pending";
363
+ paid: "paid";
364
+ failed: "failed";
365
+ refunded: "refunded";
366
+ canceled: "canceled";
367
+ unpaid: "unpaid";
368
+ }>;
369
+ fulfillmentStatus: z.ZodEnum<{
370
+ pending: "pending";
371
+ failed: "failed";
372
+ canceled: "canceled";
373
+ fulfilled: "fulfilled";
374
+ }>;
375
+ subtotalAmount: z.ZodNumber;
376
+ discountAmount: z.ZodNumber;
377
+ totalAmount: z.ZodNumber;
378
+ currency: z.ZodString;
379
+ items: z.ZodArray<z.ZodObject<{
380
+ id: z.ZodString;
381
+ orderId: z.ZodString;
382
+ productId: z.ZodString;
383
+ productType: z.ZodString;
384
+ name: z.ZodString;
385
+ description: z.ZodNullable<z.ZodString>;
386
+ quantity: z.ZodNumber;
387
+ unitAmount: z.ZodNumber;
388
+ totalAmount: z.ZodNumber;
389
+ fulfillmentPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
390
+ }, z.core.$strip>>;
391
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
392
+ id: z.ZodString;
393
+ orderId: z.ZodString;
394
+ provider: z.ZodEnum<{
395
+ stripe: "stripe";
396
+ gift_card: "gift_card";
397
+ wallet: "wallet";
398
+ }>;
399
+ amount: z.ZodNumber;
400
+ currency: z.ZodString;
401
+ status: z.ZodEnum<{
402
+ pending: "pending";
403
+ paid: "paid";
404
+ failed: "failed";
405
+ refunded: "refunded";
406
+ canceled: "canceled";
407
+ }>;
408
+ providerSessionId: z.ZodNullable<z.ZodString>;
409
+ providerPaymentIntentId: z.ZodNullable<z.ZodString>;
410
+ createdAt: z.ZodString;
411
+ paidAt: z.ZodNullable<z.ZodString>;
412
+ }, z.core.$strip>>>;
413
+ createdAt: z.ZodString;
414
+ paidAt: z.ZodNullable<z.ZodString>;
415
+ fulfilledAt: z.ZodNullable<z.ZodString>;
416
+ canceledAt: z.ZodNullable<z.ZodString>;
417
+ }, z.core.$strip>;
418
+ declare const orderListResponseSchema: z.ZodObject<{
419
+ items: z.ZodArray<z.ZodObject<{
420
+ id: z.ZodString;
421
+ storeId: z.ZodString;
422
+ buyerAccountId: z.ZodNullable<z.ZodString>;
423
+ target: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
424
+ status: z.ZodEnum<{
425
+ pending: "pending";
426
+ paid: "paid";
427
+ failed: "failed";
428
+ refunded: "refunded";
429
+ canceled: "canceled";
430
+ fulfilled: "fulfilled";
431
+ }>;
432
+ paymentStatus: z.ZodEnum<{
433
+ pending: "pending";
434
+ paid: "paid";
435
+ failed: "failed";
436
+ refunded: "refunded";
437
+ canceled: "canceled";
438
+ unpaid: "unpaid";
439
+ }>;
440
+ fulfillmentStatus: z.ZodEnum<{
441
+ pending: "pending";
442
+ failed: "failed";
443
+ canceled: "canceled";
444
+ fulfilled: "fulfilled";
445
+ }>;
446
+ subtotalAmount: z.ZodNumber;
447
+ discountAmount: z.ZodNumber;
448
+ totalAmount: z.ZodNumber;
449
+ currency: z.ZodString;
450
+ items: z.ZodArray<z.ZodObject<{
451
+ id: z.ZodString;
452
+ orderId: z.ZodString;
453
+ productId: z.ZodString;
454
+ productType: z.ZodString;
455
+ name: z.ZodString;
456
+ description: z.ZodNullable<z.ZodString>;
457
+ quantity: z.ZodNumber;
458
+ unitAmount: z.ZodNumber;
459
+ totalAmount: z.ZodNumber;
460
+ fulfillmentPayload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
461
+ }, z.core.$strip>>;
462
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
463
+ id: z.ZodString;
464
+ orderId: z.ZodString;
465
+ provider: z.ZodEnum<{
466
+ stripe: "stripe";
467
+ gift_card: "gift_card";
468
+ wallet: "wallet";
469
+ }>;
470
+ amount: z.ZodNumber;
471
+ currency: z.ZodString;
472
+ status: z.ZodEnum<{
473
+ pending: "pending";
474
+ paid: "paid";
475
+ failed: "failed";
476
+ refunded: "refunded";
477
+ canceled: "canceled";
478
+ }>;
479
+ providerSessionId: z.ZodNullable<z.ZodString>;
480
+ providerPaymentIntentId: z.ZodNullable<z.ZodString>;
481
+ createdAt: z.ZodString;
482
+ paidAt: z.ZodNullable<z.ZodString>;
483
+ }, z.core.$strip>>>;
484
+ createdAt: z.ZodString;
485
+ paidAt: z.ZodNullable<z.ZodString>;
486
+ fulfilledAt: z.ZodNullable<z.ZodString>;
487
+ canceledAt: z.ZodNullable<z.ZodString>;
488
+ }, z.core.$strip>>;
489
+ total: z.ZodNumber;
490
+ limit: z.ZodNumber;
491
+ offset: z.ZodNumber;
492
+ }, z.core.$strip>;
493
+ declare const paymentSchema: z.ZodObject<{
494
+ successUrl: z.ZodOptional<z.ZodString>;
495
+ cancelUrl: z.ZodOptional<z.ZodString>;
496
+ }, z.core.$strict>;
497
+ declare const paymentCreateResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
498
+ status: z.ZodLiteral<"pending">;
499
+ paymentId: z.ZodString;
500
+ orderId: z.ZodString;
501
+ url: z.ZodString;
502
+ reused: z.ZodOptional<z.ZodBoolean>;
503
+ }, z.core.$strip>, z.ZodObject<{
504
+ status: z.ZodLiteral<"paid">;
505
+ paymentId: z.ZodOptional<z.ZodString>;
506
+ orderId: z.ZodString;
507
+ url: z.ZodNullable<z.ZodString>;
508
+ reused: z.ZodOptional<z.ZodBoolean>;
509
+ }, z.core.$strip>], "status">;
510
+ declare const billingPortalSessionSchema: z.ZodObject<{
511
+ customerId: z.ZodString;
512
+ returnUrl: z.ZodString;
513
+ }, z.core.$strict>;
514
+ declare const billingPortalSessionResponseSchema: z.ZodObject<{
515
+ url: z.ZodString;
516
+ stripeSubscriptionId: z.ZodString;
517
+ }, z.core.$strip>;
518
+ declare const orderPatchSchema: z.ZodObject<{
519
+ status: z.ZodEnum<{
520
+ canceled: "canceled";
521
+ }>;
522
+ }, z.core.$strip>;
523
+ declare const giftCardCreateSchema: z.ZodObject<{
524
+ amount: z.ZodNumber;
525
+ currency: z.ZodString;
526
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
527
+ campaignId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
528
+ count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
529
+ }, z.core.$strip>;
530
+ declare const giftCardCampaignCreateSchema: z.ZodObject<{
531
+ name: z.ZodString;
532
+ startsAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
533
+ expiresAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
534
+ }, z.core.$strip>;
535
+ declare const giftCardPatchSchema: z.ZodObject<{
536
+ disabled: z.ZodOptional<z.ZodBoolean>;
537
+ revoked: z.ZodOptional<z.ZodLiteral<true>>;
538
+ }, z.core.$strip>;
539
+ declare const giftCardListQuerySchema: z.ZodObject<{
540
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
541
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
542
+ status: z.ZodOptional<z.ZodEnum<{
543
+ active: "active";
544
+ disabled: "disabled";
545
+ redeemed: "redeemed";
546
+ expired: "expired";
547
+ revoked: "revoked";
548
+ }>>;
549
+ campaignId: z.ZodOptional<z.ZodString>;
550
+ }, z.core.$strip>;
551
+ declare const giftCardCampaignListQuerySchema: z.ZodObject<{
552
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
553
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
554
+ status: z.ZodOptional<z.ZodEnum<{
555
+ active: "active";
556
+ disabled: "disabled";
557
+ ended: "ended";
558
+ }>>;
559
+ }, z.core.$strip>;
560
+ declare const storeGiftCardSchema: z.ZodObject<{
561
+ id: z.ZodString;
562
+ storeId: z.ZodString;
563
+ campaignId: z.ZodNullable<z.ZodString>;
564
+ code: z.ZodNullable<z.ZodString>;
565
+ codeLast4: z.ZodString;
566
+ amount: z.ZodNumber;
567
+ currency: z.ZodString;
568
+ status: z.ZodEnum<{
569
+ active: "active";
570
+ disabled: "disabled";
571
+ redeemed: "redeemed";
572
+ expired: "expired";
573
+ revoked: "revoked";
574
+ }>;
575
+ expiresAt: z.ZodNullable<z.ZodString>;
576
+ createdAt: z.ZodString;
577
+ updatedAt: z.ZodString;
578
+ disabledAt: z.ZodNullable<z.ZodString>;
579
+ revokedAt: z.ZodNullable<z.ZodString>;
580
+ createdByAdmin: z.ZodString;
581
+ }, z.core.$strip>;
582
+ declare const giftCardCampaignSchema: z.ZodObject<{
583
+ id: z.ZodString;
584
+ storeId: z.ZodString;
585
+ name: z.ZodString;
586
+ status: z.ZodEnum<{
587
+ active: "active";
588
+ disabled: "disabled";
589
+ ended: "ended";
590
+ }>;
591
+ startsAt: z.ZodNullable<z.ZodString>;
592
+ expiresAt: z.ZodNullable<z.ZodString>;
593
+ createdByAdmin: z.ZodString;
594
+ createdAt: z.ZodString;
595
+ updatedAt: z.ZodString;
596
+ }, z.core.$strip>;
597
+ declare const giftCardListResponseSchema: z.ZodObject<{
598
+ items: z.ZodArray<z.ZodObject<{
599
+ id: z.ZodString;
600
+ storeId: z.ZodString;
601
+ campaignId: z.ZodNullable<z.ZodString>;
602
+ code: z.ZodNullable<z.ZodString>;
603
+ codeLast4: z.ZodString;
604
+ amount: z.ZodNumber;
605
+ currency: z.ZodString;
606
+ status: z.ZodEnum<{
607
+ active: "active";
608
+ disabled: "disabled";
609
+ redeemed: "redeemed";
610
+ expired: "expired";
611
+ revoked: "revoked";
612
+ }>;
613
+ expiresAt: z.ZodNullable<z.ZodString>;
614
+ createdAt: z.ZodString;
615
+ updatedAt: z.ZodString;
616
+ disabledAt: z.ZodNullable<z.ZodString>;
617
+ revokedAt: z.ZodNullable<z.ZodString>;
618
+ createdByAdmin: z.ZodString;
619
+ }, z.core.$strip>>;
620
+ total: z.ZodNumber;
621
+ limit: z.ZodNumber;
622
+ offset: z.ZodNumber;
623
+ }, z.core.$strip>;
624
+ declare const giftCardCampaignListResponseSchema: z.ZodObject<{
625
+ items: z.ZodArray<z.ZodObject<{
626
+ id: z.ZodString;
627
+ storeId: z.ZodString;
628
+ name: z.ZodString;
629
+ status: z.ZodEnum<{
630
+ active: "active";
631
+ disabled: "disabled";
632
+ ended: "ended";
633
+ }>;
634
+ startsAt: z.ZodNullable<z.ZodString>;
635
+ expiresAt: z.ZodNullable<z.ZodString>;
636
+ createdByAdmin: z.ZodString;
637
+ createdAt: z.ZodString;
638
+ updatedAt: z.ZodString;
639
+ }, z.core.$strip>>;
640
+ total: z.ZodNumber;
641
+ limit: z.ZodNumber;
642
+ offset: z.ZodNumber;
643
+ }, z.core.$strip>;
644
+ declare const usageEventCreateSchema: z.ZodObject<{
645
+ resource: z.ZodLiteral<"traffic_egress">;
646
+ quantity: z.ZodOptional<z.ZodNumber>;
647
+ bytes: z.ZodOptional<z.ZodNumber>;
648
+ idempotencyKey: z.ZodOptional<z.ZodString>;
649
+ eventId: z.ZodOptional<z.ZodString>;
650
+ customerId: z.ZodString;
651
+ }, z.core.$strict>;
652
+ declare const accountUsagePeriodSchema: z.ZodString;
653
+ declare const accountUsageQuerySchema: z.ZodObject<{
654
+ customerId: z.ZodString;
655
+ }, z.core.$strict>;
656
+ declare const usageResourceSummarySchema: z.ZodObject<{
657
+ used: z.ZodNumber;
658
+ included: z.ZodNumber;
659
+ overageBytes: z.ZodNumber;
660
+ overageGb: z.ZodNumber;
661
+ }, z.core.$strip>;
662
+ declare const usageSummarySchema: z.ZodObject<{
663
+ period: z.ZodString;
664
+ resources: z.ZodObject<{
665
+ traffic_egress: z.ZodObject<{
666
+ used: z.ZodNumber;
667
+ included: z.ZodNumber;
668
+ overageBytes: z.ZodNumber;
669
+ overageGb: z.ZodNumber;
670
+ }, z.core.$strip>;
671
+ }, z.core.$strip>;
672
+ nextReset: z.ZodString;
673
+ }, z.core.$strip>;
674
+ declare const usageEventCreateResponseSchema: z.ZodObject<{
675
+ resource: z.ZodLiteral<"traffic_egress">;
676
+ quantity: z.ZodNumber;
677
+ duplicate: z.ZodBoolean;
678
+ }, z.core.$strip>;
679
+ declare const walletRedemptionSchema: z.ZodObject<{
680
+ codes: z.ZodArray<z.ZodString>;
681
+ }, z.core.$strip>;
682
+ declare const walletBalanceSchema: z.ZodObject<{
683
+ id: z.ZodString;
684
+ walletId: z.ZodNullable<z.ZodString>;
685
+ storeId: z.ZodString;
686
+ customerId: z.ZodNullable<z.ZodString>;
687
+ currency: z.ZodString;
688
+ availableAmount: z.ZodNumber;
689
+ pendingAmount: z.ZodNumber;
690
+ stripeCustomerId: z.ZodNullable<z.ZodString>;
691
+ updatedAt: z.ZodString;
692
+ }, z.core.$strip>;
693
+ declare const walletLedgerEntrySchema: z.ZodObject<{
694
+ id: z.ZodString;
695
+ walletId: z.ZodNullable<z.ZodString>;
696
+ storeId: z.ZodString;
697
+ customerId: z.ZodNullable<z.ZodString>;
698
+ currency: z.ZodString;
699
+ amount: z.ZodNumber;
700
+ direction: z.ZodEnum<{
701
+ credit: "credit";
702
+ debit: "debit";
703
+ }>;
704
+ status: z.ZodEnum<{
705
+ pending: "pending";
706
+ refunded: "refunded";
707
+ posted: "posted";
708
+ released: "released";
709
+ }>;
710
+ sourceType: z.ZodEnum<{
711
+ gift_card_redemption: "gift_card_redemption";
712
+ order_payment: "order_payment";
713
+ stripe_invoice: "stripe_invoice";
714
+ adjustment: "adjustment";
715
+ refund: "refund";
716
+ }>;
717
+ sourceId: z.ZodNullable<z.ZodString>;
718
+ orderId: z.ZodNullable<z.ZodString>;
719
+ paymentId: z.ZodNullable<z.ZodString>;
720
+ stripeCustomerBalanceTransactionId: z.ZodNullable<z.ZodString>;
721
+ createdAt: z.ZodString;
722
+ }, z.core.$strip>;
723
+ declare const walletBalanceListResponseSchema: z.ZodObject<{
724
+ items: z.ZodArray<z.ZodObject<{
725
+ id: z.ZodString;
726
+ walletId: z.ZodNullable<z.ZodString>;
727
+ storeId: z.ZodString;
728
+ customerId: z.ZodNullable<z.ZodString>;
729
+ currency: z.ZodString;
730
+ availableAmount: z.ZodNumber;
731
+ pendingAmount: z.ZodNumber;
732
+ stripeCustomerId: z.ZodNullable<z.ZodString>;
733
+ updatedAt: z.ZodString;
734
+ }, z.core.$strip>>;
735
+ total: z.ZodNumber;
736
+ limit: z.ZodNumber;
737
+ offset: z.ZodNumber;
738
+ }, z.core.$strip>;
739
+ declare const walletLedgerResponseSchema: z.ZodObject<{
740
+ items: z.ZodArray<z.ZodObject<{
741
+ id: z.ZodString;
742
+ walletId: z.ZodNullable<z.ZodString>;
743
+ storeId: z.ZodString;
744
+ customerId: z.ZodNullable<z.ZodString>;
745
+ currency: z.ZodString;
746
+ amount: z.ZodNumber;
747
+ direction: z.ZodEnum<{
748
+ credit: "credit";
749
+ debit: "debit";
750
+ }>;
751
+ status: z.ZodEnum<{
752
+ pending: "pending";
753
+ refunded: "refunded";
754
+ posted: "posted";
755
+ released: "released";
756
+ }>;
757
+ sourceType: z.ZodEnum<{
758
+ gift_card_redemption: "gift_card_redemption";
759
+ order_payment: "order_payment";
760
+ stripe_invoice: "stripe_invoice";
761
+ adjustment: "adjustment";
762
+ refund: "refund";
763
+ }>;
764
+ sourceId: z.ZodNullable<z.ZodString>;
765
+ orderId: z.ZodNullable<z.ZodString>;
766
+ paymentId: z.ZodNullable<z.ZodString>;
767
+ stripeCustomerBalanceTransactionId: z.ZodNullable<z.ZodString>;
768
+ createdAt: z.ZodString;
769
+ }, z.core.$strip>>;
770
+ total: z.ZodNumber;
771
+ limit: z.ZodNumber;
772
+ offset: z.ZodNumber;
773
+ }, z.core.$strip>;
774
+ declare const walletRedemptionResponseSchema: z.ZodObject<{
775
+ redeemedAmount: z.ZodNumber;
776
+ currency: z.ZodNullable<z.ZodString>;
777
+ failures: z.ZodArray<z.ZodObject<{
778
+ code: z.ZodString;
779
+ error: z.ZodString;
780
+ }, z.core.$strip>>;
781
+ }, z.core.$strip>;
782
+ declare const accountWalletResponseSchema: z.ZodObject<{
783
+ items: z.ZodArray<z.ZodObject<{
784
+ id: z.ZodString;
785
+ walletId: z.ZodNullable<z.ZodString>;
786
+ storeId: z.ZodString;
787
+ customerId: z.ZodNullable<z.ZodString>;
788
+ currency: z.ZodString;
789
+ amount: z.ZodNumber;
790
+ direction: z.ZodEnum<{
791
+ credit: "credit";
792
+ debit: "debit";
793
+ }>;
794
+ status: z.ZodEnum<{
795
+ pending: "pending";
796
+ refunded: "refunded";
797
+ posted: "posted";
798
+ released: "released";
799
+ }>;
800
+ sourceType: z.ZodEnum<{
801
+ gift_card_redemption: "gift_card_redemption";
802
+ order_payment: "order_payment";
803
+ stripe_invoice: "stripe_invoice";
804
+ adjustment: "adjustment";
805
+ refund: "refund";
806
+ }>;
807
+ sourceId: z.ZodNullable<z.ZodString>;
808
+ orderId: z.ZodNullable<z.ZodString>;
809
+ paymentId: z.ZodNullable<z.ZodString>;
810
+ stripeCustomerBalanceTransactionId: z.ZodNullable<z.ZodString>;
811
+ createdAt: z.ZodString;
812
+ }, z.core.$strip>>;
813
+ total: z.ZodNumber;
814
+ limit: z.ZodNumber;
815
+ offset: z.ZodNumber;
816
+ balances: z.ZodArray<z.ZodObject<{
817
+ id: z.ZodString;
818
+ walletId: z.ZodNullable<z.ZodString>;
819
+ storeId: z.ZodString;
820
+ customerId: z.ZodNullable<z.ZodString>;
821
+ currency: z.ZodString;
822
+ availableAmount: z.ZodNumber;
823
+ pendingAmount: z.ZodNumber;
824
+ stripeCustomerId: z.ZodNullable<z.ZodString>;
825
+ updatedAt: z.ZodString;
826
+ }, z.core.$strip>>;
827
+ }, z.core.$strip>;
828
+ declare const accountBillingQuerySchema: z.ZodObject<{
829
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
830
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
831
+ ledgerLimit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
832
+ ledgerOffset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
833
+ }, z.core.$strip>;
834
+ declare const accountOverviewResponseSchema: z.ZodObject<{
835
+ activeLicenses: z.ZodNumber;
836
+ membershipTier: z.ZodEnum<{
837
+ none: "none";
838
+ silver: "silver";
839
+ gold: "gold";
840
+ premier: "premier";
841
+ }>;
842
+ latestBillingDate: z.ZodNullable<z.ZodString>;
843
+ }, z.core.$strip>;
844
+ declare const membershipStripeChannelSchema: z.ZodObject<{
845
+ status: z.ZodString;
846
+ billingInterval: z.ZodNullable<z.ZodString>;
847
+ renewsAt: z.ZodNullable<z.ZodString>;
848
+ cancelAtPeriodEnd: z.ZodBoolean;
849
+ }, z.core.$strip>;
850
+ declare const accountMembershipResponseSchema: z.ZodObject<{
851
+ state: z.ZodEnum<{
852
+ active: "active";
853
+ expired: "expired";
854
+ inactive: "inactive";
855
+ renewal_due: "renewal_due";
856
+ }>;
857
+ tier: z.ZodEnum<{
858
+ none: "none";
859
+ silver: "silver";
860
+ gold: "gold";
861
+ premier: "premier";
862
+ }>;
863
+ membershipStatus: z.ZodEnum<{
864
+ active: "active";
865
+ expired: "expired";
866
+ inactive: "inactive";
867
+ }>;
868
+ expiresAt: z.ZodNullable<z.ZodString>;
869
+ cumulativeMonths: z.ZodNumber;
870
+ proIncluded: z.ZodBoolean;
871
+ primaryAction: z.ZodEnum<{
872
+ subscribe: "subscribe";
873
+ renew: "renew";
874
+ manage: "manage";
875
+ }>;
876
+ stripeSubscription: z.ZodNullable<z.ZodObject<{
877
+ status: z.ZodString;
878
+ billingInterval: z.ZodNullable<z.ZodString>;
879
+ renewsAt: z.ZodNullable<z.ZodString>;
880
+ cancelAtPeriodEnd: z.ZodBoolean;
881
+ }, z.core.$strip>>;
882
+ channel: z.ZodEnum<{
883
+ stripe: "stripe";
884
+ gift: "gift";
885
+ }>;
886
+ }, z.core.$strip>;
887
+ declare const billingRecordItemSchema: z.ZodObject<{
888
+ name: z.ZodString;
889
+ productType: z.ZodString;
890
+ quantity: z.ZodNumber;
891
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
892
+ recurring: z.ZodBoolean;
893
+ }, z.core.$strip>;
894
+ declare const billingRecordSchema: z.ZodObject<{
895
+ id: z.ZodString;
896
+ title: z.ZodString;
897
+ kind: z.ZodEnum<{
898
+ store_item: "store_item";
899
+ store_subscription: "store_subscription";
900
+ mixed_order: "mixed_order";
901
+ }>;
902
+ items: z.ZodArray<z.ZodObject<{
903
+ name: z.ZodString;
904
+ productType: z.ZodString;
905
+ quantity: z.ZodNumber;
906
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
907
+ recurring: z.ZodBoolean;
908
+ }, z.core.$strip>>;
909
+ orderStatus: z.ZodEnum<{
910
+ pending: "pending";
911
+ paid: "paid";
912
+ failed: "failed";
913
+ refunded: "refunded";
914
+ canceled: "canceled";
915
+ fulfilled: "fulfilled";
916
+ }>;
917
+ paymentStatus: z.ZodEnum<{
918
+ pending: "pending";
919
+ paid: "paid";
920
+ failed: "failed";
921
+ refunded: "refunded";
922
+ canceled: "canceled";
923
+ unpaid: "unpaid";
924
+ }>;
925
+ fulfillmentStatus: z.ZodEnum<{
926
+ pending: "pending";
927
+ failed: "failed";
928
+ canceled: "canceled";
929
+ fulfilled: "fulfilled";
930
+ }>;
931
+ amountLabel: z.ZodNullable<z.ZodString>;
932
+ occurredAt: z.ZodString;
933
+ paidAt: z.ZodNullable<z.ZodString>;
934
+ fulfilledAt: z.ZodNullable<z.ZodString>;
935
+ }, z.core.$strip>;
936
+ declare const billingSummarySchema: z.ZodObject<{
937
+ totalRecords: z.ZodNumber;
938
+ stripeRecords: z.ZodNumber;
939
+ walletBalanceAmount: z.ZodNumber;
940
+ walletCurrency: z.ZodNullable<z.ZodString>;
941
+ latestAt: z.ZodNullable<z.ZodString>;
942
+ }, z.core.$strip>;
943
+ declare const accountBillingResponseSchema: z.ZodObject<{
944
+ summary: z.ZodObject<{
945
+ totalRecords: z.ZodNumber;
946
+ stripeRecords: z.ZodNumber;
947
+ walletBalanceAmount: z.ZodNumber;
948
+ walletCurrency: z.ZodNullable<z.ZodString>;
949
+ latestAt: z.ZodNullable<z.ZodString>;
950
+ }, z.core.$strip>;
951
+ walletBalances: z.ZodArray<z.ZodObject<{
952
+ id: z.ZodString;
953
+ walletId: z.ZodNullable<z.ZodString>;
954
+ storeId: z.ZodString;
955
+ customerId: z.ZodNullable<z.ZodString>;
956
+ currency: z.ZodString;
957
+ availableAmount: z.ZodNumber;
958
+ pendingAmount: z.ZodNumber;
959
+ stripeCustomerId: z.ZodNullable<z.ZodString>;
960
+ updatedAt: z.ZodString;
961
+ }, z.core.$strip>>;
962
+ walletLedger: z.ZodObject<{
963
+ items: z.ZodArray<z.ZodObject<{
964
+ id: z.ZodString;
965
+ walletId: z.ZodNullable<z.ZodString>;
966
+ storeId: z.ZodString;
967
+ customerId: z.ZodNullable<z.ZodString>;
968
+ currency: z.ZodString;
969
+ amount: z.ZodNumber;
970
+ direction: z.ZodEnum<{
971
+ credit: "credit";
972
+ debit: "debit";
973
+ }>;
974
+ status: z.ZodEnum<{
975
+ pending: "pending";
976
+ refunded: "refunded";
977
+ posted: "posted";
978
+ released: "released";
979
+ }>;
980
+ sourceType: z.ZodEnum<{
981
+ gift_card_redemption: "gift_card_redemption";
982
+ order_payment: "order_payment";
983
+ stripe_invoice: "stripe_invoice";
984
+ adjustment: "adjustment";
985
+ refund: "refund";
986
+ }>;
987
+ sourceId: z.ZodNullable<z.ZodString>;
988
+ orderId: z.ZodNullable<z.ZodString>;
989
+ paymentId: z.ZodNullable<z.ZodString>;
990
+ stripeCustomerBalanceTransactionId: z.ZodNullable<z.ZodString>;
991
+ createdAt: z.ZodString;
992
+ }, z.core.$strip>>;
993
+ total: z.ZodNumber;
994
+ limit: z.ZodNumber;
995
+ offset: z.ZodNumber;
996
+ }, z.core.$strip>;
997
+ items: z.ZodArray<z.ZodObject<{
998
+ id: z.ZodString;
999
+ title: z.ZodString;
1000
+ kind: z.ZodEnum<{
1001
+ store_item: "store_item";
1002
+ store_subscription: "store_subscription";
1003
+ mixed_order: "mixed_order";
1004
+ }>;
1005
+ items: z.ZodArray<z.ZodObject<{
1006
+ name: z.ZodString;
1007
+ productType: z.ZodString;
1008
+ quantity: z.ZodNumber;
1009
+ deliverable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1010
+ recurring: z.ZodBoolean;
1011
+ }, z.core.$strip>>;
1012
+ orderStatus: z.ZodEnum<{
1013
+ pending: "pending";
1014
+ paid: "paid";
1015
+ failed: "failed";
1016
+ refunded: "refunded";
1017
+ canceled: "canceled";
1018
+ fulfilled: "fulfilled";
1019
+ }>;
1020
+ paymentStatus: z.ZodEnum<{
1021
+ pending: "pending";
1022
+ paid: "paid";
1023
+ failed: "failed";
1024
+ refunded: "refunded";
1025
+ canceled: "canceled";
1026
+ unpaid: "unpaid";
1027
+ }>;
1028
+ fulfillmentStatus: z.ZodEnum<{
1029
+ pending: "pending";
1030
+ failed: "failed";
1031
+ canceled: "canceled";
1032
+ fulfilled: "fulfilled";
1033
+ }>;
1034
+ amountLabel: z.ZodNullable<z.ZodString>;
1035
+ occurredAt: z.ZodString;
1036
+ paidAt: z.ZodNullable<z.ZodString>;
1037
+ fulfilledAt: z.ZodNullable<z.ZodString>;
1038
+ }, z.core.$strip>>;
1039
+ total: z.ZodNumber;
1040
+ limit: z.ZodNumber;
1041
+ offset: z.ZodNumber;
1042
+ }, z.core.$strip>;
1043
+ declare const storePatchSchema: z.ZodObject<{
1044
+ name: z.ZodOptional<z.ZodString>;
1045
+ status: z.ZodOptional<z.ZodEnum<{
1046
+ active: "active";
1047
+ disabled: "disabled";
1048
+ }>>;
1049
+ }, z.core.$strip>;
1050
+ declare const adminUserPatchSchema: z.ZodObject<{
1051
+ role: z.ZodOptional<z.ZodEnum<{
1052
+ user: "user";
1053
+ admin: "admin";
1054
+ }>>;
1055
+ membershipTier: z.ZodOptional<z.ZodEnum<{
1056
+ none: "none";
1057
+ silver: "silver";
1058
+ gold: "gold";
1059
+ premier: "premier";
1060
+ }>>;
1061
+ membershipStatus: z.ZodOptional<z.ZodEnum<{
1062
+ active: "active";
1063
+ expired: "expired";
1064
+ inactive: "inactive";
1065
+ }>>;
1066
+ }, z.core.$strip>;
1067
+ declare const adminUserListQuerySchema: z.ZodObject<{
1068
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1069
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1070
+ search: z.ZodOptional<z.ZodString>;
1071
+ membershipTier: z.ZodOptional<z.ZodEnum<{
1072
+ none: "none";
1073
+ silver: "silver";
1074
+ gold: "gold";
1075
+ premier: "premier";
1076
+ }>>;
1077
+ }, z.core.$strip>;
1078
+ declare const adminUserSchema: z.ZodObject<{
1079
+ id: z.ZodString;
1080
+ name: z.ZodString;
1081
+ email: z.ZodString;
1082
+ emailVerified: z.ZodBoolean;
1083
+ image: z.ZodNullable<z.ZodString>;
1084
+ createdAt: z.ZodString;
1085
+ updatedAt: z.ZodString;
1086
+ role: z.ZodEnum<{
1087
+ user: "user";
1088
+ admin: "admin";
1089
+ }>;
1090
+ membershipTier: z.ZodEnum<{
1091
+ none: "none";
1092
+ silver: "silver";
1093
+ gold: "gold";
1094
+ premier: "premier";
1095
+ }>;
1096
+ membershipStatus: z.ZodEnum<{
1097
+ active: "active";
1098
+ expired: "expired";
1099
+ inactive: "inactive";
1100
+ }>;
1101
+ }, z.core.$strip>;
1102
+ declare const adminUserListResponseSchema: z.ZodObject<{
1103
+ items: z.ZodArray<z.ZodObject<{
1104
+ id: z.ZodString;
1105
+ name: z.ZodString;
1106
+ email: z.ZodString;
1107
+ emailVerified: z.ZodBoolean;
1108
+ image: z.ZodNullable<z.ZodString>;
1109
+ createdAt: z.ZodString;
1110
+ updatedAt: z.ZodString;
1111
+ role: z.ZodEnum<{
1112
+ user: "user";
1113
+ admin: "admin";
1114
+ }>;
1115
+ membershipTier: z.ZodEnum<{
1116
+ none: "none";
1117
+ silver: "silver";
1118
+ gold: "gold";
1119
+ premier: "premier";
1120
+ }>;
1121
+ membershipStatus: z.ZodEnum<{
1122
+ active: "active";
1123
+ expired: "expired";
1124
+ inactive: "inactive";
1125
+ }>;
1126
+ }, z.core.$strip>>;
1127
+ total: z.ZodNumber;
1128
+ limit: z.ZodNumber;
1129
+ offset: z.ZodNumber;
1130
+ }, z.core.$strip>;
1131
+ declare const boundLicenseSchema: z.ZodObject<{
1132
+ id: z.ZodString;
1133
+ name: z.ZodString;
1134
+ url: z.ZodString;
1135
+ version: z.ZodNullable<z.ZodString>;
1136
+ plan: z.ZodString;
1137
+ lastSeenAt: z.ZodNullable<z.ZodString>;
1138
+ }, z.core.$strip>;
1139
+ declare const licenseListResponseSchema: z.ZodObject<{
1140
+ items: z.ZodArray<z.ZodObject<{
1141
+ id: z.ZodString;
1142
+ name: z.ZodString;
1143
+ url: z.ZodString;
1144
+ version: z.ZodNullable<z.ZodString>;
1145
+ plan: z.ZodString;
1146
+ lastSeenAt: z.ZodNullable<z.ZodString>;
1147
+ }, z.core.$strip>>;
1148
+ total: z.ZodNumber;
1149
+ limit: z.ZodNumber;
1150
+ offset: z.ZodNumber;
1151
+ }, z.core.$strip>;
1152
+ declare const licenseAssertionSchema: z.ZodObject<{
1153
+ type: z.ZodLiteral<"zpan.license">;
1154
+ issuer: z.ZodString;
1155
+ subject: z.ZodString;
1156
+ accountId: z.ZodString;
1157
+ instanceId: z.ZodString;
1158
+ storeId: z.ZodString;
1159
+ edition: z.ZodLiteral<"pro">;
1160
+ authorizedHosts: z.ZodArray<z.ZodString>;
1161
+ licenseValidUntil: z.ZodNumber;
1162
+ issuedAt: z.ZodNumber;
1163
+ notBefore: z.ZodNumber;
1164
+ expiresAt: z.ZodNumber;
1165
+ }, z.core.$strip>;
1166
+
1167
+ export { accountBillingQuerySchema, accountBillingResponseSchema, accountMembershipResponseSchema, accountOverviewResponseSchema, accountUsagePeriodSchema, accountUsageQuerySchema, accountWalletResponseSchema, adminUserListQuerySchema, adminUserListResponseSchema, adminUserPatchSchema, adminUserSchema, billingPortalSessionResponseSchema, billingPortalSessionSchema, billingRecordItemSchema, billingRecordSchema, billingSummarySchema, boundLicenseSchema, commerceOrderItemSchema, commerceOrderSchema, commercePaymentSchema, commerceProductSchema, commerceStoreSchema, createOrderSchema, createPairingSchema, createProductSchema, deliverableSchema, entitlementRefreshResponseSchema, giftCardCampaignCreateSchema, giftCardCampaignListQuerySchema, giftCardCampaignListResponseSchema, giftCardCampaignSchema, giftCardCreateSchema, giftCardListQuerySchema, giftCardListResponseSchema, giftCardPatchSchema, licenseAssertionSchema, licenseListResponseSchema, membershipStripeChannelSchema, orderListQuerySchema, orderListResponseSchema, orderPatchSchema, pageSchema, paginationQuerySchema, pairingActionResponseSchema, pairingActionSchema, pairingCreateResponseSchema, pairingPollResponseSchema, pairingPreviewSchema, paymentCreateResponseSchema, paymentSchema, productListQuerySchema, productListResponseSchema, productMetadataSchema, productPriceSchema, storeGiftCardSchema, storeListResponseSchema, storePatchSchema, updateProductSchema, usageEventCreateResponseSchema, usageEventCreateSchema, usageResourceSummarySchema, usageSummarySchema, walletBalanceListResponseSchema, walletBalanceSchema, walletLedgerEntrySchema, walletLedgerResponseSchema, walletRedemptionResponseSchema, walletRedemptionSchema };