@kl1/contracts 1.0.6 → 1.0.7
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.js +456 -284
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +452 -280
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/index.d.ts +43 -7
- package/dist/src/attribute/index.d.ts.map +1 -1
- package/dist/src/attribute/schema.d.ts +10 -2
- package/dist/src/attribute/schema.d.ts.map +1 -1
- package/dist/src/aws/index.d.ts +177 -0
- package/dist/src/aws/index.d.ts.map +1 -0
- package/dist/src/aws/validation.d.ts +58 -0
- package/dist/src/aws/validation.d.ts.map +1 -0
- package/dist/src/call-log/schema.d.ts +4 -4
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/category/index.d.ts +48 -4
- package/dist/src/category/index.d.ts.map +1 -1
- package/dist/src/category/validation.d.ts +0 -3
- package/dist/src/category/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +14554 -12036
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/extension/index.d.ts +0 -3
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/extension/validation.d.ts +0 -3
- package/dist/src/extension/validation.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +3750 -2849
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +182 -117
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +3557 -2721
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/message-validation.schema.d.ts +162 -1
- package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
- package/dist/src/role/index.d.ts +1 -4
- package/dist/src/role/index.d.ts.map +1 -1
- package/dist/src/role/validation.d.ts +1 -4
- package/dist/src/role/validation.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +2 -2
- package/dist/src/telephony-cdr/validation.d.ts +2 -2
- package/dist/src/user/index.d.ts +0 -3
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +0 -3
- package/dist/src/user/validation.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +2 -5
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +2 -5
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +478 -0
- package/dist/src/wrap-up-form/index.d.ts.map +1 -0
- package/dist/src/wrap-up-form/schema.d.ts +63 -0
- package/dist/src/wrap-up-form/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/validation.d.ts +37 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -0
- package/package.json +46 -46
@@ -66,6 +66,7 @@ export declare const attributeContract: {
|
|
66
66
|
updatedAt: z.ZodDate;
|
67
67
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
68
68
|
systemName: z.ZodString;
|
69
|
+
displayName: z.ZodString;
|
69
70
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
70
71
|
position: z.ZodNumber;
|
71
72
|
isDefault: z.ZodBoolean;
|
@@ -73,16 +74,19 @@ export declare const attributeContract: {
|
|
73
74
|
isRequired: z.ZodBoolean;
|
74
75
|
isUnique: z.ZodBoolean;
|
75
76
|
options: z.ZodArray<z.ZodObject<{
|
76
|
-
|
77
|
+
position: z.ZodNumber;
|
77
78
|
value: z.ZodString;
|
79
|
+
label: z.ZodString;
|
78
80
|
isDefault: z.ZodBoolean;
|
79
|
-
|
81
|
+
id: z.ZodString;
|
80
82
|
}, "strip", z.ZodTypeAny, {
|
83
|
+
id: string;
|
81
84
|
position: number;
|
82
85
|
value: string;
|
83
86
|
label: string;
|
84
87
|
isDefault: boolean;
|
85
88
|
}, {
|
89
|
+
id: string;
|
86
90
|
position: number;
|
87
91
|
value: string;
|
88
92
|
label: string;
|
@@ -115,6 +119,7 @@ export declare const attributeContract: {
|
|
115
119
|
id: string;
|
116
120
|
position: number;
|
117
121
|
options: {
|
122
|
+
id: string;
|
118
123
|
position: number;
|
119
124
|
value: string;
|
120
125
|
label: string;
|
@@ -133,6 +138,7 @@ export declare const attributeContract: {
|
|
133
138
|
deletedAt: Date | null;
|
134
139
|
isDefault: boolean;
|
135
140
|
systemName: string;
|
141
|
+
displayName: string;
|
136
142
|
isArchived: boolean;
|
137
143
|
isRequired: boolean;
|
138
144
|
isUnique: boolean;
|
@@ -141,6 +147,7 @@ export declare const attributeContract: {
|
|
141
147
|
id: string;
|
142
148
|
position: number;
|
143
149
|
options: {
|
150
|
+
id: string;
|
144
151
|
position: number;
|
145
152
|
value: string;
|
146
153
|
label: string;
|
@@ -159,6 +166,7 @@ export declare const attributeContract: {
|
|
159
166
|
deletedAt: Date | null;
|
160
167
|
isDefault: boolean;
|
161
168
|
systemName: string;
|
169
|
+
displayName: string;
|
162
170
|
isArchived: boolean;
|
163
171
|
isRequired: boolean;
|
164
172
|
isUnique: boolean;
|
@@ -170,6 +178,7 @@ export declare const attributeContract: {
|
|
170
178
|
id: string;
|
171
179
|
position: number;
|
172
180
|
options: {
|
181
|
+
id: string;
|
173
182
|
position: number;
|
174
183
|
value: string;
|
175
184
|
label: string;
|
@@ -188,6 +197,7 @@ export declare const attributeContract: {
|
|
188
197
|
deletedAt: Date | null;
|
189
198
|
isDefault: boolean;
|
190
199
|
systemName: string;
|
200
|
+
displayName: string;
|
191
201
|
isArchived: boolean;
|
192
202
|
isRequired: boolean;
|
193
203
|
isUnique: boolean;
|
@@ -199,6 +209,7 @@ export declare const attributeContract: {
|
|
199
209
|
id: string;
|
200
210
|
position: number;
|
201
211
|
options: {
|
212
|
+
id: string;
|
202
213
|
position: number;
|
203
214
|
value: string;
|
204
215
|
label: string;
|
@@ -217,6 +228,7 @@ export declare const attributeContract: {
|
|
217
228
|
deletedAt: Date | null;
|
218
229
|
isDefault: boolean;
|
219
230
|
systemName: string;
|
231
|
+
displayName: string;
|
220
232
|
isArchived: boolean;
|
221
233
|
isRequired: boolean;
|
222
234
|
isUnique: boolean;
|
@@ -266,6 +278,7 @@ export declare const attributeContract: {
|
|
266
278
|
updatedAt: z.ZodDate;
|
267
279
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
268
280
|
systemName: z.ZodString;
|
281
|
+
displayName: z.ZodString;
|
269
282
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
270
283
|
position: z.ZodNumber;
|
271
284
|
isDefault: z.ZodBoolean;
|
@@ -273,16 +286,19 @@ export declare const attributeContract: {
|
|
273
286
|
isRequired: z.ZodBoolean;
|
274
287
|
isUnique: z.ZodBoolean;
|
275
288
|
options: z.ZodArray<z.ZodObject<{
|
276
|
-
|
289
|
+
position: z.ZodNumber;
|
277
290
|
value: z.ZodString;
|
291
|
+
label: z.ZodString;
|
278
292
|
isDefault: z.ZodBoolean;
|
279
|
-
|
293
|
+
id: z.ZodString;
|
280
294
|
}, "strip", z.ZodTypeAny, {
|
295
|
+
id: string;
|
281
296
|
position: number;
|
282
297
|
value: string;
|
283
298
|
label: string;
|
284
299
|
isDefault: boolean;
|
285
300
|
}, {
|
301
|
+
id: string;
|
286
302
|
position: number;
|
287
303
|
value: string;
|
288
304
|
label: string;
|
@@ -315,6 +331,7 @@ export declare const attributeContract: {
|
|
315
331
|
id: string;
|
316
332
|
position: number;
|
317
333
|
options: {
|
334
|
+
id: string;
|
318
335
|
position: number;
|
319
336
|
value: string;
|
320
337
|
label: string;
|
@@ -333,6 +350,7 @@ export declare const attributeContract: {
|
|
333
350
|
deletedAt: Date | null;
|
334
351
|
isDefault: boolean;
|
335
352
|
systemName: string;
|
353
|
+
displayName: string;
|
336
354
|
isArchived: boolean;
|
337
355
|
isRequired: boolean;
|
338
356
|
isUnique: boolean;
|
@@ -341,6 +359,7 @@ export declare const attributeContract: {
|
|
341
359
|
id: string;
|
342
360
|
position: number;
|
343
361
|
options: {
|
362
|
+
id: string;
|
344
363
|
position: number;
|
345
364
|
value: string;
|
346
365
|
label: string;
|
@@ -359,6 +378,7 @@ export declare const attributeContract: {
|
|
359
378
|
deletedAt: Date | null;
|
360
379
|
isDefault: boolean;
|
361
380
|
systemName: string;
|
381
|
+
displayName: string;
|
362
382
|
isArchived: boolean;
|
363
383
|
isRequired: boolean;
|
364
384
|
isUnique: boolean;
|
@@ -369,6 +389,7 @@ export declare const attributeContract: {
|
|
369
389
|
id: string;
|
370
390
|
position: number;
|
371
391
|
options: {
|
392
|
+
id: string;
|
372
393
|
position: number;
|
373
394
|
value: string;
|
374
395
|
label: string;
|
@@ -387,6 +408,7 @@ export declare const attributeContract: {
|
|
387
408
|
deletedAt: Date | null;
|
388
409
|
isDefault: boolean;
|
389
410
|
systemName: string;
|
411
|
+
displayName: string;
|
390
412
|
isArchived: boolean;
|
391
413
|
isRequired: boolean;
|
392
414
|
isUnique: boolean;
|
@@ -398,6 +420,7 @@ export declare const attributeContract: {
|
|
398
420
|
id: string;
|
399
421
|
position: number;
|
400
422
|
options: {
|
423
|
+
id: string;
|
401
424
|
position: number;
|
402
425
|
value: string;
|
403
426
|
label: string;
|
@@ -416,6 +439,7 @@ export declare const attributeContract: {
|
|
416
439
|
deletedAt: Date | null;
|
417
440
|
isDefault: boolean;
|
418
441
|
systemName: string;
|
442
|
+
displayName: string;
|
419
443
|
isArchived: boolean;
|
420
444
|
isRequired: boolean;
|
421
445
|
isUnique: boolean;
|
@@ -510,6 +534,7 @@ export declare const attributeContract: {
|
|
510
534
|
updatedAt: z.ZodDate;
|
511
535
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
512
536
|
systemName: z.ZodString;
|
537
|
+
displayName: z.ZodString;
|
513
538
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
514
539
|
position: z.ZodNumber;
|
515
540
|
isDefault: z.ZodBoolean;
|
@@ -517,16 +542,19 @@ export declare const attributeContract: {
|
|
517
542
|
isRequired: z.ZodBoolean;
|
518
543
|
isUnique: z.ZodBoolean;
|
519
544
|
options: z.ZodArray<z.ZodObject<{
|
520
|
-
|
545
|
+
position: z.ZodNumber;
|
521
546
|
value: z.ZodString;
|
547
|
+
label: z.ZodString;
|
522
548
|
isDefault: z.ZodBoolean;
|
523
|
-
|
549
|
+
id: z.ZodString;
|
524
550
|
}, "strip", z.ZodTypeAny, {
|
551
|
+
id: string;
|
525
552
|
position: number;
|
526
553
|
value: string;
|
527
554
|
label: string;
|
528
555
|
isDefault: boolean;
|
529
556
|
}, {
|
557
|
+
id: string;
|
530
558
|
position: number;
|
531
559
|
value: string;
|
532
560
|
label: string;
|
@@ -559,6 +587,7 @@ export declare const attributeContract: {
|
|
559
587
|
id: string;
|
560
588
|
position: number;
|
561
589
|
options: {
|
590
|
+
id: string;
|
562
591
|
position: number;
|
563
592
|
value: string;
|
564
593
|
label: string;
|
@@ -577,6 +606,7 @@ export declare const attributeContract: {
|
|
577
606
|
deletedAt: Date | null;
|
578
607
|
isDefault: boolean;
|
579
608
|
systemName: string;
|
609
|
+
displayName: string;
|
580
610
|
isArchived: boolean;
|
581
611
|
isRequired: boolean;
|
582
612
|
isUnique: boolean;
|
@@ -585,6 +615,7 @@ export declare const attributeContract: {
|
|
585
615
|
id: string;
|
586
616
|
position: number;
|
587
617
|
options: {
|
618
|
+
id: string;
|
588
619
|
position: number;
|
589
620
|
value: string;
|
590
621
|
label: string;
|
@@ -603,6 +634,7 @@ export declare const attributeContract: {
|
|
603
634
|
deletedAt: Date | null;
|
604
635
|
isDefault: boolean;
|
605
636
|
systemName: string;
|
637
|
+
displayName: string;
|
606
638
|
isArchived: boolean;
|
607
639
|
isRequired: boolean;
|
608
640
|
isUnique: boolean;
|
@@ -614,6 +646,7 @@ export declare const attributeContract: {
|
|
614
646
|
id: string;
|
615
647
|
position: number;
|
616
648
|
options: {
|
649
|
+
id: string;
|
617
650
|
position: number;
|
618
651
|
value: string;
|
619
652
|
label: string;
|
@@ -632,6 +665,7 @@ export declare const attributeContract: {
|
|
632
665
|
deletedAt: Date | null;
|
633
666
|
isDefault: boolean;
|
634
667
|
systemName: string;
|
668
|
+
displayName: string;
|
635
669
|
isArchived: boolean;
|
636
670
|
isRequired: boolean;
|
637
671
|
isUnique: boolean;
|
@@ -643,6 +677,7 @@ export declare const attributeContract: {
|
|
643
677
|
id: string;
|
644
678
|
position: number;
|
645
679
|
options: {
|
680
|
+
id: string;
|
646
681
|
position: number;
|
647
682
|
value: string;
|
648
683
|
label: string;
|
@@ -661,6 +696,7 @@ export declare const attributeContract: {
|
|
661
696
|
deletedAt: Date | null;
|
662
697
|
isDefault: boolean;
|
663
698
|
systemName: string;
|
699
|
+
displayName: string;
|
664
700
|
isArchived: boolean;
|
665
701
|
isRequired: boolean;
|
666
702
|
isUnique: boolean;
|
@@ -812,7 +848,7 @@ export declare const attributeContract: {
|
|
812
848
|
attributeId: string;
|
813
849
|
}[];
|
814
850
|
}>;
|
815
|
-
method: "
|
851
|
+
method: "POST";
|
816
852
|
responses: {
|
817
853
|
200: z.ZodObject<{
|
818
854
|
requestId: z.ZodString;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/attribute/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAA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: z.ZodDate;
|
23
23
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
24
24
|
systemName: z.ZodString;
|
25
|
+
displayName: z.ZodString;
|
25
26
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
26
27
|
position: z.ZodNumber;
|
27
28
|
isDefault: z.ZodBoolean;
|
@@ -29,16 +30,19 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
29
30
|
isRequired: z.ZodBoolean;
|
30
31
|
isUnique: z.ZodBoolean;
|
31
32
|
options: z.ZodArray<z.ZodObject<{
|
32
|
-
|
33
|
+
position: z.ZodNumber;
|
33
34
|
value: z.ZodString;
|
35
|
+
label: z.ZodString;
|
34
36
|
isDefault: z.ZodBoolean;
|
35
|
-
|
37
|
+
id: z.ZodString;
|
36
38
|
}, "strip", z.ZodTypeAny, {
|
39
|
+
id: string;
|
37
40
|
position: number;
|
38
41
|
value: string;
|
39
42
|
label: string;
|
40
43
|
isDefault: boolean;
|
41
44
|
}, {
|
45
|
+
id: string;
|
42
46
|
position: number;
|
43
47
|
value: string;
|
44
48
|
label: string;
|
@@ -71,6 +75,7 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
71
75
|
id: string;
|
72
76
|
position: number;
|
73
77
|
options: {
|
78
|
+
id: string;
|
74
79
|
position: number;
|
75
80
|
value: string;
|
76
81
|
label: string;
|
@@ -89,6 +94,7 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
89
94
|
deletedAt: Date | null;
|
90
95
|
isDefault: boolean;
|
91
96
|
systemName: string;
|
97
|
+
displayName: string;
|
92
98
|
isArchived: boolean;
|
93
99
|
isRequired: boolean;
|
94
100
|
isUnique: boolean;
|
@@ -97,6 +103,7 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
97
103
|
id: string;
|
98
104
|
position: number;
|
99
105
|
options: {
|
106
|
+
id: string;
|
100
107
|
position: number;
|
101
108
|
value: string;
|
102
109
|
label: string;
|
@@ -115,6 +122,7 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
115
122
|
deletedAt: Date | null;
|
116
123
|
isDefault: boolean;
|
117
124
|
systemName: string;
|
125
|
+
displayName: string;
|
118
126
|
isArchived: boolean;
|
119
127
|
isRequired: boolean;
|
120
128
|
isUnique: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/attribute/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,mBAAmB,8JAO9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAOH,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/attribute/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,mBAAmB,8JAO9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAOH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAC"}
|
@@ -0,0 +1,177 @@
|
|
1
|
+
export declare const awsContract: {
|
2
|
+
generatePresignedUrl: {
|
3
|
+
body: import("zod").ZodObject<{
|
4
|
+
fileName: import("zod").ZodString;
|
5
|
+
fileType: import("zod").ZodString;
|
6
|
+
moduleName: import("zod").ZodString;
|
7
|
+
}, "strip", import("zod").ZodTypeAny, {
|
8
|
+
fileName: string;
|
9
|
+
fileType: string;
|
10
|
+
moduleName: string;
|
11
|
+
}, {
|
12
|
+
fileName: string;
|
13
|
+
fileType: string;
|
14
|
+
moduleName: string;
|
15
|
+
}>;
|
16
|
+
summary: "Generate a presigned url";
|
17
|
+
method: "POST";
|
18
|
+
responses: {
|
19
|
+
500: import("zod").ZodObject<{
|
20
|
+
message: import("zod").ZodString;
|
21
|
+
error: import("zod").ZodAny;
|
22
|
+
}, "strip", import("zod").ZodTypeAny, {
|
23
|
+
message: string;
|
24
|
+
error?: any;
|
25
|
+
}, {
|
26
|
+
message: string;
|
27
|
+
error?: any;
|
28
|
+
}>;
|
29
|
+
401: import("zod").ZodObject<{
|
30
|
+
message: import("zod").ZodString;
|
31
|
+
error: import("zod").ZodAny;
|
32
|
+
}, "strip", import("zod").ZodTypeAny, {
|
33
|
+
message: string;
|
34
|
+
error?: any;
|
35
|
+
}, {
|
36
|
+
message: string;
|
37
|
+
error?: any;
|
38
|
+
}>;
|
39
|
+
404: import("zod").ZodObject<{
|
40
|
+
message: import("zod").ZodString;
|
41
|
+
error: import("zod").ZodAny;
|
42
|
+
}, "strip", import("zod").ZodTypeAny, {
|
43
|
+
message: string;
|
44
|
+
error?: any;
|
45
|
+
}, {
|
46
|
+
message: string;
|
47
|
+
error?: any;
|
48
|
+
}>;
|
49
|
+
422: import("zod").ZodObject<{
|
50
|
+
message: import("zod").ZodString;
|
51
|
+
error: import("zod").ZodAny;
|
52
|
+
}, "strip", import("zod").ZodTypeAny, {
|
53
|
+
message: string;
|
54
|
+
error?: any;
|
55
|
+
}, {
|
56
|
+
message: string;
|
57
|
+
error?: any;
|
58
|
+
}>;
|
59
|
+
200: import("zod").ZodObject<{
|
60
|
+
requestId: import("zod").ZodString;
|
61
|
+
data: import("zod").ZodObject<{
|
62
|
+
fileName: import("zod").ZodString;
|
63
|
+
fileKey: import("zod").ZodString;
|
64
|
+
bucketName: import("zod").ZodString;
|
65
|
+
url: import("zod").ZodString;
|
66
|
+
cfUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
67
|
+
}, "strip", import("zod").ZodTypeAny, {
|
68
|
+
url: string;
|
69
|
+
bucketName: string;
|
70
|
+
fileName: string;
|
71
|
+
fileKey: string;
|
72
|
+
cfUrl: string | null;
|
73
|
+
}, {
|
74
|
+
url: string;
|
75
|
+
bucketName: string;
|
76
|
+
fileName: string;
|
77
|
+
fileKey: string;
|
78
|
+
cfUrl: string | null;
|
79
|
+
}>;
|
80
|
+
}, "strip", import("zod").ZodTypeAny, {
|
81
|
+
data: {
|
82
|
+
url: string;
|
83
|
+
bucketName: string;
|
84
|
+
fileName: string;
|
85
|
+
fileKey: string;
|
86
|
+
cfUrl: string | null;
|
87
|
+
};
|
88
|
+
requestId: string;
|
89
|
+
}, {
|
90
|
+
data: {
|
91
|
+
url: string;
|
92
|
+
bucketName: string;
|
93
|
+
fileName: string;
|
94
|
+
fileKey: string;
|
95
|
+
cfUrl: string | null;
|
96
|
+
};
|
97
|
+
requestId: string;
|
98
|
+
}>;
|
99
|
+
};
|
100
|
+
path: "aws/s3/presigned-url";
|
101
|
+
};
|
102
|
+
generateSignedUrl: {
|
103
|
+
body: import("zod").ZodObject<{
|
104
|
+
fileKey: import("zod").ZodString;
|
105
|
+
}, "strip", import("zod").ZodTypeAny, {
|
106
|
+
fileKey: string;
|
107
|
+
}, {
|
108
|
+
fileKey: string;
|
109
|
+
}>;
|
110
|
+
summary: "Generate a signed url using file key";
|
111
|
+
method: "POST";
|
112
|
+
responses: {
|
113
|
+
500: import("zod").ZodObject<{
|
114
|
+
message: import("zod").ZodString;
|
115
|
+
error: import("zod").ZodAny;
|
116
|
+
}, "strip", import("zod").ZodTypeAny, {
|
117
|
+
message: string;
|
118
|
+
error?: any;
|
119
|
+
}, {
|
120
|
+
message: string;
|
121
|
+
error?: any;
|
122
|
+
}>;
|
123
|
+
401: import("zod").ZodObject<{
|
124
|
+
message: import("zod").ZodString;
|
125
|
+
error: import("zod").ZodAny;
|
126
|
+
}, "strip", import("zod").ZodTypeAny, {
|
127
|
+
message: string;
|
128
|
+
error?: any;
|
129
|
+
}, {
|
130
|
+
message: string;
|
131
|
+
error?: any;
|
132
|
+
}>;
|
133
|
+
404: import("zod").ZodObject<{
|
134
|
+
message: import("zod").ZodString;
|
135
|
+
error: import("zod").ZodAny;
|
136
|
+
}, "strip", import("zod").ZodTypeAny, {
|
137
|
+
message: string;
|
138
|
+
error?: any;
|
139
|
+
}, {
|
140
|
+
message: string;
|
141
|
+
error?: any;
|
142
|
+
}>;
|
143
|
+
422: import("zod").ZodObject<{
|
144
|
+
message: import("zod").ZodString;
|
145
|
+
error: import("zod").ZodAny;
|
146
|
+
}, "strip", import("zod").ZodTypeAny, {
|
147
|
+
message: string;
|
148
|
+
error?: any;
|
149
|
+
}, {
|
150
|
+
message: string;
|
151
|
+
error?: any;
|
152
|
+
}>;
|
153
|
+
200: import("zod").ZodObject<{
|
154
|
+
requestId: import("zod").ZodString;
|
155
|
+
data: import("zod").ZodObject<{
|
156
|
+
url: import("zod").ZodString;
|
157
|
+
}, "strip", import("zod").ZodTypeAny, {
|
158
|
+
url: string;
|
159
|
+
}, {
|
160
|
+
url: string;
|
161
|
+
}>;
|
162
|
+
}, "strip", import("zod").ZodTypeAny, {
|
163
|
+
data: {
|
164
|
+
url: string;
|
165
|
+
};
|
166
|
+
requestId: string;
|
167
|
+
}, {
|
168
|
+
data: {
|
169
|
+
url: string;
|
170
|
+
};
|
171
|
+
requestId: string;
|
172
|
+
}>;
|
173
|
+
};
|
174
|
+
path: "aws/s3/signed-url";
|
175
|
+
};
|
176
|
+
};
|
177
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/aws/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvB,CAAC"}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const AwsContractsValidationSchema: {
|
3
|
+
generatePresignedUrl: {
|
4
|
+
input: z.ZodObject<{
|
5
|
+
fileName: z.ZodString;
|
6
|
+
fileType: z.ZodString;
|
7
|
+
moduleName: z.ZodString;
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
9
|
+
fileName: string;
|
10
|
+
fileType: string;
|
11
|
+
moduleName: string;
|
12
|
+
}, {
|
13
|
+
fileName: string;
|
14
|
+
fileType: string;
|
15
|
+
moduleName: string;
|
16
|
+
}>;
|
17
|
+
output: z.ZodObject<{
|
18
|
+
fileName: z.ZodString;
|
19
|
+
fileKey: z.ZodString;
|
20
|
+
bucketName: z.ZodString;
|
21
|
+
url: z.ZodString;
|
22
|
+
cfUrl: z.ZodNullable<z.ZodString>;
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
24
|
+
url: string;
|
25
|
+
bucketName: string;
|
26
|
+
fileName: string;
|
27
|
+
fileKey: string;
|
28
|
+
cfUrl: string | null;
|
29
|
+
}, {
|
30
|
+
url: string;
|
31
|
+
bucketName: string;
|
32
|
+
fileName: string;
|
33
|
+
fileKey: string;
|
34
|
+
cfUrl: string | null;
|
35
|
+
}>;
|
36
|
+
};
|
37
|
+
generateSignedUrl: {
|
38
|
+
input: z.ZodObject<{
|
39
|
+
fileKey: z.ZodString;
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
41
|
+
fileKey: string;
|
42
|
+
}, {
|
43
|
+
fileKey: string;
|
44
|
+
}>;
|
45
|
+
output: z.ZodObject<{
|
46
|
+
url: z.ZodString;
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
48
|
+
url: string;
|
49
|
+
}, {
|
50
|
+
url: string;
|
51
|
+
}>;
|
52
|
+
};
|
53
|
+
};
|
54
|
+
export type GeneratePresignedUrlQuery = z.infer<typeof AwsContractsValidationSchema.generatePresignedUrl.input>;
|
55
|
+
export type GeneratePresignedUrlResponse = z.infer<typeof AwsContractsValidationSchema.generatePresignedUrl.output>;
|
56
|
+
export type GenerateSignedUrlQuery = z.infer<typeof AwsContractsValidationSchema.generateSignedUrl.input>;
|
57
|
+
export type GenerateSignedUrlResponse = z.infer<typeof AwsContractsValidationSchema.generateSignedUrl.output>;
|
58
|
+
//# sourceMappingURL=validation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/aws/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBxC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,4BAA4B,CAAC,oBAAoB,CAAC,KAAK,CAC/D,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CAAC,oBAAoB,CAAC,MAAM,CAChE,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CAAC,iBAAiB,CAAC,KAAK,CAC5D,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,4BAA4B,CAAC,iBAAiB,CAAC,MAAM,CAC7D,CAAC"}
|
@@ -27,10 +27,10 @@ export declare const CallLogSchema: z.ZodObject<{
|
|
27
27
|
contactId: string;
|
28
28
|
uploadId: string;
|
29
29
|
extensionId: string;
|
30
|
-
cxLog: string;
|
31
|
-
uniqueCallId: string;
|
32
30
|
callFrom: string;
|
33
31
|
callTo: string;
|
32
|
+
cxLog: string;
|
33
|
+
uniqueCallId: string;
|
34
34
|
duration: number;
|
35
35
|
isQueueMissedCall: boolean;
|
36
36
|
isNewCallLog: boolean;
|
@@ -45,10 +45,10 @@ export declare const CallLogSchema: z.ZodObject<{
|
|
45
45
|
contactId: string;
|
46
46
|
uploadId: string;
|
47
47
|
extensionId: string;
|
48
|
-
cxLog: string;
|
49
|
-
uniqueCallId: string;
|
50
48
|
callFrom: string;
|
51
49
|
callTo: string;
|
50
|
+
cxLog: string;
|
51
|
+
uniqueCallId: string;
|
52
52
|
duration: number;
|
53
53
|
isQueueMissedCall: boolean;
|
54
54
|
isNewCallLog: boolean;
|
@@ -9,16 +9,16 @@ export declare const UpdateCallIdSchema: z.ZodObject<{
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
10
|
status: string;
|
11
11
|
channelId: string;
|
12
|
-
uniqueCallId: string;
|
13
12
|
callFrom: string;
|
14
13
|
callTo: string;
|
14
|
+
uniqueCallId: string;
|
15
15
|
queueNumber: string | null;
|
16
16
|
}, {
|
17
17
|
status: string;
|
18
18
|
channelId: string;
|
19
|
-
uniqueCallId: string;
|
20
19
|
callFrom: string;
|
21
20
|
callTo: string;
|
21
|
+
uniqueCallId: string;
|
22
22
|
queueNumber: string | null;
|
23
23
|
}>;
|
24
24
|
//# sourceMappingURL=validation.d.ts.map
|