@kl1/contracts 1.1.96-uat → 1.1.98-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/chat/index.d.ts +3 -3
- package/dist/api-contracts/src/chat/validation.d.ts +3 -3
- package/dist/api-contracts/src/contract.d.ts +62 -0
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +64 -1
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +19 -0
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +16 -0
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/index.js +24 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -73843,7 +73843,7 @@ export declare const mainChatContract: {
|
|
73843
73843
|
};
|
73844
73844
|
initiateMessage: {
|
73845
73845
|
body: z.ZodObject<{
|
73846
|
-
platformContactId: z.ZodOptional<z.ZodString
|
73846
|
+
platformContactId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
73847
73847
|
channelId: z.ZodString;
|
73848
73848
|
contactId: z.ZodOptional<z.ZodString>;
|
73849
73849
|
message: z.ZodObject<{
|
@@ -73862,7 +73862,7 @@ export declare const mainChatContract: {
|
|
73862
73862
|
message?: string | undefined;
|
73863
73863
|
};
|
73864
73864
|
channelId: string;
|
73865
|
-
platformContactId?: string | undefined;
|
73865
|
+
platformContactId?: string | null | undefined;
|
73866
73866
|
contactId?: string | undefined;
|
73867
73867
|
}, {
|
73868
73868
|
message: {
|
@@ -73870,7 +73870,7 @@ export declare const mainChatContract: {
|
|
73870
73870
|
message?: string | undefined;
|
73871
73871
|
};
|
73872
73872
|
channelId: string;
|
73873
|
-
platformContactId?: string | undefined;
|
73873
|
+
platformContactId?: string | null | undefined;
|
73874
73874
|
contactId?: string | undefined;
|
73875
73875
|
}>;
|
73876
73876
|
method: "POST";
|
@@ -793,7 +793,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
793
793
|
} | undefined;
|
794
794
|
}>;
|
795
795
|
export declare const InitiateMessageSchema: z.ZodObject<{
|
796
|
-
platformContactId: z.ZodOptional<z.ZodString
|
796
|
+
platformContactId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
797
797
|
channelId: z.ZodString;
|
798
798
|
contactId: z.ZodOptional<z.ZodString>;
|
799
799
|
message: z.ZodObject<{
|
@@ -812,7 +812,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
812
812
|
message?: string | undefined;
|
813
813
|
};
|
814
814
|
channelId: string;
|
815
|
-
platformContactId?: string | undefined;
|
815
|
+
platformContactId?: string | null | undefined;
|
816
816
|
contactId?: string | undefined;
|
817
817
|
}, {
|
818
818
|
message: {
|
@@ -820,7 +820,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
|
|
820
820
|
message?: string | undefined;
|
821
821
|
};
|
822
822
|
channelId: string;
|
823
|
-
platformContactId?: string | undefined;
|
823
|
+
platformContactId?: string | null | undefined;
|
824
824
|
contactId?: string | undefined;
|
825
825
|
}>;
|
826
826
|
export declare const SolveRoomSchema: z.ZodObject<{
|
@@ -13007,6 +13007,68 @@ export declare const apiContract: {
|
|
13007
13007
|
'x-client-timezone'?: string | undefined;
|
13008
13008
|
}>>>;
|
13009
13009
|
};
|
13010
|
+
getCallCounts: {
|
13011
|
+
method: "GET";
|
13012
|
+
query: import("zod").ZodObject<{
|
13013
|
+
agentIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
13014
|
+
userId: import("zod").ZodOptional<import("zod").ZodString>;
|
13015
|
+
types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
13016
|
+
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
13017
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13018
|
+
agentIds?: string[] | undefined;
|
13019
|
+
userId?: string | undefined;
|
13020
|
+
types?: string[] | undefined;
|
13021
|
+
selectedDate?: string | undefined;
|
13022
|
+
}, {
|
13023
|
+
agentIds?: string[] | undefined;
|
13024
|
+
userId?: string | undefined;
|
13025
|
+
types?: string[] | undefined;
|
13026
|
+
selectedDate?: string | undefined;
|
13027
|
+
}>;
|
13028
|
+
responses: {
|
13029
|
+
200: import("zod").ZodObject<{
|
13030
|
+
requestId: import("zod").ZodString;
|
13031
|
+
callCounts: import("zod").ZodObject<{
|
13032
|
+
answeredCallCount: import("zod").ZodNumber;
|
13033
|
+
noAnswerCallCount: import("zod").ZodNumber;
|
13034
|
+
busyCallCount: import("zod").ZodNumber;
|
13035
|
+
failedCallCount: import("zod").ZodNumber;
|
13036
|
+
totalCallCount: import("zod").ZodNumber;
|
13037
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13038
|
+
totalCallCount: number;
|
13039
|
+
answeredCallCount: number;
|
13040
|
+
noAnswerCallCount: number;
|
13041
|
+
busyCallCount: number;
|
13042
|
+
failedCallCount: number;
|
13043
|
+
}, {
|
13044
|
+
totalCallCount: number;
|
13045
|
+
answeredCallCount: number;
|
13046
|
+
noAnswerCallCount: number;
|
13047
|
+
busyCallCount: number;
|
13048
|
+
failedCallCount: number;
|
13049
|
+
}>;
|
13050
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13051
|
+
requestId: string;
|
13052
|
+
callCounts: {
|
13053
|
+
totalCallCount: number;
|
13054
|
+
answeredCallCount: number;
|
13055
|
+
noAnswerCallCount: number;
|
13056
|
+
busyCallCount: number;
|
13057
|
+
failedCallCount: number;
|
13058
|
+
};
|
13059
|
+
}, {
|
13060
|
+
requestId: string;
|
13061
|
+
callCounts: {
|
13062
|
+
totalCallCount: number;
|
13063
|
+
answeredCallCount: number;
|
13064
|
+
noAnswerCallCount: number;
|
13065
|
+
busyCallCount: number;
|
13066
|
+
failedCallCount: number;
|
13067
|
+
};
|
13068
|
+
}>;
|
13069
|
+
};
|
13070
|
+
path: "dashboard/call-counts";
|
13071
|
+
};
|
13010
13072
|
};
|
13011
13073
|
permission: {
|
13012
13074
|
getPermissions: {
|