@kl1/contracts 1.1.97-uat → 1.1.98-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/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 +23 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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: {
|