@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
@@ -1,9 +1,10 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
import { CategorySchema } from './schema';
|
2
|
+
import { CategoryLevelObjectSchema, CategorySchema } from './schema';
|
3
3
|
import { CreateCategoryLevelSchema, CreateCategorySchema, UpdateCategoryLevelSchema, UpdateCategorySchema } from './validation';
|
4
4
|
export type CreateCategoryRequest = z.infer<typeof CreateCategorySchema>;
|
5
5
|
export type UpdateCategoryRequest = z.infer<typeof UpdateCategorySchema>;
|
6
6
|
export type Category = z.infer<typeof CategorySchema>;
|
7
|
+
export type CategoryLevel = z.infer<typeof CategoryLevelObjectSchema>;
|
7
8
|
export type CreateCategoryLevelRequest = z.infer<typeof CreateCategoryLevelSchema>;
|
8
9
|
export type UpdateCategoryLevelRequest = z.infer<typeof UpdateCategoryLevelSchema>;
|
9
10
|
export declare const categoryContract: {
|
@@ -637,17 +638,60 @@ export declare const categoryContract: {
|
|
637
638
|
authorization: string;
|
638
639
|
}>>>;
|
639
640
|
};
|
641
|
+
getCategoryLevels: {
|
642
|
+
method: "GET";
|
643
|
+
responses: {
|
644
|
+
200: z.ZodObject<{
|
645
|
+
requestId: z.ZodString;
|
646
|
+
data: z.ZodArray<z.ZodObject<{
|
647
|
+
id: z.ZodString;
|
648
|
+
name: z.ZodString;
|
649
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
651
|
+
id: string;
|
652
|
+
name: string;
|
653
|
+
level: 2 | 1 | 3;
|
654
|
+
}, {
|
655
|
+
id: string;
|
656
|
+
name: string;
|
657
|
+
level: 2 | 1 | 3;
|
658
|
+
}>, "many">;
|
659
|
+
}, "strip", z.ZodTypeAny, {
|
660
|
+
data: {
|
661
|
+
id: string;
|
662
|
+
name: string;
|
663
|
+
level: 2 | 1 | 3;
|
664
|
+
}[];
|
665
|
+
requestId: string;
|
666
|
+
}, {
|
667
|
+
data: {
|
668
|
+
id: string;
|
669
|
+
name: string;
|
670
|
+
level: 2 | 1 | 3;
|
671
|
+
}[];
|
672
|
+
requestId: string;
|
673
|
+
}>;
|
674
|
+
500: z.ZodObject<{
|
675
|
+
message: z.ZodString;
|
676
|
+
error: z.ZodAny;
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
678
|
+
message: string;
|
679
|
+
error?: any;
|
680
|
+
}, {
|
681
|
+
message: string;
|
682
|
+
error?: any;
|
683
|
+
}>;
|
684
|
+
};
|
685
|
+
path: "categories/level";
|
686
|
+
};
|
640
687
|
updateCategoryLevel: {
|
641
688
|
body: z.ZodObject<{
|
642
|
-
id: z.ZodString;
|
643
689
|
name: z.ZodString;
|
644
690
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
645
691
|
}, "strip", z.ZodTypeAny, {
|
646
|
-
id: string;
|
647
692
|
name: string;
|
648
693
|
level: 2 | 1 | 3;
|
649
694
|
}, {
|
650
|
-
id: string;
|
651
695
|
name: string;
|
652
696
|
level: 2 | 1 | 3;
|
653
697
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/category/index.ts"],"names":[],"mapp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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6F5B,CAAC"}
|
@@ -30,15 +30,12 @@ export declare const CreateCategoryLevelSchema: z.ZodObject<{
|
|
30
30
|
level: 2 | 1 | 3;
|
31
31
|
}>;
|
32
32
|
export declare const UpdateCategoryLevelSchema: z.ZodObject<{
|
33
|
-
id: z.ZodString;
|
34
33
|
name: z.ZodString;
|
35
34
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
36
35
|
}, "strip", z.ZodTypeAny, {
|
37
|
-
id: string;
|
38
36
|
name: string;
|
39
37
|
level: 2 | 1 | 3;
|
40
38
|
}, {
|
41
|
-
id: string;
|
42
39
|
name: string;
|
43
40
|
level: 2 | 1 | 3;
|
44
41
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/category/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;EAAkC,CAAC;AAEpE,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,eAAO,MAAM,yBAAyB
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/category/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;EAAkC,CAAC;AAEpE,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC"}
|