@moonbase.sh/api 0.4.32 → 0.4.34
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/index.cjs +230 -193
- package/dist/index.d.cts +1969 -107
- package/dist/index.d.ts +1969 -107
- package/dist/index.js +230 -193
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -33,8 +33,8 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
33
33
|
status: ProductStatus;
|
|
34
34
|
id: string;
|
|
35
35
|
name: string;
|
|
36
|
-
tagline: string;
|
|
37
36
|
description: string;
|
|
37
|
+
tagline: string;
|
|
38
38
|
website: string | null;
|
|
39
39
|
iconUrl: string | null;
|
|
40
40
|
purchasable: boolean;
|
|
@@ -43,8 +43,8 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
43
43
|
status: ProductStatus;
|
|
44
44
|
id: string;
|
|
45
45
|
name: string;
|
|
46
|
-
tagline: string;
|
|
47
46
|
description: string;
|
|
47
|
+
tagline: string;
|
|
48
48
|
website: string | null;
|
|
49
49
|
iconUrl: string | null;
|
|
50
50
|
purchasable: boolean;
|
|
@@ -66,23 +66,188 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
66
66
|
activeNumberOfActivations: z.ZodNumber;
|
|
67
67
|
maxNumberOfActivations: z.ZodNumber;
|
|
68
68
|
offlineActivationsAllowed: z.ZodBoolean;
|
|
69
|
+
source: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
70
|
+
type: z.ZodLiteral<"Order">;
|
|
71
|
+
orderId: z.ZodString;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
type: "Order";
|
|
74
|
+
orderId: string;
|
|
75
|
+
}, {
|
|
76
|
+
type: "Order";
|
|
77
|
+
orderId: string;
|
|
78
|
+
}>, z.ZodObject<{
|
|
79
|
+
type: z.ZodLiteral<"Subscription">;
|
|
80
|
+
subscriptionId: z.ZodString;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
type: "Subscription";
|
|
83
|
+
subscriptionId: string;
|
|
84
|
+
}, {
|
|
85
|
+
type: "Subscription";
|
|
86
|
+
subscriptionId: string;
|
|
87
|
+
}>, z.ZodObject<{
|
|
88
|
+
type: z.ZodLiteral<"Voucher">;
|
|
89
|
+
voucherId: z.ZodString;
|
|
90
|
+
code: z.ZodString;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
type: "Voucher";
|
|
93
|
+
code: string;
|
|
94
|
+
voucherId: string;
|
|
95
|
+
}, {
|
|
96
|
+
type: "Voucher";
|
|
97
|
+
code: string;
|
|
98
|
+
voucherId: string;
|
|
99
|
+
}>, z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<"Fastspring">;
|
|
101
|
+
reference: z.ZodString;
|
|
102
|
+
testMode: z.ZodBoolean;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
type: "Fastspring";
|
|
105
|
+
reference: string;
|
|
106
|
+
testMode: boolean;
|
|
107
|
+
}, {
|
|
108
|
+
type: "Fastspring";
|
|
109
|
+
reference: string;
|
|
110
|
+
testMode: boolean;
|
|
111
|
+
}>]>>;
|
|
112
|
+
lastUpdated: z.ZodObject<{
|
|
113
|
+
at: z.ZodDate;
|
|
114
|
+
by: z.ZodObject<{
|
|
115
|
+
id: z.ZodString;
|
|
116
|
+
name: z.ZodString;
|
|
117
|
+
email: z.ZodString;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
email: string;
|
|
122
|
+
}, {
|
|
123
|
+
id: string;
|
|
124
|
+
name: string;
|
|
125
|
+
email: string;
|
|
126
|
+
}>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
at: Date;
|
|
129
|
+
by: {
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
email: string;
|
|
133
|
+
};
|
|
134
|
+
}, {
|
|
135
|
+
at: Date;
|
|
136
|
+
by: {
|
|
137
|
+
id: string;
|
|
138
|
+
name: string;
|
|
139
|
+
email: string;
|
|
140
|
+
};
|
|
141
|
+
}>;
|
|
142
|
+
created: z.ZodObject<{
|
|
143
|
+
at: z.ZodDate;
|
|
144
|
+
by: z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
email: z.ZodString;
|
|
148
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
id: string;
|
|
150
|
+
name: string;
|
|
151
|
+
email: string;
|
|
152
|
+
}, {
|
|
153
|
+
id: string;
|
|
154
|
+
name: string;
|
|
155
|
+
email: string;
|
|
156
|
+
}>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
at: Date;
|
|
159
|
+
by: {
|
|
160
|
+
id: string;
|
|
161
|
+
name: string;
|
|
162
|
+
email: string;
|
|
163
|
+
};
|
|
164
|
+
}, {
|
|
165
|
+
at: Date;
|
|
166
|
+
by: {
|
|
167
|
+
id: string;
|
|
168
|
+
name: string;
|
|
169
|
+
email: string;
|
|
170
|
+
};
|
|
171
|
+
}>;
|
|
69
172
|
}, "strip", z.ZodTypeAny, {
|
|
70
173
|
status: LicenseStatus;
|
|
71
174
|
id: string;
|
|
175
|
+
lastUpdated: {
|
|
176
|
+
at: Date;
|
|
177
|
+
by: {
|
|
178
|
+
id: string;
|
|
179
|
+
name: string;
|
|
180
|
+
email: string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
created: {
|
|
184
|
+
at: Date;
|
|
185
|
+
by: {
|
|
186
|
+
id: string;
|
|
187
|
+
name: string;
|
|
188
|
+
email: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
72
191
|
productId: string;
|
|
73
192
|
ownerId: string;
|
|
74
193
|
activeNumberOfActivations: number;
|
|
75
194
|
maxNumberOfActivations: number;
|
|
76
195
|
offlineActivationsAllowed: boolean;
|
|
196
|
+
source: {
|
|
197
|
+
type: "Order";
|
|
198
|
+
orderId: string;
|
|
199
|
+
} | {
|
|
200
|
+
type: "Subscription";
|
|
201
|
+
subscriptionId: string;
|
|
202
|
+
} | {
|
|
203
|
+
type: "Voucher";
|
|
204
|
+
code: string;
|
|
205
|
+
voucherId: string;
|
|
206
|
+
} | {
|
|
207
|
+
type: "Fastspring";
|
|
208
|
+
reference: string;
|
|
209
|
+
testMode: boolean;
|
|
210
|
+
} | null;
|
|
77
211
|
externalId?: string | undefined;
|
|
78
212
|
}, {
|
|
79
213
|
status: LicenseStatus;
|
|
80
214
|
id: string;
|
|
215
|
+
lastUpdated: {
|
|
216
|
+
at: Date;
|
|
217
|
+
by: {
|
|
218
|
+
id: string;
|
|
219
|
+
name: string;
|
|
220
|
+
email: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
created: {
|
|
224
|
+
at: Date;
|
|
225
|
+
by: {
|
|
226
|
+
id: string;
|
|
227
|
+
name: string;
|
|
228
|
+
email: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
81
231
|
productId: string;
|
|
82
232
|
ownerId: string;
|
|
83
233
|
activeNumberOfActivations: number;
|
|
84
234
|
maxNumberOfActivations: number;
|
|
85
235
|
offlineActivationsAllowed: boolean;
|
|
236
|
+
source: {
|
|
237
|
+
type: "Order";
|
|
238
|
+
orderId: string;
|
|
239
|
+
} | {
|
|
240
|
+
type: "Subscription";
|
|
241
|
+
subscriptionId: string;
|
|
242
|
+
} | {
|
|
243
|
+
type: "Voucher";
|
|
244
|
+
code: string;
|
|
245
|
+
voucherId: string;
|
|
246
|
+
} | {
|
|
247
|
+
type: "Fastspring";
|
|
248
|
+
reference: string;
|
|
249
|
+
testMode: boolean;
|
|
250
|
+
} | null;
|
|
86
251
|
externalId?: string | undefined;
|
|
87
252
|
}>;
|
|
88
253
|
customer: z.ZodOptional<z.ZodObject<{
|
|
@@ -128,12 +293,72 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
128
293
|
}, {
|
|
129
294
|
newsletterOptIn: boolean;
|
|
130
295
|
}>;
|
|
296
|
+
lastUpdated: z.ZodObject<{
|
|
297
|
+
at: z.ZodDate;
|
|
298
|
+
by: z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
name: z.ZodString;
|
|
301
|
+
email: z.ZodString;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
id: string;
|
|
304
|
+
name: string;
|
|
305
|
+
email: string;
|
|
306
|
+
}, {
|
|
307
|
+
id: string;
|
|
308
|
+
name: string;
|
|
309
|
+
email: string;
|
|
310
|
+
}>;
|
|
311
|
+
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
at: Date;
|
|
313
|
+
by: {
|
|
314
|
+
id: string;
|
|
315
|
+
name: string;
|
|
316
|
+
email: string;
|
|
317
|
+
};
|
|
318
|
+
}, {
|
|
319
|
+
at: Date;
|
|
320
|
+
by: {
|
|
321
|
+
id: string;
|
|
322
|
+
name: string;
|
|
323
|
+
email: string;
|
|
324
|
+
};
|
|
325
|
+
}>;
|
|
326
|
+
created: z.ZodObject<{
|
|
327
|
+
at: z.ZodDate;
|
|
328
|
+
by: z.ZodObject<{
|
|
329
|
+
id: z.ZodString;
|
|
330
|
+
name: z.ZodString;
|
|
331
|
+
email: z.ZodString;
|
|
332
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
id: string;
|
|
334
|
+
name: string;
|
|
335
|
+
email: string;
|
|
336
|
+
}, {
|
|
337
|
+
id: string;
|
|
338
|
+
name: string;
|
|
339
|
+
email: string;
|
|
340
|
+
}>;
|
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
at: Date;
|
|
343
|
+
by: {
|
|
344
|
+
id: string;
|
|
345
|
+
name: string;
|
|
346
|
+
email: string;
|
|
347
|
+
};
|
|
348
|
+
}, {
|
|
349
|
+
at: Date;
|
|
350
|
+
by: {
|
|
351
|
+
id: string;
|
|
352
|
+
name: string;
|
|
353
|
+
email: string;
|
|
354
|
+
};
|
|
355
|
+
}>;
|
|
131
356
|
}, "strip", z.ZodTypeAny, {
|
|
132
357
|
id: string;
|
|
133
358
|
name: string;
|
|
359
|
+
email: string;
|
|
134
360
|
businessName: string | null;
|
|
135
361
|
taxId: string | null;
|
|
136
|
-
email: string;
|
|
137
362
|
numberOfLicenses: number;
|
|
138
363
|
numberOfTrials: number;
|
|
139
364
|
emailConfirmed: boolean;
|
|
@@ -152,13 +377,29 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
152
377
|
communicationPreferences: {
|
|
153
378
|
newsletterOptIn: boolean;
|
|
154
379
|
};
|
|
380
|
+
lastUpdated: {
|
|
381
|
+
at: Date;
|
|
382
|
+
by: {
|
|
383
|
+
id: string;
|
|
384
|
+
name: string;
|
|
385
|
+
email: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
created: {
|
|
389
|
+
at: Date;
|
|
390
|
+
by: {
|
|
391
|
+
id: string;
|
|
392
|
+
name: string;
|
|
393
|
+
email: string;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
155
396
|
externalId?: string | undefined;
|
|
156
397
|
}, {
|
|
157
398
|
id: string;
|
|
158
399
|
name: string;
|
|
400
|
+
email: string;
|
|
159
401
|
businessName: string | null;
|
|
160
402
|
taxId: string | null;
|
|
161
|
-
email: string;
|
|
162
403
|
numberOfLicenses: number;
|
|
163
404
|
numberOfTrials: number;
|
|
164
405
|
emailConfirmed: boolean;
|
|
@@ -177,31 +418,154 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
177
418
|
communicationPreferences: {
|
|
178
419
|
newsletterOptIn: boolean;
|
|
179
420
|
};
|
|
421
|
+
lastUpdated: {
|
|
422
|
+
at: Date;
|
|
423
|
+
by: {
|
|
424
|
+
id: string;
|
|
425
|
+
name: string;
|
|
426
|
+
email: string;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
created: {
|
|
430
|
+
at: Date;
|
|
431
|
+
by: {
|
|
432
|
+
id: string;
|
|
433
|
+
name: string;
|
|
434
|
+
email: string;
|
|
435
|
+
};
|
|
436
|
+
};
|
|
180
437
|
externalId?: string | undefined;
|
|
181
438
|
}>>;
|
|
439
|
+
lastUpdated: z.ZodObject<{
|
|
440
|
+
at: z.ZodDate;
|
|
441
|
+
by: z.ZodObject<{
|
|
442
|
+
id: z.ZodString;
|
|
443
|
+
name: z.ZodString;
|
|
444
|
+
email: z.ZodString;
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
446
|
+
id: string;
|
|
447
|
+
name: string;
|
|
448
|
+
email: string;
|
|
449
|
+
}, {
|
|
450
|
+
id: string;
|
|
451
|
+
name: string;
|
|
452
|
+
email: string;
|
|
453
|
+
}>;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
at: Date;
|
|
456
|
+
by: {
|
|
457
|
+
id: string;
|
|
458
|
+
name: string;
|
|
459
|
+
email: string;
|
|
460
|
+
};
|
|
461
|
+
}, {
|
|
462
|
+
at: Date;
|
|
463
|
+
by: {
|
|
464
|
+
id: string;
|
|
465
|
+
name: string;
|
|
466
|
+
email: string;
|
|
467
|
+
};
|
|
468
|
+
}>;
|
|
469
|
+
created: z.ZodObject<{
|
|
470
|
+
at: z.ZodDate;
|
|
471
|
+
by: z.ZodObject<{
|
|
472
|
+
id: z.ZodString;
|
|
473
|
+
name: z.ZodString;
|
|
474
|
+
email: z.ZodString;
|
|
475
|
+
}, "strip", z.ZodTypeAny, {
|
|
476
|
+
id: string;
|
|
477
|
+
name: string;
|
|
478
|
+
email: string;
|
|
479
|
+
}, {
|
|
480
|
+
id: string;
|
|
481
|
+
name: string;
|
|
482
|
+
email: string;
|
|
483
|
+
}>;
|
|
484
|
+
}, "strip", z.ZodTypeAny, {
|
|
485
|
+
at: Date;
|
|
486
|
+
by: {
|
|
487
|
+
id: string;
|
|
488
|
+
name: string;
|
|
489
|
+
email: string;
|
|
490
|
+
};
|
|
491
|
+
}, {
|
|
492
|
+
at: Date;
|
|
493
|
+
by: {
|
|
494
|
+
id: string;
|
|
495
|
+
name: string;
|
|
496
|
+
email: string;
|
|
497
|
+
};
|
|
498
|
+
}>;
|
|
182
499
|
}, "strip", z.ZodTypeAny, {
|
|
183
500
|
status: ActivationStatus;
|
|
184
501
|
id: string;
|
|
185
502
|
name: string;
|
|
503
|
+
lastUpdated: {
|
|
504
|
+
at: Date;
|
|
505
|
+
by: {
|
|
506
|
+
id: string;
|
|
507
|
+
name: string;
|
|
508
|
+
email: string;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
created: {
|
|
512
|
+
at: Date;
|
|
513
|
+
by: {
|
|
514
|
+
id: string;
|
|
515
|
+
name: string;
|
|
516
|
+
email: string;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
186
519
|
signature: string;
|
|
187
520
|
activationMethod: ActivationMethod;
|
|
188
521
|
lastValidatedAt: Date;
|
|
189
522
|
license: {
|
|
190
523
|
status: LicenseStatus;
|
|
191
524
|
id: string;
|
|
525
|
+
lastUpdated: {
|
|
526
|
+
at: Date;
|
|
527
|
+
by: {
|
|
528
|
+
id: string;
|
|
529
|
+
name: string;
|
|
530
|
+
email: string;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
created: {
|
|
534
|
+
at: Date;
|
|
535
|
+
by: {
|
|
536
|
+
id: string;
|
|
537
|
+
name: string;
|
|
538
|
+
email: string;
|
|
539
|
+
};
|
|
540
|
+
};
|
|
192
541
|
productId: string;
|
|
193
542
|
ownerId: string;
|
|
194
543
|
activeNumberOfActivations: number;
|
|
195
544
|
maxNumberOfActivations: number;
|
|
196
545
|
offlineActivationsAllowed: boolean;
|
|
546
|
+
source: {
|
|
547
|
+
type: "Order";
|
|
548
|
+
orderId: string;
|
|
549
|
+
} | {
|
|
550
|
+
type: "Subscription";
|
|
551
|
+
subscriptionId: string;
|
|
552
|
+
} | {
|
|
553
|
+
type: "Voucher";
|
|
554
|
+
code: string;
|
|
555
|
+
voucherId: string;
|
|
556
|
+
} | {
|
|
557
|
+
type: "Fastspring";
|
|
558
|
+
reference: string;
|
|
559
|
+
testMode: boolean;
|
|
560
|
+
} | null;
|
|
197
561
|
externalId?: string | undefined;
|
|
198
562
|
};
|
|
199
563
|
customer?: {
|
|
200
564
|
id: string;
|
|
201
565
|
name: string;
|
|
566
|
+
email: string;
|
|
202
567
|
businessName: string | null;
|
|
203
568
|
taxId: string | null;
|
|
204
|
-
email: string;
|
|
205
569
|
numberOfLicenses: number;
|
|
206
570
|
numberOfTrials: number;
|
|
207
571
|
emailConfirmed: boolean;
|
|
@@ -220,31 +584,94 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
220
584
|
communicationPreferences: {
|
|
221
585
|
newsletterOptIn: boolean;
|
|
222
586
|
};
|
|
587
|
+
lastUpdated: {
|
|
588
|
+
at: Date;
|
|
589
|
+
by: {
|
|
590
|
+
id: string;
|
|
591
|
+
name: string;
|
|
592
|
+
email: string;
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
created: {
|
|
596
|
+
at: Date;
|
|
597
|
+
by: {
|
|
598
|
+
id: string;
|
|
599
|
+
name: string;
|
|
600
|
+
email: string;
|
|
601
|
+
};
|
|
602
|
+
};
|
|
223
603
|
externalId?: string | undefined;
|
|
224
604
|
} | undefined;
|
|
225
605
|
}, {
|
|
226
606
|
status: ActivationStatus;
|
|
227
607
|
id: string;
|
|
228
608
|
name: string;
|
|
609
|
+
lastUpdated: {
|
|
610
|
+
at: Date;
|
|
611
|
+
by: {
|
|
612
|
+
id: string;
|
|
613
|
+
name: string;
|
|
614
|
+
email: string;
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
created: {
|
|
618
|
+
at: Date;
|
|
619
|
+
by: {
|
|
620
|
+
id: string;
|
|
621
|
+
name: string;
|
|
622
|
+
email: string;
|
|
623
|
+
};
|
|
624
|
+
};
|
|
229
625
|
signature: string;
|
|
230
626
|
activationMethod: ActivationMethod;
|
|
231
627
|
lastValidatedAt: Date;
|
|
232
628
|
license: {
|
|
233
629
|
status: LicenseStatus;
|
|
234
630
|
id: string;
|
|
631
|
+
lastUpdated: {
|
|
632
|
+
at: Date;
|
|
633
|
+
by: {
|
|
634
|
+
id: string;
|
|
635
|
+
name: string;
|
|
636
|
+
email: string;
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
created: {
|
|
640
|
+
at: Date;
|
|
641
|
+
by: {
|
|
642
|
+
id: string;
|
|
643
|
+
name: string;
|
|
644
|
+
email: string;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
235
647
|
productId: string;
|
|
236
648
|
ownerId: string;
|
|
237
649
|
activeNumberOfActivations: number;
|
|
238
650
|
maxNumberOfActivations: number;
|
|
239
651
|
offlineActivationsAllowed: boolean;
|
|
652
|
+
source: {
|
|
653
|
+
type: "Order";
|
|
654
|
+
orderId: string;
|
|
655
|
+
} | {
|
|
656
|
+
type: "Subscription";
|
|
657
|
+
subscriptionId: string;
|
|
658
|
+
} | {
|
|
659
|
+
type: "Voucher";
|
|
660
|
+
code: string;
|
|
661
|
+
voucherId: string;
|
|
662
|
+
} | {
|
|
663
|
+
type: "Fastspring";
|
|
664
|
+
reference: string;
|
|
665
|
+
testMode: boolean;
|
|
666
|
+
} | null;
|
|
240
667
|
externalId?: string | undefined;
|
|
241
668
|
};
|
|
242
669
|
customer?: {
|
|
243
670
|
id: string;
|
|
244
671
|
name: string;
|
|
672
|
+
email: string;
|
|
245
673
|
businessName: string | null;
|
|
246
674
|
taxId: string | null;
|
|
247
|
-
email: string;
|
|
248
675
|
numberOfLicenses: number;
|
|
249
676
|
numberOfTrials: number;
|
|
250
677
|
emailConfirmed: boolean;
|
|
@@ -263,6 +690,22 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
263
690
|
communicationPreferences: {
|
|
264
691
|
newsletterOptIn: boolean;
|
|
265
692
|
};
|
|
693
|
+
lastUpdated: {
|
|
694
|
+
at: Date;
|
|
695
|
+
by: {
|
|
696
|
+
id: string;
|
|
697
|
+
name: string;
|
|
698
|
+
email: string;
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
created: {
|
|
702
|
+
at: Date;
|
|
703
|
+
by: {
|
|
704
|
+
id: string;
|
|
705
|
+
name: string;
|
|
706
|
+
email: string;
|
|
707
|
+
};
|
|
708
|
+
};
|
|
266
709
|
externalId?: string | undefined;
|
|
267
710
|
} | undefined;
|
|
268
711
|
}>>;
|
|
@@ -318,12 +761,72 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
318
761
|
}, {
|
|
319
762
|
newsletterOptIn: boolean;
|
|
320
763
|
}>;
|
|
764
|
+
lastUpdated: z.ZodObject<{
|
|
765
|
+
at: z.ZodDate;
|
|
766
|
+
by: z.ZodObject<{
|
|
767
|
+
id: z.ZodString;
|
|
768
|
+
name: z.ZodString;
|
|
769
|
+
email: z.ZodString;
|
|
770
|
+
}, "strip", z.ZodTypeAny, {
|
|
771
|
+
id: string;
|
|
772
|
+
name: string;
|
|
773
|
+
email: string;
|
|
774
|
+
}, {
|
|
775
|
+
id: string;
|
|
776
|
+
name: string;
|
|
777
|
+
email: string;
|
|
778
|
+
}>;
|
|
779
|
+
}, "strip", z.ZodTypeAny, {
|
|
780
|
+
at: Date;
|
|
781
|
+
by: {
|
|
782
|
+
id: string;
|
|
783
|
+
name: string;
|
|
784
|
+
email: string;
|
|
785
|
+
};
|
|
786
|
+
}, {
|
|
787
|
+
at: Date;
|
|
788
|
+
by: {
|
|
789
|
+
id: string;
|
|
790
|
+
name: string;
|
|
791
|
+
email: string;
|
|
792
|
+
};
|
|
793
|
+
}>;
|
|
794
|
+
created: z.ZodObject<{
|
|
795
|
+
at: z.ZodDate;
|
|
796
|
+
by: z.ZodObject<{
|
|
797
|
+
id: z.ZodString;
|
|
798
|
+
name: z.ZodString;
|
|
799
|
+
email: z.ZodString;
|
|
800
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
id: string;
|
|
802
|
+
name: string;
|
|
803
|
+
email: string;
|
|
804
|
+
}, {
|
|
805
|
+
id: string;
|
|
806
|
+
name: string;
|
|
807
|
+
email: string;
|
|
808
|
+
}>;
|
|
809
|
+
}, "strip", z.ZodTypeAny, {
|
|
810
|
+
at: Date;
|
|
811
|
+
by: {
|
|
812
|
+
id: string;
|
|
813
|
+
name: string;
|
|
814
|
+
email: string;
|
|
815
|
+
};
|
|
816
|
+
}, {
|
|
817
|
+
at: Date;
|
|
818
|
+
by: {
|
|
819
|
+
id: string;
|
|
820
|
+
name: string;
|
|
821
|
+
email: string;
|
|
822
|
+
};
|
|
823
|
+
}>;
|
|
321
824
|
}, "strip", z.ZodTypeAny, {
|
|
322
825
|
id: string;
|
|
323
826
|
name: string;
|
|
827
|
+
email: string;
|
|
324
828
|
businessName: string | null;
|
|
325
829
|
taxId: string | null;
|
|
326
|
-
email: string;
|
|
327
830
|
numberOfLicenses: number;
|
|
328
831
|
numberOfTrials: number;
|
|
329
832
|
emailConfirmed: boolean;
|
|
@@ -342,13 +845,29 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
342
845
|
communicationPreferences: {
|
|
343
846
|
newsletterOptIn: boolean;
|
|
344
847
|
};
|
|
848
|
+
lastUpdated: {
|
|
849
|
+
at: Date;
|
|
850
|
+
by: {
|
|
851
|
+
id: string;
|
|
852
|
+
name: string;
|
|
853
|
+
email: string;
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
created: {
|
|
857
|
+
at: Date;
|
|
858
|
+
by: {
|
|
859
|
+
id: string;
|
|
860
|
+
name: string;
|
|
861
|
+
email: string;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
345
864
|
externalId?: string | undefined;
|
|
346
865
|
}, {
|
|
347
866
|
id: string;
|
|
348
867
|
name: string;
|
|
868
|
+
email: string;
|
|
349
869
|
businessName: string | null;
|
|
350
870
|
taxId: string | null;
|
|
351
|
-
email: string;
|
|
352
871
|
numberOfLicenses: number;
|
|
353
872
|
numberOfTrials: number;
|
|
354
873
|
emailConfirmed: boolean;
|
|
@@ -367,11 +886,103 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
367
886
|
communicationPreferences: {
|
|
368
887
|
newsletterOptIn: boolean;
|
|
369
888
|
};
|
|
889
|
+
lastUpdated: {
|
|
890
|
+
at: Date;
|
|
891
|
+
by: {
|
|
892
|
+
id: string;
|
|
893
|
+
name: string;
|
|
894
|
+
email: string;
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
created: {
|
|
898
|
+
at: Date;
|
|
899
|
+
by: {
|
|
900
|
+
id: string;
|
|
901
|
+
name: string;
|
|
902
|
+
email: string;
|
|
903
|
+
};
|
|
904
|
+
};
|
|
370
905
|
externalId?: string | undefined;
|
|
371
906
|
}>>;
|
|
907
|
+
lastUpdated: z.ZodObject<{
|
|
908
|
+
at: z.ZodDate;
|
|
909
|
+
by: z.ZodObject<{
|
|
910
|
+
id: z.ZodString;
|
|
911
|
+
name: z.ZodString;
|
|
912
|
+
email: z.ZodString;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
id: string;
|
|
915
|
+
name: string;
|
|
916
|
+
email: string;
|
|
917
|
+
}, {
|
|
918
|
+
id: string;
|
|
919
|
+
name: string;
|
|
920
|
+
email: string;
|
|
921
|
+
}>;
|
|
922
|
+
}, "strip", z.ZodTypeAny, {
|
|
923
|
+
at: Date;
|
|
924
|
+
by: {
|
|
925
|
+
id: string;
|
|
926
|
+
name: string;
|
|
927
|
+
email: string;
|
|
928
|
+
};
|
|
929
|
+
}, {
|
|
930
|
+
at: Date;
|
|
931
|
+
by: {
|
|
932
|
+
id: string;
|
|
933
|
+
name: string;
|
|
934
|
+
email: string;
|
|
935
|
+
};
|
|
936
|
+
}>;
|
|
937
|
+
created: z.ZodObject<{
|
|
938
|
+
at: z.ZodDate;
|
|
939
|
+
by: z.ZodObject<{
|
|
940
|
+
id: z.ZodString;
|
|
941
|
+
name: z.ZodString;
|
|
942
|
+
email: z.ZodString;
|
|
943
|
+
}, "strip", z.ZodTypeAny, {
|
|
944
|
+
id: string;
|
|
945
|
+
name: string;
|
|
946
|
+
email: string;
|
|
947
|
+
}, {
|
|
948
|
+
id: string;
|
|
949
|
+
name: string;
|
|
950
|
+
email: string;
|
|
951
|
+
}>;
|
|
952
|
+
}, "strip", z.ZodTypeAny, {
|
|
953
|
+
at: Date;
|
|
954
|
+
by: {
|
|
955
|
+
id: string;
|
|
956
|
+
name: string;
|
|
957
|
+
email: string;
|
|
958
|
+
};
|
|
959
|
+
}, {
|
|
960
|
+
at: Date;
|
|
961
|
+
by: {
|
|
962
|
+
id: string;
|
|
963
|
+
name: string;
|
|
964
|
+
email: string;
|
|
965
|
+
};
|
|
966
|
+
}>;
|
|
372
967
|
}, "strip", z.ZodTypeAny, {
|
|
373
968
|
status: TrialStatus;
|
|
374
969
|
id: string;
|
|
970
|
+
lastUpdated: {
|
|
971
|
+
at: Date;
|
|
972
|
+
by: {
|
|
973
|
+
id: string;
|
|
974
|
+
name: string;
|
|
975
|
+
email: string;
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
created: {
|
|
979
|
+
at: Date;
|
|
980
|
+
by: {
|
|
981
|
+
id: string;
|
|
982
|
+
name: string;
|
|
983
|
+
email: string;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
375
986
|
productId: string;
|
|
376
987
|
lastValidatedAt: Date;
|
|
377
988
|
deviceName: string;
|
|
@@ -381,9 +992,9 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
381
992
|
customer?: {
|
|
382
993
|
id: string;
|
|
383
994
|
name: string;
|
|
995
|
+
email: string;
|
|
384
996
|
businessName: string | null;
|
|
385
997
|
taxId: string | null;
|
|
386
|
-
email: string;
|
|
387
998
|
numberOfLicenses: number;
|
|
388
999
|
numberOfTrials: number;
|
|
389
1000
|
emailConfirmed: boolean;
|
|
@@ -402,11 +1013,43 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
402
1013
|
communicationPreferences: {
|
|
403
1014
|
newsletterOptIn: boolean;
|
|
404
1015
|
};
|
|
1016
|
+
lastUpdated: {
|
|
1017
|
+
at: Date;
|
|
1018
|
+
by: {
|
|
1019
|
+
id: string;
|
|
1020
|
+
name: string;
|
|
1021
|
+
email: string;
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
created: {
|
|
1025
|
+
at: Date;
|
|
1026
|
+
by: {
|
|
1027
|
+
id: string;
|
|
1028
|
+
name: string;
|
|
1029
|
+
email: string;
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
405
1032
|
externalId?: string | undefined;
|
|
406
1033
|
} | undefined;
|
|
407
1034
|
}, {
|
|
408
1035
|
status: TrialStatus;
|
|
409
1036
|
id: string;
|
|
1037
|
+
lastUpdated: {
|
|
1038
|
+
at: Date;
|
|
1039
|
+
by: {
|
|
1040
|
+
id: string;
|
|
1041
|
+
name: string;
|
|
1042
|
+
email: string;
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
created: {
|
|
1046
|
+
at: Date;
|
|
1047
|
+
by: {
|
|
1048
|
+
id: string;
|
|
1049
|
+
name: string;
|
|
1050
|
+
email: string;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
410
1053
|
productId: string;
|
|
411
1054
|
lastValidatedAt: Date;
|
|
412
1055
|
deviceName: string;
|
|
@@ -416,9 +1059,9 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
416
1059
|
customer?: {
|
|
417
1060
|
id: string;
|
|
418
1061
|
name: string;
|
|
1062
|
+
email: string;
|
|
419
1063
|
businessName: string | null;
|
|
420
1064
|
taxId: string | null;
|
|
421
|
-
email: string;
|
|
422
1065
|
numberOfLicenses: number;
|
|
423
1066
|
numberOfTrials: number;
|
|
424
1067
|
emailConfirmed: boolean;
|
|
@@ -437,6 +1080,22 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
437
1080
|
communicationPreferences: {
|
|
438
1081
|
newsletterOptIn: boolean;
|
|
439
1082
|
};
|
|
1083
|
+
lastUpdated: {
|
|
1084
|
+
at: Date;
|
|
1085
|
+
by: {
|
|
1086
|
+
id: string;
|
|
1087
|
+
name: string;
|
|
1088
|
+
email: string;
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
created: {
|
|
1092
|
+
at: Date;
|
|
1093
|
+
by: {
|
|
1094
|
+
id: string;
|
|
1095
|
+
name: string;
|
|
1096
|
+
email: string;
|
|
1097
|
+
};
|
|
1098
|
+
};
|
|
440
1099
|
externalId?: string | undefined;
|
|
441
1100
|
} | undefined;
|
|
442
1101
|
}>>;
|
|
@@ -449,8 +1108,8 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
449
1108
|
status: ProductStatus;
|
|
450
1109
|
id: string;
|
|
451
1110
|
name: string;
|
|
452
|
-
tagline: string;
|
|
453
1111
|
description: string;
|
|
1112
|
+
tagline: string;
|
|
454
1113
|
website: string | null;
|
|
455
1114
|
iconUrl: string | null;
|
|
456
1115
|
purchasable: boolean;
|
|
@@ -460,25 +1119,72 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
460
1119
|
status: ActivationStatus;
|
|
461
1120
|
id: string;
|
|
462
1121
|
name: string;
|
|
1122
|
+
lastUpdated: {
|
|
1123
|
+
at: Date;
|
|
1124
|
+
by: {
|
|
1125
|
+
id: string;
|
|
1126
|
+
name: string;
|
|
1127
|
+
email: string;
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
created: {
|
|
1131
|
+
at: Date;
|
|
1132
|
+
by: {
|
|
1133
|
+
id: string;
|
|
1134
|
+
name: string;
|
|
1135
|
+
email: string;
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
463
1138
|
signature: string;
|
|
464
1139
|
activationMethod: ActivationMethod;
|
|
465
1140
|
lastValidatedAt: Date;
|
|
466
1141
|
license: {
|
|
467
1142
|
status: LicenseStatus;
|
|
468
1143
|
id: string;
|
|
1144
|
+
lastUpdated: {
|
|
1145
|
+
at: Date;
|
|
1146
|
+
by: {
|
|
1147
|
+
id: string;
|
|
1148
|
+
name: string;
|
|
1149
|
+
email: string;
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
created: {
|
|
1153
|
+
at: Date;
|
|
1154
|
+
by: {
|
|
1155
|
+
id: string;
|
|
1156
|
+
name: string;
|
|
1157
|
+
email: string;
|
|
1158
|
+
};
|
|
1159
|
+
};
|
|
469
1160
|
productId: string;
|
|
470
1161
|
ownerId: string;
|
|
471
1162
|
activeNumberOfActivations: number;
|
|
472
1163
|
maxNumberOfActivations: number;
|
|
473
1164
|
offlineActivationsAllowed: boolean;
|
|
1165
|
+
source: {
|
|
1166
|
+
type: "Order";
|
|
1167
|
+
orderId: string;
|
|
1168
|
+
} | {
|
|
1169
|
+
type: "Subscription";
|
|
1170
|
+
subscriptionId: string;
|
|
1171
|
+
} | {
|
|
1172
|
+
type: "Voucher";
|
|
1173
|
+
code: string;
|
|
1174
|
+
voucherId: string;
|
|
1175
|
+
} | {
|
|
1176
|
+
type: "Fastspring";
|
|
1177
|
+
reference: string;
|
|
1178
|
+
testMode: boolean;
|
|
1179
|
+
} | null;
|
|
474
1180
|
externalId?: string | undefined;
|
|
475
1181
|
};
|
|
476
1182
|
customer?: {
|
|
477
1183
|
id: string;
|
|
478
1184
|
name: string;
|
|
1185
|
+
email: string;
|
|
479
1186
|
businessName: string | null;
|
|
480
1187
|
taxId: string | null;
|
|
481
|
-
email: string;
|
|
482
1188
|
numberOfLicenses: number;
|
|
483
1189
|
numberOfTrials: number;
|
|
484
1190
|
emailConfirmed: boolean;
|
|
@@ -497,12 +1203,44 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
497
1203
|
communicationPreferences: {
|
|
498
1204
|
newsletterOptIn: boolean;
|
|
499
1205
|
};
|
|
1206
|
+
lastUpdated: {
|
|
1207
|
+
at: Date;
|
|
1208
|
+
by: {
|
|
1209
|
+
id: string;
|
|
1210
|
+
name: string;
|
|
1211
|
+
email: string;
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
created: {
|
|
1215
|
+
at: Date;
|
|
1216
|
+
by: {
|
|
1217
|
+
id: string;
|
|
1218
|
+
name: string;
|
|
1219
|
+
email: string;
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
500
1222
|
externalId?: string | undefined;
|
|
501
1223
|
} | undefined;
|
|
502
1224
|
} | undefined;
|
|
503
1225
|
trial?: {
|
|
504
1226
|
status: TrialStatus;
|
|
505
1227
|
id: string;
|
|
1228
|
+
lastUpdated: {
|
|
1229
|
+
at: Date;
|
|
1230
|
+
by: {
|
|
1231
|
+
id: string;
|
|
1232
|
+
name: string;
|
|
1233
|
+
email: string;
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
created: {
|
|
1237
|
+
at: Date;
|
|
1238
|
+
by: {
|
|
1239
|
+
id: string;
|
|
1240
|
+
name: string;
|
|
1241
|
+
email: string;
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
506
1244
|
productId: string;
|
|
507
1245
|
lastValidatedAt: Date;
|
|
508
1246
|
deviceName: string;
|
|
@@ -512,9 +1250,9 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
512
1250
|
customer?: {
|
|
513
1251
|
id: string;
|
|
514
1252
|
name: string;
|
|
1253
|
+
email: string;
|
|
515
1254
|
businessName: string | null;
|
|
516
1255
|
taxId: string | null;
|
|
517
|
-
email: string;
|
|
518
1256
|
numberOfLicenses: number;
|
|
519
1257
|
numberOfTrials: number;
|
|
520
1258
|
emailConfirmed: boolean;
|
|
@@ -533,6 +1271,22 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
533
1271
|
communicationPreferences: {
|
|
534
1272
|
newsletterOptIn: boolean;
|
|
535
1273
|
};
|
|
1274
|
+
lastUpdated: {
|
|
1275
|
+
at: Date;
|
|
1276
|
+
by: {
|
|
1277
|
+
id: string;
|
|
1278
|
+
name: string;
|
|
1279
|
+
email: string;
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1282
|
+
created: {
|
|
1283
|
+
at: Date;
|
|
1284
|
+
by: {
|
|
1285
|
+
id: string;
|
|
1286
|
+
name: string;
|
|
1287
|
+
email: string;
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
536
1290
|
externalId?: string | undefined;
|
|
537
1291
|
} | undefined;
|
|
538
1292
|
} | undefined;
|
|
@@ -545,8 +1299,8 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
545
1299
|
status: ProductStatus;
|
|
546
1300
|
id: string;
|
|
547
1301
|
name: string;
|
|
548
|
-
tagline: string;
|
|
549
1302
|
description: string;
|
|
1303
|
+
tagline: string;
|
|
550
1304
|
website: string | null;
|
|
551
1305
|
iconUrl: string | null;
|
|
552
1306
|
purchasable: boolean;
|
|
@@ -556,25 +1310,72 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
556
1310
|
status: ActivationStatus;
|
|
557
1311
|
id: string;
|
|
558
1312
|
name: string;
|
|
1313
|
+
lastUpdated: {
|
|
1314
|
+
at: Date;
|
|
1315
|
+
by: {
|
|
1316
|
+
id: string;
|
|
1317
|
+
name: string;
|
|
1318
|
+
email: string;
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
created: {
|
|
1322
|
+
at: Date;
|
|
1323
|
+
by: {
|
|
1324
|
+
id: string;
|
|
1325
|
+
name: string;
|
|
1326
|
+
email: string;
|
|
1327
|
+
};
|
|
1328
|
+
};
|
|
559
1329
|
signature: string;
|
|
560
1330
|
activationMethod: ActivationMethod;
|
|
561
1331
|
lastValidatedAt: Date;
|
|
562
1332
|
license: {
|
|
563
1333
|
status: LicenseStatus;
|
|
564
1334
|
id: string;
|
|
1335
|
+
lastUpdated: {
|
|
1336
|
+
at: Date;
|
|
1337
|
+
by: {
|
|
1338
|
+
id: string;
|
|
1339
|
+
name: string;
|
|
1340
|
+
email: string;
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1343
|
+
created: {
|
|
1344
|
+
at: Date;
|
|
1345
|
+
by: {
|
|
1346
|
+
id: string;
|
|
1347
|
+
name: string;
|
|
1348
|
+
email: string;
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
565
1351
|
productId: string;
|
|
566
1352
|
ownerId: string;
|
|
567
1353
|
activeNumberOfActivations: number;
|
|
568
1354
|
maxNumberOfActivations: number;
|
|
569
1355
|
offlineActivationsAllowed: boolean;
|
|
1356
|
+
source: {
|
|
1357
|
+
type: "Order";
|
|
1358
|
+
orderId: string;
|
|
1359
|
+
} | {
|
|
1360
|
+
type: "Subscription";
|
|
1361
|
+
subscriptionId: string;
|
|
1362
|
+
} | {
|
|
1363
|
+
type: "Voucher";
|
|
1364
|
+
code: string;
|
|
1365
|
+
voucherId: string;
|
|
1366
|
+
} | {
|
|
1367
|
+
type: "Fastspring";
|
|
1368
|
+
reference: string;
|
|
1369
|
+
testMode: boolean;
|
|
1370
|
+
} | null;
|
|
570
1371
|
externalId?: string | undefined;
|
|
571
1372
|
};
|
|
572
1373
|
customer?: {
|
|
573
1374
|
id: string;
|
|
574
1375
|
name: string;
|
|
1376
|
+
email: string;
|
|
575
1377
|
businessName: string | null;
|
|
576
1378
|
taxId: string | null;
|
|
577
|
-
email: string;
|
|
578
1379
|
numberOfLicenses: number;
|
|
579
1380
|
numberOfTrials: number;
|
|
580
1381
|
emailConfirmed: boolean;
|
|
@@ -593,12 +1394,44 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
593
1394
|
communicationPreferences: {
|
|
594
1395
|
newsletterOptIn: boolean;
|
|
595
1396
|
};
|
|
1397
|
+
lastUpdated: {
|
|
1398
|
+
at: Date;
|
|
1399
|
+
by: {
|
|
1400
|
+
id: string;
|
|
1401
|
+
name: string;
|
|
1402
|
+
email: string;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
created: {
|
|
1406
|
+
at: Date;
|
|
1407
|
+
by: {
|
|
1408
|
+
id: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
email: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
596
1413
|
externalId?: string | undefined;
|
|
597
1414
|
} | undefined;
|
|
598
1415
|
} | undefined;
|
|
599
1416
|
trial?: {
|
|
600
1417
|
status: TrialStatus;
|
|
601
1418
|
id: string;
|
|
1419
|
+
lastUpdated: {
|
|
1420
|
+
at: Date;
|
|
1421
|
+
by: {
|
|
1422
|
+
id: string;
|
|
1423
|
+
name: string;
|
|
1424
|
+
email: string;
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1427
|
+
created: {
|
|
1428
|
+
at: Date;
|
|
1429
|
+
by: {
|
|
1430
|
+
id: string;
|
|
1431
|
+
name: string;
|
|
1432
|
+
email: string;
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
602
1435
|
productId: string;
|
|
603
1436
|
lastValidatedAt: Date;
|
|
604
1437
|
deviceName: string;
|
|
@@ -608,9 +1441,9 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
608
1441
|
customer?: {
|
|
609
1442
|
id: string;
|
|
610
1443
|
name: string;
|
|
1444
|
+
email: string;
|
|
611
1445
|
businessName: string | null;
|
|
612
1446
|
taxId: string | null;
|
|
613
|
-
email: string;
|
|
614
1447
|
numberOfLicenses: number;
|
|
615
1448
|
numberOfTrials: number;
|
|
616
1449
|
emailConfirmed: boolean;
|
|
@@ -629,6 +1462,22 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
629
1462
|
communicationPreferences: {
|
|
630
1463
|
newsletterOptIn: boolean;
|
|
631
1464
|
};
|
|
1465
|
+
lastUpdated: {
|
|
1466
|
+
at: Date;
|
|
1467
|
+
by: {
|
|
1468
|
+
id: string;
|
|
1469
|
+
name: string;
|
|
1470
|
+
email: string;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
created: {
|
|
1474
|
+
at: Date;
|
|
1475
|
+
by: {
|
|
1476
|
+
id: string;
|
|
1477
|
+
name: string;
|
|
1478
|
+
email: string;
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
632
1481
|
externalId?: string | undefined;
|
|
633
1482
|
} | undefined;
|
|
634
1483
|
} | undefined;
|
|
@@ -720,12 +1569,72 @@ declare const customerSchema: z.ZodObject<{
|
|
|
720
1569
|
}, {
|
|
721
1570
|
newsletterOptIn: boolean;
|
|
722
1571
|
}>;
|
|
1572
|
+
lastUpdated: z.ZodObject<{
|
|
1573
|
+
at: z.ZodDate;
|
|
1574
|
+
by: z.ZodObject<{
|
|
1575
|
+
id: z.ZodString;
|
|
1576
|
+
name: z.ZodString;
|
|
1577
|
+
email: z.ZodString;
|
|
1578
|
+
}, "strip", z.ZodTypeAny, {
|
|
1579
|
+
id: string;
|
|
1580
|
+
name: string;
|
|
1581
|
+
email: string;
|
|
1582
|
+
}, {
|
|
1583
|
+
id: string;
|
|
1584
|
+
name: string;
|
|
1585
|
+
email: string;
|
|
1586
|
+
}>;
|
|
1587
|
+
}, "strip", z.ZodTypeAny, {
|
|
1588
|
+
at: Date;
|
|
1589
|
+
by: {
|
|
1590
|
+
id: string;
|
|
1591
|
+
name: string;
|
|
1592
|
+
email: string;
|
|
1593
|
+
};
|
|
1594
|
+
}, {
|
|
1595
|
+
at: Date;
|
|
1596
|
+
by: {
|
|
1597
|
+
id: string;
|
|
1598
|
+
name: string;
|
|
1599
|
+
email: string;
|
|
1600
|
+
};
|
|
1601
|
+
}>;
|
|
1602
|
+
created: z.ZodObject<{
|
|
1603
|
+
at: z.ZodDate;
|
|
1604
|
+
by: z.ZodObject<{
|
|
1605
|
+
id: z.ZodString;
|
|
1606
|
+
name: z.ZodString;
|
|
1607
|
+
email: z.ZodString;
|
|
1608
|
+
}, "strip", z.ZodTypeAny, {
|
|
1609
|
+
id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
email: string;
|
|
1612
|
+
}, {
|
|
1613
|
+
id: string;
|
|
1614
|
+
name: string;
|
|
1615
|
+
email: string;
|
|
1616
|
+
}>;
|
|
1617
|
+
}, "strip", z.ZodTypeAny, {
|
|
1618
|
+
at: Date;
|
|
1619
|
+
by: {
|
|
1620
|
+
id: string;
|
|
1621
|
+
name: string;
|
|
1622
|
+
email: string;
|
|
1623
|
+
};
|
|
1624
|
+
}, {
|
|
1625
|
+
at: Date;
|
|
1626
|
+
by: {
|
|
1627
|
+
id: string;
|
|
1628
|
+
name: string;
|
|
1629
|
+
email: string;
|
|
1630
|
+
};
|
|
1631
|
+
}>;
|
|
723
1632
|
}, "strip", z.ZodTypeAny, {
|
|
724
1633
|
id: string;
|
|
725
1634
|
name: string;
|
|
1635
|
+
email: string;
|
|
726
1636
|
businessName: string | null;
|
|
727
1637
|
taxId: string | null;
|
|
728
|
-
email: string;
|
|
729
1638
|
numberOfLicenses: number;
|
|
730
1639
|
numberOfTrials: number;
|
|
731
1640
|
emailConfirmed: boolean;
|
|
@@ -744,15 +1653,31 @@ declare const customerSchema: z.ZodObject<{
|
|
|
744
1653
|
communicationPreferences: {
|
|
745
1654
|
newsletterOptIn: boolean;
|
|
746
1655
|
};
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
1656
|
+
lastUpdated: {
|
|
1657
|
+
at: Date;
|
|
1658
|
+
by: {
|
|
1659
|
+
id: string;
|
|
1660
|
+
name: string;
|
|
1661
|
+
email: string;
|
|
1662
|
+
};
|
|
1663
|
+
};
|
|
1664
|
+
created: {
|
|
1665
|
+
at: Date;
|
|
1666
|
+
by: {
|
|
1667
|
+
id: string;
|
|
1668
|
+
name: string;
|
|
1669
|
+
email: string;
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
externalId?: string | undefined;
|
|
1673
|
+
}, {
|
|
1674
|
+
id: string;
|
|
1675
|
+
name: string;
|
|
1676
|
+
email: string;
|
|
1677
|
+
businessName: string | null;
|
|
1678
|
+
taxId: string | null;
|
|
1679
|
+
numberOfLicenses: number;
|
|
1680
|
+
numberOfTrials: number;
|
|
756
1681
|
emailConfirmed: boolean;
|
|
757
1682
|
hasPassword: boolean;
|
|
758
1683
|
isDeleted: boolean;
|
|
@@ -769,6 +1694,22 @@ declare const customerSchema: z.ZodObject<{
|
|
|
769
1694
|
communicationPreferences: {
|
|
770
1695
|
newsletterOptIn: boolean;
|
|
771
1696
|
};
|
|
1697
|
+
lastUpdated: {
|
|
1698
|
+
at: Date;
|
|
1699
|
+
by: {
|
|
1700
|
+
id: string;
|
|
1701
|
+
name: string;
|
|
1702
|
+
email: string;
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
created: {
|
|
1706
|
+
at: Date;
|
|
1707
|
+
by: {
|
|
1708
|
+
id: string;
|
|
1709
|
+
name: string;
|
|
1710
|
+
email: string;
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
772
1713
|
externalId?: string | undefined;
|
|
773
1714
|
}>;
|
|
774
1715
|
declare const importCustomerRequestSchema: z.ZodObject<{
|
|
@@ -854,23 +1795,188 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
854
1795
|
activeNumberOfActivations: z.ZodNumber;
|
|
855
1796
|
maxNumberOfActivations: z.ZodNumber;
|
|
856
1797
|
offlineActivationsAllowed: z.ZodBoolean;
|
|
1798
|
+
source: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1799
|
+
type: z.ZodLiteral<"Order">;
|
|
1800
|
+
orderId: z.ZodString;
|
|
1801
|
+
}, "strip", z.ZodTypeAny, {
|
|
1802
|
+
type: "Order";
|
|
1803
|
+
orderId: string;
|
|
1804
|
+
}, {
|
|
1805
|
+
type: "Order";
|
|
1806
|
+
orderId: string;
|
|
1807
|
+
}>, z.ZodObject<{
|
|
1808
|
+
type: z.ZodLiteral<"Subscription">;
|
|
1809
|
+
subscriptionId: z.ZodString;
|
|
1810
|
+
}, "strip", z.ZodTypeAny, {
|
|
1811
|
+
type: "Subscription";
|
|
1812
|
+
subscriptionId: string;
|
|
1813
|
+
}, {
|
|
1814
|
+
type: "Subscription";
|
|
1815
|
+
subscriptionId: string;
|
|
1816
|
+
}>, z.ZodObject<{
|
|
1817
|
+
type: z.ZodLiteral<"Voucher">;
|
|
1818
|
+
voucherId: z.ZodString;
|
|
1819
|
+
code: z.ZodString;
|
|
1820
|
+
}, "strip", z.ZodTypeAny, {
|
|
1821
|
+
type: "Voucher";
|
|
1822
|
+
code: string;
|
|
1823
|
+
voucherId: string;
|
|
1824
|
+
}, {
|
|
1825
|
+
type: "Voucher";
|
|
1826
|
+
code: string;
|
|
1827
|
+
voucherId: string;
|
|
1828
|
+
}>, z.ZodObject<{
|
|
1829
|
+
type: z.ZodLiteral<"Fastspring">;
|
|
1830
|
+
reference: z.ZodString;
|
|
1831
|
+
testMode: z.ZodBoolean;
|
|
1832
|
+
}, "strip", z.ZodTypeAny, {
|
|
1833
|
+
type: "Fastspring";
|
|
1834
|
+
reference: string;
|
|
1835
|
+
testMode: boolean;
|
|
1836
|
+
}, {
|
|
1837
|
+
type: "Fastspring";
|
|
1838
|
+
reference: string;
|
|
1839
|
+
testMode: boolean;
|
|
1840
|
+
}>]>>;
|
|
1841
|
+
lastUpdated: z.ZodObject<{
|
|
1842
|
+
at: z.ZodDate;
|
|
1843
|
+
by: z.ZodObject<{
|
|
1844
|
+
id: z.ZodString;
|
|
1845
|
+
name: z.ZodString;
|
|
1846
|
+
email: z.ZodString;
|
|
1847
|
+
}, "strip", z.ZodTypeAny, {
|
|
1848
|
+
id: string;
|
|
1849
|
+
name: string;
|
|
1850
|
+
email: string;
|
|
1851
|
+
}, {
|
|
1852
|
+
id: string;
|
|
1853
|
+
name: string;
|
|
1854
|
+
email: string;
|
|
1855
|
+
}>;
|
|
1856
|
+
}, "strip", z.ZodTypeAny, {
|
|
1857
|
+
at: Date;
|
|
1858
|
+
by: {
|
|
1859
|
+
id: string;
|
|
1860
|
+
name: string;
|
|
1861
|
+
email: string;
|
|
1862
|
+
};
|
|
1863
|
+
}, {
|
|
1864
|
+
at: Date;
|
|
1865
|
+
by: {
|
|
1866
|
+
id: string;
|
|
1867
|
+
name: string;
|
|
1868
|
+
email: string;
|
|
1869
|
+
};
|
|
1870
|
+
}>;
|
|
1871
|
+
created: z.ZodObject<{
|
|
1872
|
+
at: z.ZodDate;
|
|
1873
|
+
by: z.ZodObject<{
|
|
1874
|
+
id: z.ZodString;
|
|
1875
|
+
name: z.ZodString;
|
|
1876
|
+
email: z.ZodString;
|
|
1877
|
+
}, "strip", z.ZodTypeAny, {
|
|
1878
|
+
id: string;
|
|
1879
|
+
name: string;
|
|
1880
|
+
email: string;
|
|
1881
|
+
}, {
|
|
1882
|
+
id: string;
|
|
1883
|
+
name: string;
|
|
1884
|
+
email: string;
|
|
1885
|
+
}>;
|
|
1886
|
+
}, "strip", z.ZodTypeAny, {
|
|
1887
|
+
at: Date;
|
|
1888
|
+
by: {
|
|
1889
|
+
id: string;
|
|
1890
|
+
name: string;
|
|
1891
|
+
email: string;
|
|
1892
|
+
};
|
|
1893
|
+
}, {
|
|
1894
|
+
at: Date;
|
|
1895
|
+
by: {
|
|
1896
|
+
id: string;
|
|
1897
|
+
name: string;
|
|
1898
|
+
email: string;
|
|
1899
|
+
};
|
|
1900
|
+
}>;
|
|
857
1901
|
}, "strip", z.ZodTypeAny, {
|
|
858
1902
|
status: LicenseStatus;
|
|
859
1903
|
id: string;
|
|
1904
|
+
lastUpdated: {
|
|
1905
|
+
at: Date;
|
|
1906
|
+
by: {
|
|
1907
|
+
id: string;
|
|
1908
|
+
name: string;
|
|
1909
|
+
email: string;
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
created: {
|
|
1913
|
+
at: Date;
|
|
1914
|
+
by: {
|
|
1915
|
+
id: string;
|
|
1916
|
+
name: string;
|
|
1917
|
+
email: string;
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
860
1920
|
productId: string;
|
|
861
1921
|
ownerId: string;
|
|
862
1922
|
activeNumberOfActivations: number;
|
|
863
1923
|
maxNumberOfActivations: number;
|
|
864
1924
|
offlineActivationsAllowed: boolean;
|
|
1925
|
+
source: {
|
|
1926
|
+
type: "Order";
|
|
1927
|
+
orderId: string;
|
|
1928
|
+
} | {
|
|
1929
|
+
type: "Subscription";
|
|
1930
|
+
subscriptionId: string;
|
|
1931
|
+
} | {
|
|
1932
|
+
type: "Voucher";
|
|
1933
|
+
code: string;
|
|
1934
|
+
voucherId: string;
|
|
1935
|
+
} | {
|
|
1936
|
+
type: "Fastspring";
|
|
1937
|
+
reference: string;
|
|
1938
|
+
testMode: boolean;
|
|
1939
|
+
} | null;
|
|
865
1940
|
externalId?: string | undefined;
|
|
866
1941
|
}, {
|
|
867
1942
|
status: LicenseStatus;
|
|
868
1943
|
id: string;
|
|
1944
|
+
lastUpdated: {
|
|
1945
|
+
at: Date;
|
|
1946
|
+
by: {
|
|
1947
|
+
id: string;
|
|
1948
|
+
name: string;
|
|
1949
|
+
email: string;
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1952
|
+
created: {
|
|
1953
|
+
at: Date;
|
|
1954
|
+
by: {
|
|
1955
|
+
id: string;
|
|
1956
|
+
name: string;
|
|
1957
|
+
email: string;
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
869
1960
|
productId: string;
|
|
870
1961
|
ownerId: string;
|
|
871
1962
|
activeNumberOfActivations: number;
|
|
872
1963
|
maxNumberOfActivations: number;
|
|
873
1964
|
offlineActivationsAllowed: boolean;
|
|
1965
|
+
source: {
|
|
1966
|
+
type: "Order";
|
|
1967
|
+
orderId: string;
|
|
1968
|
+
} | {
|
|
1969
|
+
type: "Subscription";
|
|
1970
|
+
subscriptionId: string;
|
|
1971
|
+
} | {
|
|
1972
|
+
type: "Voucher";
|
|
1973
|
+
code: string;
|
|
1974
|
+
voucherId: string;
|
|
1975
|
+
} | {
|
|
1976
|
+
type: "Fastspring";
|
|
1977
|
+
reference: string;
|
|
1978
|
+
testMode: boolean;
|
|
1979
|
+
} | null;
|
|
874
1980
|
externalId?: string | undefined;
|
|
875
1981
|
}>;
|
|
876
1982
|
declare const licenseActivationSchema: z.ZodObject<{
|
|
@@ -889,23 +1995,188 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
889
1995
|
activeNumberOfActivations: z.ZodNumber;
|
|
890
1996
|
maxNumberOfActivations: z.ZodNumber;
|
|
891
1997
|
offlineActivationsAllowed: z.ZodBoolean;
|
|
1998
|
+
source: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1999
|
+
type: z.ZodLiteral<"Order">;
|
|
2000
|
+
orderId: z.ZodString;
|
|
2001
|
+
}, "strip", z.ZodTypeAny, {
|
|
2002
|
+
type: "Order";
|
|
2003
|
+
orderId: string;
|
|
2004
|
+
}, {
|
|
2005
|
+
type: "Order";
|
|
2006
|
+
orderId: string;
|
|
2007
|
+
}>, z.ZodObject<{
|
|
2008
|
+
type: z.ZodLiteral<"Subscription">;
|
|
2009
|
+
subscriptionId: z.ZodString;
|
|
2010
|
+
}, "strip", z.ZodTypeAny, {
|
|
2011
|
+
type: "Subscription";
|
|
2012
|
+
subscriptionId: string;
|
|
2013
|
+
}, {
|
|
2014
|
+
type: "Subscription";
|
|
2015
|
+
subscriptionId: string;
|
|
2016
|
+
}>, z.ZodObject<{
|
|
2017
|
+
type: z.ZodLiteral<"Voucher">;
|
|
2018
|
+
voucherId: z.ZodString;
|
|
2019
|
+
code: z.ZodString;
|
|
2020
|
+
}, "strip", z.ZodTypeAny, {
|
|
2021
|
+
type: "Voucher";
|
|
2022
|
+
code: string;
|
|
2023
|
+
voucherId: string;
|
|
2024
|
+
}, {
|
|
2025
|
+
type: "Voucher";
|
|
2026
|
+
code: string;
|
|
2027
|
+
voucherId: string;
|
|
2028
|
+
}>, z.ZodObject<{
|
|
2029
|
+
type: z.ZodLiteral<"Fastspring">;
|
|
2030
|
+
reference: z.ZodString;
|
|
2031
|
+
testMode: z.ZodBoolean;
|
|
2032
|
+
}, "strip", z.ZodTypeAny, {
|
|
2033
|
+
type: "Fastspring";
|
|
2034
|
+
reference: string;
|
|
2035
|
+
testMode: boolean;
|
|
2036
|
+
}, {
|
|
2037
|
+
type: "Fastspring";
|
|
2038
|
+
reference: string;
|
|
2039
|
+
testMode: boolean;
|
|
2040
|
+
}>]>>;
|
|
2041
|
+
lastUpdated: z.ZodObject<{
|
|
2042
|
+
at: z.ZodDate;
|
|
2043
|
+
by: z.ZodObject<{
|
|
2044
|
+
id: z.ZodString;
|
|
2045
|
+
name: z.ZodString;
|
|
2046
|
+
email: z.ZodString;
|
|
2047
|
+
}, "strip", z.ZodTypeAny, {
|
|
2048
|
+
id: string;
|
|
2049
|
+
name: string;
|
|
2050
|
+
email: string;
|
|
2051
|
+
}, {
|
|
2052
|
+
id: string;
|
|
2053
|
+
name: string;
|
|
2054
|
+
email: string;
|
|
2055
|
+
}>;
|
|
2056
|
+
}, "strip", z.ZodTypeAny, {
|
|
2057
|
+
at: Date;
|
|
2058
|
+
by: {
|
|
2059
|
+
id: string;
|
|
2060
|
+
name: string;
|
|
2061
|
+
email: string;
|
|
2062
|
+
};
|
|
2063
|
+
}, {
|
|
2064
|
+
at: Date;
|
|
2065
|
+
by: {
|
|
2066
|
+
id: string;
|
|
2067
|
+
name: string;
|
|
2068
|
+
email: string;
|
|
2069
|
+
};
|
|
2070
|
+
}>;
|
|
2071
|
+
created: z.ZodObject<{
|
|
2072
|
+
at: z.ZodDate;
|
|
2073
|
+
by: z.ZodObject<{
|
|
2074
|
+
id: z.ZodString;
|
|
2075
|
+
name: z.ZodString;
|
|
2076
|
+
email: z.ZodString;
|
|
2077
|
+
}, "strip", z.ZodTypeAny, {
|
|
2078
|
+
id: string;
|
|
2079
|
+
name: string;
|
|
2080
|
+
email: string;
|
|
2081
|
+
}, {
|
|
2082
|
+
id: string;
|
|
2083
|
+
name: string;
|
|
2084
|
+
email: string;
|
|
2085
|
+
}>;
|
|
2086
|
+
}, "strip", z.ZodTypeAny, {
|
|
2087
|
+
at: Date;
|
|
2088
|
+
by: {
|
|
2089
|
+
id: string;
|
|
2090
|
+
name: string;
|
|
2091
|
+
email: string;
|
|
2092
|
+
};
|
|
2093
|
+
}, {
|
|
2094
|
+
at: Date;
|
|
2095
|
+
by: {
|
|
2096
|
+
id: string;
|
|
2097
|
+
name: string;
|
|
2098
|
+
email: string;
|
|
2099
|
+
};
|
|
2100
|
+
}>;
|
|
892
2101
|
}, "strip", z.ZodTypeAny, {
|
|
893
2102
|
status: LicenseStatus;
|
|
894
2103
|
id: string;
|
|
2104
|
+
lastUpdated: {
|
|
2105
|
+
at: Date;
|
|
2106
|
+
by: {
|
|
2107
|
+
id: string;
|
|
2108
|
+
name: string;
|
|
2109
|
+
email: string;
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
created: {
|
|
2113
|
+
at: Date;
|
|
2114
|
+
by: {
|
|
2115
|
+
id: string;
|
|
2116
|
+
name: string;
|
|
2117
|
+
email: string;
|
|
2118
|
+
};
|
|
2119
|
+
};
|
|
895
2120
|
productId: string;
|
|
896
2121
|
ownerId: string;
|
|
897
2122
|
activeNumberOfActivations: number;
|
|
898
2123
|
maxNumberOfActivations: number;
|
|
899
2124
|
offlineActivationsAllowed: boolean;
|
|
2125
|
+
source: {
|
|
2126
|
+
type: "Order";
|
|
2127
|
+
orderId: string;
|
|
2128
|
+
} | {
|
|
2129
|
+
type: "Subscription";
|
|
2130
|
+
subscriptionId: string;
|
|
2131
|
+
} | {
|
|
2132
|
+
type: "Voucher";
|
|
2133
|
+
code: string;
|
|
2134
|
+
voucherId: string;
|
|
2135
|
+
} | {
|
|
2136
|
+
type: "Fastspring";
|
|
2137
|
+
reference: string;
|
|
2138
|
+
testMode: boolean;
|
|
2139
|
+
} | null;
|
|
900
2140
|
externalId?: string | undefined;
|
|
901
2141
|
}, {
|
|
902
2142
|
status: LicenseStatus;
|
|
903
2143
|
id: string;
|
|
2144
|
+
lastUpdated: {
|
|
2145
|
+
at: Date;
|
|
2146
|
+
by: {
|
|
2147
|
+
id: string;
|
|
2148
|
+
name: string;
|
|
2149
|
+
email: string;
|
|
2150
|
+
};
|
|
2151
|
+
};
|
|
2152
|
+
created: {
|
|
2153
|
+
at: Date;
|
|
2154
|
+
by: {
|
|
2155
|
+
id: string;
|
|
2156
|
+
name: string;
|
|
2157
|
+
email: string;
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
904
2160
|
productId: string;
|
|
905
2161
|
ownerId: string;
|
|
906
2162
|
activeNumberOfActivations: number;
|
|
907
2163
|
maxNumberOfActivations: number;
|
|
908
2164
|
offlineActivationsAllowed: boolean;
|
|
2165
|
+
source: {
|
|
2166
|
+
type: "Order";
|
|
2167
|
+
orderId: string;
|
|
2168
|
+
} | {
|
|
2169
|
+
type: "Subscription";
|
|
2170
|
+
subscriptionId: string;
|
|
2171
|
+
} | {
|
|
2172
|
+
type: "Voucher";
|
|
2173
|
+
code: string;
|
|
2174
|
+
voucherId: string;
|
|
2175
|
+
} | {
|
|
2176
|
+
type: "Fastspring";
|
|
2177
|
+
reference: string;
|
|
2178
|
+
testMode: boolean;
|
|
2179
|
+
} | null;
|
|
909
2180
|
externalId?: string | undefined;
|
|
910
2181
|
}>;
|
|
911
2182
|
customer: z.ZodOptional<z.ZodObject<{
|
|
@@ -951,12 +2222,72 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
951
2222
|
}, {
|
|
952
2223
|
newsletterOptIn: boolean;
|
|
953
2224
|
}>;
|
|
2225
|
+
lastUpdated: z.ZodObject<{
|
|
2226
|
+
at: z.ZodDate;
|
|
2227
|
+
by: z.ZodObject<{
|
|
2228
|
+
id: z.ZodString;
|
|
2229
|
+
name: z.ZodString;
|
|
2230
|
+
email: z.ZodString;
|
|
2231
|
+
}, "strip", z.ZodTypeAny, {
|
|
2232
|
+
id: string;
|
|
2233
|
+
name: string;
|
|
2234
|
+
email: string;
|
|
2235
|
+
}, {
|
|
2236
|
+
id: string;
|
|
2237
|
+
name: string;
|
|
2238
|
+
email: string;
|
|
2239
|
+
}>;
|
|
2240
|
+
}, "strip", z.ZodTypeAny, {
|
|
2241
|
+
at: Date;
|
|
2242
|
+
by: {
|
|
2243
|
+
id: string;
|
|
2244
|
+
name: string;
|
|
2245
|
+
email: string;
|
|
2246
|
+
};
|
|
2247
|
+
}, {
|
|
2248
|
+
at: Date;
|
|
2249
|
+
by: {
|
|
2250
|
+
id: string;
|
|
2251
|
+
name: string;
|
|
2252
|
+
email: string;
|
|
2253
|
+
};
|
|
2254
|
+
}>;
|
|
2255
|
+
created: z.ZodObject<{
|
|
2256
|
+
at: z.ZodDate;
|
|
2257
|
+
by: z.ZodObject<{
|
|
2258
|
+
id: z.ZodString;
|
|
2259
|
+
name: z.ZodString;
|
|
2260
|
+
email: z.ZodString;
|
|
2261
|
+
}, "strip", z.ZodTypeAny, {
|
|
2262
|
+
id: string;
|
|
2263
|
+
name: string;
|
|
2264
|
+
email: string;
|
|
2265
|
+
}, {
|
|
2266
|
+
id: string;
|
|
2267
|
+
name: string;
|
|
2268
|
+
email: string;
|
|
2269
|
+
}>;
|
|
2270
|
+
}, "strip", z.ZodTypeAny, {
|
|
2271
|
+
at: Date;
|
|
2272
|
+
by: {
|
|
2273
|
+
id: string;
|
|
2274
|
+
name: string;
|
|
2275
|
+
email: string;
|
|
2276
|
+
};
|
|
2277
|
+
}, {
|
|
2278
|
+
at: Date;
|
|
2279
|
+
by: {
|
|
2280
|
+
id: string;
|
|
2281
|
+
name: string;
|
|
2282
|
+
email: string;
|
|
2283
|
+
};
|
|
2284
|
+
}>;
|
|
954
2285
|
}, "strip", z.ZodTypeAny, {
|
|
955
2286
|
id: string;
|
|
956
2287
|
name: string;
|
|
2288
|
+
email: string;
|
|
957
2289
|
businessName: string | null;
|
|
958
2290
|
taxId: string | null;
|
|
959
|
-
email: string;
|
|
960
2291
|
numberOfLicenses: number;
|
|
961
2292
|
numberOfTrials: number;
|
|
962
2293
|
emailConfirmed: boolean;
|
|
@@ -975,13 +2306,29 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
975
2306
|
communicationPreferences: {
|
|
976
2307
|
newsletterOptIn: boolean;
|
|
977
2308
|
};
|
|
2309
|
+
lastUpdated: {
|
|
2310
|
+
at: Date;
|
|
2311
|
+
by: {
|
|
2312
|
+
id: string;
|
|
2313
|
+
name: string;
|
|
2314
|
+
email: string;
|
|
2315
|
+
};
|
|
2316
|
+
};
|
|
2317
|
+
created: {
|
|
2318
|
+
at: Date;
|
|
2319
|
+
by: {
|
|
2320
|
+
id: string;
|
|
2321
|
+
name: string;
|
|
2322
|
+
email: string;
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
978
2325
|
externalId?: string | undefined;
|
|
979
2326
|
}, {
|
|
980
2327
|
id: string;
|
|
981
2328
|
name: string;
|
|
2329
|
+
email: string;
|
|
982
2330
|
businessName: string | null;
|
|
983
2331
|
taxId: string | null;
|
|
984
|
-
email: string;
|
|
985
2332
|
numberOfLicenses: number;
|
|
986
2333
|
numberOfTrials: number;
|
|
987
2334
|
emailConfirmed: boolean;
|
|
@@ -1000,31 +2347,154 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
1000
2347
|
communicationPreferences: {
|
|
1001
2348
|
newsletterOptIn: boolean;
|
|
1002
2349
|
};
|
|
2350
|
+
lastUpdated: {
|
|
2351
|
+
at: Date;
|
|
2352
|
+
by: {
|
|
2353
|
+
id: string;
|
|
2354
|
+
name: string;
|
|
2355
|
+
email: string;
|
|
2356
|
+
};
|
|
2357
|
+
};
|
|
2358
|
+
created: {
|
|
2359
|
+
at: Date;
|
|
2360
|
+
by: {
|
|
2361
|
+
id: string;
|
|
2362
|
+
name: string;
|
|
2363
|
+
email: string;
|
|
2364
|
+
};
|
|
2365
|
+
};
|
|
1003
2366
|
externalId?: string | undefined;
|
|
1004
2367
|
}>>;
|
|
2368
|
+
lastUpdated: z.ZodObject<{
|
|
2369
|
+
at: z.ZodDate;
|
|
2370
|
+
by: z.ZodObject<{
|
|
2371
|
+
id: z.ZodString;
|
|
2372
|
+
name: z.ZodString;
|
|
2373
|
+
email: z.ZodString;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2375
|
+
id: string;
|
|
2376
|
+
name: string;
|
|
2377
|
+
email: string;
|
|
2378
|
+
}, {
|
|
2379
|
+
id: string;
|
|
2380
|
+
name: string;
|
|
2381
|
+
email: string;
|
|
2382
|
+
}>;
|
|
2383
|
+
}, "strip", z.ZodTypeAny, {
|
|
2384
|
+
at: Date;
|
|
2385
|
+
by: {
|
|
2386
|
+
id: string;
|
|
2387
|
+
name: string;
|
|
2388
|
+
email: string;
|
|
2389
|
+
};
|
|
2390
|
+
}, {
|
|
2391
|
+
at: Date;
|
|
2392
|
+
by: {
|
|
2393
|
+
id: string;
|
|
2394
|
+
name: string;
|
|
2395
|
+
email: string;
|
|
2396
|
+
};
|
|
2397
|
+
}>;
|
|
2398
|
+
created: z.ZodObject<{
|
|
2399
|
+
at: z.ZodDate;
|
|
2400
|
+
by: z.ZodObject<{
|
|
2401
|
+
id: z.ZodString;
|
|
2402
|
+
name: z.ZodString;
|
|
2403
|
+
email: z.ZodString;
|
|
2404
|
+
}, "strip", z.ZodTypeAny, {
|
|
2405
|
+
id: string;
|
|
2406
|
+
name: string;
|
|
2407
|
+
email: string;
|
|
2408
|
+
}, {
|
|
2409
|
+
id: string;
|
|
2410
|
+
name: string;
|
|
2411
|
+
email: string;
|
|
2412
|
+
}>;
|
|
2413
|
+
}, "strip", z.ZodTypeAny, {
|
|
2414
|
+
at: Date;
|
|
2415
|
+
by: {
|
|
2416
|
+
id: string;
|
|
2417
|
+
name: string;
|
|
2418
|
+
email: string;
|
|
2419
|
+
};
|
|
2420
|
+
}, {
|
|
2421
|
+
at: Date;
|
|
2422
|
+
by: {
|
|
2423
|
+
id: string;
|
|
2424
|
+
name: string;
|
|
2425
|
+
email: string;
|
|
2426
|
+
};
|
|
2427
|
+
}>;
|
|
1005
2428
|
}, "strip", z.ZodTypeAny, {
|
|
1006
2429
|
status: ActivationStatus;
|
|
1007
2430
|
id: string;
|
|
1008
2431
|
name: string;
|
|
2432
|
+
lastUpdated: {
|
|
2433
|
+
at: Date;
|
|
2434
|
+
by: {
|
|
2435
|
+
id: string;
|
|
2436
|
+
name: string;
|
|
2437
|
+
email: string;
|
|
2438
|
+
};
|
|
2439
|
+
};
|
|
2440
|
+
created: {
|
|
2441
|
+
at: Date;
|
|
2442
|
+
by: {
|
|
2443
|
+
id: string;
|
|
2444
|
+
name: string;
|
|
2445
|
+
email: string;
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
1009
2448
|
signature: string;
|
|
1010
2449
|
activationMethod: ActivationMethod;
|
|
1011
2450
|
lastValidatedAt: Date;
|
|
1012
2451
|
license: {
|
|
1013
2452
|
status: LicenseStatus;
|
|
1014
2453
|
id: string;
|
|
2454
|
+
lastUpdated: {
|
|
2455
|
+
at: Date;
|
|
2456
|
+
by: {
|
|
2457
|
+
id: string;
|
|
2458
|
+
name: string;
|
|
2459
|
+
email: string;
|
|
2460
|
+
};
|
|
2461
|
+
};
|
|
2462
|
+
created: {
|
|
2463
|
+
at: Date;
|
|
2464
|
+
by: {
|
|
2465
|
+
id: string;
|
|
2466
|
+
name: string;
|
|
2467
|
+
email: string;
|
|
2468
|
+
};
|
|
2469
|
+
};
|
|
1015
2470
|
productId: string;
|
|
1016
2471
|
ownerId: string;
|
|
1017
2472
|
activeNumberOfActivations: number;
|
|
1018
2473
|
maxNumberOfActivations: number;
|
|
1019
2474
|
offlineActivationsAllowed: boolean;
|
|
2475
|
+
source: {
|
|
2476
|
+
type: "Order";
|
|
2477
|
+
orderId: string;
|
|
2478
|
+
} | {
|
|
2479
|
+
type: "Subscription";
|
|
2480
|
+
subscriptionId: string;
|
|
2481
|
+
} | {
|
|
2482
|
+
type: "Voucher";
|
|
2483
|
+
code: string;
|
|
2484
|
+
voucherId: string;
|
|
2485
|
+
} | {
|
|
2486
|
+
type: "Fastspring";
|
|
2487
|
+
reference: string;
|
|
2488
|
+
testMode: boolean;
|
|
2489
|
+
} | null;
|
|
1020
2490
|
externalId?: string | undefined;
|
|
1021
2491
|
};
|
|
1022
2492
|
customer?: {
|
|
1023
2493
|
id: string;
|
|
1024
2494
|
name: string;
|
|
2495
|
+
email: string;
|
|
1025
2496
|
businessName: string | null;
|
|
1026
2497
|
taxId: string | null;
|
|
1027
|
-
email: string;
|
|
1028
2498
|
numberOfLicenses: number;
|
|
1029
2499
|
numberOfTrials: number;
|
|
1030
2500
|
emailConfirmed: boolean;
|
|
@@ -1043,31 +2513,94 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
1043
2513
|
communicationPreferences: {
|
|
1044
2514
|
newsletterOptIn: boolean;
|
|
1045
2515
|
};
|
|
2516
|
+
lastUpdated: {
|
|
2517
|
+
at: Date;
|
|
2518
|
+
by: {
|
|
2519
|
+
id: string;
|
|
2520
|
+
name: string;
|
|
2521
|
+
email: string;
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
created: {
|
|
2525
|
+
at: Date;
|
|
2526
|
+
by: {
|
|
2527
|
+
id: string;
|
|
2528
|
+
name: string;
|
|
2529
|
+
email: string;
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
1046
2532
|
externalId?: string | undefined;
|
|
1047
2533
|
} | undefined;
|
|
1048
2534
|
}, {
|
|
1049
2535
|
status: ActivationStatus;
|
|
1050
2536
|
id: string;
|
|
1051
2537
|
name: string;
|
|
2538
|
+
lastUpdated: {
|
|
2539
|
+
at: Date;
|
|
2540
|
+
by: {
|
|
2541
|
+
id: string;
|
|
2542
|
+
name: string;
|
|
2543
|
+
email: string;
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
created: {
|
|
2547
|
+
at: Date;
|
|
2548
|
+
by: {
|
|
2549
|
+
id: string;
|
|
2550
|
+
name: string;
|
|
2551
|
+
email: string;
|
|
2552
|
+
};
|
|
2553
|
+
};
|
|
1052
2554
|
signature: string;
|
|
1053
2555
|
activationMethod: ActivationMethod;
|
|
1054
2556
|
lastValidatedAt: Date;
|
|
1055
2557
|
license: {
|
|
1056
2558
|
status: LicenseStatus;
|
|
1057
2559
|
id: string;
|
|
2560
|
+
lastUpdated: {
|
|
2561
|
+
at: Date;
|
|
2562
|
+
by: {
|
|
2563
|
+
id: string;
|
|
2564
|
+
name: string;
|
|
2565
|
+
email: string;
|
|
2566
|
+
};
|
|
2567
|
+
};
|
|
2568
|
+
created: {
|
|
2569
|
+
at: Date;
|
|
2570
|
+
by: {
|
|
2571
|
+
id: string;
|
|
2572
|
+
name: string;
|
|
2573
|
+
email: string;
|
|
2574
|
+
};
|
|
2575
|
+
};
|
|
1058
2576
|
productId: string;
|
|
1059
2577
|
ownerId: string;
|
|
1060
2578
|
activeNumberOfActivations: number;
|
|
1061
2579
|
maxNumberOfActivations: number;
|
|
1062
2580
|
offlineActivationsAllowed: boolean;
|
|
2581
|
+
source: {
|
|
2582
|
+
type: "Order";
|
|
2583
|
+
orderId: string;
|
|
2584
|
+
} | {
|
|
2585
|
+
type: "Subscription";
|
|
2586
|
+
subscriptionId: string;
|
|
2587
|
+
} | {
|
|
2588
|
+
type: "Voucher";
|
|
2589
|
+
code: string;
|
|
2590
|
+
voucherId: string;
|
|
2591
|
+
} | {
|
|
2592
|
+
type: "Fastspring";
|
|
2593
|
+
reference: string;
|
|
2594
|
+
testMode: boolean;
|
|
2595
|
+
} | null;
|
|
1063
2596
|
externalId?: string | undefined;
|
|
1064
2597
|
};
|
|
1065
2598
|
customer?: {
|
|
1066
2599
|
id: string;
|
|
1067
2600
|
name: string;
|
|
2601
|
+
email: string;
|
|
1068
2602
|
businessName: string | null;
|
|
1069
2603
|
taxId: string | null;
|
|
1070
|
-
email: string;
|
|
1071
2604
|
numberOfLicenses: number;
|
|
1072
2605
|
numberOfTrials: number;
|
|
1073
2606
|
emailConfirmed: boolean;
|
|
@@ -1086,6 +2619,22 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
1086
2619
|
communicationPreferences: {
|
|
1087
2620
|
newsletterOptIn: boolean;
|
|
1088
2621
|
};
|
|
2622
|
+
lastUpdated: {
|
|
2623
|
+
at: Date;
|
|
2624
|
+
by: {
|
|
2625
|
+
id: string;
|
|
2626
|
+
name: string;
|
|
2627
|
+
email: string;
|
|
2628
|
+
};
|
|
2629
|
+
};
|
|
2630
|
+
created: {
|
|
2631
|
+
at: Date;
|
|
2632
|
+
by: {
|
|
2633
|
+
id: string;
|
|
2634
|
+
name: string;
|
|
2635
|
+
email: string;
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
1089
2638
|
externalId?: string | undefined;
|
|
1090
2639
|
} | undefined;
|
|
1091
2640
|
}>;
|
|
@@ -1246,9 +2795,14 @@ declare class LicenseEndpoints {
|
|
|
1246
2795
|
import(license: ImportLicenseRequest): Promise<License>;
|
|
1247
2796
|
provision(input: ProvisionLicensesRequest): Promise<License[]>;
|
|
1248
2797
|
revoke(licenseId: string): Promise<License>;
|
|
2798
|
+
queryActivations(opts?: {
|
|
2799
|
+
paginationToken?: string;
|
|
2800
|
+
after?: Date;
|
|
2801
|
+
before?: Date;
|
|
2802
|
+
pageSize?: number;
|
|
2803
|
+
}): Promise<Page<LicenseActivation>>;
|
|
1249
2804
|
queryActivations(licenseId: string, opts?: {
|
|
1250
2805
|
paginationToken?: string;
|
|
1251
|
-
productFilter?: string;
|
|
1252
2806
|
pageSize?: number;
|
|
1253
2807
|
}): Promise<Page<LicenseActivation>>;
|
|
1254
2808
|
getActivation(licenseId: string, activationId: string): Promise<LicenseActivation>;
|
|
@@ -1483,15 +3037,15 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1483
3037
|
term: z.ZodOptional<z.ZodString>;
|
|
1484
3038
|
content: z.ZodOptional<z.ZodString>;
|
|
1485
3039
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
referrer?: string | undefined;
|
|
1487
3040
|
source?: string | undefined;
|
|
3041
|
+
referrer?: string | undefined;
|
|
1488
3042
|
medium?: string | undefined;
|
|
1489
3043
|
campaign?: string | undefined;
|
|
1490
3044
|
term?: string | undefined;
|
|
1491
3045
|
content?: string | undefined;
|
|
1492
3046
|
}, {
|
|
1493
|
-
referrer?: string | undefined;
|
|
1494
3047
|
source?: string | undefined;
|
|
3048
|
+
referrer?: string | undefined;
|
|
1495
3049
|
medium?: string | undefined;
|
|
1496
3050
|
campaign?: string | undefined;
|
|
1497
3051
|
term?: string | undefined;
|
|
@@ -1505,15 +3059,15 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1505
3059
|
term: z.ZodOptional<z.ZodString>;
|
|
1506
3060
|
content: z.ZodOptional<z.ZodString>;
|
|
1507
3061
|
}, "strip", z.ZodTypeAny, {
|
|
1508
|
-
referrer?: string | undefined;
|
|
1509
3062
|
source?: string | undefined;
|
|
3063
|
+
referrer?: string | undefined;
|
|
1510
3064
|
medium?: string | undefined;
|
|
1511
3065
|
campaign?: string | undefined;
|
|
1512
3066
|
term?: string | undefined;
|
|
1513
3067
|
content?: string | undefined;
|
|
1514
3068
|
}, {
|
|
1515
|
-
referrer?: string | undefined;
|
|
1516
3069
|
source?: string | undefined;
|
|
3070
|
+
referrer?: string | undefined;
|
|
1517
3071
|
medium?: string | undefined;
|
|
1518
3072
|
campaign?: string | undefined;
|
|
1519
3073
|
term?: string | undefined;
|
|
@@ -1548,9 +3102,9 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1548
3102
|
}>>;
|
|
1549
3103
|
}, "strip", z.ZodTypeAny, {
|
|
1550
3104
|
name: string | null;
|
|
3105
|
+
email: string | null;
|
|
1551
3106
|
businessName: string | null;
|
|
1552
3107
|
taxId: string | null;
|
|
1553
|
-
email: string | null;
|
|
1554
3108
|
address: {
|
|
1555
3109
|
countryCode: string;
|
|
1556
3110
|
streetAddress1: string;
|
|
@@ -1561,9 +3115,9 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1561
3115
|
} | null;
|
|
1562
3116
|
}, {
|
|
1563
3117
|
name: string | null;
|
|
3118
|
+
email: string | null;
|
|
1564
3119
|
businessName: string | null;
|
|
1565
3120
|
taxId: string | null;
|
|
1566
|
-
email: string | null;
|
|
1567
3121
|
address: {
|
|
1568
3122
|
countryCode: string;
|
|
1569
3123
|
streetAddress1: string;
|
|
@@ -1942,8 +3496,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
1942
3496
|
}>]>>;
|
|
1943
3497
|
}, "strip", z.ZodTypeAny, {
|
|
1944
3498
|
type: "Product";
|
|
1945
|
-
productId: string;
|
|
1946
3499
|
quantity: number;
|
|
3500
|
+
productId: string;
|
|
1947
3501
|
variationId: string;
|
|
1948
3502
|
total?: {
|
|
1949
3503
|
discount: {
|
|
@@ -2036,8 +3590,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
2036
3590
|
} | undefined;
|
|
2037
3591
|
}, {
|
|
2038
3592
|
type: "Product";
|
|
2039
|
-
productId: string;
|
|
2040
3593
|
quantity: number;
|
|
3594
|
+
productId: string;
|
|
2041
3595
|
variationId: string;
|
|
2042
3596
|
total?: {
|
|
2043
3597
|
discount: {
|
|
@@ -2737,8 +4291,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
2737
4291
|
currency: string;
|
|
2738
4292
|
items: ({
|
|
2739
4293
|
type: "Product";
|
|
2740
|
-
productId: string;
|
|
2741
4294
|
quantity: number;
|
|
4295
|
+
productId: string;
|
|
2742
4296
|
variationId: string;
|
|
2743
4297
|
total?: {
|
|
2744
4298
|
discount: {
|
|
@@ -2924,13 +4478,6 @@ declare const orderSchema: z.ZodObject<{
|
|
|
2924
4478
|
type: "NoFulfillment";
|
|
2925
4479
|
} | undefined;
|
|
2926
4480
|
})[];
|
|
2927
|
-
isRefunded: boolean;
|
|
2928
|
-
isDisputed: boolean;
|
|
2929
|
-
couponsApplied: {
|
|
2930
|
-
code: string;
|
|
2931
|
-
name: string;
|
|
2932
|
-
description: string;
|
|
2933
|
-
}[];
|
|
2934
4481
|
lastUpdated: {
|
|
2935
4482
|
at: Date;
|
|
2936
4483
|
by: {
|
|
@@ -2947,20 +4494,13 @@ declare const orderSchema: z.ZodObject<{
|
|
|
2947
4494
|
email: string;
|
|
2948
4495
|
};
|
|
2949
4496
|
};
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
streetAddress1: string;
|
|
2958
|
-
streetAddress2: string | null;
|
|
2959
|
-
locality: string | null;
|
|
2960
|
-
region: string | null;
|
|
2961
|
-
postCode: string | null;
|
|
2962
|
-
} | null;
|
|
2963
|
-
} | undefined;
|
|
4497
|
+
isRefunded: boolean;
|
|
4498
|
+
isDisputed: boolean;
|
|
4499
|
+
couponsApplied: {
|
|
4500
|
+
code: string;
|
|
4501
|
+
name: string;
|
|
4502
|
+
description: string;
|
|
4503
|
+
}[];
|
|
2964
4504
|
total?: {
|
|
2965
4505
|
discount: {
|
|
2966
4506
|
currency: string;
|
|
@@ -2983,6 +4523,20 @@ declare const orderSchema: z.ZodObject<{
|
|
|
2983
4523
|
amount: number;
|
|
2984
4524
|
};
|
|
2985
4525
|
} | undefined;
|
|
4526
|
+
customer?: {
|
|
4527
|
+
name: string | null;
|
|
4528
|
+
email: string | null;
|
|
4529
|
+
businessName: string | null;
|
|
4530
|
+
taxId: string | null;
|
|
4531
|
+
address: {
|
|
4532
|
+
countryCode: string;
|
|
4533
|
+
streetAddress1: string;
|
|
4534
|
+
streetAddress2: string | null;
|
|
4535
|
+
locality: string | null;
|
|
4536
|
+
region: string | null;
|
|
4537
|
+
postCode: string | null;
|
|
4538
|
+
} | null;
|
|
4539
|
+
} | undefined;
|
|
2986
4540
|
payout?: {
|
|
2987
4541
|
subtotal: {
|
|
2988
4542
|
currency: string;
|
|
@@ -3017,16 +4571,16 @@ declare const orderSchema: z.ZodObject<{
|
|
|
3017
4571
|
amount: number;
|
|
3018
4572
|
} | undefined;
|
|
3019
4573
|
initialUTM?: {
|
|
3020
|
-
referrer?: string | undefined;
|
|
3021
4574
|
source?: string | undefined;
|
|
4575
|
+
referrer?: string | undefined;
|
|
3022
4576
|
medium?: string | undefined;
|
|
3023
4577
|
campaign?: string | undefined;
|
|
3024
4578
|
term?: string | undefined;
|
|
3025
4579
|
content?: string | undefined;
|
|
3026
4580
|
} | undefined;
|
|
3027
4581
|
currentUTM?: {
|
|
3028
|
-
referrer?: string | undefined;
|
|
3029
4582
|
source?: string | undefined;
|
|
4583
|
+
referrer?: string | undefined;
|
|
3030
4584
|
medium?: string | undefined;
|
|
3031
4585
|
campaign?: string | undefined;
|
|
3032
4586
|
term?: string | undefined;
|
|
@@ -3038,8 +4592,8 @@ declare const orderSchema: z.ZodObject<{
|
|
|
3038
4592
|
currency: string;
|
|
3039
4593
|
items: ({
|
|
3040
4594
|
type: "Product";
|
|
3041
|
-
productId: string;
|
|
3042
4595
|
quantity: number;
|
|
4596
|
+
productId: string;
|
|
3043
4597
|
variationId: string;
|
|
3044
4598
|
total?: {
|
|
3045
4599
|
discount: {
|
|
@@ -3225,13 +4779,6 @@ declare const orderSchema: z.ZodObject<{
|
|
|
3225
4779
|
type: "NoFulfillment";
|
|
3226
4780
|
} | undefined;
|
|
3227
4781
|
})[];
|
|
3228
|
-
isRefunded: boolean;
|
|
3229
|
-
isDisputed: boolean;
|
|
3230
|
-
couponsApplied: {
|
|
3231
|
-
code: string;
|
|
3232
|
-
name: string;
|
|
3233
|
-
description: string;
|
|
3234
|
-
}[];
|
|
3235
4782
|
lastUpdated: {
|
|
3236
4783
|
at: Date;
|
|
3237
4784
|
by: {
|
|
@@ -3248,20 +4795,13 @@ declare const orderSchema: z.ZodObject<{
|
|
|
3248
4795
|
email: string;
|
|
3249
4796
|
};
|
|
3250
4797
|
};
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
streetAddress1: string;
|
|
3259
|
-
streetAddress2: string | null;
|
|
3260
|
-
locality: string | null;
|
|
3261
|
-
region: string | null;
|
|
3262
|
-
postCode: string | null;
|
|
3263
|
-
} | null;
|
|
3264
|
-
} | undefined;
|
|
4798
|
+
isRefunded: boolean;
|
|
4799
|
+
isDisputed: boolean;
|
|
4800
|
+
couponsApplied: {
|
|
4801
|
+
code: string;
|
|
4802
|
+
name: string;
|
|
4803
|
+
description: string;
|
|
4804
|
+
}[];
|
|
3265
4805
|
total?: {
|
|
3266
4806
|
discount: {
|
|
3267
4807
|
currency: string;
|
|
@@ -3284,6 +4824,20 @@ declare const orderSchema: z.ZodObject<{
|
|
|
3284
4824
|
amount: number;
|
|
3285
4825
|
};
|
|
3286
4826
|
} | undefined;
|
|
4827
|
+
customer?: {
|
|
4828
|
+
name: string | null;
|
|
4829
|
+
email: string | null;
|
|
4830
|
+
businessName: string | null;
|
|
4831
|
+
taxId: string | null;
|
|
4832
|
+
address: {
|
|
4833
|
+
countryCode: string;
|
|
4834
|
+
streetAddress1: string;
|
|
4835
|
+
streetAddress2: string | null;
|
|
4836
|
+
locality: string | null;
|
|
4837
|
+
region: string | null;
|
|
4838
|
+
postCode: string | null;
|
|
4839
|
+
} | null;
|
|
4840
|
+
} | undefined;
|
|
3287
4841
|
payout?: {
|
|
3288
4842
|
subtotal: {
|
|
3289
4843
|
currency: string;
|
|
@@ -3318,16 +4872,16 @@ declare const orderSchema: z.ZodObject<{
|
|
|
3318
4872
|
amount: number;
|
|
3319
4873
|
} | undefined;
|
|
3320
4874
|
initialUTM?: {
|
|
3321
|
-
referrer?: string | undefined;
|
|
3322
4875
|
source?: string | undefined;
|
|
4876
|
+
referrer?: string | undefined;
|
|
3323
4877
|
medium?: string | undefined;
|
|
3324
4878
|
campaign?: string | undefined;
|
|
3325
4879
|
term?: string | undefined;
|
|
3326
4880
|
content?: string | undefined;
|
|
3327
4881
|
} | undefined;
|
|
3328
4882
|
currentUTM?: {
|
|
3329
|
-
referrer?: string | undefined;
|
|
3330
4883
|
source?: string | undefined;
|
|
4884
|
+
referrer?: string | undefined;
|
|
3331
4885
|
medium?: string | undefined;
|
|
3332
4886
|
campaign?: string | undefined;
|
|
3333
4887
|
term?: string | undefined;
|
|
@@ -3370,8 +4924,8 @@ declare const productSchema: z.ZodObject<{
|
|
|
3370
4924
|
status: ProductStatus;
|
|
3371
4925
|
id: string;
|
|
3372
4926
|
name: string;
|
|
3373
|
-
tagline: string;
|
|
3374
4927
|
description: string;
|
|
4928
|
+
tagline: string;
|
|
3375
4929
|
website: string | null;
|
|
3376
4930
|
iconUrl: string | null;
|
|
3377
4931
|
purchasable: boolean;
|
|
@@ -3380,8 +4934,8 @@ declare const productSchema: z.ZodObject<{
|
|
|
3380
4934
|
status: ProductStatus;
|
|
3381
4935
|
id: string;
|
|
3382
4936
|
name: string;
|
|
3383
|
-
tagline: string;
|
|
3384
4937
|
description: string;
|
|
4938
|
+
tagline: string;
|
|
3385
4939
|
website: string | null;
|
|
3386
4940
|
iconUrl: string | null;
|
|
3387
4941
|
purchasable: boolean;
|
|
@@ -3532,12 +5086,72 @@ declare const trialSchema: z.ZodObject<{
|
|
|
3532
5086
|
}, {
|
|
3533
5087
|
newsletterOptIn: boolean;
|
|
3534
5088
|
}>;
|
|
5089
|
+
lastUpdated: z.ZodObject<{
|
|
5090
|
+
at: z.ZodDate;
|
|
5091
|
+
by: z.ZodObject<{
|
|
5092
|
+
id: z.ZodString;
|
|
5093
|
+
name: z.ZodString;
|
|
5094
|
+
email: z.ZodString;
|
|
5095
|
+
}, "strip", z.ZodTypeAny, {
|
|
5096
|
+
id: string;
|
|
5097
|
+
name: string;
|
|
5098
|
+
email: string;
|
|
5099
|
+
}, {
|
|
5100
|
+
id: string;
|
|
5101
|
+
name: string;
|
|
5102
|
+
email: string;
|
|
5103
|
+
}>;
|
|
5104
|
+
}, "strip", z.ZodTypeAny, {
|
|
5105
|
+
at: Date;
|
|
5106
|
+
by: {
|
|
5107
|
+
id: string;
|
|
5108
|
+
name: string;
|
|
5109
|
+
email: string;
|
|
5110
|
+
};
|
|
5111
|
+
}, {
|
|
5112
|
+
at: Date;
|
|
5113
|
+
by: {
|
|
5114
|
+
id: string;
|
|
5115
|
+
name: string;
|
|
5116
|
+
email: string;
|
|
5117
|
+
};
|
|
5118
|
+
}>;
|
|
5119
|
+
created: z.ZodObject<{
|
|
5120
|
+
at: z.ZodDate;
|
|
5121
|
+
by: z.ZodObject<{
|
|
5122
|
+
id: z.ZodString;
|
|
5123
|
+
name: z.ZodString;
|
|
5124
|
+
email: z.ZodString;
|
|
5125
|
+
}, "strip", z.ZodTypeAny, {
|
|
5126
|
+
id: string;
|
|
5127
|
+
name: string;
|
|
5128
|
+
email: string;
|
|
5129
|
+
}, {
|
|
5130
|
+
id: string;
|
|
5131
|
+
name: string;
|
|
5132
|
+
email: string;
|
|
5133
|
+
}>;
|
|
5134
|
+
}, "strip", z.ZodTypeAny, {
|
|
5135
|
+
at: Date;
|
|
5136
|
+
by: {
|
|
5137
|
+
id: string;
|
|
5138
|
+
name: string;
|
|
5139
|
+
email: string;
|
|
5140
|
+
};
|
|
5141
|
+
}, {
|
|
5142
|
+
at: Date;
|
|
5143
|
+
by: {
|
|
5144
|
+
id: string;
|
|
5145
|
+
name: string;
|
|
5146
|
+
email: string;
|
|
5147
|
+
};
|
|
5148
|
+
}>;
|
|
3535
5149
|
}, "strip", z.ZodTypeAny, {
|
|
3536
5150
|
id: string;
|
|
3537
5151
|
name: string;
|
|
5152
|
+
email: string;
|
|
3538
5153
|
businessName: string | null;
|
|
3539
5154
|
taxId: string | null;
|
|
3540
|
-
email: string;
|
|
3541
5155
|
numberOfLicenses: number;
|
|
3542
5156
|
numberOfTrials: number;
|
|
3543
5157
|
emailConfirmed: boolean;
|
|
@@ -3556,13 +5170,29 @@ declare const trialSchema: z.ZodObject<{
|
|
|
3556
5170
|
communicationPreferences: {
|
|
3557
5171
|
newsletterOptIn: boolean;
|
|
3558
5172
|
};
|
|
5173
|
+
lastUpdated: {
|
|
5174
|
+
at: Date;
|
|
5175
|
+
by: {
|
|
5176
|
+
id: string;
|
|
5177
|
+
name: string;
|
|
5178
|
+
email: string;
|
|
5179
|
+
};
|
|
5180
|
+
};
|
|
5181
|
+
created: {
|
|
5182
|
+
at: Date;
|
|
5183
|
+
by: {
|
|
5184
|
+
id: string;
|
|
5185
|
+
name: string;
|
|
5186
|
+
email: string;
|
|
5187
|
+
};
|
|
5188
|
+
};
|
|
3559
5189
|
externalId?: string | undefined;
|
|
3560
5190
|
}, {
|
|
3561
5191
|
id: string;
|
|
3562
5192
|
name: string;
|
|
5193
|
+
email: string;
|
|
3563
5194
|
businessName: string | null;
|
|
3564
5195
|
taxId: string | null;
|
|
3565
|
-
email: string;
|
|
3566
5196
|
numberOfLicenses: number;
|
|
3567
5197
|
numberOfTrials: number;
|
|
3568
5198
|
emailConfirmed: boolean;
|
|
@@ -3581,11 +5211,103 @@ declare const trialSchema: z.ZodObject<{
|
|
|
3581
5211
|
communicationPreferences: {
|
|
3582
5212
|
newsletterOptIn: boolean;
|
|
3583
5213
|
};
|
|
5214
|
+
lastUpdated: {
|
|
5215
|
+
at: Date;
|
|
5216
|
+
by: {
|
|
5217
|
+
id: string;
|
|
5218
|
+
name: string;
|
|
5219
|
+
email: string;
|
|
5220
|
+
};
|
|
5221
|
+
};
|
|
5222
|
+
created: {
|
|
5223
|
+
at: Date;
|
|
5224
|
+
by: {
|
|
5225
|
+
id: string;
|
|
5226
|
+
name: string;
|
|
5227
|
+
email: string;
|
|
5228
|
+
};
|
|
5229
|
+
};
|
|
3584
5230
|
externalId?: string | undefined;
|
|
3585
5231
|
}>>;
|
|
5232
|
+
lastUpdated: z.ZodObject<{
|
|
5233
|
+
at: z.ZodDate;
|
|
5234
|
+
by: z.ZodObject<{
|
|
5235
|
+
id: z.ZodString;
|
|
5236
|
+
name: z.ZodString;
|
|
5237
|
+
email: z.ZodString;
|
|
5238
|
+
}, "strip", z.ZodTypeAny, {
|
|
5239
|
+
id: string;
|
|
5240
|
+
name: string;
|
|
5241
|
+
email: string;
|
|
5242
|
+
}, {
|
|
5243
|
+
id: string;
|
|
5244
|
+
name: string;
|
|
5245
|
+
email: string;
|
|
5246
|
+
}>;
|
|
5247
|
+
}, "strip", z.ZodTypeAny, {
|
|
5248
|
+
at: Date;
|
|
5249
|
+
by: {
|
|
5250
|
+
id: string;
|
|
5251
|
+
name: string;
|
|
5252
|
+
email: string;
|
|
5253
|
+
};
|
|
5254
|
+
}, {
|
|
5255
|
+
at: Date;
|
|
5256
|
+
by: {
|
|
5257
|
+
id: string;
|
|
5258
|
+
name: string;
|
|
5259
|
+
email: string;
|
|
5260
|
+
};
|
|
5261
|
+
}>;
|
|
5262
|
+
created: z.ZodObject<{
|
|
5263
|
+
at: z.ZodDate;
|
|
5264
|
+
by: z.ZodObject<{
|
|
5265
|
+
id: z.ZodString;
|
|
5266
|
+
name: z.ZodString;
|
|
5267
|
+
email: z.ZodString;
|
|
5268
|
+
}, "strip", z.ZodTypeAny, {
|
|
5269
|
+
id: string;
|
|
5270
|
+
name: string;
|
|
5271
|
+
email: string;
|
|
5272
|
+
}, {
|
|
5273
|
+
id: string;
|
|
5274
|
+
name: string;
|
|
5275
|
+
email: string;
|
|
5276
|
+
}>;
|
|
5277
|
+
}, "strip", z.ZodTypeAny, {
|
|
5278
|
+
at: Date;
|
|
5279
|
+
by: {
|
|
5280
|
+
id: string;
|
|
5281
|
+
name: string;
|
|
5282
|
+
email: string;
|
|
5283
|
+
};
|
|
5284
|
+
}, {
|
|
5285
|
+
at: Date;
|
|
5286
|
+
by: {
|
|
5287
|
+
id: string;
|
|
5288
|
+
name: string;
|
|
5289
|
+
email: string;
|
|
5290
|
+
};
|
|
5291
|
+
}>;
|
|
3586
5292
|
}, "strip", z.ZodTypeAny, {
|
|
3587
5293
|
status: TrialStatus;
|
|
3588
5294
|
id: string;
|
|
5295
|
+
lastUpdated: {
|
|
5296
|
+
at: Date;
|
|
5297
|
+
by: {
|
|
5298
|
+
id: string;
|
|
5299
|
+
name: string;
|
|
5300
|
+
email: string;
|
|
5301
|
+
};
|
|
5302
|
+
};
|
|
5303
|
+
created: {
|
|
5304
|
+
at: Date;
|
|
5305
|
+
by: {
|
|
5306
|
+
id: string;
|
|
5307
|
+
name: string;
|
|
5308
|
+
email: string;
|
|
5309
|
+
};
|
|
5310
|
+
};
|
|
3589
5311
|
productId: string;
|
|
3590
5312
|
lastValidatedAt: Date;
|
|
3591
5313
|
deviceName: string;
|
|
@@ -3595,9 +5317,9 @@ declare const trialSchema: z.ZodObject<{
|
|
|
3595
5317
|
customer?: {
|
|
3596
5318
|
id: string;
|
|
3597
5319
|
name: string;
|
|
5320
|
+
email: string;
|
|
3598
5321
|
businessName: string | null;
|
|
3599
5322
|
taxId: string | null;
|
|
3600
|
-
email: string;
|
|
3601
5323
|
numberOfLicenses: number;
|
|
3602
5324
|
numberOfTrials: number;
|
|
3603
5325
|
emailConfirmed: boolean;
|
|
@@ -3616,11 +5338,43 @@ declare const trialSchema: z.ZodObject<{
|
|
|
3616
5338
|
communicationPreferences: {
|
|
3617
5339
|
newsletterOptIn: boolean;
|
|
3618
5340
|
};
|
|
5341
|
+
lastUpdated: {
|
|
5342
|
+
at: Date;
|
|
5343
|
+
by: {
|
|
5344
|
+
id: string;
|
|
5345
|
+
name: string;
|
|
5346
|
+
email: string;
|
|
5347
|
+
};
|
|
5348
|
+
};
|
|
5349
|
+
created: {
|
|
5350
|
+
at: Date;
|
|
5351
|
+
by: {
|
|
5352
|
+
id: string;
|
|
5353
|
+
name: string;
|
|
5354
|
+
email: string;
|
|
5355
|
+
};
|
|
5356
|
+
};
|
|
3619
5357
|
externalId?: string | undefined;
|
|
3620
5358
|
} | undefined;
|
|
3621
5359
|
}, {
|
|
3622
5360
|
status: TrialStatus;
|
|
3623
5361
|
id: string;
|
|
5362
|
+
lastUpdated: {
|
|
5363
|
+
at: Date;
|
|
5364
|
+
by: {
|
|
5365
|
+
id: string;
|
|
5366
|
+
name: string;
|
|
5367
|
+
email: string;
|
|
5368
|
+
};
|
|
5369
|
+
};
|
|
5370
|
+
created: {
|
|
5371
|
+
at: Date;
|
|
5372
|
+
by: {
|
|
5373
|
+
id: string;
|
|
5374
|
+
name: string;
|
|
5375
|
+
email: string;
|
|
5376
|
+
};
|
|
5377
|
+
};
|
|
3624
5378
|
productId: string;
|
|
3625
5379
|
lastValidatedAt: Date;
|
|
3626
5380
|
deviceName: string;
|
|
@@ -3630,9 +5384,9 @@ declare const trialSchema: z.ZodObject<{
|
|
|
3630
5384
|
customer?: {
|
|
3631
5385
|
id: string;
|
|
3632
5386
|
name: string;
|
|
5387
|
+
email: string;
|
|
3633
5388
|
businessName: string | null;
|
|
3634
5389
|
taxId: string | null;
|
|
3635
|
-
email: string;
|
|
3636
5390
|
numberOfLicenses: number;
|
|
3637
5391
|
numberOfTrials: number;
|
|
3638
5392
|
emailConfirmed: boolean;
|
|
@@ -3651,6 +5405,22 @@ declare const trialSchema: z.ZodObject<{
|
|
|
3651
5405
|
communicationPreferences: {
|
|
3652
5406
|
newsletterOptIn: boolean;
|
|
3653
5407
|
};
|
|
5408
|
+
lastUpdated: {
|
|
5409
|
+
at: Date;
|
|
5410
|
+
by: {
|
|
5411
|
+
id: string;
|
|
5412
|
+
name: string;
|
|
5413
|
+
email: string;
|
|
5414
|
+
};
|
|
5415
|
+
};
|
|
5416
|
+
created: {
|
|
5417
|
+
at: Date;
|
|
5418
|
+
by: {
|
|
5419
|
+
id: string;
|
|
5420
|
+
name: string;
|
|
5421
|
+
email: string;
|
|
5422
|
+
};
|
|
5423
|
+
};
|
|
3654
5424
|
externalId?: string | undefined;
|
|
3655
5425
|
} | undefined;
|
|
3656
5426
|
}>;
|
|
@@ -3728,8 +5498,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3728
5498
|
status: ProductStatus;
|
|
3729
5499
|
id: string;
|
|
3730
5500
|
name: string;
|
|
3731
|
-
tagline: string;
|
|
3732
5501
|
description: string;
|
|
5502
|
+
tagline: string;
|
|
3733
5503
|
website: string | null;
|
|
3734
5504
|
iconUrl: string | null;
|
|
3735
5505
|
purchasable: boolean;
|
|
@@ -3738,8 +5508,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3738
5508
|
status: ProductStatus;
|
|
3739
5509
|
id: string;
|
|
3740
5510
|
name: string;
|
|
3741
|
-
tagline: string;
|
|
3742
5511
|
description: string;
|
|
5512
|
+
tagline: string;
|
|
3743
5513
|
website: string | null;
|
|
3744
5514
|
iconUrl: string | null;
|
|
3745
5515
|
purchasable: boolean;
|
|
@@ -3751,8 +5521,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3751
5521
|
status: ProductStatus;
|
|
3752
5522
|
id: string;
|
|
3753
5523
|
name: string;
|
|
3754
|
-
tagline: string;
|
|
3755
5524
|
description: string;
|
|
5525
|
+
tagline: string;
|
|
3756
5526
|
website: string | null;
|
|
3757
5527
|
iconUrl: string | null;
|
|
3758
5528
|
purchasable: boolean;
|
|
@@ -3764,8 +5534,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3764
5534
|
status: ProductStatus;
|
|
3765
5535
|
id: string;
|
|
3766
5536
|
name: string;
|
|
3767
|
-
tagline: string;
|
|
3768
5537
|
description: string;
|
|
5538
|
+
tagline: string;
|
|
3769
5539
|
website: string | null;
|
|
3770
5540
|
iconUrl: string | null;
|
|
3771
5541
|
purchasable: boolean;
|
|
@@ -3785,16 +5555,16 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3785
5555
|
}, "strip", z.ZodTypeAny, {
|
|
3786
5556
|
id: string;
|
|
3787
5557
|
name: string;
|
|
3788
|
-
tagline: string;
|
|
3789
5558
|
description: string;
|
|
5559
|
+
tagline: string;
|
|
3790
5560
|
iconUrl: string | null;
|
|
3791
5561
|
purchasable: boolean;
|
|
3792
5562
|
partialPurchaseEnabled: boolean;
|
|
3793
5563
|
}, {
|
|
3794
5564
|
id: string;
|
|
3795
5565
|
name: string;
|
|
3796
|
-
tagline: string;
|
|
3797
5566
|
description: string;
|
|
5567
|
+
tagline: string;
|
|
3798
5568
|
iconUrl: string | null;
|
|
3799
5569
|
purchasable: boolean;
|
|
3800
5570
|
partialPurchaseEnabled: boolean;
|
|
@@ -3804,8 +5574,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3804
5574
|
value: {
|
|
3805
5575
|
id: string;
|
|
3806
5576
|
name: string;
|
|
3807
|
-
tagline: string;
|
|
3808
5577
|
description: string;
|
|
5578
|
+
tagline: string;
|
|
3809
5579
|
iconUrl: string | null;
|
|
3810
5580
|
purchasable: boolean;
|
|
3811
5581
|
partialPurchaseEnabled: boolean;
|
|
@@ -3815,17 +5585,93 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3815
5585
|
value: {
|
|
3816
5586
|
id: string;
|
|
3817
5587
|
name: string;
|
|
3818
|
-
tagline: string;
|
|
3819
5588
|
description: string;
|
|
5589
|
+
tagline: string;
|
|
3820
5590
|
iconUrl: string | null;
|
|
3821
5591
|
purchasable: boolean;
|
|
3822
5592
|
partialPurchaseEnabled: boolean;
|
|
3823
5593
|
};
|
|
3824
5594
|
quantity: number;
|
|
3825
5595
|
}>, "many">;
|
|
5596
|
+
lastUpdated: z.ZodObject<{
|
|
5597
|
+
at: z.ZodDate;
|
|
5598
|
+
by: z.ZodObject<{
|
|
5599
|
+
id: z.ZodString;
|
|
5600
|
+
name: z.ZodString;
|
|
5601
|
+
email: z.ZodString;
|
|
5602
|
+
}, "strip", z.ZodTypeAny, {
|
|
5603
|
+
id: string;
|
|
5604
|
+
name: string;
|
|
5605
|
+
email: string;
|
|
5606
|
+
}, {
|
|
5607
|
+
id: string;
|
|
5608
|
+
name: string;
|
|
5609
|
+
email: string;
|
|
5610
|
+
}>;
|
|
5611
|
+
}, "strip", z.ZodTypeAny, {
|
|
5612
|
+
at: Date;
|
|
5613
|
+
by: {
|
|
5614
|
+
id: string;
|
|
5615
|
+
name: string;
|
|
5616
|
+
email: string;
|
|
5617
|
+
};
|
|
5618
|
+
}, {
|
|
5619
|
+
at: Date;
|
|
5620
|
+
by: {
|
|
5621
|
+
id: string;
|
|
5622
|
+
name: string;
|
|
5623
|
+
email: string;
|
|
5624
|
+
};
|
|
5625
|
+
}>;
|
|
5626
|
+
created: z.ZodObject<{
|
|
5627
|
+
at: z.ZodDate;
|
|
5628
|
+
by: z.ZodObject<{
|
|
5629
|
+
id: z.ZodString;
|
|
5630
|
+
name: z.ZodString;
|
|
5631
|
+
email: z.ZodString;
|
|
5632
|
+
}, "strip", z.ZodTypeAny, {
|
|
5633
|
+
id: string;
|
|
5634
|
+
name: string;
|
|
5635
|
+
email: string;
|
|
5636
|
+
}, {
|
|
5637
|
+
id: string;
|
|
5638
|
+
name: string;
|
|
5639
|
+
email: string;
|
|
5640
|
+
}>;
|
|
5641
|
+
}, "strip", z.ZodTypeAny, {
|
|
5642
|
+
at: Date;
|
|
5643
|
+
by: {
|
|
5644
|
+
id: string;
|
|
5645
|
+
name: string;
|
|
5646
|
+
email: string;
|
|
5647
|
+
};
|
|
5648
|
+
}, {
|
|
5649
|
+
at: Date;
|
|
5650
|
+
by: {
|
|
5651
|
+
id: string;
|
|
5652
|
+
name: string;
|
|
5653
|
+
email: string;
|
|
5654
|
+
};
|
|
5655
|
+
}>;
|
|
3826
5656
|
}, "strip", z.ZodTypeAny, {
|
|
3827
5657
|
id: string;
|
|
3828
5658
|
description: string;
|
|
5659
|
+
lastUpdated: {
|
|
5660
|
+
at: Date;
|
|
5661
|
+
by: {
|
|
5662
|
+
id: string;
|
|
5663
|
+
name: string;
|
|
5664
|
+
email: string;
|
|
5665
|
+
};
|
|
5666
|
+
};
|
|
5667
|
+
created: {
|
|
5668
|
+
at: Date;
|
|
5669
|
+
by: {
|
|
5670
|
+
id: string;
|
|
5671
|
+
name: string;
|
|
5672
|
+
email: string;
|
|
5673
|
+
};
|
|
5674
|
+
};
|
|
3829
5675
|
numberOfCodes: number;
|
|
3830
5676
|
numberOfRedemptions: number;
|
|
3831
5677
|
redeemsProducts: {
|
|
@@ -3833,8 +5679,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3833
5679
|
status: ProductStatus;
|
|
3834
5680
|
id: string;
|
|
3835
5681
|
name: string;
|
|
3836
|
-
tagline: string;
|
|
3837
5682
|
description: string;
|
|
5683
|
+
tagline: string;
|
|
3838
5684
|
website: string | null;
|
|
3839
5685
|
iconUrl: string | null;
|
|
3840
5686
|
purchasable: boolean;
|
|
@@ -3846,8 +5692,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3846
5692
|
value: {
|
|
3847
5693
|
id: string;
|
|
3848
5694
|
name: string;
|
|
3849
|
-
tagline: string;
|
|
3850
5695
|
description: string;
|
|
5696
|
+
tagline: string;
|
|
3851
5697
|
iconUrl: string | null;
|
|
3852
5698
|
purchasable: boolean;
|
|
3853
5699
|
partialPurchaseEnabled: boolean;
|
|
@@ -3857,6 +5703,22 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3857
5703
|
}, {
|
|
3858
5704
|
id: string;
|
|
3859
5705
|
description: string;
|
|
5706
|
+
lastUpdated: {
|
|
5707
|
+
at: Date;
|
|
5708
|
+
by: {
|
|
5709
|
+
id: string;
|
|
5710
|
+
name: string;
|
|
5711
|
+
email: string;
|
|
5712
|
+
};
|
|
5713
|
+
};
|
|
5714
|
+
created: {
|
|
5715
|
+
at: Date;
|
|
5716
|
+
by: {
|
|
5717
|
+
id: string;
|
|
5718
|
+
name: string;
|
|
5719
|
+
email: string;
|
|
5720
|
+
};
|
|
5721
|
+
};
|
|
3860
5722
|
numberOfCodes: number;
|
|
3861
5723
|
numberOfRedemptions: number;
|
|
3862
5724
|
redeemsProducts: {
|
|
@@ -3864,8 +5726,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3864
5726
|
status: ProductStatus;
|
|
3865
5727
|
id: string;
|
|
3866
5728
|
name: string;
|
|
3867
|
-
tagline: string;
|
|
3868
5729
|
description: string;
|
|
5730
|
+
tagline: string;
|
|
3869
5731
|
website: string | null;
|
|
3870
5732
|
iconUrl: string | null;
|
|
3871
5733
|
purchasable: boolean;
|
|
@@ -3877,8 +5739,8 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
3877
5739
|
value: {
|
|
3878
5740
|
id: string;
|
|
3879
5741
|
name: string;
|
|
3880
|
-
tagline: string;
|
|
3881
5742
|
description: string;
|
|
5743
|
+
tagline: string;
|
|
3882
5744
|
iconUrl: string | null;
|
|
3883
5745
|
purchasable: boolean;
|
|
3884
5746
|
partialPurchaseEnabled: boolean;
|
|
@@ -3956,16 +5818,16 @@ declare const bundleSchema: z.ZodObject<{
|
|
|
3956
5818
|
}, "strip", z.ZodTypeAny, {
|
|
3957
5819
|
id: string;
|
|
3958
5820
|
name: string;
|
|
3959
|
-
tagline: string;
|
|
3960
5821
|
description: string;
|
|
5822
|
+
tagline: string;
|
|
3961
5823
|
iconUrl: string | null;
|
|
3962
5824
|
purchasable: boolean;
|
|
3963
5825
|
partialPurchaseEnabled: boolean;
|
|
3964
5826
|
}, {
|
|
3965
5827
|
id: string;
|
|
3966
5828
|
name: string;
|
|
3967
|
-
tagline: string;
|
|
3968
5829
|
description: string;
|
|
5830
|
+
tagline: string;
|
|
3969
5831
|
iconUrl: string | null;
|
|
3970
5832
|
purchasable: boolean;
|
|
3971
5833
|
partialPurchaseEnabled: boolean;
|