shred-api-client 2.1.3 → 2.1.5
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.d.mts +141 -1444
- package/dist/index.d.ts +141 -1444
- package/dist/index.js +28 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -6,21 +6,9 @@ declare const ScriptSchema: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
title: z.ZodString;
|
|
8
8
|
content: z.ZodString;
|
|
9
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
10
|
userId: z.ZodOptional<z.ZodString>;
|
|
11
|
-
},
|
|
12
|
-
id: string;
|
|
13
|
-
title: string;
|
|
14
|
-
content: string;
|
|
15
|
-
userId?: string | undefined;
|
|
16
|
-
tags?: string[] | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
id: string;
|
|
19
|
-
title: string;
|
|
20
|
-
content: string;
|
|
21
|
-
userId?: string | undefined;
|
|
22
|
-
tags?: string[] | undefined;
|
|
23
|
-
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
24
12
|
declare const CategorySchema: z.ZodObject<{
|
|
25
13
|
id: z.ZodString;
|
|
26
14
|
title: z.ZodString;
|
|
@@ -31,48 +19,10 @@ declare const CategorySchema: z.ZodObject<{
|
|
|
31
19
|
id: z.ZodString;
|
|
32
20
|
title: z.ZodString;
|
|
33
21
|
content: z.ZodString;
|
|
34
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
22
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
23
|
userId: z.ZodOptional<z.ZodString>;
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
title: string;
|
|
39
|
-
content: string;
|
|
40
|
-
userId?: string | undefined;
|
|
41
|
-
tags?: string[] | undefined;
|
|
42
|
-
}, {
|
|
43
|
-
id: string;
|
|
44
|
-
title: string;
|
|
45
|
-
content: string;
|
|
46
|
-
userId?: string | undefined;
|
|
47
|
-
tags?: string[] | undefined;
|
|
48
|
-
}>, "many">;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
active: boolean;
|
|
51
|
-
id: string;
|
|
52
|
-
title: string;
|
|
53
|
-
pictureUrl: string;
|
|
54
|
-
backgroundColor: string;
|
|
55
|
-
scripts: {
|
|
56
|
-
id: string;
|
|
57
|
-
title: string;
|
|
58
|
-
content: string;
|
|
59
|
-
userId?: string | undefined;
|
|
60
|
-
tags?: string[] | undefined;
|
|
61
|
-
}[];
|
|
62
|
-
}, {
|
|
63
|
-
active: boolean;
|
|
64
|
-
id: string;
|
|
65
|
-
title: string;
|
|
66
|
-
pictureUrl: string;
|
|
67
|
-
backgroundColor: string;
|
|
68
|
-
scripts: {
|
|
69
|
-
id: string;
|
|
70
|
-
title: string;
|
|
71
|
-
content: string;
|
|
72
|
-
userId?: string | undefined;
|
|
73
|
-
tags?: string[] | undefined;
|
|
74
|
-
}[];
|
|
75
|
-
}>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
76
26
|
declare const PromptSchema: z.ZodObject<{
|
|
77
27
|
id: z.ZodString;
|
|
78
28
|
tenantId: z.ZodString;
|
|
@@ -86,83 +36,11 @@ declare const PromptSchema: z.ZodObject<{
|
|
|
86
36
|
id: z.ZodString;
|
|
87
37
|
title: z.ZodString;
|
|
88
38
|
content: z.ZodString;
|
|
89
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
39
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
40
|
userId: z.ZodOptional<z.ZodString>;
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
content: string;
|
|
95
|
-
userId?: string | undefined;
|
|
96
|
-
tags?: string[] | undefined;
|
|
97
|
-
}, {
|
|
98
|
-
id: string;
|
|
99
|
-
title: string;
|
|
100
|
-
content: string;
|
|
101
|
-
userId?: string | undefined;
|
|
102
|
-
tags?: string[] | undefined;
|
|
103
|
-
}>, "many">;
|
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
active: boolean;
|
|
106
|
-
id: string;
|
|
107
|
-
title: string;
|
|
108
|
-
pictureUrl: string;
|
|
109
|
-
backgroundColor: string;
|
|
110
|
-
scripts: {
|
|
111
|
-
id: string;
|
|
112
|
-
title: string;
|
|
113
|
-
content: string;
|
|
114
|
-
userId?: string | undefined;
|
|
115
|
-
tags?: string[] | undefined;
|
|
116
|
-
}[];
|
|
117
|
-
}, {
|
|
118
|
-
active: boolean;
|
|
119
|
-
id: string;
|
|
120
|
-
title: string;
|
|
121
|
-
pictureUrl: string;
|
|
122
|
-
backgroundColor: string;
|
|
123
|
-
scripts: {
|
|
124
|
-
id: string;
|
|
125
|
-
title: string;
|
|
126
|
-
content: string;
|
|
127
|
-
userId?: string | undefined;
|
|
128
|
-
tags?: string[] | undefined;
|
|
129
|
-
}[];
|
|
130
|
-
}>, "many">;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
id: string;
|
|
133
|
-
tenantId: string;
|
|
134
|
-
categories: {
|
|
135
|
-
active: boolean;
|
|
136
|
-
id: string;
|
|
137
|
-
title: string;
|
|
138
|
-
pictureUrl: string;
|
|
139
|
-
backgroundColor: string;
|
|
140
|
-
scripts: {
|
|
141
|
-
id: string;
|
|
142
|
-
title: string;
|
|
143
|
-
content: string;
|
|
144
|
-
userId?: string | undefined;
|
|
145
|
-
tags?: string[] | undefined;
|
|
146
|
-
}[];
|
|
147
|
-
}[];
|
|
148
|
-
}, {
|
|
149
|
-
id: string;
|
|
150
|
-
tenantId: string;
|
|
151
|
-
categories: {
|
|
152
|
-
active: boolean;
|
|
153
|
-
id: string;
|
|
154
|
-
title: string;
|
|
155
|
-
pictureUrl: string;
|
|
156
|
-
backgroundColor: string;
|
|
157
|
-
scripts: {
|
|
158
|
-
id: string;
|
|
159
|
-
title: string;
|
|
160
|
-
content: string;
|
|
161
|
-
userId?: string | undefined;
|
|
162
|
-
tags?: string[] | undefined;
|
|
163
|
-
}[];
|
|
164
|
-
}[];
|
|
165
|
-
}>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
166
44
|
type Script = z.infer<typeof ScriptSchema>;
|
|
167
45
|
type Category = z.infer<typeof CategorySchema>;
|
|
168
46
|
type Prompt = z.infer<typeof PromptSchema>;
|
|
@@ -215,7 +93,7 @@ declare enum Type {
|
|
|
215
93
|
CUSTOMER_SUBSCRIPTION = 0,
|
|
216
94
|
TENANT_SUBSCRIPTION = 1
|
|
217
95
|
}
|
|
218
|
-
declare const SubscriptionTypeSchema: z.
|
|
96
|
+
declare const SubscriptionTypeSchema: z.ZodEnum<typeof Type>;
|
|
219
97
|
declare const PlanSchema: z.ZodObject<{
|
|
220
98
|
id: z.ZodString;
|
|
221
99
|
currency: z.ZodString;
|
|
@@ -223,34 +101,14 @@ declare const PlanSchema: z.ZodObject<{
|
|
|
223
101
|
interval: z.ZodString;
|
|
224
102
|
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
225
103
|
subscriptionItemId: z.ZodString;
|
|
226
|
-
},
|
|
227
|
-
id: string;
|
|
228
|
-
metadata: Record<string, string>;
|
|
229
|
-
interval: string;
|
|
230
|
-
price: number;
|
|
231
|
-
currency: string;
|
|
232
|
-
subscriptionItemId: string;
|
|
233
|
-
}, {
|
|
234
|
-
id: string;
|
|
235
|
-
metadata: Record<string, string>;
|
|
236
|
-
interval: string;
|
|
237
|
-
price: number;
|
|
238
|
-
currency: string;
|
|
239
|
-
subscriptionItemId: string;
|
|
240
|
-
}>;
|
|
104
|
+
}, z.core.$strip>;
|
|
241
105
|
declare const ProductSchema: z.ZodObject<{
|
|
242
106
|
id: z.ZodString;
|
|
243
107
|
name: z.ZodString;
|
|
244
108
|
descriptions: z.ZodArray<z.ZodObject<{
|
|
245
109
|
description: z.ZodString;
|
|
246
110
|
subtitle: z.ZodString;
|
|
247
|
-
},
|
|
248
|
-
description: string;
|
|
249
|
-
subtitle: string;
|
|
250
|
-
}, {
|
|
251
|
-
description: string;
|
|
252
|
-
subtitle: string;
|
|
253
|
-
}>, "many">;
|
|
111
|
+
}, z.core.$strip>>;
|
|
254
112
|
metadata: z.ZodAny;
|
|
255
113
|
plans: z.ZodArray<z.ZodObject<{
|
|
256
114
|
id: z.ZodString;
|
|
@@ -259,57 +117,9 @@ declare const ProductSchema: z.ZodObject<{
|
|
|
259
117
|
interval: z.ZodString;
|
|
260
118
|
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
261
119
|
subscriptionItemId: z.ZodString;
|
|
262
|
-
},
|
|
263
|
-
id: string;
|
|
264
|
-
metadata: Record<string, string>;
|
|
265
|
-
interval: string;
|
|
266
|
-
price: number;
|
|
267
|
-
currency: string;
|
|
268
|
-
subscriptionItemId: string;
|
|
269
|
-
}, {
|
|
270
|
-
id: string;
|
|
271
|
-
metadata: Record<string, string>;
|
|
272
|
-
interval: string;
|
|
273
|
-
price: number;
|
|
274
|
-
currency: string;
|
|
275
|
-
subscriptionItemId: string;
|
|
276
|
-
}>, "many">;
|
|
120
|
+
}, z.core.$strip>>;
|
|
277
121
|
percentOff: z.ZodDefault<z.ZodNumber>;
|
|
278
|
-
},
|
|
279
|
-
id: string;
|
|
280
|
-
name: string;
|
|
281
|
-
descriptions: {
|
|
282
|
-
description: string;
|
|
283
|
-
subtitle: string;
|
|
284
|
-
}[];
|
|
285
|
-
plans: {
|
|
286
|
-
id: string;
|
|
287
|
-
metadata: Record<string, string>;
|
|
288
|
-
interval: string;
|
|
289
|
-
price: number;
|
|
290
|
-
currency: string;
|
|
291
|
-
subscriptionItemId: string;
|
|
292
|
-
}[];
|
|
293
|
-
percentOff: number;
|
|
294
|
-
metadata?: any;
|
|
295
|
-
}, {
|
|
296
|
-
id: string;
|
|
297
|
-
name: string;
|
|
298
|
-
descriptions: {
|
|
299
|
-
description: string;
|
|
300
|
-
subtitle: string;
|
|
301
|
-
}[];
|
|
302
|
-
plans: {
|
|
303
|
-
id: string;
|
|
304
|
-
metadata: Record<string, string>;
|
|
305
|
-
interval: string;
|
|
306
|
-
price: number;
|
|
307
|
-
currency: string;
|
|
308
|
-
subscriptionItemId: string;
|
|
309
|
-
}[];
|
|
310
|
-
metadata?: any;
|
|
311
|
-
percentOff?: number | undefined;
|
|
312
|
-
}>;
|
|
122
|
+
}, z.core.$strip>;
|
|
313
123
|
declare const ChargeSchema: z.ZodObject<{
|
|
314
124
|
id: z.ZodNumber;
|
|
315
125
|
created: z.ZodNumber;
|
|
@@ -320,27 +130,7 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
320
130
|
paymentType: z.ZodString;
|
|
321
131
|
last4: z.ZodOptional<z.ZodString>;
|
|
322
132
|
brand: z.ZodOptional<z.ZodString>;
|
|
323
|
-
},
|
|
324
|
-
id: number;
|
|
325
|
-
status: string;
|
|
326
|
-
created: number;
|
|
327
|
-
paid: boolean;
|
|
328
|
-
receiptUrl: string;
|
|
329
|
-
price: string;
|
|
330
|
-
paymentType: string;
|
|
331
|
-
last4?: string | undefined;
|
|
332
|
-
brand?: string | undefined;
|
|
333
|
-
}, {
|
|
334
|
-
id: number;
|
|
335
|
-
status: string;
|
|
336
|
-
created: number;
|
|
337
|
-
paid: boolean;
|
|
338
|
-
receiptUrl: string;
|
|
339
|
-
price: string;
|
|
340
|
-
paymentType: string;
|
|
341
|
-
last4?: string | undefined;
|
|
342
|
-
brand?: string | undefined;
|
|
343
|
-
}>;
|
|
133
|
+
}, z.core.$strip>;
|
|
344
134
|
declare const SubscriptionSchema: z.ZodObject<{
|
|
345
135
|
id: z.ZodString;
|
|
346
136
|
status: z.ZodString;
|
|
@@ -356,13 +146,7 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
356
146
|
descriptions: z.ZodArray<z.ZodObject<{
|
|
357
147
|
description: z.ZodString;
|
|
358
148
|
subtitle: z.ZodString;
|
|
359
|
-
},
|
|
360
|
-
description: string;
|
|
361
|
-
subtitle: string;
|
|
362
|
-
}, {
|
|
363
|
-
description: string;
|
|
364
|
-
subtitle: string;
|
|
365
|
-
}>, "many">;
|
|
149
|
+
}, z.core.$strip>>;
|
|
366
150
|
metadata: z.ZodAny;
|
|
367
151
|
plans: z.ZodArray<z.ZodObject<{
|
|
368
152
|
id: z.ZodString;
|
|
@@ -371,58 +155,10 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
371
155
|
interval: z.ZodString;
|
|
372
156
|
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
373
157
|
subscriptionItemId: z.ZodString;
|
|
374
|
-
},
|
|
375
|
-
id: string;
|
|
376
|
-
metadata: Record<string, string>;
|
|
377
|
-
interval: string;
|
|
378
|
-
price: number;
|
|
379
|
-
currency: string;
|
|
380
|
-
subscriptionItemId: string;
|
|
381
|
-
}, {
|
|
382
|
-
id: string;
|
|
383
|
-
metadata: Record<string, string>;
|
|
384
|
-
interval: string;
|
|
385
|
-
price: number;
|
|
386
|
-
currency: string;
|
|
387
|
-
subscriptionItemId: string;
|
|
388
|
-
}>, "many">;
|
|
158
|
+
}, z.core.$strip>>;
|
|
389
159
|
percentOff: z.ZodDefault<z.ZodNumber>;
|
|
390
|
-
},
|
|
391
|
-
|
|
392
|
-
name: string;
|
|
393
|
-
descriptions: {
|
|
394
|
-
description: string;
|
|
395
|
-
subtitle: string;
|
|
396
|
-
}[];
|
|
397
|
-
plans: {
|
|
398
|
-
id: string;
|
|
399
|
-
metadata: Record<string, string>;
|
|
400
|
-
interval: string;
|
|
401
|
-
price: number;
|
|
402
|
-
currency: string;
|
|
403
|
-
subscriptionItemId: string;
|
|
404
|
-
}[];
|
|
405
|
-
percentOff: number;
|
|
406
|
-
metadata?: any;
|
|
407
|
-
}, {
|
|
408
|
-
id: string;
|
|
409
|
-
name: string;
|
|
410
|
-
descriptions: {
|
|
411
|
-
description: string;
|
|
412
|
-
subtitle: string;
|
|
413
|
-
}[];
|
|
414
|
-
plans: {
|
|
415
|
-
id: string;
|
|
416
|
-
metadata: Record<string, string>;
|
|
417
|
-
interval: string;
|
|
418
|
-
price: number;
|
|
419
|
-
currency: string;
|
|
420
|
-
subscriptionItemId: string;
|
|
421
|
-
}[];
|
|
422
|
-
metadata?: any;
|
|
423
|
-
percentOff?: number | undefined;
|
|
424
|
-
}>;
|
|
425
|
-
type: z.ZodOptional<z.ZodNativeEnum<typeof Type>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
type: z.ZodOptional<z.ZodEnum<typeof Type>>;
|
|
426
162
|
plan: z.ZodOptional<z.ZodObject<{
|
|
427
163
|
id: z.ZodString;
|
|
428
164
|
currency: z.ZodString;
|
|
@@ -430,94 +166,8 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
430
166
|
interval: z.ZodString;
|
|
431
167
|
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
432
168
|
subscriptionItemId: z.ZodString;
|
|
433
|
-
},
|
|
434
|
-
|
|
435
|
-
metadata: Record<string, string>;
|
|
436
|
-
interval: string;
|
|
437
|
-
price: number;
|
|
438
|
-
currency: string;
|
|
439
|
-
subscriptionItemId: string;
|
|
440
|
-
}, {
|
|
441
|
-
id: string;
|
|
442
|
-
metadata: Record<string, string>;
|
|
443
|
-
interval: string;
|
|
444
|
-
price: number;
|
|
445
|
-
currency: string;
|
|
446
|
-
subscriptionItemId: string;
|
|
447
|
-
}>>;
|
|
448
|
-
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
id: string;
|
|
450
|
-
status: string;
|
|
451
|
-
product: {
|
|
452
|
-
id: string;
|
|
453
|
-
name: string;
|
|
454
|
-
descriptions: {
|
|
455
|
-
description: string;
|
|
456
|
-
subtitle: string;
|
|
457
|
-
}[];
|
|
458
|
-
plans: {
|
|
459
|
-
id: string;
|
|
460
|
-
metadata: Record<string, string>;
|
|
461
|
-
interval: string;
|
|
462
|
-
price: number;
|
|
463
|
-
currency: string;
|
|
464
|
-
subscriptionItemId: string;
|
|
465
|
-
}[];
|
|
466
|
-
percentOff: number;
|
|
467
|
-
metadata?: any;
|
|
468
|
-
};
|
|
469
|
-
type?: Type | undefined;
|
|
470
|
-
startDate?: number | undefined;
|
|
471
|
-
daysUntilDue?: number | undefined;
|
|
472
|
-
renewAutomatically?: boolean | undefined;
|
|
473
|
-
currentPeriodStart?: number | undefined;
|
|
474
|
-
currentPeriodEnd?: number | undefined;
|
|
475
|
-
paymentMethodId?: string | undefined;
|
|
476
|
-
plan?: {
|
|
477
|
-
id: string;
|
|
478
|
-
metadata: Record<string, string>;
|
|
479
|
-
interval: string;
|
|
480
|
-
price: number;
|
|
481
|
-
currency: string;
|
|
482
|
-
subscriptionItemId: string;
|
|
483
|
-
} | undefined;
|
|
484
|
-
}, {
|
|
485
|
-
id: string;
|
|
486
|
-
status: string;
|
|
487
|
-
product: {
|
|
488
|
-
id: string;
|
|
489
|
-
name: string;
|
|
490
|
-
descriptions: {
|
|
491
|
-
description: string;
|
|
492
|
-
subtitle: string;
|
|
493
|
-
}[];
|
|
494
|
-
plans: {
|
|
495
|
-
id: string;
|
|
496
|
-
metadata: Record<string, string>;
|
|
497
|
-
interval: string;
|
|
498
|
-
price: number;
|
|
499
|
-
currency: string;
|
|
500
|
-
subscriptionItemId: string;
|
|
501
|
-
}[];
|
|
502
|
-
metadata?: any;
|
|
503
|
-
percentOff?: number | undefined;
|
|
504
|
-
};
|
|
505
|
-
type?: Type | undefined;
|
|
506
|
-
startDate?: number | undefined;
|
|
507
|
-
daysUntilDue?: number | undefined;
|
|
508
|
-
renewAutomatically?: boolean | undefined;
|
|
509
|
-
currentPeriodStart?: number | undefined;
|
|
510
|
-
currentPeriodEnd?: number | undefined;
|
|
511
|
-
paymentMethodId?: string | undefined;
|
|
512
|
-
plan?: {
|
|
513
|
-
id: string;
|
|
514
|
-
metadata: Record<string, string>;
|
|
515
|
-
interval: string;
|
|
516
|
-
price: number;
|
|
517
|
-
currency: string;
|
|
518
|
-
subscriptionItemId: string;
|
|
519
|
-
} | undefined;
|
|
520
|
-
}>;
|
|
169
|
+
}, z.core.$strip>>;
|
|
170
|
+
}, z.core.$strip>;
|
|
521
171
|
type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
522
172
|
type Charge = z.infer<typeof ChargeSchema>;
|
|
523
173
|
type Plan = z.infer<typeof PlanSchema>;
|
|
@@ -620,21 +270,7 @@ declare const PreferencesSchema$1: z.ZodObject<{
|
|
|
620
270
|
instagramLink: z.ZodOptional<z.ZodString>;
|
|
621
271
|
bRoll: z.ZodOptional<z.ZodBoolean>;
|
|
622
272
|
logo: z.ZodOptional<z.ZodString>;
|
|
623
|
-
},
|
|
624
|
-
primaryColor?: string | undefined;
|
|
625
|
-
secondaryColor?: string | undefined;
|
|
626
|
-
facebookLink?: string | undefined;
|
|
627
|
-
instagramLink?: string | undefined;
|
|
628
|
-
bRoll?: boolean | undefined;
|
|
629
|
-
logo?: string | undefined;
|
|
630
|
-
}, {
|
|
631
|
-
primaryColor?: string | undefined;
|
|
632
|
-
secondaryColor?: string | undefined;
|
|
633
|
-
facebookLink?: string | undefined;
|
|
634
|
-
instagramLink?: string | undefined;
|
|
635
|
-
bRoll?: boolean | undefined;
|
|
636
|
-
logo?: string | undefined;
|
|
637
|
-
}>;
|
|
273
|
+
}, z.core.$strip>;
|
|
638
274
|
declare const UserSchema: z.ZodObject<{
|
|
639
275
|
id: z.ZodString;
|
|
640
276
|
name: z.ZodString;
|
|
@@ -649,70 +285,14 @@ declare const UserSchema: z.ZodObject<{
|
|
|
649
285
|
instagramLink: z.ZodOptional<z.ZodString>;
|
|
650
286
|
bRoll: z.ZodOptional<z.ZodBoolean>;
|
|
651
287
|
logo: z.ZodOptional<z.ZodString>;
|
|
652
|
-
},
|
|
653
|
-
primaryColor?: string | undefined;
|
|
654
|
-
secondaryColor?: string | undefined;
|
|
655
|
-
facebookLink?: string | undefined;
|
|
656
|
-
instagramLink?: string | undefined;
|
|
657
|
-
bRoll?: boolean | undefined;
|
|
658
|
-
logo?: string | undefined;
|
|
659
|
-
}, {
|
|
660
|
-
primaryColor?: string | undefined;
|
|
661
|
-
secondaryColor?: string | undefined;
|
|
662
|
-
facebookLink?: string | undefined;
|
|
663
|
-
instagramLink?: string | undefined;
|
|
664
|
-
bRoll?: boolean | undefined;
|
|
665
|
-
logo?: string | undefined;
|
|
666
|
-
}>>;
|
|
288
|
+
}, z.core.$strip>>;
|
|
667
289
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
668
290
|
editorId: z.ZodOptional<z.ZodString>;
|
|
669
291
|
timezone: z.ZodOptional<z.ZodString>;
|
|
670
292
|
experienceId: z.ZodOptional<z.ZodString>;
|
|
671
293
|
customerId: z.ZodString;
|
|
672
|
-
role: z.
|
|
673
|
-
},
|
|
674
|
-
email: string;
|
|
675
|
-
id: string;
|
|
676
|
-
name: string;
|
|
677
|
-
customerId: string;
|
|
678
|
-
role: Role;
|
|
679
|
-
timezone?: string | undefined;
|
|
680
|
-
tenantId?: string | undefined;
|
|
681
|
-
preferences?: {
|
|
682
|
-
primaryColor?: string | undefined;
|
|
683
|
-
secondaryColor?: string | undefined;
|
|
684
|
-
facebookLink?: string | undefined;
|
|
685
|
-
instagramLink?: string | undefined;
|
|
686
|
-
bRoll?: boolean | undefined;
|
|
687
|
-
logo?: string | undefined;
|
|
688
|
-
} | undefined;
|
|
689
|
-
fcmToken?: string | undefined;
|
|
690
|
-
profession?: string | undefined;
|
|
691
|
-
photoUrl?: string | undefined;
|
|
692
|
-
editorId?: string | undefined;
|
|
693
|
-
experienceId?: string | undefined;
|
|
694
|
-
}, {
|
|
695
|
-
email: string;
|
|
696
|
-
id: string;
|
|
697
|
-
name: string;
|
|
698
|
-
customerId: string;
|
|
699
|
-
role: Role;
|
|
700
|
-
timezone?: string | undefined;
|
|
701
|
-
tenantId?: string | undefined;
|
|
702
|
-
preferences?: {
|
|
703
|
-
primaryColor?: string | undefined;
|
|
704
|
-
secondaryColor?: string | undefined;
|
|
705
|
-
facebookLink?: string | undefined;
|
|
706
|
-
instagramLink?: string | undefined;
|
|
707
|
-
bRoll?: boolean | undefined;
|
|
708
|
-
logo?: string | undefined;
|
|
709
|
-
} | undefined;
|
|
710
|
-
fcmToken?: string | undefined;
|
|
711
|
-
profession?: string | undefined;
|
|
712
|
-
photoUrl?: string | undefined;
|
|
713
|
-
editorId?: string | undefined;
|
|
714
|
-
experienceId?: string | undefined;
|
|
715
|
-
}>;
|
|
294
|
+
role: z.ZodEnum<typeof Role>;
|
|
295
|
+
}, z.core.$strip>;
|
|
716
296
|
type User = z.infer<typeof UserSchema>;
|
|
717
297
|
type Preferences$1 = z.infer<typeof PreferencesSchema$1>;
|
|
718
298
|
type Update = Pick<User, "name" | "profession" | "preferences" | "photoUrl" | "fcmToken" | "timezone" | "experienceId">;
|
|
@@ -848,19 +428,7 @@ declare const PreferencesSchema: z.ZodObject<{
|
|
|
848
428
|
primaryColor: z.ZodString;
|
|
849
429
|
secondaryColor: z.ZodString;
|
|
850
430
|
guidelinesUrl: z.ZodOptional<z.ZodString>;
|
|
851
|
-
},
|
|
852
|
-
iconUrl: string;
|
|
853
|
-
logoUrl: string;
|
|
854
|
-
primaryColor: string;
|
|
855
|
-
secondaryColor: string;
|
|
856
|
-
guidelinesUrl?: string | undefined;
|
|
857
|
-
}, {
|
|
858
|
-
iconUrl: string;
|
|
859
|
-
logoUrl: string;
|
|
860
|
-
primaryColor: string;
|
|
861
|
-
secondaryColor: string;
|
|
862
|
-
guidelinesUrl?: string | undefined;
|
|
863
|
-
}>;
|
|
431
|
+
}, z.core.$strip>;
|
|
864
432
|
declare const TenantSchema: z.ZodObject<{
|
|
865
433
|
id: z.ZodString;
|
|
866
434
|
name: z.ZodString;
|
|
@@ -872,19 +440,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
872
440
|
primaryColor: z.ZodString;
|
|
873
441
|
secondaryColor: z.ZodString;
|
|
874
442
|
guidelinesUrl: z.ZodOptional<z.ZodString>;
|
|
875
|
-
},
|
|
876
|
-
iconUrl: string;
|
|
877
|
-
logoUrl: string;
|
|
878
|
-
primaryColor: string;
|
|
879
|
-
secondaryColor: string;
|
|
880
|
-
guidelinesUrl?: string | undefined;
|
|
881
|
-
}, {
|
|
882
|
-
iconUrl: string;
|
|
883
|
-
logoUrl: string;
|
|
884
|
-
primaryColor: string;
|
|
885
|
-
secondaryColor: string;
|
|
886
|
-
guidelinesUrl?: string | undefined;
|
|
887
|
-
}>;
|
|
443
|
+
}, z.core.$strip>;
|
|
888
444
|
inviteCode: z.ZodString;
|
|
889
445
|
totalUsersAllowed: z.ZodNumber;
|
|
890
446
|
currentUsersSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -892,7 +448,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
892
448
|
defaultProductId: z.ZodOptional<z.ZodString>;
|
|
893
449
|
defaultPlanId: z.ZodOptional<z.ZodString>;
|
|
894
450
|
defaultCoupomCode: z.ZodOptional<z.ZodString>;
|
|
895
|
-
allowedProducts: z.ZodOptional<z.ZodArray<z.ZodString
|
|
451
|
+
allowedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
896
452
|
useOwnScripts: z.ZodOptional<z.ZodBoolean>;
|
|
897
453
|
subscription: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
898
454
|
id: z.ZodString;
|
|
@@ -909,13 +465,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
909
465
|
descriptions: z.ZodArray<z.ZodObject<{
|
|
910
466
|
description: z.ZodString;
|
|
911
467
|
subtitle: z.ZodString;
|
|
912
|
-
},
|
|
913
|
-
description: string;
|
|
914
|
-
subtitle: string;
|
|
915
|
-
}, {
|
|
916
|
-
description: string;
|
|
917
|
-
subtitle: string;
|
|
918
|
-
}>, "many">;
|
|
468
|
+
}, z.core.$strip>>;
|
|
919
469
|
metadata: z.ZodAny;
|
|
920
470
|
plans: z.ZodArray<z.ZodObject<{
|
|
921
471
|
id: z.ZodString;
|
|
@@ -924,58 +474,10 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
924
474
|
interval: z.ZodString;
|
|
925
475
|
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
926
476
|
subscriptionItemId: z.ZodString;
|
|
927
|
-
},
|
|
928
|
-
id: string;
|
|
929
|
-
metadata: Record<string, string>;
|
|
930
|
-
interval: string;
|
|
931
|
-
price: number;
|
|
932
|
-
currency: string;
|
|
933
|
-
subscriptionItemId: string;
|
|
934
|
-
}, {
|
|
935
|
-
id: string;
|
|
936
|
-
metadata: Record<string, string>;
|
|
937
|
-
interval: string;
|
|
938
|
-
price: number;
|
|
939
|
-
currency: string;
|
|
940
|
-
subscriptionItemId: string;
|
|
941
|
-
}>, "many">;
|
|
477
|
+
}, z.core.$strip>>;
|
|
942
478
|
percentOff: z.ZodDefault<z.ZodNumber>;
|
|
943
|
-
},
|
|
944
|
-
|
|
945
|
-
name: string;
|
|
946
|
-
descriptions: {
|
|
947
|
-
description: string;
|
|
948
|
-
subtitle: string;
|
|
949
|
-
}[];
|
|
950
|
-
plans: {
|
|
951
|
-
id: string;
|
|
952
|
-
metadata: Record<string, string>;
|
|
953
|
-
interval: string;
|
|
954
|
-
price: number;
|
|
955
|
-
currency: string;
|
|
956
|
-
subscriptionItemId: string;
|
|
957
|
-
}[];
|
|
958
|
-
percentOff: number;
|
|
959
|
-
metadata?: any;
|
|
960
|
-
}, {
|
|
961
|
-
id: string;
|
|
962
|
-
name: string;
|
|
963
|
-
descriptions: {
|
|
964
|
-
description: string;
|
|
965
|
-
subtitle: string;
|
|
966
|
-
}[];
|
|
967
|
-
plans: {
|
|
968
|
-
id: string;
|
|
969
|
-
metadata: Record<string, string>;
|
|
970
|
-
interval: string;
|
|
971
|
-
price: number;
|
|
972
|
-
currency: string;
|
|
973
|
-
subscriptionItemId: string;
|
|
974
|
-
}[];
|
|
975
|
-
metadata?: any;
|
|
976
|
-
percentOff?: number | undefined;
|
|
977
|
-
}>;
|
|
978
|
-
type: z.ZodOptional<z.ZodNativeEnum<typeof Type>>;
|
|
479
|
+
}, z.core.$strip>;
|
|
480
|
+
type: z.ZodOptional<z.ZodEnum<typeof Type>>;
|
|
979
481
|
plan: z.ZodOptional<z.ZodObject<{
|
|
980
482
|
id: z.ZodString;
|
|
981
483
|
currency: z.ZodString;
|
|
@@ -983,211 +485,9 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
983
485
|
interval: z.ZodString;
|
|
984
486
|
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
985
487
|
subscriptionItemId: z.ZodString;
|
|
986
|
-
},
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
interval: string;
|
|
990
|
-
price: number;
|
|
991
|
-
currency: string;
|
|
992
|
-
subscriptionItemId: string;
|
|
993
|
-
}, {
|
|
994
|
-
id: string;
|
|
995
|
-
metadata: Record<string, string>;
|
|
996
|
-
interval: string;
|
|
997
|
-
price: number;
|
|
998
|
-
currency: string;
|
|
999
|
-
subscriptionItemId: string;
|
|
1000
|
-
}>>;
|
|
1001
|
-
}, "strip", z.ZodTypeAny, {
|
|
1002
|
-
id: string;
|
|
1003
|
-
status: string;
|
|
1004
|
-
product: {
|
|
1005
|
-
id: string;
|
|
1006
|
-
name: string;
|
|
1007
|
-
descriptions: {
|
|
1008
|
-
description: string;
|
|
1009
|
-
subtitle: string;
|
|
1010
|
-
}[];
|
|
1011
|
-
plans: {
|
|
1012
|
-
id: string;
|
|
1013
|
-
metadata: Record<string, string>;
|
|
1014
|
-
interval: string;
|
|
1015
|
-
price: number;
|
|
1016
|
-
currency: string;
|
|
1017
|
-
subscriptionItemId: string;
|
|
1018
|
-
}[];
|
|
1019
|
-
percentOff: number;
|
|
1020
|
-
metadata?: any;
|
|
1021
|
-
};
|
|
1022
|
-
type?: Type | undefined;
|
|
1023
|
-
startDate?: number | undefined;
|
|
1024
|
-
daysUntilDue?: number | undefined;
|
|
1025
|
-
renewAutomatically?: boolean | undefined;
|
|
1026
|
-
currentPeriodStart?: number | undefined;
|
|
1027
|
-
currentPeriodEnd?: number | undefined;
|
|
1028
|
-
paymentMethodId?: string | undefined;
|
|
1029
|
-
plan?: {
|
|
1030
|
-
id: string;
|
|
1031
|
-
metadata: Record<string, string>;
|
|
1032
|
-
interval: string;
|
|
1033
|
-
price: number;
|
|
1034
|
-
currency: string;
|
|
1035
|
-
subscriptionItemId: string;
|
|
1036
|
-
} | undefined;
|
|
1037
|
-
}, {
|
|
1038
|
-
id: string;
|
|
1039
|
-
status: string;
|
|
1040
|
-
product: {
|
|
1041
|
-
id: string;
|
|
1042
|
-
name: string;
|
|
1043
|
-
descriptions: {
|
|
1044
|
-
description: string;
|
|
1045
|
-
subtitle: string;
|
|
1046
|
-
}[];
|
|
1047
|
-
plans: {
|
|
1048
|
-
id: string;
|
|
1049
|
-
metadata: Record<string, string>;
|
|
1050
|
-
interval: string;
|
|
1051
|
-
price: number;
|
|
1052
|
-
currency: string;
|
|
1053
|
-
subscriptionItemId: string;
|
|
1054
|
-
}[];
|
|
1055
|
-
metadata?: any;
|
|
1056
|
-
percentOff?: number | undefined;
|
|
1057
|
-
};
|
|
1058
|
-
type?: Type | undefined;
|
|
1059
|
-
startDate?: number | undefined;
|
|
1060
|
-
daysUntilDue?: number | undefined;
|
|
1061
|
-
renewAutomatically?: boolean | undefined;
|
|
1062
|
-
currentPeriodStart?: number | undefined;
|
|
1063
|
-
currentPeriodEnd?: number | undefined;
|
|
1064
|
-
paymentMethodId?: string | undefined;
|
|
1065
|
-
plan?: {
|
|
1066
|
-
id: string;
|
|
1067
|
-
metadata: Record<string, string>;
|
|
1068
|
-
interval: string;
|
|
1069
|
-
price: number;
|
|
1070
|
-
currency: string;
|
|
1071
|
-
subscriptionItemId: string;
|
|
1072
|
-
} | undefined;
|
|
1073
|
-
}>>>;
|
|
1074
|
-
}, "strip", z.ZodTypeAny, {
|
|
1075
|
-
id: string;
|
|
1076
|
-
name: string;
|
|
1077
|
-
isActive: boolean;
|
|
1078
|
-
isSubscriptionActive: boolean;
|
|
1079
|
-
preferences: {
|
|
1080
|
-
iconUrl: string;
|
|
1081
|
-
logoUrl: string;
|
|
1082
|
-
primaryColor: string;
|
|
1083
|
-
secondaryColor: string;
|
|
1084
|
-
guidelinesUrl?: string | undefined;
|
|
1085
|
-
};
|
|
1086
|
-
inviteCode: string;
|
|
1087
|
-
totalUsersAllowed: number;
|
|
1088
|
-
chargeByEmail: boolean;
|
|
1089
|
-
currentUsersSize?: number | undefined;
|
|
1090
|
-
defaultProductId?: string | undefined;
|
|
1091
|
-
defaultPlanId?: string | undefined;
|
|
1092
|
-
defaultCoupomCode?: string | undefined;
|
|
1093
|
-
allowedProducts?: string[] | undefined;
|
|
1094
|
-
useOwnScripts?: boolean | undefined;
|
|
1095
|
-
subscription?: {
|
|
1096
|
-
id: string;
|
|
1097
|
-
status: string;
|
|
1098
|
-
product: {
|
|
1099
|
-
id: string;
|
|
1100
|
-
name: string;
|
|
1101
|
-
descriptions: {
|
|
1102
|
-
description: string;
|
|
1103
|
-
subtitle: string;
|
|
1104
|
-
}[];
|
|
1105
|
-
plans: {
|
|
1106
|
-
id: string;
|
|
1107
|
-
metadata: Record<string, string>;
|
|
1108
|
-
interval: string;
|
|
1109
|
-
price: number;
|
|
1110
|
-
currency: string;
|
|
1111
|
-
subscriptionItemId: string;
|
|
1112
|
-
}[];
|
|
1113
|
-
percentOff: number;
|
|
1114
|
-
metadata?: any;
|
|
1115
|
-
};
|
|
1116
|
-
type?: Type | undefined;
|
|
1117
|
-
startDate?: number | undefined;
|
|
1118
|
-
daysUntilDue?: number | undefined;
|
|
1119
|
-
renewAutomatically?: boolean | undefined;
|
|
1120
|
-
currentPeriodStart?: number | undefined;
|
|
1121
|
-
currentPeriodEnd?: number | undefined;
|
|
1122
|
-
paymentMethodId?: string | undefined;
|
|
1123
|
-
plan?: {
|
|
1124
|
-
id: string;
|
|
1125
|
-
metadata: Record<string, string>;
|
|
1126
|
-
interval: string;
|
|
1127
|
-
price: number;
|
|
1128
|
-
currency: string;
|
|
1129
|
-
subscriptionItemId: string;
|
|
1130
|
-
} | undefined;
|
|
1131
|
-
} | undefined;
|
|
1132
|
-
}, {
|
|
1133
|
-
id: string;
|
|
1134
|
-
name: string;
|
|
1135
|
-
isActive: boolean;
|
|
1136
|
-
isSubscriptionActive: boolean;
|
|
1137
|
-
preferences: {
|
|
1138
|
-
iconUrl: string;
|
|
1139
|
-
logoUrl: string;
|
|
1140
|
-
primaryColor: string;
|
|
1141
|
-
secondaryColor: string;
|
|
1142
|
-
guidelinesUrl?: string | undefined;
|
|
1143
|
-
};
|
|
1144
|
-
inviteCode: string;
|
|
1145
|
-
totalUsersAllowed: number;
|
|
1146
|
-
chargeByEmail: boolean;
|
|
1147
|
-
currentUsersSize?: number | undefined;
|
|
1148
|
-
defaultProductId?: string | undefined;
|
|
1149
|
-
defaultPlanId?: string | undefined;
|
|
1150
|
-
defaultCoupomCode?: string | undefined;
|
|
1151
|
-
allowedProducts?: string[] | undefined;
|
|
1152
|
-
useOwnScripts?: boolean | undefined;
|
|
1153
|
-
subscription?: {
|
|
1154
|
-
id: string;
|
|
1155
|
-
status: string;
|
|
1156
|
-
product: {
|
|
1157
|
-
id: string;
|
|
1158
|
-
name: string;
|
|
1159
|
-
descriptions: {
|
|
1160
|
-
description: string;
|
|
1161
|
-
subtitle: string;
|
|
1162
|
-
}[];
|
|
1163
|
-
plans: {
|
|
1164
|
-
id: string;
|
|
1165
|
-
metadata: Record<string, string>;
|
|
1166
|
-
interval: string;
|
|
1167
|
-
price: number;
|
|
1168
|
-
currency: string;
|
|
1169
|
-
subscriptionItemId: string;
|
|
1170
|
-
}[];
|
|
1171
|
-
metadata?: any;
|
|
1172
|
-
percentOff?: number | undefined;
|
|
1173
|
-
};
|
|
1174
|
-
type?: Type | undefined;
|
|
1175
|
-
startDate?: number | undefined;
|
|
1176
|
-
daysUntilDue?: number | undefined;
|
|
1177
|
-
renewAutomatically?: boolean | undefined;
|
|
1178
|
-
currentPeriodStart?: number | undefined;
|
|
1179
|
-
currentPeriodEnd?: number | undefined;
|
|
1180
|
-
paymentMethodId?: string | undefined;
|
|
1181
|
-
plan?: {
|
|
1182
|
-
id: string;
|
|
1183
|
-
metadata: Record<string, string>;
|
|
1184
|
-
interval: string;
|
|
1185
|
-
price: number;
|
|
1186
|
-
currency: string;
|
|
1187
|
-
subscriptionItemId: string;
|
|
1188
|
-
} | undefined;
|
|
1189
|
-
} | undefined;
|
|
1190
|
-
}>;
|
|
488
|
+
}, z.core.$strip>>;
|
|
489
|
+
}, z.core.$strip>>>;
|
|
490
|
+
}, z.core.$strip>;
|
|
1191
491
|
type Tenant = z.infer<typeof TenantSchema>;
|
|
1192
492
|
type Preferences = z.infer<typeof PreferencesSchema>;
|
|
1193
493
|
|
|
@@ -1234,45 +534,17 @@ declare namespace index$8 {
|
|
|
1234
534
|
|
|
1235
535
|
declare const TrackParamSchema: z.ZodObject<{
|
|
1236
536
|
name: z.ZodString;
|
|
1237
|
-
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1238
|
-
},
|
|
1239
|
-
value: string | number;
|
|
1240
|
-
name: string;
|
|
1241
|
-
}, {
|
|
1242
|
-
value: string | number;
|
|
1243
|
-
name: string;
|
|
1244
|
-
}>;
|
|
537
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
538
|
+
}, z.core.$strip>;
|
|
1245
539
|
declare const TrackSchema: z.ZodObject<{
|
|
1246
540
|
category: z.ZodString;
|
|
1247
541
|
label: z.ZodString;
|
|
1248
542
|
action: z.ZodString;
|
|
1249
543
|
params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1250
544
|
name: z.ZodString;
|
|
1251
|
-
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1252
|
-
},
|
|
1253
|
-
|
|
1254
|
-
name: string;
|
|
1255
|
-
}, {
|
|
1256
|
-
value: string | number;
|
|
1257
|
-
name: string;
|
|
1258
|
-
}>, "many">>;
|
|
1259
|
-
}, "strip", z.ZodTypeAny, {
|
|
1260
|
-
label: string;
|
|
1261
|
-
category: string;
|
|
1262
|
-
action: string;
|
|
1263
|
-
params?: {
|
|
1264
|
-
value: string | number;
|
|
1265
|
-
name: string;
|
|
1266
|
-
}[] | undefined;
|
|
1267
|
-
}, {
|
|
1268
|
-
label: string;
|
|
1269
|
-
category: string;
|
|
1270
|
-
action: string;
|
|
1271
|
-
params?: {
|
|
1272
|
-
value: string | number;
|
|
1273
|
-
name: string;
|
|
1274
|
-
}[] | undefined;
|
|
1275
|
-
}>;
|
|
545
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
546
|
+
}, z.core.$strip>>>;
|
|
547
|
+
}, z.core.$strip>;
|
|
1276
548
|
type Track = z.infer<typeof TrackSchema>;
|
|
1277
549
|
type TrackParam = z.infer<typeof TrackParamSchema>;
|
|
1278
550
|
|
|
@@ -1297,15 +569,7 @@ declare const EmailSchema: z.ZodObject<{
|
|
|
1297
569
|
to: z.ZodOptional<z.ZodString>;
|
|
1298
570
|
subject: z.ZodString;
|
|
1299
571
|
body: z.ZodString;
|
|
1300
|
-
},
|
|
1301
|
-
body: string;
|
|
1302
|
-
subject: string;
|
|
1303
|
-
to?: string | undefined;
|
|
1304
|
-
}, {
|
|
1305
|
-
body: string;
|
|
1306
|
-
subject: string;
|
|
1307
|
-
to?: string | undefined;
|
|
1308
|
-
}>;
|
|
572
|
+
}, z.core.$strip>;
|
|
1309
573
|
type Email = z.infer<typeof EmailSchema>;
|
|
1310
574
|
|
|
1311
575
|
interface IAPI$5 {
|
|
@@ -1346,36 +610,42 @@ type Style = {
|
|
|
1346
610
|
label: string;
|
|
1347
611
|
};
|
|
1348
612
|
declare const TimelineItemSchema: z.ZodObject<{
|
|
1349
|
-
status: z.
|
|
613
|
+
status: z.ZodEnum<typeof Status$1>;
|
|
1350
614
|
title: z.ZodString;
|
|
1351
615
|
description: z.ZodString;
|
|
1352
616
|
timestamp: z.ZodNumber;
|
|
1353
|
-
metadata: z.
|
|
1354
|
-
},
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
description: string;
|
|
1365
|
-
timestamp: number;
|
|
1366
|
-
}>;
|
|
617
|
+
metadata: z.ZodAny;
|
|
618
|
+
}, z.core.$strip>;
|
|
619
|
+
declare const FeedbackSchema: z.ZodObject<{
|
|
620
|
+
criteria: z.ZodArray<z.ZodObject<{
|
|
621
|
+
id: z.ZodString;
|
|
622
|
+
label: z.ZodString;
|
|
623
|
+
score: z.ZodNumber;
|
|
624
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
625
|
+
}, z.core.$strip>>;
|
|
626
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>;
|
|
1367
628
|
declare const ProjectSchema: z.ZodObject<{
|
|
1368
629
|
id: z.ZodString;
|
|
1369
630
|
title: z.ZodString;
|
|
1370
631
|
instructions: z.ZodString;
|
|
1371
632
|
submitMonth: z.ZodString;
|
|
1372
|
-
captionStyle: z.
|
|
633
|
+
captionStyle: z.ZodEnum<typeof CaptionStyle>;
|
|
1373
634
|
finalVideoId: z.ZodOptional<z.ZodString>;
|
|
1374
635
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1375
636
|
modified: z.ZodNumber;
|
|
1376
637
|
captionSuggestion: z.ZodOptional<z.ZodString>;
|
|
1377
638
|
editorId: z.ZodOptional<z.ZodString>;
|
|
1378
639
|
userId: z.ZodString;
|
|
640
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
641
|
+
criteria: z.ZodArray<z.ZodObject<{
|
|
642
|
+
id: z.ZodString;
|
|
643
|
+
label: z.ZodString;
|
|
644
|
+
score: z.ZodNumber;
|
|
645
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
646
|
+
}, z.core.$strip>>;
|
|
647
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
648
|
+
}, z.core.$strip>>;
|
|
1379
649
|
assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1380
650
|
assetId: z.ZodString;
|
|
1381
651
|
fileName: z.ZodString;
|
|
@@ -1389,134 +659,20 @@ declare const ProjectSchema: z.ZodObject<{
|
|
|
1389
659
|
error: z.ZodOptional<z.ZodString>;
|
|
1390
660
|
authorId: z.ZodString;
|
|
1391
661
|
uploadedAt: z.ZodNumber;
|
|
1392
|
-
},
|
|
1393
|
-
type: string;
|
|
1394
|
-
assetId: string;
|
|
1395
|
-
fileName: string;
|
|
1396
|
-
extension: string;
|
|
1397
|
-
fileSize: number;
|
|
1398
|
-
assetUrl: string;
|
|
1399
|
-
thumbnailUrl: string;
|
|
1400
|
-
authorId: string;
|
|
1401
|
-
uploadedAt: number;
|
|
1402
|
-
error?: string | undefined;
|
|
1403
|
-
duration?: number | undefined;
|
|
1404
|
-
progress?: number | undefined;
|
|
1405
|
-
}, {
|
|
1406
|
-
type: string;
|
|
1407
|
-
assetId: string;
|
|
1408
|
-
fileName: string;
|
|
1409
|
-
extension: string;
|
|
1410
|
-
fileSize: number;
|
|
1411
|
-
assetUrl: string;
|
|
1412
|
-
thumbnailUrl: string;
|
|
1413
|
-
authorId: string;
|
|
1414
|
-
uploadedAt: number;
|
|
1415
|
-
error?: string | undefined;
|
|
1416
|
-
duration?: number | undefined;
|
|
1417
|
-
progress?: number | undefined;
|
|
1418
|
-
}>, "many">>;
|
|
662
|
+
}, z.core.$strip>>>;
|
|
1419
663
|
expirationTimestamp: z.ZodNumber;
|
|
1420
664
|
isFree: z.ZodOptional<z.ZodBoolean>;
|
|
1421
665
|
timeline: z.ZodArray<z.ZodObject<{
|
|
1422
|
-
status: z.
|
|
666
|
+
status: z.ZodEnum<typeof Status$1>;
|
|
1423
667
|
title: z.ZodString;
|
|
1424
668
|
description: z.ZodString;
|
|
1425
669
|
timestamp: z.ZodNumber;
|
|
1426
|
-
metadata: z.
|
|
1427
|
-
},
|
|
1428
|
-
title: string;
|
|
1429
|
-
status: Status$1;
|
|
1430
|
-
metadata: Record<string, any>;
|
|
1431
|
-
description: string;
|
|
1432
|
-
timestamp: number;
|
|
1433
|
-
}, {
|
|
1434
|
-
title: string;
|
|
1435
|
-
status: Status$1;
|
|
1436
|
-
metadata: Record<string, any>;
|
|
1437
|
-
description: string;
|
|
1438
|
-
timestamp: number;
|
|
1439
|
-
}>, "many">;
|
|
670
|
+
metadata: z.ZodAny;
|
|
671
|
+
}, z.core.$strip>>;
|
|
1440
672
|
submitTimestamp: z.ZodNumber;
|
|
1441
673
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1442
|
-
status: z.
|
|
1443
|
-
},
|
|
1444
|
-
id: string;
|
|
1445
|
-
userId: string;
|
|
1446
|
-
title: string;
|
|
1447
|
-
status: Status$1;
|
|
1448
|
-
modified: number;
|
|
1449
|
-
instructions: string;
|
|
1450
|
-
submitMonth: string;
|
|
1451
|
-
captionStyle: CaptionStyle;
|
|
1452
|
-
expirationTimestamp: number;
|
|
1453
|
-
timeline: {
|
|
1454
|
-
title: string;
|
|
1455
|
-
status: Status$1;
|
|
1456
|
-
metadata: Record<string, any>;
|
|
1457
|
-
description: string;
|
|
1458
|
-
timestamp: number;
|
|
1459
|
-
}[];
|
|
1460
|
-
submitTimestamp: number;
|
|
1461
|
-
tenantId?: string | undefined;
|
|
1462
|
-
editorId?: string | undefined;
|
|
1463
|
-
thumbnailUrl?: string | undefined;
|
|
1464
|
-
finalVideoId?: string | undefined;
|
|
1465
|
-
captionSuggestion?: string | undefined;
|
|
1466
|
-
assets?: {
|
|
1467
|
-
type: string;
|
|
1468
|
-
assetId: string;
|
|
1469
|
-
fileName: string;
|
|
1470
|
-
extension: string;
|
|
1471
|
-
fileSize: number;
|
|
1472
|
-
assetUrl: string;
|
|
1473
|
-
thumbnailUrl: string;
|
|
1474
|
-
authorId: string;
|
|
1475
|
-
uploadedAt: number;
|
|
1476
|
-
error?: string | undefined;
|
|
1477
|
-
duration?: number | undefined;
|
|
1478
|
-
progress?: number | undefined;
|
|
1479
|
-
}[] | undefined;
|
|
1480
|
-
isFree?: boolean | undefined;
|
|
1481
|
-
}, {
|
|
1482
|
-
id: string;
|
|
1483
|
-
userId: string;
|
|
1484
|
-
title: string;
|
|
1485
|
-
status: Status$1;
|
|
1486
|
-
modified: number;
|
|
1487
|
-
instructions: string;
|
|
1488
|
-
submitMonth: string;
|
|
1489
|
-
captionStyle: CaptionStyle;
|
|
1490
|
-
expirationTimestamp: number;
|
|
1491
|
-
timeline: {
|
|
1492
|
-
title: string;
|
|
1493
|
-
status: Status$1;
|
|
1494
|
-
metadata: Record<string, any>;
|
|
1495
|
-
description: string;
|
|
1496
|
-
timestamp: number;
|
|
1497
|
-
}[];
|
|
1498
|
-
submitTimestamp: number;
|
|
1499
|
-
tenantId?: string | undefined;
|
|
1500
|
-
editorId?: string | undefined;
|
|
1501
|
-
thumbnailUrl?: string | undefined;
|
|
1502
|
-
finalVideoId?: string | undefined;
|
|
1503
|
-
captionSuggestion?: string | undefined;
|
|
1504
|
-
assets?: {
|
|
1505
|
-
type: string;
|
|
1506
|
-
assetId: string;
|
|
1507
|
-
fileName: string;
|
|
1508
|
-
extension: string;
|
|
1509
|
-
fileSize: number;
|
|
1510
|
-
assetUrl: string;
|
|
1511
|
-
thumbnailUrl: string;
|
|
1512
|
-
authorId: string;
|
|
1513
|
-
uploadedAt: number;
|
|
1514
|
-
error?: string | undefined;
|
|
1515
|
-
duration?: number | undefined;
|
|
1516
|
-
progress?: number | undefined;
|
|
1517
|
-
}[] | undefined;
|
|
1518
|
-
isFree?: boolean | undefined;
|
|
1519
|
-
}>;
|
|
674
|
+
status: z.ZodEnum<typeof Status$1>;
|
|
675
|
+
}, z.core.$strip>;
|
|
1520
676
|
type ProjectCreation = Pick<Project, "title" | "instructions" | "captionStyle" | "assets">;
|
|
1521
677
|
type SendToApproval = {
|
|
1522
678
|
video: string;
|
|
@@ -1529,6 +685,7 @@ type Approve = {
|
|
|
1529
685
|
};
|
|
1530
686
|
type Project = z.infer<typeof ProjectSchema>;
|
|
1531
687
|
type TimelineItem = z.infer<typeof TimelineItemSchema>;
|
|
688
|
+
type Feedback = z.infer<typeof FeedbackSchema>;
|
|
1532
689
|
|
|
1533
690
|
interface IAPI$4 {
|
|
1534
691
|
reorder: (context: Context, projectId: string, position: number) => Promise<boolean>;
|
|
@@ -1624,6 +781,8 @@ declare const Endpoints$3: {
|
|
|
1624
781
|
type index$5_Approve = Approve;
|
|
1625
782
|
type index$5_CaptionStyle = CaptionStyle;
|
|
1626
783
|
declare const index$5_CaptionStyle: typeof CaptionStyle;
|
|
784
|
+
type index$5_Feedback = Feedback;
|
|
785
|
+
declare const index$5_FeedbackSchema: typeof FeedbackSchema;
|
|
1627
786
|
type index$5_ProjectCreation = ProjectCreation;
|
|
1628
787
|
declare const index$5_ProjectSchema: typeof ProjectSchema;
|
|
1629
788
|
type index$5_SendToApproval = SendToApproval;
|
|
@@ -1632,7 +791,7 @@ declare const index$5_Styles: typeof Styles;
|
|
|
1632
791
|
type index$5_TimelineItem = TimelineItem;
|
|
1633
792
|
declare const index$5_TimelineItemSchema: typeof TimelineItemSchema;
|
|
1634
793
|
declare namespace index$5 {
|
|
1635
|
-
export { type index$5_Approve as Approve, index$5_CaptionStyle as CaptionStyle, Endpoints$3 as Endpoints, type Project as Entity, type IAPI$4 as IAPI, type index$5_ProjectCreation as ProjectCreation, index$5_ProjectSchema as ProjectSchema, type index$5_SendToApproval as SendToApproval, Status$1 as Status, type index$5_Style as Style, index$5_Styles as Styles, type index$5_TimelineItem as TimelineItem, index$5_TimelineItemSchema as TimelineItemSchema };
|
|
794
|
+
export { type index$5_Approve as Approve, index$5_CaptionStyle as CaptionStyle, Endpoints$3 as Endpoints, type Project as Entity, type index$5_Feedback as Feedback, index$5_FeedbackSchema as FeedbackSchema, type IAPI$4 as IAPI, type index$5_ProjectCreation as ProjectCreation, index$5_ProjectSchema as ProjectSchema, type index$5_SendToApproval as SendToApproval, Status$1 as Status, type index$5_Style as Style, index$5_Styles as Styles, type index$5_TimelineItem as TimelineItem, index$5_TimelineItemSchema as TimelineItemSchema };
|
|
1636
795
|
}
|
|
1637
796
|
|
|
1638
797
|
declare const DailyMilestoneSchema: z.ZodObject<{
|
|
@@ -1640,17 +799,7 @@ declare const DailyMilestoneSchema: z.ZodObject<{
|
|
|
1640
799
|
date: z.ZodString;
|
|
1641
800
|
target: z.ZodNumber;
|
|
1642
801
|
progress: z.ZodNumber;
|
|
1643
|
-
},
|
|
1644
|
-
id: string;
|
|
1645
|
-
date: string;
|
|
1646
|
-
progress: number;
|
|
1647
|
-
target: number;
|
|
1648
|
-
}, {
|
|
1649
|
-
id: string;
|
|
1650
|
-
date: string;
|
|
1651
|
-
progress: number;
|
|
1652
|
-
target: number;
|
|
1653
|
-
}>;
|
|
802
|
+
}, z.core.$strip>;
|
|
1654
803
|
declare const GoalSchema: z.ZodObject<{
|
|
1655
804
|
id: z.ZodString;
|
|
1656
805
|
editorId: z.ZodString;
|
|
@@ -1663,44 +812,8 @@ declare const GoalSchema: z.ZodObject<{
|
|
|
1663
812
|
date: z.ZodString;
|
|
1664
813
|
target: z.ZodNumber;
|
|
1665
814
|
progress: z.ZodNumber;
|
|
1666
|
-
},
|
|
1667
|
-
|
|
1668
|
-
date: string;
|
|
1669
|
-
progress: number;
|
|
1670
|
-
target: number;
|
|
1671
|
-
}, {
|
|
1672
|
-
id: string;
|
|
1673
|
-
date: string;
|
|
1674
|
-
progress: number;
|
|
1675
|
-
target: number;
|
|
1676
|
-
}>, "many">;
|
|
1677
|
-
}, "strip", z.ZodTypeAny, {
|
|
1678
|
-
id: string;
|
|
1679
|
-
createdAt: number;
|
|
1680
|
-
editorId: string;
|
|
1681
|
-
progress: number;
|
|
1682
|
-
target: number;
|
|
1683
|
-
isoWeek: string;
|
|
1684
|
-
dailyMilestones: {
|
|
1685
|
-
id: string;
|
|
1686
|
-
date: string;
|
|
1687
|
-
progress: number;
|
|
1688
|
-
target: number;
|
|
1689
|
-
}[];
|
|
1690
|
-
}, {
|
|
1691
|
-
id: string;
|
|
1692
|
-
createdAt: number;
|
|
1693
|
-
editorId: string;
|
|
1694
|
-
progress: number;
|
|
1695
|
-
target: number;
|
|
1696
|
-
isoWeek: string;
|
|
1697
|
-
dailyMilestones: {
|
|
1698
|
-
id: string;
|
|
1699
|
-
date: string;
|
|
1700
|
-
progress: number;
|
|
1701
|
-
target: number;
|
|
1702
|
-
}[];
|
|
1703
|
-
}>;
|
|
815
|
+
}, z.core.$strip>>;
|
|
816
|
+
}, z.core.$strip>;
|
|
1704
817
|
type DailyMilestone = z.infer<typeof DailyMilestoneSchema>;
|
|
1705
818
|
type Goal = z.infer<typeof GoalSchema>;
|
|
1706
819
|
|
|
@@ -1761,413 +874,113 @@ declare const NotificationItemSchema: z.ZodObject<{
|
|
|
1761
874
|
triggerId: z.ZodOptional<z.ZodString>;
|
|
1762
875
|
title: z.ZodString;
|
|
1763
876
|
body: z.ZodString;
|
|
1764
|
-
status: z.ZodEnum<
|
|
877
|
+
status: z.ZodEnum<{
|
|
878
|
+
failed: "failed";
|
|
879
|
+
delivered: "delivered";
|
|
880
|
+
deleted: "deleted";
|
|
881
|
+
}>;
|
|
1765
882
|
deliveredAt: z.ZodNumber;
|
|
1766
883
|
openedAt: z.ZodOptional<z.ZodNumber>;
|
|
1767
884
|
deletedAt: z.ZodOptional<z.ZodNumber>;
|
|
1768
885
|
cta: z.ZodOptional<z.ZodObject<{
|
|
1769
886
|
label: z.ZodString;
|
|
1770
887
|
url: z.ZodString;
|
|
1771
|
-
},
|
|
1772
|
-
|
|
1773
|
-
url: string;
|
|
1774
|
-
}, {
|
|
1775
|
-
label: string;
|
|
1776
|
-
url: string;
|
|
1777
|
-
}>>;
|
|
1778
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
888
|
+
}, z.core.$strip>>;
|
|
889
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1779
890
|
error: z.ZodOptional<z.ZodString>;
|
|
1780
|
-
},
|
|
1781
|
-
|
|
1782
|
-
userId: string;
|
|
1783
|
-
title: string;
|
|
1784
|
-
body: string;
|
|
1785
|
-
status: "failed" | "delivered" | "deleted";
|
|
1786
|
-
deliveredAt: number;
|
|
1787
|
-
metadata: Record<string, string | number>;
|
|
1788
|
-
triggerId?: string | undefined;
|
|
1789
|
-
openedAt?: number | undefined;
|
|
1790
|
-
deletedAt?: number | undefined;
|
|
1791
|
-
cta?: {
|
|
1792
|
-
label: string;
|
|
1793
|
-
url: string;
|
|
1794
|
-
} | undefined;
|
|
1795
|
-
error?: string | undefined;
|
|
1796
|
-
}, {
|
|
1797
|
-
id: string;
|
|
1798
|
-
userId: string;
|
|
1799
|
-
title: string;
|
|
1800
|
-
body: string;
|
|
1801
|
-
status: "failed" | "delivered" | "deleted";
|
|
1802
|
-
deliveredAt: number;
|
|
1803
|
-
metadata: Record<string, string | number>;
|
|
1804
|
-
triggerId?: string | undefined;
|
|
1805
|
-
openedAt?: number | undefined;
|
|
1806
|
-
deletedAt?: number | undefined;
|
|
1807
|
-
cta?: {
|
|
1808
|
-
label: string;
|
|
1809
|
-
url: string;
|
|
1810
|
-
} | undefined;
|
|
1811
|
-
error?: string | undefined;
|
|
1812
|
-
}>;
|
|
1813
|
-
declare const NotificationDetailSchema: z.ZodObject<Pick<{
|
|
1814
|
-
id: z.ZodString;
|
|
891
|
+
}, z.core.$strip>;
|
|
892
|
+
declare const NotificationDetailSchema: z.ZodObject<{
|
|
1815
893
|
userId: z.ZodString;
|
|
1816
|
-
triggerId: z.ZodOptional<z.ZodString>;
|
|
1817
894
|
title: z.ZodString;
|
|
1818
895
|
body: z.ZodString;
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
openedAt: z.ZodOptional<z.ZodNumber>;
|
|
1822
|
-
deletedAt: z.ZodOptional<z.ZodNumber>;
|
|
1823
|
-
cta: z.ZodOptional<z.ZodObject<{
|
|
1824
|
-
label: z.ZodString;
|
|
1825
|
-
url: z.ZodString;
|
|
1826
|
-
}, "strip", z.ZodTypeAny, {
|
|
1827
|
-
label: string;
|
|
1828
|
-
url: string;
|
|
1829
|
-
}, {
|
|
1830
|
-
label: string;
|
|
1831
|
-
url: string;
|
|
1832
|
-
}>>;
|
|
1833
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1834
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1835
|
-
}, "userId" | "title" | "body" | "metadata">, "strip", z.ZodTypeAny, {
|
|
1836
|
-
userId: string;
|
|
1837
|
-
title: string;
|
|
1838
|
-
body: string;
|
|
1839
|
-
metadata: Record<string, string | number>;
|
|
1840
|
-
}, {
|
|
1841
|
-
userId: string;
|
|
1842
|
-
title: string;
|
|
1843
|
-
body: string;
|
|
1844
|
-
metadata: Record<string, string | number>;
|
|
1845
|
-
}>;
|
|
896
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
897
|
+
}, z.core.$strip>;
|
|
1846
898
|
declare const CriteriaSchema: z.ZodObject<{
|
|
1847
|
-
type: z.
|
|
899
|
+
type: z.ZodEnum<typeof CriteriaType>;
|
|
1848
900
|
params: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1849
|
-
},
|
|
1850
|
-
params: Record<string, any>;
|
|
1851
|
-
type: CriteriaType;
|
|
1852
|
-
}, {
|
|
1853
|
-
params: Record<string, any>;
|
|
1854
|
-
type: CriteriaType;
|
|
1855
|
-
}>;
|
|
901
|
+
}, z.core.$strip>;
|
|
1856
902
|
declare const HistorySchema: z.ZodObject<{
|
|
1857
903
|
batchId: z.ZodString;
|
|
1858
904
|
executedAt: z.ZodNumber;
|
|
1859
905
|
timezone: z.ZodString;
|
|
1860
|
-
status: z.ZodEnum<
|
|
906
|
+
status: z.ZodEnum<{
|
|
907
|
+
failed: "failed";
|
|
908
|
+
success: "success";
|
|
909
|
+
info: "info";
|
|
910
|
+
warn: "warn";
|
|
911
|
+
}>;
|
|
1861
912
|
users: z.ZodObject<{
|
|
1862
913
|
total: z.ZodNumber;
|
|
1863
914
|
success: z.ZodNumber;
|
|
1864
915
|
error: z.ZodNumber;
|
|
1865
|
-
},
|
|
1866
|
-
error: number;
|
|
1867
|
-
success: number;
|
|
1868
|
-
total: number;
|
|
1869
|
-
}, {
|
|
1870
|
-
error: number;
|
|
1871
|
-
success: number;
|
|
1872
|
-
total: number;
|
|
1873
|
-
}>;
|
|
916
|
+
}, z.core.$strip>;
|
|
1874
917
|
errorList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1875
918
|
token: z.ZodString;
|
|
1876
919
|
error: z.ZodString;
|
|
1877
|
-
},
|
|
1878
|
-
token: string;
|
|
1879
|
-
error: string;
|
|
1880
|
-
}, {
|
|
1881
|
-
token: string;
|
|
1882
|
-
error: string;
|
|
1883
|
-
}>, "many">>;
|
|
920
|
+
}, z.core.$strip>>>;
|
|
1884
921
|
executionTimeDuration: z.ZodOptional<z.ZodNumber>;
|
|
1885
|
-
},
|
|
1886
|
-
status: "failed" | "success" | "info" | "warn";
|
|
1887
|
-
batchId: string;
|
|
1888
|
-
executedAt: number;
|
|
1889
|
-
timezone: string;
|
|
1890
|
-
users: {
|
|
1891
|
-
error: number;
|
|
1892
|
-
success: number;
|
|
1893
|
-
total: number;
|
|
1894
|
-
};
|
|
1895
|
-
errorList?: {
|
|
1896
|
-
token: string;
|
|
1897
|
-
error: string;
|
|
1898
|
-
}[] | undefined;
|
|
1899
|
-
executionTimeDuration?: number | undefined;
|
|
1900
|
-
}, {
|
|
1901
|
-
status: "failed" | "success" | "info" | "warn";
|
|
1902
|
-
batchId: string;
|
|
1903
|
-
executedAt: number;
|
|
1904
|
-
timezone: string;
|
|
1905
|
-
users: {
|
|
1906
|
-
error: number;
|
|
1907
|
-
success: number;
|
|
1908
|
-
total: number;
|
|
1909
|
-
};
|
|
1910
|
-
errorList?: {
|
|
1911
|
-
token: string;
|
|
1912
|
-
error: string;
|
|
1913
|
-
}[] | undefined;
|
|
1914
|
-
executionTimeDuration?: number | undefined;
|
|
1915
|
-
}>;
|
|
922
|
+
}, z.core.$strip>;
|
|
1916
923
|
declare const RecurrenceRuleSchema: z.ZodObject<{
|
|
1917
|
-
frequency: z.
|
|
924
|
+
frequency: z.ZodEnum<typeof Frequency>;
|
|
1918
925
|
interval: z.ZodNumber;
|
|
1919
|
-
weekDays: z.ZodOptional<z.ZodArray<z.
|
|
926
|
+
weekDays: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof WeekDay>>>;
|
|
1920
927
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
1921
928
|
endDate: z.ZodOptional<z.ZodString>;
|
|
1922
929
|
ocurrences: z.ZodOptional<z.ZodNumber>;
|
|
1923
|
-
},
|
|
1924
|
-
frequency: Frequency;
|
|
1925
|
-
interval: number;
|
|
1926
|
-
weekDays?: WeekDay[] | undefined;
|
|
1927
|
-
dayOfMonth?: number | undefined;
|
|
1928
|
-
endDate?: string | undefined;
|
|
1929
|
-
ocurrences?: number | undefined;
|
|
1930
|
-
}, {
|
|
1931
|
-
frequency: Frequency;
|
|
1932
|
-
interval: number;
|
|
1933
|
-
weekDays?: WeekDay[] | undefined;
|
|
1934
|
-
dayOfMonth?: number | undefined;
|
|
1935
|
-
endDate?: string | undefined;
|
|
1936
|
-
ocurrences?: number | undefined;
|
|
1937
|
-
}>;
|
|
930
|
+
}, z.core.$strip>;
|
|
1938
931
|
declare const TriggerSchema: z.ZodObject<{
|
|
1939
932
|
id: z.ZodString;
|
|
1940
933
|
title: z.ZodString;
|
|
1941
934
|
description: z.ZodString;
|
|
1942
|
-
transportType: z.ZodArray<z.
|
|
1943
|
-
notification: z.ZodObject<
|
|
1944
|
-
id: z.ZodString;
|
|
935
|
+
transportType: z.ZodArray<z.ZodEnum<typeof TransportType>>;
|
|
936
|
+
notification: z.ZodObject<{
|
|
1945
937
|
userId: z.ZodString;
|
|
1946
|
-
triggerId: z.ZodOptional<z.ZodString>;
|
|
1947
938
|
title: z.ZodString;
|
|
1948
939
|
body: z.ZodString;
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
openedAt: z.ZodOptional<z.ZodNumber>;
|
|
1952
|
-
deletedAt: z.ZodOptional<z.ZodNumber>;
|
|
1953
|
-
cta: z.ZodOptional<z.ZodObject<{
|
|
1954
|
-
label: z.ZodString;
|
|
1955
|
-
url: z.ZodString;
|
|
1956
|
-
}, "strip", z.ZodTypeAny, {
|
|
1957
|
-
label: string;
|
|
1958
|
-
url: string;
|
|
1959
|
-
}, {
|
|
1960
|
-
label: string;
|
|
1961
|
-
url: string;
|
|
1962
|
-
}>>;
|
|
1963
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1964
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1965
|
-
}, "userId" | "title" | "body" | "metadata">, "strip", z.ZodTypeAny, {
|
|
1966
|
-
userId: string;
|
|
1967
|
-
title: string;
|
|
1968
|
-
body: string;
|
|
1969
|
-
metadata: Record<string, string | number>;
|
|
1970
|
-
}, {
|
|
1971
|
-
userId: string;
|
|
1972
|
-
title: string;
|
|
1973
|
-
body: string;
|
|
1974
|
-
metadata: Record<string, string | number>;
|
|
1975
|
-
}>;
|
|
940
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
941
|
+
}, z.core.$strip>;
|
|
1976
942
|
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1977
943
|
batchId: z.ZodString;
|
|
1978
944
|
executedAt: z.ZodNumber;
|
|
1979
945
|
timezone: z.ZodString;
|
|
1980
|
-
status: z.ZodEnum<
|
|
946
|
+
status: z.ZodEnum<{
|
|
947
|
+
failed: "failed";
|
|
948
|
+
success: "success";
|
|
949
|
+
info: "info";
|
|
950
|
+
warn: "warn";
|
|
951
|
+
}>;
|
|
1981
952
|
users: z.ZodObject<{
|
|
1982
953
|
total: z.ZodNumber;
|
|
1983
954
|
success: z.ZodNumber;
|
|
1984
955
|
error: z.ZodNumber;
|
|
1985
|
-
},
|
|
1986
|
-
error: number;
|
|
1987
|
-
success: number;
|
|
1988
|
-
total: number;
|
|
1989
|
-
}, {
|
|
1990
|
-
error: number;
|
|
1991
|
-
success: number;
|
|
1992
|
-
total: number;
|
|
1993
|
-
}>;
|
|
956
|
+
}, z.core.$strip>;
|
|
1994
957
|
errorList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1995
958
|
token: z.ZodString;
|
|
1996
959
|
error: z.ZodString;
|
|
1997
|
-
},
|
|
1998
|
-
token: string;
|
|
1999
|
-
error: string;
|
|
2000
|
-
}, {
|
|
2001
|
-
token: string;
|
|
2002
|
-
error: string;
|
|
2003
|
-
}>, "many">>;
|
|
960
|
+
}, z.core.$strip>>>;
|
|
2004
961
|
executionTimeDuration: z.ZodOptional<z.ZodNumber>;
|
|
2005
|
-
},
|
|
2006
|
-
|
|
2007
|
-
batchId: string;
|
|
2008
|
-
executedAt: number;
|
|
2009
|
-
timezone: string;
|
|
2010
|
-
users: {
|
|
2011
|
-
error: number;
|
|
2012
|
-
success: number;
|
|
2013
|
-
total: number;
|
|
2014
|
-
};
|
|
2015
|
-
errorList?: {
|
|
2016
|
-
token: string;
|
|
2017
|
-
error: string;
|
|
2018
|
-
}[] | undefined;
|
|
2019
|
-
executionTimeDuration?: number | undefined;
|
|
2020
|
-
}, {
|
|
2021
|
-
status: "failed" | "success" | "info" | "warn";
|
|
2022
|
-
batchId: string;
|
|
2023
|
-
executedAt: number;
|
|
2024
|
-
timezone: string;
|
|
2025
|
-
users: {
|
|
2026
|
-
error: number;
|
|
2027
|
-
success: number;
|
|
2028
|
-
total: number;
|
|
2029
|
-
};
|
|
2030
|
-
errorList?: {
|
|
2031
|
-
token: string;
|
|
2032
|
-
error: string;
|
|
2033
|
-
}[] | undefined;
|
|
2034
|
-
executionTimeDuration?: number | undefined;
|
|
2035
|
-
}>, "many">>;
|
|
2036
|
-
status: z.ZodNativeEnum<typeof Status>;
|
|
962
|
+
}, z.core.$strip>>>;
|
|
963
|
+
status: z.ZodEnum<typeof Status>;
|
|
2037
964
|
recurrence: z.ZodOptional<z.ZodObject<{
|
|
2038
|
-
frequency: z.
|
|
965
|
+
frequency: z.ZodEnum<typeof Frequency>;
|
|
2039
966
|
interval: z.ZodNumber;
|
|
2040
|
-
weekDays: z.ZodOptional<z.ZodArray<z.
|
|
967
|
+
weekDays: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof WeekDay>>>;
|
|
2041
968
|
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
2042
969
|
endDate: z.ZodOptional<z.ZodString>;
|
|
2043
970
|
ocurrences: z.ZodOptional<z.ZodNumber>;
|
|
2044
|
-
},
|
|
2045
|
-
frequency: Frequency;
|
|
2046
|
-
interval: number;
|
|
2047
|
-
weekDays?: WeekDay[] | undefined;
|
|
2048
|
-
dayOfMonth?: number | undefined;
|
|
2049
|
-
endDate?: string | undefined;
|
|
2050
|
-
ocurrences?: number | undefined;
|
|
2051
|
-
}, {
|
|
2052
|
-
frequency: Frequency;
|
|
2053
|
-
interval: number;
|
|
2054
|
-
weekDays?: WeekDay[] | undefined;
|
|
2055
|
-
dayOfMonth?: number | undefined;
|
|
2056
|
-
endDate?: string | undefined;
|
|
2057
|
-
ocurrences?: number | undefined;
|
|
2058
|
-
}>>;
|
|
971
|
+
}, z.core.$strip>>;
|
|
2059
972
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2060
|
-
tenantIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
973
|
+
tenantIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2061
974
|
executionDate: z.ZodOptional<z.ZodString>;
|
|
2062
975
|
timeOfDay: z.ZodString;
|
|
2063
976
|
criteria: z.ZodObject<{
|
|
2064
|
-
type: z.
|
|
977
|
+
type: z.ZodEnum<typeof CriteriaType>;
|
|
2065
978
|
params: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2066
|
-
},
|
|
2067
|
-
params: Record<string, any>;
|
|
2068
|
-
type: CriteriaType;
|
|
2069
|
-
}, {
|
|
2070
|
-
params: Record<string, any>;
|
|
2071
|
-
type: CriteriaType;
|
|
2072
|
-
}>;
|
|
979
|
+
}, z.core.$strip>;
|
|
2073
980
|
nextExecution: z.ZodOptional<z.ZodNumber>;
|
|
2074
981
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2075
982
|
modified: z.ZodOptional<z.ZodNumber>;
|
|
2076
|
-
},
|
|
2077
|
-
id: string;
|
|
2078
|
-
title: string;
|
|
2079
|
-
status: Status;
|
|
2080
|
-
description: string;
|
|
2081
|
-
transportType: TransportType[];
|
|
2082
|
-
notification: {
|
|
2083
|
-
userId: string;
|
|
2084
|
-
title: string;
|
|
2085
|
-
body: string;
|
|
2086
|
-
metadata: Record<string, string | number>;
|
|
2087
|
-
};
|
|
2088
|
-
timeOfDay: string;
|
|
2089
|
-
criteria: {
|
|
2090
|
-
params: Record<string, any>;
|
|
2091
|
-
type: CriteriaType;
|
|
2092
|
-
};
|
|
2093
|
-
timezone?: string | null | undefined;
|
|
2094
|
-
history?: {
|
|
2095
|
-
status: "failed" | "success" | "info" | "warn";
|
|
2096
|
-
batchId: string;
|
|
2097
|
-
executedAt: number;
|
|
2098
|
-
timezone: string;
|
|
2099
|
-
users: {
|
|
2100
|
-
error: number;
|
|
2101
|
-
success: number;
|
|
2102
|
-
total: number;
|
|
2103
|
-
};
|
|
2104
|
-
errorList?: {
|
|
2105
|
-
token: string;
|
|
2106
|
-
error: string;
|
|
2107
|
-
}[] | undefined;
|
|
2108
|
-
executionTimeDuration?: number | undefined;
|
|
2109
|
-
}[] | undefined;
|
|
2110
|
-
recurrence?: {
|
|
2111
|
-
frequency: Frequency;
|
|
2112
|
-
interval: number;
|
|
2113
|
-
weekDays?: WeekDay[] | undefined;
|
|
2114
|
-
dayOfMonth?: number | undefined;
|
|
2115
|
-
endDate?: string | undefined;
|
|
2116
|
-
ocurrences?: number | undefined;
|
|
2117
|
-
} | undefined;
|
|
2118
|
-
tenantIds?: string[] | undefined;
|
|
2119
|
-
executionDate?: string | undefined;
|
|
2120
|
-
nextExecution?: number | undefined;
|
|
2121
|
-
createdAt?: number | undefined;
|
|
2122
|
-
modified?: number | undefined;
|
|
2123
|
-
}, {
|
|
2124
|
-
id: string;
|
|
2125
|
-
title: string;
|
|
2126
|
-
status: Status;
|
|
2127
|
-
description: string;
|
|
2128
|
-
transportType: TransportType[];
|
|
2129
|
-
notification: {
|
|
2130
|
-
userId: string;
|
|
2131
|
-
title: string;
|
|
2132
|
-
body: string;
|
|
2133
|
-
metadata: Record<string, string | number>;
|
|
2134
|
-
};
|
|
2135
|
-
timeOfDay: string;
|
|
2136
|
-
criteria: {
|
|
2137
|
-
params: Record<string, any>;
|
|
2138
|
-
type: CriteriaType;
|
|
2139
|
-
};
|
|
2140
|
-
timezone?: string | null | undefined;
|
|
2141
|
-
history?: {
|
|
2142
|
-
status: "failed" | "success" | "info" | "warn";
|
|
2143
|
-
batchId: string;
|
|
2144
|
-
executedAt: number;
|
|
2145
|
-
timezone: string;
|
|
2146
|
-
users: {
|
|
2147
|
-
error: number;
|
|
2148
|
-
success: number;
|
|
2149
|
-
total: number;
|
|
2150
|
-
};
|
|
2151
|
-
errorList?: {
|
|
2152
|
-
token: string;
|
|
2153
|
-
error: string;
|
|
2154
|
-
}[] | undefined;
|
|
2155
|
-
executionTimeDuration?: number | undefined;
|
|
2156
|
-
}[] | undefined;
|
|
2157
|
-
recurrence?: {
|
|
2158
|
-
frequency: Frequency;
|
|
2159
|
-
interval: number;
|
|
2160
|
-
weekDays?: WeekDay[] | undefined;
|
|
2161
|
-
dayOfMonth?: number | undefined;
|
|
2162
|
-
endDate?: string | undefined;
|
|
2163
|
-
ocurrences?: number | undefined;
|
|
2164
|
-
} | undefined;
|
|
2165
|
-
tenantIds?: string[] | undefined;
|
|
2166
|
-
executionDate?: string | undefined;
|
|
2167
|
-
nextExecution?: number | undefined;
|
|
2168
|
-
createdAt?: number | undefined;
|
|
2169
|
-
modified?: number | undefined;
|
|
2170
|
-
}>;
|
|
983
|
+
}, z.core.$strip>;
|
|
2171
984
|
type NotificationItem = z.infer<typeof NotificationItemSchema>;
|
|
2172
985
|
type NotificationDetail = z.infer<typeof NotificationDetailSchema>;
|
|
2173
986
|
type Trigger = z.infer<typeof TriggerSchema>;
|
|
@@ -2251,21 +1064,17 @@ interface IAPI$1 {
|
|
|
2251
1064
|
}
|
|
2252
1065
|
|
|
2253
1066
|
declare const NoteHistorySchema: z.ZodObject<{
|
|
2254
|
-
type: z.ZodEnum<
|
|
1067
|
+
type: z.ZodEnum<{
|
|
1068
|
+
deleted: "deleted";
|
|
1069
|
+
created: "created";
|
|
1070
|
+
updated: "updated";
|
|
1071
|
+
"asset-added": "asset-added";
|
|
1072
|
+
"asset-removed": "asset-removed";
|
|
1073
|
+
}>;
|
|
2255
1074
|
actorEmail: z.ZodString;
|
|
2256
1075
|
timestamp: z.ZodNumber;
|
|
2257
1076
|
details: z.ZodOptional<z.ZodString>;
|
|
2258
|
-
},
|
|
2259
|
-
type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
|
|
2260
|
-
timestamp: number;
|
|
2261
|
-
actorEmail: string;
|
|
2262
|
-
details?: string | undefined;
|
|
2263
|
-
}, {
|
|
2264
|
-
type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
|
|
2265
|
-
timestamp: number;
|
|
2266
|
-
actorEmail: string;
|
|
2267
|
-
details?: string | undefined;
|
|
2268
|
-
}>;
|
|
1077
|
+
}, z.core.$strip>;
|
|
2269
1078
|
declare const NoteSchema: z.ZodObject<{
|
|
2270
1079
|
id: z.ZodString;
|
|
2271
1080
|
userId: z.ZodString;
|
|
@@ -2283,110 +1092,24 @@ declare const NoteSchema: z.ZodObject<{
|
|
|
2283
1092
|
error: z.ZodOptional<z.ZodString>;
|
|
2284
1093
|
authorId: z.ZodString;
|
|
2285
1094
|
uploadedAt: z.ZodNumber;
|
|
2286
|
-
},
|
|
2287
|
-
type: string;
|
|
2288
|
-
assetId: string;
|
|
2289
|
-
fileName: string;
|
|
2290
|
-
extension: string;
|
|
2291
|
-
fileSize: number;
|
|
2292
|
-
assetUrl: string;
|
|
2293
|
-
thumbnailUrl: string;
|
|
2294
|
-
authorId: string;
|
|
2295
|
-
uploadedAt: number;
|
|
2296
|
-
error?: string | undefined;
|
|
2297
|
-
duration?: number | undefined;
|
|
2298
|
-
progress?: number | undefined;
|
|
2299
|
-
}, {
|
|
2300
|
-
type: string;
|
|
2301
|
-
assetId: string;
|
|
2302
|
-
fileName: string;
|
|
2303
|
-
extension: string;
|
|
2304
|
-
fileSize: number;
|
|
2305
|
-
assetUrl: string;
|
|
2306
|
-
thumbnailUrl: string;
|
|
2307
|
-
authorId: string;
|
|
2308
|
-
uploadedAt: number;
|
|
2309
|
-
error?: string | undefined;
|
|
2310
|
-
duration?: number | undefined;
|
|
2311
|
-
progress?: number | undefined;
|
|
2312
|
-
}>, "many">;
|
|
1095
|
+
}, z.core.$strip>>;
|
|
2313
1096
|
title: z.ZodString;
|
|
2314
1097
|
content: z.ZodString;
|
|
2315
1098
|
createdAt: z.ZodNumber;
|
|
2316
1099
|
modified: z.ZodNumber;
|
|
2317
1100
|
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2318
|
-
type: z.ZodEnum<
|
|
1101
|
+
type: z.ZodEnum<{
|
|
1102
|
+
deleted: "deleted";
|
|
1103
|
+
created: "created";
|
|
1104
|
+
updated: "updated";
|
|
1105
|
+
"asset-added": "asset-added";
|
|
1106
|
+
"asset-removed": "asset-removed";
|
|
1107
|
+
}>;
|
|
2319
1108
|
actorEmail: z.ZodString;
|
|
2320
1109
|
timestamp: z.ZodNumber;
|
|
2321
1110
|
details: z.ZodOptional<z.ZodString>;
|
|
2322
|
-
},
|
|
2323
|
-
|
|
2324
|
-
timestamp: number;
|
|
2325
|
-
actorEmail: string;
|
|
2326
|
-
details?: string | undefined;
|
|
2327
|
-
}, {
|
|
2328
|
-
type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
|
|
2329
|
-
timestamp: number;
|
|
2330
|
-
actorEmail: string;
|
|
2331
|
-
details?: string | undefined;
|
|
2332
|
-
}>, "many">>;
|
|
2333
|
-
}, "strip", z.ZodTypeAny, {
|
|
2334
|
-
id: string;
|
|
2335
|
-
userId: string;
|
|
2336
|
-
title: string;
|
|
2337
|
-
createdAt: number;
|
|
2338
|
-
modified: number;
|
|
2339
|
-
content: string;
|
|
2340
|
-
assets: {
|
|
2341
|
-
type: string;
|
|
2342
|
-
assetId: string;
|
|
2343
|
-
fileName: string;
|
|
2344
|
-
extension: string;
|
|
2345
|
-
fileSize: number;
|
|
2346
|
-
assetUrl: string;
|
|
2347
|
-
thumbnailUrl: string;
|
|
2348
|
-
authorId: string;
|
|
2349
|
-
uploadedAt: number;
|
|
2350
|
-
error?: string | undefined;
|
|
2351
|
-
duration?: number | undefined;
|
|
2352
|
-
progress?: number | undefined;
|
|
2353
|
-
}[];
|
|
2354
|
-
authorEmail: string;
|
|
2355
|
-
history?: {
|
|
2356
|
-
type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
|
|
2357
|
-
timestamp: number;
|
|
2358
|
-
actorEmail: string;
|
|
2359
|
-
details?: string | undefined;
|
|
2360
|
-
}[] | undefined;
|
|
2361
|
-
}, {
|
|
2362
|
-
id: string;
|
|
2363
|
-
userId: string;
|
|
2364
|
-
title: string;
|
|
2365
|
-
createdAt: number;
|
|
2366
|
-
modified: number;
|
|
2367
|
-
content: string;
|
|
2368
|
-
assets: {
|
|
2369
|
-
type: string;
|
|
2370
|
-
assetId: string;
|
|
2371
|
-
fileName: string;
|
|
2372
|
-
extension: string;
|
|
2373
|
-
fileSize: number;
|
|
2374
|
-
assetUrl: string;
|
|
2375
|
-
thumbnailUrl: string;
|
|
2376
|
-
authorId: string;
|
|
2377
|
-
uploadedAt: number;
|
|
2378
|
-
error?: string | undefined;
|
|
2379
|
-
duration?: number | undefined;
|
|
2380
|
-
progress?: number | undefined;
|
|
2381
|
-
}[];
|
|
2382
|
-
authorEmail: string;
|
|
2383
|
-
history?: {
|
|
2384
|
-
type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
|
|
2385
|
-
timestamp: number;
|
|
2386
|
-
actorEmail: string;
|
|
2387
|
-
details?: string | undefined;
|
|
2388
|
-
}[] | undefined;
|
|
2389
|
-
}>;
|
|
1111
|
+
}, z.core.$strip>>>;
|
|
1112
|
+
}, z.core.$strip>;
|
|
2390
1113
|
type Note = z.infer<typeof NoteSchema>;
|
|
2391
1114
|
type NoteHistory = z.infer<typeof NoteHistorySchema>;
|
|
2392
1115
|
|
|
@@ -2502,33 +1225,7 @@ declare const AssetSchema: z.ZodObject<{
|
|
|
2502
1225
|
error: z.ZodOptional<z.ZodString>;
|
|
2503
1226
|
authorId: z.ZodString;
|
|
2504
1227
|
uploadedAt: z.ZodNumber;
|
|
2505
|
-
},
|
|
2506
|
-
type: string;
|
|
2507
|
-
assetId: string;
|
|
2508
|
-
fileName: string;
|
|
2509
|
-
extension: string;
|
|
2510
|
-
fileSize: number;
|
|
2511
|
-
assetUrl: string;
|
|
2512
|
-
thumbnailUrl: string;
|
|
2513
|
-
authorId: string;
|
|
2514
|
-
uploadedAt: number;
|
|
2515
|
-
error?: string | undefined;
|
|
2516
|
-
duration?: number | undefined;
|
|
2517
|
-
progress?: number | undefined;
|
|
2518
|
-
}, {
|
|
2519
|
-
type: string;
|
|
2520
|
-
assetId: string;
|
|
2521
|
-
fileName: string;
|
|
2522
|
-
extension: string;
|
|
2523
|
-
fileSize: number;
|
|
2524
|
-
assetUrl: string;
|
|
2525
|
-
thumbnailUrl: string;
|
|
2526
|
-
authorId: string;
|
|
2527
|
-
uploadedAt: number;
|
|
2528
|
-
error?: string | undefined;
|
|
2529
|
-
duration?: number | undefined;
|
|
2530
|
-
progress?: number | undefined;
|
|
2531
|
-
}>;
|
|
1228
|
+
}, z.core.$strip>;
|
|
2532
1229
|
type Asset = z.infer<typeof AssetSchema>;
|
|
2533
1230
|
|
|
2534
1231
|
declare const index_AssetSchema: typeof AssetSchema;
|