@kl1/contracts 1.1.53-uat → 1.1.54-uat
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 +28 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -0
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +295 -0
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +45 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/role/index.d.ts +125 -0
- package/dist/src/role/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -9031,6 +9031,51 @@ export declare const cxLogContract: {
|
|
9031
9031
|
'x-client-timezone'?: string | undefined;
|
9032
9032
|
}>>>;
|
9033
9033
|
};
|
9034
|
+
syncSla: {
|
9035
|
+
body: null;
|
9036
|
+
summary: "Export cx-logs";
|
9037
|
+
method: "POST";
|
9038
|
+
responses: {
|
9039
|
+
200: null;
|
9040
|
+
401: z.ZodObject<{
|
9041
|
+
message: z.ZodString;
|
9042
|
+
error: z.ZodAny;
|
9043
|
+
}, "strip", z.ZodTypeAny, {
|
9044
|
+
message: string;
|
9045
|
+
error?: any;
|
9046
|
+
}, {
|
9047
|
+
message: string;
|
9048
|
+
error?: any;
|
9049
|
+
}>;
|
9050
|
+
500: z.ZodObject<{
|
9051
|
+
message: z.ZodString;
|
9052
|
+
error: z.ZodAny;
|
9053
|
+
}, "strip", z.ZodTypeAny, {
|
9054
|
+
message: string;
|
9055
|
+
error?: any;
|
9056
|
+
}, {
|
9057
|
+
message: string;
|
9058
|
+
error?: any;
|
9059
|
+
}>;
|
9060
|
+
};
|
9061
|
+
path: "/cx-logs/sync-sla";
|
9062
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9063
|
+
'x-tenant': z.ZodString;
|
9064
|
+
authorization: z.ZodString;
|
9065
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
9066
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
9067
|
+
}, "strip", z.ZodTypeAny, {
|
9068
|
+
'x-tenant': string;
|
9069
|
+
authorization: string;
|
9070
|
+
'x-client-timezone': string;
|
9071
|
+
'x-code'?: string | undefined;
|
9072
|
+
}, {
|
9073
|
+
'x-tenant': string;
|
9074
|
+
authorization: string;
|
9075
|
+
'x-code'?: string | undefined;
|
9076
|
+
'x-client-timezone'?: string | undefined;
|
9077
|
+
}>>>;
|
9078
|
+
};
|
9034
9079
|
updateSla: {
|
9035
9080
|
body: z.ZodObject<{
|
9036
9081
|
roomId: z.ZodString;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cx-log/index.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,KAAK,CAAC;AAQpB,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAE9E,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cx-log/index.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,KAAK,CAAC;AAQpB,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAE9E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;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564
|
};
|
565
|
+
getRoleById: {
|
566
|
+
summary: "Get role by Id";
|
567
|
+
method: "GET";
|
568
|
+
pathParams: z.ZodObject<{
|
569
|
+
id: z.ZodString;
|
570
|
+
}, "strip", z.ZodTypeAny, {
|
571
|
+
id: string;
|
572
|
+
}, {
|
573
|
+
id: string;
|
574
|
+
}>;
|
575
|
+
responses: {
|
576
|
+
200: z.ZodObject<{
|
577
|
+
id: z.ZodString;
|
578
|
+
createdAt: z.ZodDate;
|
579
|
+
updatedAt: z.ZodDate;
|
580
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
581
|
+
systemName: z.ZodString;
|
582
|
+
displayName: z.ZodString;
|
583
|
+
description: z.ZodNullable<z.ZodString>;
|
584
|
+
permissions: z.ZodArray<z.ZodObject<{
|
585
|
+
id: z.ZodString;
|
586
|
+
createdAt: z.ZodDate;
|
587
|
+
updatedAt: z.ZodDate;
|
588
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
589
|
+
systemName: z.ZodString;
|
590
|
+
displayName: z.ZodString;
|
591
|
+
description: z.ZodNullable<z.ZodString>;
|
592
|
+
}, "strip", z.ZodTypeAny, {
|
593
|
+
id: string;
|
594
|
+
description: string | null;
|
595
|
+
createdAt: Date;
|
596
|
+
updatedAt: Date;
|
597
|
+
deletedAt: Date | null;
|
598
|
+
systemName: string;
|
599
|
+
displayName: string;
|
600
|
+
}, {
|
601
|
+
id: string;
|
602
|
+
description: string | null;
|
603
|
+
createdAt: Date;
|
604
|
+
updatedAt: Date;
|
605
|
+
deletedAt: Date | null;
|
606
|
+
systemName: string;
|
607
|
+
displayName: string;
|
608
|
+
}>, "many">;
|
609
|
+
}, "strip", z.ZodTypeAny, {
|
610
|
+
id: string;
|
611
|
+
description: string | null;
|
612
|
+
createdAt: Date;
|
613
|
+
updatedAt: Date;
|
614
|
+
deletedAt: Date | null;
|
615
|
+
systemName: string;
|
616
|
+
displayName: string;
|
617
|
+
permissions: {
|
618
|
+
id: string;
|
619
|
+
description: string | null;
|
620
|
+
createdAt: Date;
|
621
|
+
updatedAt: Date;
|
622
|
+
deletedAt: Date | null;
|
623
|
+
systemName: string;
|
624
|
+
displayName: string;
|
625
|
+
}[];
|
626
|
+
}, {
|
627
|
+
id: string;
|
628
|
+
description: string | null;
|
629
|
+
createdAt: Date;
|
630
|
+
updatedAt: Date;
|
631
|
+
deletedAt: Date | null;
|
632
|
+
systemName: string;
|
633
|
+
displayName: string;
|
634
|
+
permissions: {
|
635
|
+
id: string;
|
636
|
+
description: string | null;
|
637
|
+
createdAt: Date;
|
638
|
+
updatedAt: Date;
|
639
|
+
deletedAt: Date | null;
|
640
|
+
systemName: string;
|
641
|
+
displayName: string;
|
642
|
+
}[];
|
643
|
+
}>;
|
644
|
+
400: z.ZodObject<{
|
645
|
+
message: z.ZodString;
|
646
|
+
}, "strip", z.ZodTypeAny, {
|
647
|
+
message: string;
|
648
|
+
}, {
|
649
|
+
message: string;
|
650
|
+
}>;
|
651
|
+
401: z.ZodObject<{
|
652
|
+
message: z.ZodString;
|
653
|
+
error: z.ZodAny;
|
654
|
+
}, "strip", z.ZodTypeAny, {
|
655
|
+
message: string;
|
656
|
+
error?: any;
|
657
|
+
}, {
|
658
|
+
message: string;
|
659
|
+
error?: any;
|
660
|
+
}>;
|
661
|
+
500: z.ZodObject<{
|
662
|
+
message: z.ZodString;
|
663
|
+
error: z.ZodAny;
|
664
|
+
}, "strip", z.ZodTypeAny, {
|
665
|
+
message: string;
|
666
|
+
error?: any;
|
667
|
+
}, {
|
668
|
+
message: string;
|
669
|
+
error?: any;
|
670
|
+
}>;
|
671
|
+
};
|
672
|
+
path: "role/:id";
|
673
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
674
|
+
'x-tenant': z.ZodString;
|
675
|
+
authorization: z.ZodString;
|
676
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
677
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
678
|
+
}, "strip", z.ZodTypeAny, {
|
679
|
+
'x-tenant': string;
|
680
|
+
authorization: string;
|
681
|
+
'x-client-timezone': string;
|
682
|
+
'x-code'?: string | undefined;
|
683
|
+
}, {
|
684
|
+
'x-tenant': string;
|
685
|
+
authorization: string;
|
686
|
+
'x-code'?: string | undefined;
|
687
|
+
'x-client-timezone'?: string | undefined;
|
688
|
+
}>>>;
|
689
|
+
};
|
565
690
|
};
|
566
691
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/role/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGlE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/role/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGlE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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