@kl1/contracts 1.1.39 → 1.1.40
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/api-contracts/src/chat/index.d.ts +47 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- 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 +32 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -12987,6 +12987,68 @@ export declare const apiContract: {
|
|
12987
12987
|
'x-client-timezone'?: string | undefined;
|
12988
12988
|
}>>>;
|
12989
12989
|
};
|
12990
|
+
getCallCounts: {
|
12991
|
+
method: "GET";
|
12992
|
+
query: import("zod").ZodObject<{
|
12993
|
+
agentIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
12994
|
+
userId: import("zod").ZodOptional<import("zod").ZodString>;
|
12995
|
+
types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
12996
|
+
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
12997
|
+
}, "strip", import("zod").ZodTypeAny, {
|
12998
|
+
agentIds?: string[] | undefined;
|
12999
|
+
userId?: string | undefined;
|
13000
|
+
types?: string[] | undefined;
|
13001
|
+
selectedDate?: string | undefined;
|
13002
|
+
}, {
|
13003
|
+
agentIds?: string[] | undefined;
|
13004
|
+
userId?: string | undefined;
|
13005
|
+
types?: string[] | undefined;
|
13006
|
+
selectedDate?: string | undefined;
|
13007
|
+
}>;
|
13008
|
+
responses: {
|
13009
|
+
200: import("zod").ZodObject<{
|
13010
|
+
requestId: import("zod").ZodString;
|
13011
|
+
callCounts: import("zod").ZodObject<{
|
13012
|
+
answeredCallCount: import("zod").ZodNumber;
|
13013
|
+
noAnswerCallCount: import("zod").ZodNumber;
|
13014
|
+
busyCallCount: import("zod").ZodNumber;
|
13015
|
+
failedCallCount: import("zod").ZodNumber;
|
13016
|
+
totalCallCount: import("zod").ZodNumber;
|
13017
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13018
|
+
totalCallCount: number;
|
13019
|
+
answeredCallCount: number;
|
13020
|
+
noAnswerCallCount: number;
|
13021
|
+
busyCallCount: number;
|
13022
|
+
failedCallCount: number;
|
13023
|
+
}, {
|
13024
|
+
totalCallCount: number;
|
13025
|
+
answeredCallCount: number;
|
13026
|
+
noAnswerCallCount: number;
|
13027
|
+
busyCallCount: number;
|
13028
|
+
failedCallCount: number;
|
13029
|
+
}>;
|
13030
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13031
|
+
requestId: string;
|
13032
|
+
callCounts: {
|
13033
|
+
totalCallCount: number;
|
13034
|
+
answeredCallCount: number;
|
13035
|
+
noAnswerCallCount: number;
|
13036
|
+
busyCallCount: number;
|
13037
|
+
failedCallCount: number;
|
13038
|
+
};
|
13039
|
+
}, {
|
13040
|
+
requestId: string;
|
13041
|
+
callCounts: {
|
13042
|
+
totalCallCount: number;
|
13043
|
+
answeredCallCount: number;
|
13044
|
+
noAnswerCallCount: number;
|
13045
|
+
busyCallCount: number;
|
13046
|
+
failedCallCount: number;
|
13047
|
+
};
|
13048
|
+
}>;
|
13049
|
+
};
|
13050
|
+
path: "dashboard/call-counts";
|
13051
|
+
};
|
12990
13052
|
};
|
12991
13053
|
permission: {
|
12992
13054
|
getPermissions: {
|