shred-api-client 2.1.5 → 2.1.6

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 CHANGED
@@ -6,9 +6,21 @@ 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, "many">>;
10
10
  userId: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>;
11
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
12
24
  declare const CategorySchema: z.ZodObject<{
13
25
  id: z.ZodString;
14
26
  title: z.ZodString;
@@ -19,10 +31,48 @@ declare const CategorySchema: z.ZodObject<{
19
31
  id: z.ZodString;
20
32
  title: z.ZodString;
21
33
  content: z.ZodString;
22
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
34
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
35
  userId: z.ZodOptional<z.ZodString>;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
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
+ }>;
26
76
  declare const PromptSchema: z.ZodObject<{
27
77
  id: z.ZodString;
28
78
  tenantId: z.ZodString;
@@ -36,11 +86,83 @@ declare const PromptSchema: z.ZodObject<{
36
86
  id: z.ZodString;
37
87
  title: z.ZodString;
38
88
  content: z.ZodString;
39
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
89
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
90
  userId: z.ZodOptional<z.ZodString>;
41
- }, z.core.$strip>>;
42
- }, z.core.$strip>>;
43
- }, z.core.$strip>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ id: string;
93
+ title: string;
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
+ }>;
44
166
  type Script = z.infer<typeof ScriptSchema>;
45
167
  type Category = z.infer<typeof CategorySchema>;
46
168
  type Prompt = z.infer<typeof PromptSchema>;
@@ -93,7 +215,7 @@ declare enum Type {
93
215
  CUSTOMER_SUBSCRIPTION = 0,
94
216
  TENANT_SUBSCRIPTION = 1
95
217
  }
96
- declare const SubscriptionTypeSchema: z.ZodEnum<typeof Type>;
218
+ declare const SubscriptionTypeSchema: z.ZodNativeEnum<typeof Type>;
97
219
  declare const PlanSchema: z.ZodObject<{
98
220
  id: z.ZodString;
99
221
  currency: z.ZodString;
@@ -101,14 +223,34 @@ declare const PlanSchema: z.ZodObject<{
101
223
  interval: z.ZodString;
102
224
  metadata: z.ZodRecord<z.ZodString, z.ZodString>;
103
225
  subscriptionItemId: z.ZodString;
104
- }, z.core.$strip>;
226
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
105
241
  declare const ProductSchema: z.ZodObject<{
106
242
  id: z.ZodString;
107
243
  name: z.ZodString;
108
244
  descriptions: z.ZodArray<z.ZodObject<{
109
245
  description: z.ZodString;
110
246
  subtitle: z.ZodString;
111
- }, z.core.$strip>>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ description: string;
249
+ subtitle: string;
250
+ }, {
251
+ description: string;
252
+ subtitle: string;
253
+ }>, "many">;
112
254
  metadata: z.ZodAny;
113
255
  plans: z.ZodArray<z.ZodObject<{
114
256
  id: z.ZodString;
@@ -117,9 +259,57 @@ declare const ProductSchema: z.ZodObject<{
117
259
  interval: z.ZodString;
118
260
  metadata: z.ZodRecord<z.ZodString, z.ZodString>;
119
261
  subscriptionItemId: z.ZodString;
120
- }, z.core.$strip>>;
262
+ }, "strip", z.ZodTypeAny, {
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">;
121
277
  percentOff: z.ZodDefault<z.ZodNumber>;
122
- }, z.core.$strip>;
278
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
123
313
  declare const ChargeSchema: z.ZodObject<{
124
314
  id: z.ZodNumber;
125
315
  created: z.ZodNumber;
@@ -130,7 +320,27 @@ declare const ChargeSchema: z.ZodObject<{
130
320
  paymentType: z.ZodString;
131
321
  last4: z.ZodOptional<z.ZodString>;
132
322
  brand: z.ZodOptional<z.ZodString>;
133
- }, z.core.$strip>;
323
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
134
344
  declare const SubscriptionSchema: z.ZodObject<{
135
345
  id: z.ZodString;
136
346
  status: z.ZodString;
@@ -146,7 +356,13 @@ declare const SubscriptionSchema: z.ZodObject<{
146
356
  descriptions: z.ZodArray<z.ZodObject<{
147
357
  description: z.ZodString;
148
358
  subtitle: z.ZodString;
149
- }, z.core.$strip>>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ description: string;
361
+ subtitle: string;
362
+ }, {
363
+ description: string;
364
+ subtitle: string;
365
+ }>, "many">;
150
366
  metadata: z.ZodAny;
151
367
  plans: z.ZodArray<z.ZodObject<{
152
368
  id: z.ZodString;
@@ -155,10 +371,58 @@ declare const SubscriptionSchema: z.ZodObject<{
155
371
  interval: z.ZodString;
156
372
  metadata: z.ZodRecord<z.ZodString, z.ZodString>;
157
373
  subscriptionItemId: z.ZodString;
158
- }, z.core.$strip>>;
374
+ }, "strip", z.ZodTypeAny, {
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">;
159
389
  percentOff: z.ZodDefault<z.ZodNumber>;
160
- }, z.core.$strip>;
161
- type: z.ZodOptional<z.ZodEnum<typeof Type>>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ id: string;
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>>;
162
426
  plan: z.ZodOptional<z.ZodObject<{
163
427
  id: z.ZodString;
164
428
  currency: z.ZodString;
@@ -166,8 +430,94 @@ declare const SubscriptionSchema: z.ZodObject<{
166
430
  interval: z.ZodString;
167
431
  metadata: z.ZodRecord<z.ZodString, z.ZodString>;
168
432
  subscriptionItemId: z.ZodString;
169
- }, z.core.$strip>>;
170
- }, z.core.$strip>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ id: string;
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
+ }>;
171
521
  type Subscription = z.infer<typeof SubscriptionSchema>;
172
522
  type Charge = z.infer<typeof ChargeSchema>;
173
523
  type Plan = z.infer<typeof PlanSchema>;
@@ -270,7 +620,21 @@ declare const PreferencesSchema$1: z.ZodObject<{
270
620
  instagramLink: z.ZodOptional<z.ZodString>;
271
621
  bRoll: z.ZodOptional<z.ZodBoolean>;
272
622
  logo: z.ZodOptional<z.ZodString>;
273
- }, z.core.$strip>;
623
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
274
638
  declare const UserSchema: z.ZodObject<{
275
639
  id: z.ZodString;
276
640
  name: z.ZodString;
@@ -285,14 +649,70 @@ declare const UserSchema: z.ZodObject<{
285
649
  instagramLink: z.ZodOptional<z.ZodString>;
286
650
  bRoll: z.ZodOptional<z.ZodBoolean>;
287
651
  logo: z.ZodOptional<z.ZodString>;
288
- }, z.core.$strip>>;
652
+ }, "strip", z.ZodTypeAny, {
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
+ }>>;
289
667
  tenantId: z.ZodOptional<z.ZodString>;
290
668
  editorId: z.ZodOptional<z.ZodString>;
291
669
  timezone: z.ZodOptional<z.ZodString>;
292
670
  experienceId: z.ZodOptional<z.ZodString>;
293
671
  customerId: z.ZodString;
294
- role: z.ZodEnum<typeof Role>;
295
- }, z.core.$strip>;
672
+ role: z.ZodNativeEnum<typeof Role>;
673
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
296
716
  type User = z.infer<typeof UserSchema>;
297
717
  type Preferences$1 = z.infer<typeof PreferencesSchema$1>;
298
718
  type Update = Pick<User, "name" | "profession" | "preferences" | "photoUrl" | "fcmToken" | "timezone" | "experienceId">;
@@ -428,7 +848,19 @@ declare const PreferencesSchema: z.ZodObject<{
428
848
  primaryColor: z.ZodString;
429
849
  secondaryColor: z.ZodString;
430
850
  guidelinesUrl: z.ZodOptional<z.ZodString>;
431
- }, z.core.$strip>;
851
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
432
864
  declare const TenantSchema: z.ZodObject<{
433
865
  id: z.ZodString;
434
866
  name: z.ZodString;
@@ -440,7 +872,19 @@ declare const TenantSchema: z.ZodObject<{
440
872
  primaryColor: z.ZodString;
441
873
  secondaryColor: z.ZodString;
442
874
  guidelinesUrl: z.ZodOptional<z.ZodString>;
443
- }, z.core.$strip>;
875
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
444
888
  inviteCode: z.ZodString;
445
889
  totalUsersAllowed: z.ZodNumber;
446
890
  currentUsersSize: z.ZodOptional<z.ZodNumber>;
@@ -448,7 +892,7 @@ declare const TenantSchema: z.ZodObject<{
448
892
  defaultProductId: z.ZodOptional<z.ZodString>;
449
893
  defaultPlanId: z.ZodOptional<z.ZodString>;
450
894
  defaultCoupomCode: z.ZodOptional<z.ZodString>;
451
- allowedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
895
+ allowedProducts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
452
896
  useOwnScripts: z.ZodOptional<z.ZodBoolean>;
453
897
  subscription: z.ZodOptional<z.ZodLazy<z.ZodObject<{
454
898
  id: z.ZodString;
@@ -465,7 +909,13 @@ declare const TenantSchema: z.ZodObject<{
465
909
  descriptions: z.ZodArray<z.ZodObject<{
466
910
  description: z.ZodString;
467
911
  subtitle: z.ZodString;
468
- }, z.core.$strip>>;
912
+ }, "strip", z.ZodTypeAny, {
913
+ description: string;
914
+ subtitle: string;
915
+ }, {
916
+ description: string;
917
+ subtitle: string;
918
+ }>, "many">;
469
919
  metadata: z.ZodAny;
470
920
  plans: z.ZodArray<z.ZodObject<{
471
921
  id: z.ZodString;
@@ -474,10 +924,58 @@ declare const TenantSchema: z.ZodObject<{
474
924
  interval: z.ZodString;
475
925
  metadata: z.ZodRecord<z.ZodString, z.ZodString>;
476
926
  subscriptionItemId: z.ZodString;
477
- }, z.core.$strip>>;
927
+ }, "strip", z.ZodTypeAny, {
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">;
478
942
  percentOff: z.ZodDefault<z.ZodNumber>;
479
- }, z.core.$strip>;
480
- type: z.ZodOptional<z.ZodEnum<typeof Type>>;
943
+ }, "strip", z.ZodTypeAny, {
944
+ id: string;
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>>;
481
979
  plan: z.ZodOptional<z.ZodObject<{
482
980
  id: z.ZodString;
483
981
  currency: z.ZodString;
@@ -485,9 +983,211 @@ declare const TenantSchema: z.ZodObject<{
485
983
  interval: z.ZodString;
486
984
  metadata: z.ZodRecord<z.ZodString, z.ZodString>;
487
985
  subscriptionItemId: z.ZodString;
488
- }, z.core.$strip>>;
489
- }, z.core.$strip>>>;
490
- }, z.core.$strip>;
986
+ }, "strip", z.ZodTypeAny, {
987
+ id: string;
988
+ metadata: Record<string, string>;
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
+ }>;
491
1191
  type Tenant = z.infer<typeof TenantSchema>;
492
1192
  type Preferences = z.infer<typeof PreferencesSchema>;
493
1193
 
@@ -534,17 +1234,45 @@ declare namespace index$8 {
534
1234
 
535
1235
  declare const TrackParamSchema: z.ZodObject<{
536
1236
  name: z.ZodString;
537
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
538
- }, z.core.$strip>;
1237
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ value: string | number;
1240
+ name: string;
1241
+ }, {
1242
+ value: string | number;
1243
+ name: string;
1244
+ }>;
539
1245
  declare const TrackSchema: z.ZodObject<{
540
1246
  category: z.ZodString;
541
1247
  label: z.ZodString;
542
1248
  action: z.ZodString;
543
1249
  params: z.ZodOptional<z.ZodArray<z.ZodObject<{
544
1250
  name: z.ZodString;
545
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
546
- }, z.core.$strip>>>;
547
- }, z.core.$strip>;
1251
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
1252
+ }, "strip", z.ZodTypeAny, {
1253
+ value: string | number;
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
+ }>;
548
1276
  type Track = z.infer<typeof TrackSchema>;
549
1277
  type TrackParam = z.infer<typeof TrackParamSchema>;
550
1278
 
@@ -569,7 +1297,15 @@ declare const EmailSchema: z.ZodObject<{
569
1297
  to: z.ZodOptional<z.ZodString>;
570
1298
  subject: z.ZodString;
571
1299
  body: z.ZodString;
572
- }, z.core.$strip>;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ body: string;
1302
+ subject: string;
1303
+ to?: string | undefined;
1304
+ }, {
1305
+ body: string;
1306
+ subject: string;
1307
+ to?: string | undefined;
1308
+ }>;
573
1309
  type Email = z.infer<typeof EmailSchema>;
574
1310
 
575
1311
  interface IAPI$5 {
@@ -610,27 +1346,65 @@ type Style = {
610
1346
  label: string;
611
1347
  };
612
1348
  declare const TimelineItemSchema: z.ZodObject<{
613
- status: z.ZodEnum<typeof Status$1>;
1349
+ status: z.ZodNativeEnum<typeof Status$1>;
614
1350
  title: z.ZodString;
615
1351
  description: z.ZodString;
616
1352
  timestamp: z.ZodNumber;
617
- metadata: z.ZodAny;
618
- }, z.core.$strip>;
1353
+ metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
1354
+ }, "strip", z.ZodTypeAny, {
1355
+ title: string;
1356
+ status: Status$1;
1357
+ metadata: Record<string, any>;
1358
+ description: string;
1359
+ timestamp: number;
1360
+ }, {
1361
+ title: string;
1362
+ status: Status$1;
1363
+ metadata: Record<string, any>;
1364
+ description: string;
1365
+ timestamp: number;
1366
+ }>;
619
1367
  declare const FeedbackSchema: z.ZodObject<{
620
1368
  criteria: z.ZodArray<z.ZodObject<{
621
1369
  id: z.ZodString;
622
1370
  label: z.ZodString;
623
1371
  score: z.ZodNumber;
624
1372
  comment: z.ZodOptional<z.ZodString>;
625
- }, z.core.$strip>>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ id: string;
1375
+ label: string;
1376
+ score: number;
1377
+ comment?: string | undefined;
1378
+ }, {
1379
+ id: string;
1380
+ label: string;
1381
+ score: number;
1382
+ comment?: string | undefined;
1383
+ }>, "many">;
626
1384
  comment: z.ZodOptional<z.ZodString>;
627
- }, z.core.$strip>;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ criteria: {
1387
+ id: string;
1388
+ label: string;
1389
+ score: number;
1390
+ comment?: string | undefined;
1391
+ }[];
1392
+ comment?: string | undefined;
1393
+ }, {
1394
+ criteria: {
1395
+ id: string;
1396
+ label: string;
1397
+ score: number;
1398
+ comment?: string | undefined;
1399
+ }[];
1400
+ comment?: string | undefined;
1401
+ }>;
628
1402
  declare const ProjectSchema: z.ZodObject<{
629
1403
  id: z.ZodString;
630
1404
  title: z.ZodString;
631
1405
  instructions: z.ZodString;
632
1406
  submitMonth: z.ZodString;
633
- captionStyle: z.ZodEnum<typeof CaptionStyle>;
1407
+ captionStyle: z.ZodNativeEnum<typeof CaptionStyle>;
634
1408
  finalVideoId: z.ZodOptional<z.ZodString>;
635
1409
  thumbnailUrl: z.ZodOptional<z.ZodString>;
636
1410
  modified: z.ZodNumber;
@@ -643,9 +1417,35 @@ declare const ProjectSchema: z.ZodObject<{
643
1417
  label: z.ZodString;
644
1418
  score: z.ZodNumber;
645
1419
  comment: z.ZodOptional<z.ZodString>;
646
- }, z.core.$strip>>;
1420
+ }, "strip", z.ZodTypeAny, {
1421
+ id: string;
1422
+ label: string;
1423
+ score: number;
1424
+ comment?: string | undefined;
1425
+ }, {
1426
+ id: string;
1427
+ label: string;
1428
+ score: number;
1429
+ comment?: string | undefined;
1430
+ }>, "many">;
647
1431
  comment: z.ZodOptional<z.ZodString>;
648
- }, z.core.$strip>>;
1432
+ }, "strip", z.ZodTypeAny, {
1433
+ criteria: {
1434
+ id: string;
1435
+ label: string;
1436
+ score: number;
1437
+ comment?: string | undefined;
1438
+ }[];
1439
+ comment?: string | undefined;
1440
+ }, {
1441
+ criteria: {
1442
+ id: string;
1443
+ label: string;
1444
+ score: number;
1445
+ comment?: string | undefined;
1446
+ }[];
1447
+ comment?: string | undefined;
1448
+ }>>;
649
1449
  assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
650
1450
  assetId: z.ZodString;
651
1451
  fileName: z.ZodString;
@@ -659,20 +1459,152 @@ declare const ProjectSchema: z.ZodObject<{
659
1459
  error: z.ZodOptional<z.ZodString>;
660
1460
  authorId: z.ZodString;
661
1461
  uploadedAt: z.ZodNumber;
662
- }, z.core.$strip>>>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ type: string;
1464
+ assetId: string;
1465
+ fileName: string;
1466
+ extension: string;
1467
+ fileSize: number;
1468
+ assetUrl: string;
1469
+ thumbnailUrl: string;
1470
+ authorId: string;
1471
+ uploadedAt: number;
1472
+ error?: string | undefined;
1473
+ duration?: number | undefined;
1474
+ progress?: number | undefined;
1475
+ }, {
1476
+ type: string;
1477
+ assetId: string;
1478
+ fileName: string;
1479
+ extension: string;
1480
+ fileSize: number;
1481
+ assetUrl: string;
1482
+ thumbnailUrl: string;
1483
+ authorId: string;
1484
+ uploadedAt: number;
1485
+ error?: string | undefined;
1486
+ duration?: number | undefined;
1487
+ progress?: number | undefined;
1488
+ }>, "many">>;
663
1489
  expirationTimestamp: z.ZodNumber;
664
1490
  isFree: z.ZodOptional<z.ZodBoolean>;
665
1491
  timeline: z.ZodArray<z.ZodObject<{
666
- status: z.ZodEnum<typeof Status$1>;
1492
+ status: z.ZodNativeEnum<typeof Status$1>;
667
1493
  title: z.ZodString;
668
1494
  description: z.ZodString;
669
1495
  timestamp: z.ZodNumber;
670
- metadata: z.ZodAny;
671
- }, z.core.$strip>>;
1496
+ metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
1497
+ }, "strip", z.ZodTypeAny, {
1498
+ title: string;
1499
+ status: Status$1;
1500
+ metadata: Record<string, any>;
1501
+ description: string;
1502
+ timestamp: number;
1503
+ }, {
1504
+ title: string;
1505
+ status: Status$1;
1506
+ metadata: Record<string, any>;
1507
+ description: string;
1508
+ timestamp: number;
1509
+ }>, "many">;
672
1510
  submitTimestamp: z.ZodNumber;
673
1511
  tenantId: z.ZodOptional<z.ZodString>;
674
- status: z.ZodEnum<typeof Status$1>;
675
- }, z.core.$strip>;
1512
+ status: z.ZodNativeEnum<typeof Status$1>;
1513
+ }, "strip", z.ZodTypeAny, {
1514
+ id: string;
1515
+ userId: string;
1516
+ title: string;
1517
+ status: Status$1;
1518
+ modified: number;
1519
+ instructions: string;
1520
+ submitMonth: string;
1521
+ captionStyle: CaptionStyle;
1522
+ expirationTimestamp: number;
1523
+ timeline: {
1524
+ title: string;
1525
+ status: Status$1;
1526
+ metadata: Record<string, any>;
1527
+ description: string;
1528
+ timestamp: number;
1529
+ }[];
1530
+ submitTimestamp: number;
1531
+ tenantId?: string | undefined;
1532
+ editorId?: string | undefined;
1533
+ thumbnailUrl?: string | undefined;
1534
+ finalVideoId?: string | undefined;
1535
+ captionSuggestion?: string | undefined;
1536
+ feedback?: {
1537
+ criteria: {
1538
+ id: string;
1539
+ label: string;
1540
+ score: number;
1541
+ comment?: string | undefined;
1542
+ }[];
1543
+ comment?: string | undefined;
1544
+ } | undefined;
1545
+ assets?: {
1546
+ type: string;
1547
+ assetId: string;
1548
+ fileName: string;
1549
+ extension: string;
1550
+ fileSize: number;
1551
+ assetUrl: string;
1552
+ thumbnailUrl: string;
1553
+ authorId: string;
1554
+ uploadedAt: number;
1555
+ error?: string | undefined;
1556
+ duration?: number | undefined;
1557
+ progress?: number | undefined;
1558
+ }[] | undefined;
1559
+ isFree?: boolean | undefined;
1560
+ }, {
1561
+ id: string;
1562
+ userId: string;
1563
+ title: string;
1564
+ status: Status$1;
1565
+ modified: number;
1566
+ instructions: string;
1567
+ submitMonth: string;
1568
+ captionStyle: CaptionStyle;
1569
+ expirationTimestamp: number;
1570
+ timeline: {
1571
+ title: string;
1572
+ status: Status$1;
1573
+ metadata: Record<string, any>;
1574
+ description: string;
1575
+ timestamp: number;
1576
+ }[];
1577
+ submitTimestamp: number;
1578
+ tenantId?: string | undefined;
1579
+ editorId?: string | undefined;
1580
+ thumbnailUrl?: string | undefined;
1581
+ finalVideoId?: string | undefined;
1582
+ captionSuggestion?: string | undefined;
1583
+ feedback?: {
1584
+ criteria: {
1585
+ id: string;
1586
+ label: string;
1587
+ score: number;
1588
+ comment?: string | undefined;
1589
+ }[];
1590
+ comment?: string | undefined;
1591
+ } | undefined;
1592
+ assets?: {
1593
+ type: string;
1594
+ assetId: string;
1595
+ fileName: string;
1596
+ extension: string;
1597
+ fileSize: number;
1598
+ assetUrl: string;
1599
+ thumbnailUrl: string;
1600
+ authorId: string;
1601
+ uploadedAt: number;
1602
+ error?: string | undefined;
1603
+ duration?: number | undefined;
1604
+ progress?: number | undefined;
1605
+ }[] | undefined;
1606
+ isFree?: boolean | undefined;
1607
+ }>;
676
1608
  type ProjectCreation = Pick<Project, "title" | "instructions" | "captionStyle" | "assets">;
677
1609
  type SendToApproval = {
678
1610
  video: string;
@@ -799,7 +1731,17 @@ declare const DailyMilestoneSchema: z.ZodObject<{
799
1731
  date: z.ZodString;
800
1732
  target: z.ZodNumber;
801
1733
  progress: z.ZodNumber;
802
- }, z.core.$strip>;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ id: string;
1736
+ date: string;
1737
+ progress: number;
1738
+ target: number;
1739
+ }, {
1740
+ id: string;
1741
+ date: string;
1742
+ progress: number;
1743
+ target: number;
1744
+ }>;
803
1745
  declare const GoalSchema: z.ZodObject<{
804
1746
  id: z.ZodString;
805
1747
  editorId: z.ZodString;
@@ -812,8 +1754,44 @@ declare const GoalSchema: z.ZodObject<{
812
1754
  date: z.ZodString;
813
1755
  target: z.ZodNumber;
814
1756
  progress: z.ZodNumber;
815
- }, z.core.$strip>>;
816
- }, z.core.$strip>;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ id: string;
1759
+ date: string;
1760
+ progress: number;
1761
+ target: number;
1762
+ }, {
1763
+ id: string;
1764
+ date: string;
1765
+ progress: number;
1766
+ target: number;
1767
+ }>, "many">;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ id: string;
1770
+ createdAt: number;
1771
+ editorId: string;
1772
+ progress: number;
1773
+ target: number;
1774
+ isoWeek: string;
1775
+ dailyMilestones: {
1776
+ id: string;
1777
+ date: string;
1778
+ progress: number;
1779
+ target: number;
1780
+ }[];
1781
+ }, {
1782
+ id: string;
1783
+ createdAt: number;
1784
+ editorId: string;
1785
+ progress: number;
1786
+ target: number;
1787
+ isoWeek: string;
1788
+ dailyMilestones: {
1789
+ id: string;
1790
+ date: string;
1791
+ progress: number;
1792
+ target: number;
1793
+ }[];
1794
+ }>;
817
1795
  type DailyMilestone = z.infer<typeof DailyMilestoneSchema>;
818
1796
  type Goal = z.infer<typeof GoalSchema>;
819
1797
 
@@ -874,113 +1852,413 @@ declare const NotificationItemSchema: z.ZodObject<{
874
1852
  triggerId: z.ZodOptional<z.ZodString>;
875
1853
  title: z.ZodString;
876
1854
  body: z.ZodString;
877
- status: z.ZodEnum<{
878
- failed: "failed";
879
- delivered: "delivered";
880
- deleted: "deleted";
881
- }>;
1855
+ status: z.ZodEnum<["failed", "delivered", "deleted"]>;
882
1856
  deliveredAt: z.ZodNumber;
883
1857
  openedAt: z.ZodOptional<z.ZodNumber>;
884
1858
  deletedAt: z.ZodOptional<z.ZodNumber>;
885
1859
  cta: z.ZodOptional<z.ZodObject<{
886
1860
  label: z.ZodString;
887
1861
  url: z.ZodString;
888
- }, z.core.$strip>>;
889
- metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1862
+ }, "strip", z.ZodTypeAny, {
1863
+ label: string;
1864
+ url: string;
1865
+ }, {
1866
+ label: string;
1867
+ url: string;
1868
+ }>>;
1869
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
890
1870
  error: z.ZodOptional<z.ZodString>;
891
- }, z.core.$strip>;
892
- declare const NotificationDetailSchema: z.ZodObject<{
1871
+ }, "strip", z.ZodTypeAny, {
1872
+ id: string;
1873
+ userId: string;
1874
+ title: string;
1875
+ body: string;
1876
+ status: "failed" | "delivered" | "deleted";
1877
+ deliveredAt: number;
1878
+ metadata: Record<string, string | number>;
1879
+ triggerId?: string | undefined;
1880
+ openedAt?: number | undefined;
1881
+ deletedAt?: number | undefined;
1882
+ cta?: {
1883
+ label: string;
1884
+ url: string;
1885
+ } | undefined;
1886
+ error?: string | undefined;
1887
+ }, {
1888
+ id: string;
1889
+ userId: string;
1890
+ title: string;
1891
+ body: string;
1892
+ status: "failed" | "delivered" | "deleted";
1893
+ deliveredAt: number;
1894
+ metadata: Record<string, string | number>;
1895
+ triggerId?: string | undefined;
1896
+ openedAt?: number | undefined;
1897
+ deletedAt?: number | undefined;
1898
+ cta?: {
1899
+ label: string;
1900
+ url: string;
1901
+ } | undefined;
1902
+ error?: string | undefined;
1903
+ }>;
1904
+ declare const NotificationDetailSchema: z.ZodObject<Pick<{
1905
+ id: z.ZodString;
893
1906
  userId: z.ZodString;
1907
+ triggerId: z.ZodOptional<z.ZodString>;
894
1908
  title: z.ZodString;
895
1909
  body: z.ZodString;
896
- metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
897
- }, z.core.$strip>;
1910
+ status: z.ZodEnum<["failed", "delivered", "deleted"]>;
1911
+ deliveredAt: z.ZodNumber;
1912
+ openedAt: z.ZodOptional<z.ZodNumber>;
1913
+ deletedAt: z.ZodOptional<z.ZodNumber>;
1914
+ cta: z.ZodOptional<z.ZodObject<{
1915
+ label: z.ZodString;
1916
+ url: z.ZodString;
1917
+ }, "strip", z.ZodTypeAny, {
1918
+ label: string;
1919
+ url: string;
1920
+ }, {
1921
+ label: string;
1922
+ url: string;
1923
+ }>>;
1924
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1925
+ error: z.ZodOptional<z.ZodString>;
1926
+ }, "userId" | "title" | "body" | "metadata">, "strip", z.ZodTypeAny, {
1927
+ userId: string;
1928
+ title: string;
1929
+ body: string;
1930
+ metadata: Record<string, string | number>;
1931
+ }, {
1932
+ userId: string;
1933
+ title: string;
1934
+ body: string;
1935
+ metadata: Record<string, string | number>;
1936
+ }>;
898
1937
  declare const CriteriaSchema: z.ZodObject<{
899
- type: z.ZodEnum<typeof CriteriaType>;
1938
+ type: z.ZodNativeEnum<typeof CriteriaType>;
900
1939
  params: z.ZodRecord<z.ZodString, z.ZodAny>;
901
- }, z.core.$strip>;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ params: Record<string, any>;
1942
+ type: CriteriaType;
1943
+ }, {
1944
+ params: Record<string, any>;
1945
+ type: CriteriaType;
1946
+ }>;
902
1947
  declare const HistorySchema: z.ZodObject<{
903
1948
  batchId: z.ZodString;
904
1949
  executedAt: z.ZodNumber;
905
1950
  timezone: z.ZodString;
906
- status: z.ZodEnum<{
907
- failed: "failed";
908
- success: "success";
909
- info: "info";
910
- warn: "warn";
911
- }>;
1951
+ status: z.ZodEnum<["success", "failed", "info", "warn"]>;
912
1952
  users: z.ZodObject<{
913
1953
  total: z.ZodNumber;
914
1954
  success: z.ZodNumber;
915
1955
  error: z.ZodNumber;
916
- }, z.core.$strip>;
1956
+ }, "strip", z.ZodTypeAny, {
1957
+ error: number;
1958
+ success: number;
1959
+ total: number;
1960
+ }, {
1961
+ error: number;
1962
+ success: number;
1963
+ total: number;
1964
+ }>;
917
1965
  errorList: z.ZodOptional<z.ZodArray<z.ZodObject<{
918
1966
  token: z.ZodString;
919
1967
  error: z.ZodString;
920
- }, z.core.$strip>>>;
1968
+ }, "strip", z.ZodTypeAny, {
1969
+ token: string;
1970
+ error: string;
1971
+ }, {
1972
+ token: string;
1973
+ error: string;
1974
+ }>, "many">>;
921
1975
  executionTimeDuration: z.ZodOptional<z.ZodNumber>;
922
- }, z.core.$strip>;
1976
+ }, "strip", z.ZodTypeAny, {
1977
+ status: "failed" | "success" | "info" | "warn";
1978
+ batchId: string;
1979
+ executedAt: number;
1980
+ timezone: string;
1981
+ users: {
1982
+ error: number;
1983
+ success: number;
1984
+ total: number;
1985
+ };
1986
+ errorList?: {
1987
+ token: string;
1988
+ error: string;
1989
+ }[] | undefined;
1990
+ executionTimeDuration?: number | undefined;
1991
+ }, {
1992
+ status: "failed" | "success" | "info" | "warn";
1993
+ batchId: string;
1994
+ executedAt: number;
1995
+ timezone: string;
1996
+ users: {
1997
+ error: number;
1998
+ success: number;
1999
+ total: number;
2000
+ };
2001
+ errorList?: {
2002
+ token: string;
2003
+ error: string;
2004
+ }[] | undefined;
2005
+ executionTimeDuration?: number | undefined;
2006
+ }>;
923
2007
  declare const RecurrenceRuleSchema: z.ZodObject<{
924
- frequency: z.ZodEnum<typeof Frequency>;
2008
+ frequency: z.ZodNativeEnum<typeof Frequency>;
925
2009
  interval: z.ZodNumber;
926
- weekDays: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof WeekDay>>>;
2010
+ weekDays: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof WeekDay>, "many">>;
927
2011
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
928
2012
  endDate: z.ZodOptional<z.ZodString>;
929
2013
  ocurrences: z.ZodOptional<z.ZodNumber>;
930
- }, z.core.$strip>;
2014
+ }, "strip", z.ZodTypeAny, {
2015
+ frequency: Frequency;
2016
+ interval: number;
2017
+ weekDays?: WeekDay[] | undefined;
2018
+ dayOfMonth?: number | undefined;
2019
+ endDate?: string | undefined;
2020
+ ocurrences?: number | undefined;
2021
+ }, {
2022
+ frequency: Frequency;
2023
+ interval: number;
2024
+ weekDays?: WeekDay[] | undefined;
2025
+ dayOfMonth?: number | undefined;
2026
+ endDate?: string | undefined;
2027
+ ocurrences?: number | undefined;
2028
+ }>;
931
2029
  declare const TriggerSchema: z.ZodObject<{
932
2030
  id: z.ZodString;
933
2031
  title: z.ZodString;
934
2032
  description: z.ZodString;
935
- transportType: z.ZodArray<z.ZodEnum<typeof TransportType>>;
936
- notification: z.ZodObject<{
2033
+ transportType: z.ZodArray<z.ZodNativeEnum<typeof TransportType>, "many">;
2034
+ notification: z.ZodObject<Pick<{
2035
+ id: z.ZodString;
937
2036
  userId: z.ZodString;
2037
+ triggerId: z.ZodOptional<z.ZodString>;
938
2038
  title: z.ZodString;
939
2039
  body: z.ZodString;
940
- metadata: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
941
- }, z.core.$strip>;
2040
+ status: z.ZodEnum<["failed", "delivered", "deleted"]>;
2041
+ deliveredAt: z.ZodNumber;
2042
+ openedAt: z.ZodOptional<z.ZodNumber>;
2043
+ deletedAt: z.ZodOptional<z.ZodNumber>;
2044
+ cta: z.ZodOptional<z.ZodObject<{
2045
+ label: z.ZodString;
2046
+ url: z.ZodString;
2047
+ }, "strip", z.ZodTypeAny, {
2048
+ label: string;
2049
+ url: string;
2050
+ }, {
2051
+ label: string;
2052
+ url: string;
2053
+ }>>;
2054
+ metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2055
+ error: z.ZodOptional<z.ZodString>;
2056
+ }, "userId" | "title" | "body" | "metadata">, "strip", z.ZodTypeAny, {
2057
+ userId: string;
2058
+ title: string;
2059
+ body: string;
2060
+ metadata: Record<string, string | number>;
2061
+ }, {
2062
+ userId: string;
2063
+ title: string;
2064
+ body: string;
2065
+ metadata: Record<string, string | number>;
2066
+ }>;
942
2067
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
943
2068
  batchId: z.ZodString;
944
2069
  executedAt: z.ZodNumber;
945
2070
  timezone: z.ZodString;
946
- status: z.ZodEnum<{
947
- failed: "failed";
948
- success: "success";
949
- info: "info";
950
- warn: "warn";
951
- }>;
2071
+ status: z.ZodEnum<["success", "failed", "info", "warn"]>;
952
2072
  users: z.ZodObject<{
953
2073
  total: z.ZodNumber;
954
2074
  success: z.ZodNumber;
955
2075
  error: z.ZodNumber;
956
- }, z.core.$strip>;
2076
+ }, "strip", z.ZodTypeAny, {
2077
+ error: number;
2078
+ success: number;
2079
+ total: number;
2080
+ }, {
2081
+ error: number;
2082
+ success: number;
2083
+ total: number;
2084
+ }>;
957
2085
  errorList: z.ZodOptional<z.ZodArray<z.ZodObject<{
958
2086
  token: z.ZodString;
959
2087
  error: z.ZodString;
960
- }, z.core.$strip>>>;
2088
+ }, "strip", z.ZodTypeAny, {
2089
+ token: string;
2090
+ error: string;
2091
+ }, {
2092
+ token: string;
2093
+ error: string;
2094
+ }>, "many">>;
961
2095
  executionTimeDuration: z.ZodOptional<z.ZodNumber>;
962
- }, z.core.$strip>>>;
963
- status: z.ZodEnum<typeof Status>;
2096
+ }, "strip", z.ZodTypeAny, {
2097
+ status: "failed" | "success" | "info" | "warn";
2098
+ batchId: string;
2099
+ executedAt: number;
2100
+ timezone: string;
2101
+ users: {
2102
+ error: number;
2103
+ success: number;
2104
+ total: number;
2105
+ };
2106
+ errorList?: {
2107
+ token: string;
2108
+ error: string;
2109
+ }[] | undefined;
2110
+ executionTimeDuration?: number | undefined;
2111
+ }, {
2112
+ status: "failed" | "success" | "info" | "warn";
2113
+ batchId: string;
2114
+ executedAt: number;
2115
+ timezone: string;
2116
+ users: {
2117
+ error: number;
2118
+ success: number;
2119
+ total: number;
2120
+ };
2121
+ errorList?: {
2122
+ token: string;
2123
+ error: string;
2124
+ }[] | undefined;
2125
+ executionTimeDuration?: number | undefined;
2126
+ }>, "many">>;
2127
+ status: z.ZodNativeEnum<typeof Status>;
964
2128
  recurrence: z.ZodOptional<z.ZodObject<{
965
- frequency: z.ZodEnum<typeof Frequency>;
2129
+ frequency: z.ZodNativeEnum<typeof Frequency>;
966
2130
  interval: z.ZodNumber;
967
- weekDays: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof WeekDay>>>;
2131
+ weekDays: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof WeekDay>, "many">>;
968
2132
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
969
2133
  endDate: z.ZodOptional<z.ZodString>;
970
2134
  ocurrences: z.ZodOptional<z.ZodNumber>;
971
- }, z.core.$strip>>;
2135
+ }, "strip", z.ZodTypeAny, {
2136
+ frequency: Frequency;
2137
+ interval: number;
2138
+ weekDays?: WeekDay[] | undefined;
2139
+ dayOfMonth?: number | undefined;
2140
+ endDate?: string | undefined;
2141
+ ocurrences?: number | undefined;
2142
+ }, {
2143
+ frequency: Frequency;
2144
+ interval: number;
2145
+ weekDays?: WeekDay[] | undefined;
2146
+ dayOfMonth?: number | undefined;
2147
+ endDate?: string | undefined;
2148
+ ocurrences?: number | undefined;
2149
+ }>>;
972
2150
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
973
- tenantIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2151
+ tenantIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
974
2152
  executionDate: z.ZodOptional<z.ZodString>;
975
2153
  timeOfDay: z.ZodString;
976
2154
  criteria: z.ZodObject<{
977
- type: z.ZodEnum<typeof CriteriaType>;
2155
+ type: z.ZodNativeEnum<typeof CriteriaType>;
978
2156
  params: z.ZodRecord<z.ZodString, z.ZodAny>;
979
- }, z.core.$strip>;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ params: Record<string, any>;
2159
+ type: CriteriaType;
2160
+ }, {
2161
+ params: Record<string, any>;
2162
+ type: CriteriaType;
2163
+ }>;
980
2164
  nextExecution: z.ZodOptional<z.ZodNumber>;
981
2165
  createdAt: z.ZodOptional<z.ZodNumber>;
982
2166
  modified: z.ZodOptional<z.ZodNumber>;
983
- }, z.core.$strip>;
2167
+ }, "strip", z.ZodTypeAny, {
2168
+ id: string;
2169
+ title: string;
2170
+ status: Status;
2171
+ description: string;
2172
+ transportType: TransportType[];
2173
+ notification: {
2174
+ userId: string;
2175
+ title: string;
2176
+ body: string;
2177
+ metadata: Record<string, string | number>;
2178
+ };
2179
+ timeOfDay: string;
2180
+ criteria: {
2181
+ params: Record<string, any>;
2182
+ type: CriteriaType;
2183
+ };
2184
+ timezone?: string | null | undefined;
2185
+ history?: {
2186
+ status: "failed" | "success" | "info" | "warn";
2187
+ batchId: string;
2188
+ executedAt: number;
2189
+ timezone: string;
2190
+ users: {
2191
+ error: number;
2192
+ success: number;
2193
+ total: number;
2194
+ };
2195
+ errorList?: {
2196
+ token: string;
2197
+ error: string;
2198
+ }[] | undefined;
2199
+ executionTimeDuration?: number | undefined;
2200
+ }[] | undefined;
2201
+ recurrence?: {
2202
+ frequency: Frequency;
2203
+ interval: number;
2204
+ weekDays?: WeekDay[] | undefined;
2205
+ dayOfMonth?: number | undefined;
2206
+ endDate?: string | undefined;
2207
+ ocurrences?: number | undefined;
2208
+ } | undefined;
2209
+ tenantIds?: string[] | undefined;
2210
+ executionDate?: string | undefined;
2211
+ nextExecution?: number | undefined;
2212
+ createdAt?: number | undefined;
2213
+ modified?: number | undefined;
2214
+ }, {
2215
+ id: string;
2216
+ title: string;
2217
+ status: Status;
2218
+ description: string;
2219
+ transportType: TransportType[];
2220
+ notification: {
2221
+ userId: string;
2222
+ title: string;
2223
+ body: string;
2224
+ metadata: Record<string, string | number>;
2225
+ };
2226
+ timeOfDay: string;
2227
+ criteria: {
2228
+ params: Record<string, any>;
2229
+ type: CriteriaType;
2230
+ };
2231
+ timezone?: string | null | undefined;
2232
+ history?: {
2233
+ status: "failed" | "success" | "info" | "warn";
2234
+ batchId: string;
2235
+ executedAt: number;
2236
+ timezone: string;
2237
+ users: {
2238
+ error: number;
2239
+ success: number;
2240
+ total: number;
2241
+ };
2242
+ errorList?: {
2243
+ token: string;
2244
+ error: string;
2245
+ }[] | undefined;
2246
+ executionTimeDuration?: number | undefined;
2247
+ }[] | undefined;
2248
+ recurrence?: {
2249
+ frequency: Frequency;
2250
+ interval: number;
2251
+ weekDays?: WeekDay[] | undefined;
2252
+ dayOfMonth?: number | undefined;
2253
+ endDate?: string | undefined;
2254
+ ocurrences?: number | undefined;
2255
+ } | undefined;
2256
+ tenantIds?: string[] | undefined;
2257
+ executionDate?: string | undefined;
2258
+ nextExecution?: number | undefined;
2259
+ createdAt?: number | undefined;
2260
+ modified?: number | undefined;
2261
+ }>;
984
2262
  type NotificationItem = z.infer<typeof NotificationItemSchema>;
985
2263
  type NotificationDetail = z.infer<typeof NotificationDetailSchema>;
986
2264
  type Trigger = z.infer<typeof TriggerSchema>;
@@ -1064,17 +2342,21 @@ interface IAPI$1 {
1064
2342
  }
1065
2343
 
1066
2344
  declare const NoteHistorySchema: z.ZodObject<{
1067
- type: z.ZodEnum<{
1068
- deleted: "deleted";
1069
- created: "created";
1070
- updated: "updated";
1071
- "asset-added": "asset-added";
1072
- "asset-removed": "asset-removed";
1073
- }>;
2345
+ type: z.ZodEnum<["created", "updated", "deleted", "asset-added", "asset-removed"]>;
1074
2346
  actorEmail: z.ZodString;
1075
2347
  timestamp: z.ZodNumber;
1076
2348
  details: z.ZodOptional<z.ZodString>;
1077
- }, z.core.$strip>;
2349
+ }, "strip", z.ZodTypeAny, {
2350
+ type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
2351
+ timestamp: number;
2352
+ actorEmail: string;
2353
+ details?: string | undefined;
2354
+ }, {
2355
+ type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
2356
+ timestamp: number;
2357
+ actorEmail: string;
2358
+ details?: string | undefined;
2359
+ }>;
1078
2360
  declare const NoteSchema: z.ZodObject<{
1079
2361
  id: z.ZodString;
1080
2362
  userId: z.ZodString;
@@ -1092,24 +2374,110 @@ declare const NoteSchema: z.ZodObject<{
1092
2374
  error: z.ZodOptional<z.ZodString>;
1093
2375
  authorId: z.ZodString;
1094
2376
  uploadedAt: z.ZodNumber;
1095
- }, z.core.$strip>>;
2377
+ }, "strip", z.ZodTypeAny, {
2378
+ type: string;
2379
+ assetId: string;
2380
+ fileName: string;
2381
+ extension: string;
2382
+ fileSize: number;
2383
+ assetUrl: string;
2384
+ thumbnailUrl: string;
2385
+ authorId: string;
2386
+ uploadedAt: number;
2387
+ error?: string | undefined;
2388
+ duration?: number | undefined;
2389
+ progress?: number | undefined;
2390
+ }, {
2391
+ type: string;
2392
+ assetId: string;
2393
+ fileName: string;
2394
+ extension: string;
2395
+ fileSize: number;
2396
+ assetUrl: string;
2397
+ thumbnailUrl: string;
2398
+ authorId: string;
2399
+ uploadedAt: number;
2400
+ error?: string | undefined;
2401
+ duration?: number | undefined;
2402
+ progress?: number | undefined;
2403
+ }>, "many">;
1096
2404
  title: z.ZodString;
1097
2405
  content: z.ZodString;
1098
2406
  createdAt: z.ZodNumber;
1099
2407
  modified: z.ZodNumber;
1100
2408
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
1101
- type: z.ZodEnum<{
1102
- deleted: "deleted";
1103
- created: "created";
1104
- updated: "updated";
1105
- "asset-added": "asset-added";
1106
- "asset-removed": "asset-removed";
1107
- }>;
2409
+ type: z.ZodEnum<["created", "updated", "deleted", "asset-added", "asset-removed"]>;
1108
2410
  actorEmail: z.ZodString;
1109
2411
  timestamp: z.ZodNumber;
1110
2412
  details: z.ZodOptional<z.ZodString>;
1111
- }, z.core.$strip>>>;
1112
- }, z.core.$strip>;
2413
+ }, "strip", z.ZodTypeAny, {
2414
+ type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
2415
+ timestamp: number;
2416
+ actorEmail: string;
2417
+ details?: string | undefined;
2418
+ }, {
2419
+ type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
2420
+ timestamp: number;
2421
+ actorEmail: string;
2422
+ details?: string | undefined;
2423
+ }>, "many">>;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ id: string;
2426
+ userId: string;
2427
+ title: string;
2428
+ createdAt: number;
2429
+ modified: number;
2430
+ content: string;
2431
+ assets: {
2432
+ type: string;
2433
+ assetId: string;
2434
+ fileName: string;
2435
+ extension: string;
2436
+ fileSize: number;
2437
+ assetUrl: string;
2438
+ thumbnailUrl: string;
2439
+ authorId: string;
2440
+ uploadedAt: number;
2441
+ error?: string | undefined;
2442
+ duration?: number | undefined;
2443
+ progress?: number | undefined;
2444
+ }[];
2445
+ authorEmail: string;
2446
+ history?: {
2447
+ type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
2448
+ timestamp: number;
2449
+ actorEmail: string;
2450
+ details?: string | undefined;
2451
+ }[] | undefined;
2452
+ }, {
2453
+ id: string;
2454
+ userId: string;
2455
+ title: string;
2456
+ createdAt: number;
2457
+ modified: number;
2458
+ content: string;
2459
+ assets: {
2460
+ type: string;
2461
+ assetId: string;
2462
+ fileName: string;
2463
+ extension: string;
2464
+ fileSize: number;
2465
+ assetUrl: string;
2466
+ thumbnailUrl: string;
2467
+ authorId: string;
2468
+ uploadedAt: number;
2469
+ error?: string | undefined;
2470
+ duration?: number | undefined;
2471
+ progress?: number | undefined;
2472
+ }[];
2473
+ authorEmail: string;
2474
+ history?: {
2475
+ type: "deleted" | "created" | "updated" | "asset-added" | "asset-removed";
2476
+ timestamp: number;
2477
+ actorEmail: string;
2478
+ details?: string | undefined;
2479
+ }[] | undefined;
2480
+ }>;
1113
2481
  type Note = z.infer<typeof NoteSchema>;
1114
2482
  type NoteHistory = z.infer<typeof NoteHistorySchema>;
1115
2483
 
@@ -1225,7 +2593,33 @@ declare const AssetSchema: z.ZodObject<{
1225
2593
  error: z.ZodOptional<z.ZodString>;
1226
2594
  authorId: z.ZodString;
1227
2595
  uploadedAt: z.ZodNumber;
1228
- }, z.core.$strip>;
2596
+ }, "strip", z.ZodTypeAny, {
2597
+ type: string;
2598
+ assetId: string;
2599
+ fileName: string;
2600
+ extension: string;
2601
+ fileSize: number;
2602
+ assetUrl: string;
2603
+ thumbnailUrl: string;
2604
+ authorId: string;
2605
+ uploadedAt: number;
2606
+ error?: string | undefined;
2607
+ duration?: number | undefined;
2608
+ progress?: number | undefined;
2609
+ }, {
2610
+ type: string;
2611
+ assetId: string;
2612
+ fileName: string;
2613
+ extension: string;
2614
+ fileSize: number;
2615
+ assetUrl: string;
2616
+ thumbnailUrl: string;
2617
+ authorId: string;
2618
+ uploadedAt: number;
2619
+ error?: string | undefined;
2620
+ duration?: number | undefined;
2621
+ progress?: number | undefined;
2622
+ }>;
1229
2623
  type Asset = z.infer<typeof AssetSchema>;
1230
2624
 
1231
2625
  declare const index_AssetSchema: typeof AssetSchema;