@kl1/contracts 1.2.26-uat → 1.2.27-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/activity-log/index.d.ts +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +38 -38
- package/dist/api-contracts/src/channel/validation.d.ts +52 -52
- package/dist/api-contracts/src/chat/index.d.ts +14634 -14201
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +136 -109
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +686 -568
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +299 -218
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +23919 -22617
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +118 -112
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1469 -1419
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +98 -98
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +461 -416
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +84 -81
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +88 -83
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +209 -154
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +71 -49
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1214 -1149
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +722 -623
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -2
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +4242 -4219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4239 -4217
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -36,22 +36,41 @@ export declare const dashboardContract: {
|
|
|
36
36
|
getDashboardData: {
|
|
37
37
|
summary: "Get all dashboard";
|
|
38
38
|
method: "GET";
|
|
39
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
40
|
-
selectedDate: z.ZodString;
|
|
39
|
+
query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
41
40
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
41
|
+
selectedDate: z.ZodString;
|
|
42
|
+
}, {
|
|
42
43
|
agentId: z.ZodOptional<z.ZodString>;
|
|
43
|
-
}
|
|
44
|
+
}>, "strip", z.ZodTypeAny, {
|
|
44
45
|
selectedDate: string;
|
|
45
|
-
channelIds?: string[] | undefined;
|
|
46
46
|
agentId?: string | undefined;
|
|
47
|
+
channelIds?: string[] | undefined;
|
|
47
48
|
}, {
|
|
48
49
|
selectedDate: string;
|
|
49
|
-
channelIds?: string[] | undefined;
|
|
50
50
|
agentId?: string | undefined;
|
|
51
|
+
channelIds?: string[] | undefined;
|
|
51
52
|
}>>;
|
|
53
|
+
path: "dashboard";
|
|
54
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
55
|
+
'x-tenant': z.ZodString;
|
|
56
|
+
authorization: z.ZodString;
|
|
57
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
58
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
'x-tenant': string;
|
|
61
|
+
authorization: string;
|
|
62
|
+
'x-client-timezone': string;
|
|
63
|
+
'x-code'?: string | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
'x-tenant': string;
|
|
66
|
+
authorization: string;
|
|
67
|
+
'x-code'?: string | undefined;
|
|
68
|
+
'x-client-timezone'?: string | undefined;
|
|
69
|
+
}>>>;
|
|
52
70
|
responses: {
|
|
53
|
-
200: z.ZodObject<{
|
|
71
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
54
72
|
requestId: z.ZodString;
|
|
73
|
+
}, {
|
|
55
74
|
dashboard: z.ZodObject<{
|
|
56
75
|
receivedTicketCount: z.ZodNumber;
|
|
57
76
|
pendingTicketCount: z.ZodNumber;
|
|
@@ -155,7 +174,7 @@ export declare const dashboardContract: {
|
|
|
155
174
|
}[];
|
|
156
175
|
};
|
|
157
176
|
}>;
|
|
158
|
-
}
|
|
177
|
+
}>, "strip", z.ZodTypeAny, {
|
|
159
178
|
requestId: string;
|
|
160
179
|
dashboard: {
|
|
161
180
|
receivedTicketCount: number;
|
|
@@ -224,7 +243,21 @@ export declare const dashboardContract: {
|
|
|
224
243
|
error?: any;
|
|
225
244
|
}>;
|
|
226
245
|
};
|
|
227
|
-
|
|
246
|
+
};
|
|
247
|
+
getQueueCallDashboardData: {
|
|
248
|
+
summary: "Get queue call dashboard";
|
|
249
|
+
method: "GET";
|
|
250
|
+
query: z.ZodObject<{
|
|
251
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
252
|
+
selectedDate: z.ZodString;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
selectedDate: string;
|
|
255
|
+
channelIds?: string[] | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
selectedDate: string;
|
|
258
|
+
channelIds?: string[] | undefined;
|
|
259
|
+
}>;
|
|
260
|
+
path: "dashboard/queue_call_dashboard";
|
|
228
261
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
229
262
|
'x-tenant': z.ZodString;
|
|
230
263
|
authorization: z.ZodString;
|
|
@@ -241,23 +274,10 @@ export declare const dashboardContract: {
|
|
|
241
274
|
'x-code'?: string | undefined;
|
|
242
275
|
'x-client-timezone'?: string | undefined;
|
|
243
276
|
}>>>;
|
|
244
|
-
};
|
|
245
|
-
getQueueCallDashboardData: {
|
|
246
|
-
summary: "Get queue call dashboard";
|
|
247
|
-
method: "GET";
|
|
248
|
-
query: z.ZodObject<{
|
|
249
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
250
|
-
selectedDate: z.ZodString;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
selectedDate: string;
|
|
253
|
-
channelIds?: string[] | undefined;
|
|
254
|
-
}, {
|
|
255
|
-
selectedDate: string;
|
|
256
|
-
channelIds?: string[] | undefined;
|
|
257
|
-
}>;
|
|
258
277
|
responses: {
|
|
259
|
-
200: z.ZodObject<{
|
|
278
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
260
279
|
requestId: z.ZodString;
|
|
280
|
+
}, {
|
|
261
281
|
queuecallDashboard: z.ZodObject<{
|
|
262
282
|
totalTelephonyQueueCallCountList: z.ZodObject<{
|
|
263
283
|
totalQueueCall: z.ZodNumber;
|
|
@@ -420,7 +440,7 @@ export declare const dashboardContract: {
|
|
|
420
440
|
};
|
|
421
441
|
}[];
|
|
422
442
|
}>;
|
|
423
|
-
}
|
|
443
|
+
}>, "strip", z.ZodTypeAny, {
|
|
424
444
|
requestId: string;
|
|
425
445
|
queuecallDashboard: {
|
|
426
446
|
totalTelephonyQueueCallCountList: {
|
|
@@ -503,7 +523,12 @@ export declare const dashboardContract: {
|
|
|
503
523
|
error?: any;
|
|
504
524
|
}>;
|
|
505
525
|
};
|
|
506
|
-
|
|
526
|
+
};
|
|
527
|
+
getQueueLiveCallCountList: {
|
|
528
|
+
summary: "Get queue live call count list";
|
|
529
|
+
method: "GET";
|
|
530
|
+
query: null;
|
|
531
|
+
path: "dashboard/queue_live_call_count_list";
|
|
507
532
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
508
533
|
'x-tenant': z.ZodString;
|
|
509
534
|
authorization: z.ZodString;
|
|
@@ -520,14 +545,10 @@ export declare const dashboardContract: {
|
|
|
520
545
|
'x-code'?: string | undefined;
|
|
521
546
|
'x-client-timezone'?: string | undefined;
|
|
522
547
|
}>>>;
|
|
523
|
-
};
|
|
524
|
-
getQueueLiveCallCountList: {
|
|
525
|
-
summary: "Get queue live call count list";
|
|
526
|
-
method: "GET";
|
|
527
|
-
query: null;
|
|
528
548
|
responses: {
|
|
529
|
-
200: z.ZodObject<{
|
|
549
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
530
550
|
requestId: z.ZodString;
|
|
551
|
+
}, {
|
|
531
552
|
queueLiveCallCountList: z.ZodObject<{
|
|
532
553
|
totalQueueLiveCallStatus: z.ZodObject<{
|
|
533
554
|
activeCallCount: z.ZodNumber;
|
|
@@ -573,7 +594,7 @@ export declare const dashboardContract: {
|
|
|
573
594
|
waitingCallCount: number;
|
|
574
595
|
}[];
|
|
575
596
|
}>;
|
|
576
|
-
}
|
|
597
|
+
}>, "strip", z.ZodTypeAny, {
|
|
577
598
|
requestId: string;
|
|
578
599
|
queueLiveCallCountList: {
|
|
579
600
|
totalQueueLiveCallStatus: {
|
|
@@ -611,7 +632,12 @@ export declare const dashboardContract: {
|
|
|
611
632
|
error?: any;
|
|
612
633
|
}>;
|
|
613
634
|
};
|
|
614
|
-
|
|
635
|
+
};
|
|
636
|
+
getQueryCalls: {
|
|
637
|
+
summary: "Get query calls";
|
|
638
|
+
method: "GET";
|
|
639
|
+
query: null;
|
|
640
|
+
path: "dashboard/query-calls";
|
|
615
641
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
616
642
|
'x-tenant': z.ZodString;
|
|
617
643
|
authorization: z.ZodString;
|
|
@@ -628,14 +654,10 @@ export declare const dashboardContract: {
|
|
|
628
654
|
'x-code'?: string | undefined;
|
|
629
655
|
'x-client-timezone'?: string | undefined;
|
|
630
656
|
}>>>;
|
|
631
|
-
};
|
|
632
|
-
getQueryCalls: {
|
|
633
|
-
summary: "Get query calls";
|
|
634
|
-
method: "GET";
|
|
635
|
-
query: null;
|
|
636
657
|
responses: {
|
|
637
|
-
200: z.ZodObject<{
|
|
658
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
638
659
|
requestId: z.ZodString;
|
|
660
|
+
}, {
|
|
639
661
|
dashboard: z.ZodObject<{
|
|
640
662
|
receivedTicketCount: z.ZodNumber;
|
|
641
663
|
pendingTicketCount: z.ZodNumber;
|
|
@@ -739,7 +761,7 @@ export declare const dashboardContract: {
|
|
|
739
761
|
}[];
|
|
740
762
|
};
|
|
741
763
|
}>;
|
|
742
|
-
}
|
|
764
|
+
}>, "strip", z.ZodTypeAny, {
|
|
743
765
|
requestId: string;
|
|
744
766
|
dashboard: {
|
|
745
767
|
receivedTicketCount: number;
|
|
@@ -801,7 +823,25 @@ export declare const dashboardContract: {
|
|
|
801
823
|
error?: any;
|
|
802
824
|
}>;
|
|
803
825
|
};
|
|
804
|
-
|
|
826
|
+
};
|
|
827
|
+
getTicketDashboardData: {
|
|
828
|
+
summary: "Get ticket dashboard";
|
|
829
|
+
method: "GET";
|
|
830
|
+
query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
831
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
832
|
+
selectedDate: z.ZodString;
|
|
833
|
+
}, {
|
|
834
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
835
|
+
}>, "strip", z.ZodTypeAny, {
|
|
836
|
+
selectedDate: string;
|
|
837
|
+
agentId?: string | undefined;
|
|
838
|
+
channelIds?: string[] | undefined;
|
|
839
|
+
}, {
|
|
840
|
+
selectedDate: string;
|
|
841
|
+
agentId?: string | undefined;
|
|
842
|
+
channelIds?: string[] | undefined;
|
|
843
|
+
}>>;
|
|
844
|
+
path: "dashboard/ticket";
|
|
805
845
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
806
846
|
'x-tenant': z.ZodString;
|
|
807
847
|
authorization: z.ZodString;
|
|
@@ -818,26 +858,10 @@ export declare const dashboardContract: {
|
|
|
818
858
|
'x-code'?: string | undefined;
|
|
819
859
|
'x-client-timezone'?: string | undefined;
|
|
820
860
|
}>>>;
|
|
821
|
-
};
|
|
822
|
-
getTicketDashboardData: {
|
|
823
|
-
summary: "Get ticket dashboard";
|
|
824
|
-
method: "GET";
|
|
825
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
826
|
-
selectedDate: z.ZodString;
|
|
827
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
828
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
829
|
-
}, "strip", z.ZodTypeAny, {
|
|
830
|
-
selectedDate: string;
|
|
831
|
-
channelIds?: string[] | undefined;
|
|
832
|
-
agentId?: string | undefined;
|
|
833
|
-
}, {
|
|
834
|
-
selectedDate: string;
|
|
835
|
-
channelIds?: string[] | undefined;
|
|
836
|
-
agentId?: string | undefined;
|
|
837
|
-
}>>;
|
|
838
861
|
responses: {
|
|
839
|
-
200: z.ZodObject<{
|
|
862
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
840
863
|
requestId: z.ZodString;
|
|
864
|
+
}, {
|
|
841
865
|
ticketCountByStatus: z.ZodObject<{
|
|
842
866
|
total: z.ZodNumber;
|
|
843
867
|
open: z.ZodNumber;
|
|
@@ -861,39 +885,39 @@ export declare const dashboardContract: {
|
|
|
861
885
|
closed: number;
|
|
862
886
|
open: number;
|
|
863
887
|
pending: number;
|
|
864
|
-
others: number;
|
|
865
|
-
solved: number;
|
|
866
888
|
duration: {
|
|
867
889
|
day: string | null;
|
|
868
890
|
hour: string | null;
|
|
869
891
|
};
|
|
892
|
+
others: number;
|
|
893
|
+
solved: number;
|
|
870
894
|
unassigneed: number;
|
|
871
895
|
}, {
|
|
872
896
|
total: number;
|
|
873
897
|
closed: number;
|
|
874
898
|
open: number;
|
|
875
899
|
pending: number;
|
|
876
|
-
others: number;
|
|
877
|
-
solved: number;
|
|
878
900
|
duration: {
|
|
879
901
|
day: string | null;
|
|
880
902
|
hour: string | null;
|
|
881
903
|
};
|
|
904
|
+
others: number;
|
|
905
|
+
solved: number;
|
|
882
906
|
unassigneed: number;
|
|
883
907
|
}>;
|
|
884
|
-
}
|
|
908
|
+
}>, "strip", z.ZodTypeAny, {
|
|
885
909
|
requestId: string;
|
|
886
910
|
ticketCountByStatus: {
|
|
887
911
|
total: number;
|
|
888
912
|
closed: number;
|
|
889
913
|
open: number;
|
|
890
914
|
pending: number;
|
|
891
|
-
others: number;
|
|
892
|
-
solved: number;
|
|
893
915
|
duration: {
|
|
894
916
|
day: string | null;
|
|
895
917
|
hour: string | null;
|
|
896
918
|
};
|
|
919
|
+
others: number;
|
|
920
|
+
solved: number;
|
|
897
921
|
unassigneed: number;
|
|
898
922
|
};
|
|
899
923
|
}, {
|
|
@@ -903,12 +927,12 @@ export declare const dashboardContract: {
|
|
|
903
927
|
closed: number;
|
|
904
928
|
open: number;
|
|
905
929
|
pending: number;
|
|
906
|
-
others: number;
|
|
907
|
-
solved: number;
|
|
908
930
|
duration: {
|
|
909
931
|
day: string | null;
|
|
910
932
|
hour: string | null;
|
|
911
933
|
};
|
|
934
|
+
others: number;
|
|
935
|
+
solved: number;
|
|
912
936
|
unassigneed: number;
|
|
913
937
|
};
|
|
914
938
|
}>;
|
|
@@ -923,7 +947,12 @@ export declare const dashboardContract: {
|
|
|
923
947
|
error?: any;
|
|
924
948
|
}>;
|
|
925
949
|
};
|
|
926
|
-
|
|
950
|
+
};
|
|
951
|
+
getExpiredTicketData: {
|
|
952
|
+
summary: "Get expired ticket data";
|
|
953
|
+
method: "GET";
|
|
954
|
+
query: null;
|
|
955
|
+
path: "dashboard/ticket/expired";
|
|
927
956
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
928
957
|
'x-tenant': z.ZodString;
|
|
929
958
|
authorization: z.ZodString;
|
|
@@ -940,14 +969,10 @@ export declare const dashboardContract: {
|
|
|
940
969
|
'x-code'?: string | undefined;
|
|
941
970
|
'x-client-timezone'?: string | undefined;
|
|
942
971
|
}>>>;
|
|
943
|
-
};
|
|
944
|
-
getExpiredTicketData: {
|
|
945
|
-
summary: "Get expired ticket data";
|
|
946
|
-
method: "GET";
|
|
947
|
-
query: null;
|
|
948
972
|
responses: {
|
|
949
|
-
200: z.ZodObject<{
|
|
973
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
950
974
|
requestId: z.ZodString;
|
|
975
|
+
}, {
|
|
951
976
|
expiredTicketData: z.ZodArray<z.ZodObject<{
|
|
952
977
|
id: z.ZodString;
|
|
953
978
|
ticketNumber: z.ZodNumber;
|
|
@@ -967,7 +992,7 @@ export declare const dashboardContract: {
|
|
|
967
992
|
ticketNumber: number;
|
|
968
993
|
expiredDays: number;
|
|
969
994
|
}>, "many">;
|
|
970
|
-
}
|
|
995
|
+
}>, "strip", z.ZodTypeAny, {
|
|
971
996
|
requestId: string;
|
|
972
997
|
expiredTicketData: {
|
|
973
998
|
id: string;
|
|
@@ -997,7 +1022,21 @@ export declare const dashboardContract: {
|
|
|
997
1022
|
error?: any;
|
|
998
1023
|
}>;
|
|
999
1024
|
};
|
|
1000
|
-
|
|
1025
|
+
};
|
|
1026
|
+
getTicketTagData: {
|
|
1027
|
+
summary: "Get ticket tag data";
|
|
1028
|
+
method: "GET";
|
|
1029
|
+
query: z.ZodObject<{
|
|
1030
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1031
|
+
selectedDate: z.ZodString;
|
|
1032
|
+
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
selectedDate: string;
|
|
1034
|
+
channelIds?: string[] | undefined;
|
|
1035
|
+
}, {
|
|
1036
|
+
selectedDate: string;
|
|
1037
|
+
channelIds?: string[] | undefined;
|
|
1038
|
+
}>;
|
|
1039
|
+
path: "dashboard/ticket/tag";
|
|
1001
1040
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1002
1041
|
'x-tenant': z.ZodString;
|
|
1003
1042
|
authorization: z.ZodString;
|
|
@@ -1014,23 +1053,10 @@ export declare const dashboardContract: {
|
|
|
1014
1053
|
'x-code'?: string | undefined;
|
|
1015
1054
|
'x-client-timezone'?: string | undefined;
|
|
1016
1055
|
}>>>;
|
|
1017
|
-
};
|
|
1018
|
-
getTicketTagData: {
|
|
1019
|
-
summary: "Get ticket tag data";
|
|
1020
|
-
method: "GET";
|
|
1021
|
-
query: z.ZodObject<{
|
|
1022
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1023
|
-
selectedDate: z.ZodString;
|
|
1024
|
-
}, "strip", z.ZodTypeAny, {
|
|
1025
|
-
selectedDate: string;
|
|
1026
|
-
channelIds?: string[] | undefined;
|
|
1027
|
-
}, {
|
|
1028
|
-
selectedDate: string;
|
|
1029
|
-
channelIds?: string[] | undefined;
|
|
1030
|
-
}>;
|
|
1031
1056
|
responses: {
|
|
1032
|
-
200: z.ZodObject<{
|
|
1057
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1033
1058
|
requestId: z.ZodString;
|
|
1059
|
+
}, {
|
|
1034
1060
|
ticketTags: z.ZodArray<z.ZodObject<{
|
|
1035
1061
|
id: z.ZodString;
|
|
1036
1062
|
name: z.ZodString;
|
|
@@ -1044,7 +1070,7 @@ export declare const dashboardContract: {
|
|
|
1044
1070
|
id: string;
|
|
1045
1071
|
count: number;
|
|
1046
1072
|
}>, "many">;
|
|
1047
|
-
}
|
|
1073
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1048
1074
|
requestId: string;
|
|
1049
1075
|
ticketTags: {
|
|
1050
1076
|
name: string;
|
|
@@ -1070,7 +1096,26 @@ export declare const dashboardContract: {
|
|
|
1070
1096
|
error?: any;
|
|
1071
1097
|
}>;
|
|
1072
1098
|
};
|
|
1073
|
-
|
|
1099
|
+
};
|
|
1100
|
+
getMessageChannelData: {
|
|
1101
|
+
summary: "Get message channel data";
|
|
1102
|
+
method: "GET";
|
|
1103
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1104
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1105
|
+
selectedDate: z.ZodString;
|
|
1106
|
+
}, {
|
|
1107
|
+
time: z.ZodEnum<["byDay", "byMonth", "byHour"]>;
|
|
1108
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1109
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1110
|
+
time: "byDay" | "byMonth" | "byHour";
|
|
1111
|
+
selectedDate: string;
|
|
1112
|
+
channelIds?: string[] | undefined;
|
|
1113
|
+
}, {
|
|
1114
|
+
time: "byDay" | "byMonth" | "byHour";
|
|
1115
|
+
selectedDate: string;
|
|
1116
|
+
channelIds?: string[] | undefined;
|
|
1117
|
+
}>;
|
|
1118
|
+
path: "dashboard/message/channel";
|
|
1074
1119
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1075
1120
|
'x-tenant': z.ZodString;
|
|
1076
1121
|
authorization: z.ZodString;
|
|
@@ -1087,26 +1132,10 @@ export declare const dashboardContract: {
|
|
|
1087
1132
|
'x-code'?: string | undefined;
|
|
1088
1133
|
'x-client-timezone'?: string | undefined;
|
|
1089
1134
|
}>>>;
|
|
1090
|
-
};
|
|
1091
|
-
getMessageChannelData: {
|
|
1092
|
-
summary: "Get message channel data";
|
|
1093
|
-
method: "GET";
|
|
1094
|
-
query: z.ZodObject<{
|
|
1095
|
-
selectedDate: z.ZodString;
|
|
1096
|
-
time: z.ZodEnum<["byDay", "byMonth", "byHour"]>;
|
|
1097
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1098
|
-
}, "strip", z.ZodTypeAny, {
|
|
1099
|
-
time: "byDay" | "byMonth" | "byHour";
|
|
1100
|
-
selectedDate: string;
|
|
1101
|
-
channelIds?: string[] | undefined;
|
|
1102
|
-
}, {
|
|
1103
|
-
time: "byDay" | "byMonth" | "byHour";
|
|
1104
|
-
selectedDate: string;
|
|
1105
|
-
channelIds?: string[] | undefined;
|
|
1106
|
-
}>;
|
|
1107
1135
|
responses: {
|
|
1108
|
-
200: z.ZodObject<{
|
|
1136
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1109
1137
|
requestId: z.ZodString;
|
|
1138
|
+
}, {
|
|
1110
1139
|
messageCounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1111
1140
|
platform: z.ZodString;
|
|
1112
1141
|
messageCount: z.ZodNumber;
|
|
@@ -1117,7 +1146,7 @@ export declare const dashboardContract: {
|
|
|
1117
1146
|
platform: string;
|
|
1118
1147
|
messageCount: number;
|
|
1119
1148
|
}>, "many">>;
|
|
1120
|
-
}
|
|
1149
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1121
1150
|
requestId: string;
|
|
1122
1151
|
messageCounts: Record<string, {
|
|
1123
1152
|
platform: string;
|
|
@@ -1141,7 +1170,26 @@ export declare const dashboardContract: {
|
|
|
1141
1170
|
error?: any;
|
|
1142
1171
|
}>;
|
|
1143
1172
|
};
|
|
1144
|
-
|
|
1173
|
+
};
|
|
1174
|
+
getMessageTagData: {
|
|
1175
|
+
summary: "Get message tag data";
|
|
1176
|
+
method: "GET";
|
|
1177
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1178
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1179
|
+
selectedDate: z.ZodString;
|
|
1180
|
+
}, {
|
|
1181
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1182
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1183
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1184
|
+
selectedDate: string;
|
|
1185
|
+
channelIds?: string[] | undefined;
|
|
1186
|
+
agentIds?: string[] | undefined;
|
|
1187
|
+
}, {
|
|
1188
|
+
selectedDate: string;
|
|
1189
|
+
channelIds?: string[] | undefined;
|
|
1190
|
+
agentIds?: string[] | undefined;
|
|
1191
|
+
}>;
|
|
1192
|
+
path: "dashboard/message/tag";
|
|
1145
1193
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1146
1194
|
'x-tenant': z.ZodString;
|
|
1147
1195
|
authorization: z.ZodString;
|
|
@@ -1158,26 +1206,10 @@ export declare const dashboardContract: {
|
|
|
1158
1206
|
'x-code'?: string | undefined;
|
|
1159
1207
|
'x-client-timezone'?: string | undefined;
|
|
1160
1208
|
}>>>;
|
|
1161
|
-
};
|
|
1162
|
-
getMessageTagData: {
|
|
1163
|
-
summary: "Get message tag data";
|
|
1164
|
-
method: "GET";
|
|
1165
|
-
query: z.ZodObject<{
|
|
1166
|
-
selectedDate: z.ZodString;
|
|
1167
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1168
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1169
|
-
}, "strip", z.ZodTypeAny, {
|
|
1170
|
-
selectedDate: string;
|
|
1171
|
-
channelIds?: string[] | undefined;
|
|
1172
|
-
agentIds?: string[] | undefined;
|
|
1173
|
-
}, {
|
|
1174
|
-
selectedDate: string;
|
|
1175
|
-
channelIds?: string[] | undefined;
|
|
1176
|
-
agentIds?: string[] | undefined;
|
|
1177
|
-
}>;
|
|
1178
1209
|
responses: {
|
|
1179
|
-
200: z.ZodObject<{
|
|
1210
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1180
1211
|
requestId: z.ZodString;
|
|
1212
|
+
}, {
|
|
1181
1213
|
messageTags: z.ZodArray<z.ZodObject<{
|
|
1182
1214
|
id: z.ZodString;
|
|
1183
1215
|
name: z.ZodString;
|
|
@@ -1191,7 +1223,7 @@ export declare const dashboardContract: {
|
|
|
1191
1223
|
id: string;
|
|
1192
1224
|
count: number;
|
|
1193
1225
|
}>, "many">;
|
|
1194
|
-
}
|
|
1226
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1195
1227
|
requestId: string;
|
|
1196
1228
|
messageTags: {
|
|
1197
1229
|
name: string;
|
|
@@ -1217,7 +1249,25 @@ export declare const dashboardContract: {
|
|
|
1217
1249
|
error?: any;
|
|
1218
1250
|
}>;
|
|
1219
1251
|
};
|
|
1220
|
-
|
|
1252
|
+
};
|
|
1253
|
+
getCallTagData: {
|
|
1254
|
+
summary: "Get call tag data";
|
|
1255
|
+
method: "GET";
|
|
1256
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1257
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1258
|
+
selectedDate: z.ZodString;
|
|
1259
|
+
}, {
|
|
1260
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1262
|
+
selectedDate: string;
|
|
1263
|
+
direction?: string | undefined;
|
|
1264
|
+
channelIds?: string[] | undefined;
|
|
1265
|
+
}, {
|
|
1266
|
+
selectedDate: string;
|
|
1267
|
+
direction?: string | undefined;
|
|
1268
|
+
channelIds?: string[] | undefined;
|
|
1269
|
+
}>;
|
|
1270
|
+
path: "dashboard/call/tag";
|
|
1221
1271
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1222
1272
|
'x-tenant': z.ZodString;
|
|
1223
1273
|
authorization: z.ZodString;
|
|
@@ -1234,26 +1284,10 @@ export declare const dashboardContract: {
|
|
|
1234
1284
|
'x-code'?: string | undefined;
|
|
1235
1285
|
'x-client-timezone'?: string | undefined;
|
|
1236
1286
|
}>>>;
|
|
1237
|
-
};
|
|
1238
|
-
getCallTagData: {
|
|
1239
|
-
summary: "Get call tag data";
|
|
1240
|
-
method: "GET";
|
|
1241
|
-
query: z.ZodObject<{
|
|
1242
|
-
selectedDate: z.ZodString;
|
|
1243
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1244
|
-
direction: z.ZodOptional<z.ZodString>;
|
|
1245
|
-
}, "strip", z.ZodTypeAny, {
|
|
1246
|
-
selectedDate: string;
|
|
1247
|
-
channelIds?: string[] | undefined;
|
|
1248
|
-
direction?: string | undefined;
|
|
1249
|
-
}, {
|
|
1250
|
-
selectedDate: string;
|
|
1251
|
-
channelIds?: string[] | undefined;
|
|
1252
|
-
direction?: string | undefined;
|
|
1253
|
-
}>;
|
|
1254
1287
|
responses: {
|
|
1255
|
-
200: z.ZodObject<{
|
|
1288
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1256
1289
|
requestId: z.ZodString;
|
|
1290
|
+
}, {
|
|
1257
1291
|
callTags: z.ZodArray<z.ZodObject<{
|
|
1258
1292
|
id: z.ZodString;
|
|
1259
1293
|
name: z.ZodString;
|
|
@@ -1267,7 +1301,7 @@ export declare const dashboardContract: {
|
|
|
1267
1301
|
id: string;
|
|
1268
1302
|
count: number;
|
|
1269
1303
|
}>, "many">;
|
|
1270
|
-
}
|
|
1304
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1271
1305
|
requestId: string;
|
|
1272
1306
|
callTags: {
|
|
1273
1307
|
name: string;
|
|
@@ -1293,7 +1327,25 @@ export declare const dashboardContract: {
|
|
|
1293
1327
|
error?: any;
|
|
1294
1328
|
}>;
|
|
1295
1329
|
};
|
|
1296
|
-
|
|
1330
|
+
};
|
|
1331
|
+
getCallResultData: {
|
|
1332
|
+
summary: "Get call result data";
|
|
1333
|
+
method: "GET";
|
|
1334
|
+
query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
1335
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1336
|
+
selectedDate: z.ZodString;
|
|
1337
|
+
}, {
|
|
1338
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1340
|
+
selectedDate: string;
|
|
1341
|
+
agentId?: string | undefined;
|
|
1342
|
+
channelIds?: string[] | undefined;
|
|
1343
|
+
}, {
|
|
1344
|
+
selectedDate: string;
|
|
1345
|
+
agentId?: string | undefined;
|
|
1346
|
+
channelIds?: string[] | undefined;
|
|
1347
|
+
}>>;
|
|
1348
|
+
path: "dashboard/call/result";
|
|
1297
1349
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1298
1350
|
'x-tenant': z.ZodString;
|
|
1299
1351
|
authorization: z.ZodString;
|
|
@@ -1310,26 +1362,10 @@ export declare const dashboardContract: {
|
|
|
1310
1362
|
'x-code'?: string | undefined;
|
|
1311
1363
|
'x-client-timezone'?: string | undefined;
|
|
1312
1364
|
}>>>;
|
|
1313
|
-
};
|
|
1314
|
-
getCallResultData: {
|
|
1315
|
-
summary: "Get call result data";
|
|
1316
|
-
method: "GET";
|
|
1317
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
1318
|
-
selectedDate: z.ZodString;
|
|
1319
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1320
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
1321
|
-
}, "strip", z.ZodTypeAny, {
|
|
1322
|
-
selectedDate: string;
|
|
1323
|
-
channelIds?: string[] | undefined;
|
|
1324
|
-
agentId?: string | undefined;
|
|
1325
|
-
}, {
|
|
1326
|
-
selectedDate: string;
|
|
1327
|
-
channelIds?: string[] | undefined;
|
|
1328
|
-
agentId?: string | undefined;
|
|
1329
|
-
}>>;
|
|
1330
1365
|
responses: {
|
|
1331
|
-
200: z.ZodObject<{
|
|
1366
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1332
1367
|
requestId: z.ZodString;
|
|
1368
|
+
}, {
|
|
1333
1369
|
callEndResults: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
1334
1370
|
result: z.ZodNullable<z.ZodString>;
|
|
1335
1371
|
count: z.ZodNullable<z.ZodString>;
|
|
@@ -1340,7 +1376,7 @@ export declare const dashboardContract: {
|
|
|
1340
1376
|
count: string | null;
|
|
1341
1377
|
result: string | null;
|
|
1342
1378
|
}>>, "many">>;
|
|
1343
|
-
}
|
|
1379
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1344
1380
|
requestId: string;
|
|
1345
1381
|
callEndResults?: ({
|
|
1346
1382
|
count: string | null;
|
|
@@ -1364,7 +1400,26 @@ export declare const dashboardContract: {
|
|
|
1364
1400
|
error?: any;
|
|
1365
1401
|
}>;
|
|
1366
1402
|
};
|
|
1367
|
-
|
|
1403
|
+
};
|
|
1404
|
+
getConversationActivity: {
|
|
1405
|
+
summary: "Get message contact data";
|
|
1406
|
+
method: "GET";
|
|
1407
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1408
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1409
|
+
selectedDate: z.ZodString;
|
|
1410
|
+
}, {
|
|
1411
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1412
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1413
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1414
|
+
selectedDate: string;
|
|
1415
|
+
channelIds?: string[] | undefined;
|
|
1416
|
+
agentIds?: string[] | undefined;
|
|
1417
|
+
}, {
|
|
1418
|
+
selectedDate: string;
|
|
1419
|
+
channelIds?: string[] | undefined;
|
|
1420
|
+
agentIds?: string[] | undefined;
|
|
1421
|
+
}>;
|
|
1422
|
+
path: "dashboard/message/conversation-activities";
|
|
1368
1423
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1369
1424
|
'x-tenant': z.ZodString;
|
|
1370
1425
|
authorization: z.ZodString;
|
|
@@ -1381,26 +1436,10 @@ export declare const dashboardContract: {
|
|
|
1381
1436
|
'x-code'?: string | undefined;
|
|
1382
1437
|
'x-client-timezone'?: string | undefined;
|
|
1383
1438
|
}>>>;
|
|
1384
|
-
};
|
|
1385
|
-
getConversationActivity: {
|
|
1386
|
-
summary: "Get message contact data";
|
|
1387
|
-
method: "GET";
|
|
1388
|
-
query: z.ZodObject<{
|
|
1389
|
-
selectedDate: z.ZodString;
|
|
1390
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1391
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1392
|
-
}, "strip", z.ZodTypeAny, {
|
|
1393
|
-
selectedDate: string;
|
|
1394
|
-
channelIds?: string[] | undefined;
|
|
1395
|
-
agentIds?: string[] | undefined;
|
|
1396
|
-
}, {
|
|
1397
|
-
selectedDate: string;
|
|
1398
|
-
channelIds?: string[] | undefined;
|
|
1399
|
-
agentIds?: string[] | undefined;
|
|
1400
|
-
}>;
|
|
1401
1439
|
responses: {
|
|
1402
|
-
200: z.ZodObject<{
|
|
1440
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1403
1441
|
requestId: z.ZodString;
|
|
1442
|
+
}, {
|
|
1404
1443
|
conversationActivity: z.ZodObject<{
|
|
1405
1444
|
newContactCount: z.ZodNullable<z.ZodNumber>;
|
|
1406
1445
|
oldContactCount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1411,7 +1450,7 @@ export declare const dashboardContract: {
|
|
|
1411
1450
|
newContactCount: number | null;
|
|
1412
1451
|
oldContactCount: number | null;
|
|
1413
1452
|
}>;
|
|
1414
|
-
}
|
|
1453
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1415
1454
|
requestId: string;
|
|
1416
1455
|
conversationActivity: {
|
|
1417
1456
|
newContactCount: number | null;
|
|
@@ -1435,7 +1474,26 @@ export declare const dashboardContract: {
|
|
|
1435
1474
|
error?: any;
|
|
1436
1475
|
}>;
|
|
1437
1476
|
};
|
|
1438
|
-
|
|
1477
|
+
};
|
|
1478
|
+
getRoomStatusCountByStatus: {
|
|
1479
|
+
summary: "Get room status count by status";
|
|
1480
|
+
method: "GET";
|
|
1481
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1482
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1483
|
+
selectedDate: z.ZodString;
|
|
1484
|
+
}, {
|
|
1485
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1486
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1487
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1488
|
+
selectedDate: string;
|
|
1489
|
+
channelIds?: string[] | undefined;
|
|
1490
|
+
agentIds?: string[] | undefined;
|
|
1491
|
+
}, {
|
|
1492
|
+
selectedDate: string;
|
|
1493
|
+
channelIds?: string[] | undefined;
|
|
1494
|
+
agentIds?: string[] | undefined;
|
|
1495
|
+
}>;
|
|
1496
|
+
path: "dashboard/message/status";
|
|
1439
1497
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1440
1498
|
'x-tenant': z.ZodString;
|
|
1441
1499
|
authorization: z.ZodString;
|
|
@@ -1452,26 +1510,10 @@ export declare const dashboardContract: {
|
|
|
1452
1510
|
'x-code'?: string | undefined;
|
|
1453
1511
|
'x-client-timezone'?: string | undefined;
|
|
1454
1512
|
}>>>;
|
|
1455
|
-
};
|
|
1456
|
-
getRoomStatusCountByStatus: {
|
|
1457
|
-
summary: "Get room status count by status";
|
|
1458
|
-
method: "GET";
|
|
1459
|
-
query: z.ZodObject<{
|
|
1460
|
-
selectedDate: z.ZodString;
|
|
1461
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1462
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1463
|
-
}, "strip", z.ZodTypeAny, {
|
|
1464
|
-
selectedDate: string;
|
|
1465
|
-
channelIds?: string[] | undefined;
|
|
1466
|
-
agentIds?: string[] | undefined;
|
|
1467
|
-
}, {
|
|
1468
|
-
selectedDate: string;
|
|
1469
|
-
channelIds?: string[] | undefined;
|
|
1470
|
-
agentIds?: string[] | undefined;
|
|
1471
|
-
}>;
|
|
1472
1513
|
responses: {
|
|
1473
|
-
200: z.ZodObject<{
|
|
1514
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1474
1515
|
requestId: z.ZodString;
|
|
1516
|
+
}, {
|
|
1475
1517
|
roomStatusCountByStatus: z.ZodObject<{
|
|
1476
1518
|
total: z.ZodNullable<z.ZodNumber>;
|
|
1477
1519
|
closed: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1488,7 +1530,7 @@ export declare const dashboardContract: {
|
|
|
1488
1530
|
unassignedOpen: number | null;
|
|
1489
1531
|
assignedOpen: number | null;
|
|
1490
1532
|
}>;
|
|
1491
|
-
}
|
|
1533
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1492
1534
|
requestId: string;
|
|
1493
1535
|
roomStatusCountByStatus: {
|
|
1494
1536
|
total: number | null;
|
|
@@ -1516,7 +1558,26 @@ export declare const dashboardContract: {
|
|
|
1516
1558
|
error?: any;
|
|
1517
1559
|
}>;
|
|
1518
1560
|
};
|
|
1519
|
-
|
|
1561
|
+
};
|
|
1562
|
+
getRoomStatusAverage: {
|
|
1563
|
+
summary: "Get room status average";
|
|
1564
|
+
method: "GET";
|
|
1565
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1566
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1567
|
+
selectedDate: z.ZodString;
|
|
1568
|
+
}, {
|
|
1569
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1570
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1571
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1572
|
+
selectedDate: string;
|
|
1573
|
+
channelIds?: string[] | undefined;
|
|
1574
|
+
agentIds?: string[] | undefined;
|
|
1575
|
+
}, {
|
|
1576
|
+
selectedDate: string;
|
|
1577
|
+
channelIds?: string[] | undefined;
|
|
1578
|
+
agentIds?: string[] | undefined;
|
|
1579
|
+
}>;
|
|
1580
|
+
path: "dashboard/message/average";
|
|
1520
1581
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1521
1582
|
'x-tenant': z.ZodString;
|
|
1522
1583
|
authorization: z.ZodString;
|
|
@@ -1533,26 +1594,10 @@ export declare const dashboardContract: {
|
|
|
1533
1594
|
'x-code'?: string | undefined;
|
|
1534
1595
|
'x-client-timezone'?: string | undefined;
|
|
1535
1596
|
}>>>;
|
|
1536
|
-
};
|
|
1537
|
-
getRoomStatusAverage: {
|
|
1538
|
-
summary: "Get room status average";
|
|
1539
|
-
method: "GET";
|
|
1540
|
-
query: z.ZodObject<{
|
|
1541
|
-
selectedDate: z.ZodString;
|
|
1542
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1543
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1544
|
-
}, "strip", z.ZodTypeAny, {
|
|
1545
|
-
selectedDate: string;
|
|
1546
|
-
channelIds?: string[] | undefined;
|
|
1547
|
-
agentIds?: string[] | undefined;
|
|
1548
|
-
}, {
|
|
1549
|
-
selectedDate: string;
|
|
1550
|
-
channelIds?: string[] | undefined;
|
|
1551
|
-
agentIds?: string[] | undefined;
|
|
1552
|
-
}>;
|
|
1553
1597
|
responses: {
|
|
1554
|
-
200: z.ZodObject<{
|
|
1598
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1555
1599
|
requestId: z.ZodString;
|
|
1600
|
+
}, {
|
|
1556
1601
|
roomStatusAverage: z.ZodObject<{
|
|
1557
1602
|
selectedWeekAvgByDay: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1558
1603
|
day: z.ZodNullable<z.ZodString>;
|
|
@@ -1616,7 +1661,7 @@ export declare const dashboardContract: {
|
|
|
1616
1661
|
avgResponseTime: string | null;
|
|
1617
1662
|
} | null | undefined;
|
|
1618
1663
|
}>;
|
|
1619
|
-
}
|
|
1664
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1620
1665
|
requestId: string;
|
|
1621
1666
|
roomStatusAverage: {
|
|
1622
1667
|
selectedWeekAvgByDay?: {
|
|
@@ -1662,7 +1707,26 @@ export declare const dashboardContract: {
|
|
|
1662
1707
|
error?: any;
|
|
1663
1708
|
}>;
|
|
1664
1709
|
};
|
|
1665
|
-
|
|
1710
|
+
};
|
|
1711
|
+
getChannelIncomingMessageCounts: {
|
|
1712
|
+
summary: "Get message platform data";
|
|
1713
|
+
method: "GET";
|
|
1714
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1715
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1716
|
+
selectedDate: z.ZodString;
|
|
1717
|
+
}, {
|
|
1718
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1719
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1720
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1721
|
+
selectedDate: string;
|
|
1722
|
+
channelIds?: string[] | undefined;
|
|
1723
|
+
agentIds?: string[] | undefined;
|
|
1724
|
+
}, {
|
|
1725
|
+
selectedDate: string;
|
|
1726
|
+
channelIds?: string[] | undefined;
|
|
1727
|
+
agentIds?: string[] | undefined;
|
|
1728
|
+
}>;
|
|
1729
|
+
path: "dashboard/message/platform";
|
|
1666
1730
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1667
1731
|
'x-tenant': z.ZodString;
|
|
1668
1732
|
authorization: z.ZodString;
|
|
@@ -1679,26 +1743,10 @@ export declare const dashboardContract: {
|
|
|
1679
1743
|
'x-code'?: string | undefined;
|
|
1680
1744
|
'x-client-timezone'?: string | undefined;
|
|
1681
1745
|
}>>>;
|
|
1682
|
-
};
|
|
1683
|
-
getChannelIncomingMessageCounts: {
|
|
1684
|
-
summary: "Get message platform data";
|
|
1685
|
-
method: "GET";
|
|
1686
|
-
query: z.ZodObject<{
|
|
1687
|
-
selectedDate: z.ZodString;
|
|
1688
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1689
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1690
|
-
}, "strip", z.ZodTypeAny, {
|
|
1691
|
-
selectedDate: string;
|
|
1692
|
-
channelIds?: string[] | undefined;
|
|
1693
|
-
agentIds?: string[] | undefined;
|
|
1694
|
-
}, {
|
|
1695
|
-
selectedDate: string;
|
|
1696
|
-
channelIds?: string[] | undefined;
|
|
1697
|
-
agentIds?: string[] | undefined;
|
|
1698
|
-
}>;
|
|
1699
1746
|
responses: {
|
|
1700
|
-
200: z.ZodObject<{
|
|
1747
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1701
1748
|
requestId: z.ZodString;
|
|
1749
|
+
}, {
|
|
1702
1750
|
incomingMessageCounts: z.ZodArray<z.ZodObject<{
|
|
1703
1751
|
channelName: z.ZodNullable<z.ZodString>;
|
|
1704
1752
|
channelType: z.ZodNullable<z.ZodString>;
|
|
@@ -1712,7 +1760,7 @@ export declare const dashboardContract: {
|
|
|
1712
1760
|
channelType: string | null;
|
|
1713
1761
|
channelName: string | null;
|
|
1714
1762
|
}>, "many">;
|
|
1715
|
-
}
|
|
1763
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1716
1764
|
requestId: string;
|
|
1717
1765
|
incomingMessageCounts: {
|
|
1718
1766
|
count: string | null;
|
|
@@ -1738,7 +1786,26 @@ export declare const dashboardContract: {
|
|
|
1738
1786
|
error?: any;
|
|
1739
1787
|
}>;
|
|
1740
1788
|
};
|
|
1741
|
-
|
|
1789
|
+
};
|
|
1790
|
+
getMessageRoomStatusDispositionData: {
|
|
1791
|
+
summary: "Get message room status disposition data";
|
|
1792
|
+
method: "GET";
|
|
1793
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1794
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1795
|
+
selectedDate: z.ZodString;
|
|
1796
|
+
}, {
|
|
1797
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1798
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1799
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1800
|
+
selectedDate: string;
|
|
1801
|
+
channelIds?: string[] | undefined;
|
|
1802
|
+
agentIds?: string[] | undefined;
|
|
1803
|
+
}, {
|
|
1804
|
+
selectedDate: string;
|
|
1805
|
+
channelIds?: string[] | undefined;
|
|
1806
|
+
agentIds?: string[] | undefined;
|
|
1807
|
+
}>;
|
|
1808
|
+
path: "dashboard/message/disposition";
|
|
1742
1809
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1743
1810
|
'x-tenant': z.ZodString;
|
|
1744
1811
|
authorization: z.ZodString;
|
|
@@ -1755,26 +1822,10 @@ export declare const dashboardContract: {
|
|
|
1755
1822
|
'x-code'?: string | undefined;
|
|
1756
1823
|
'x-client-timezone'?: string | undefined;
|
|
1757
1824
|
}>>>;
|
|
1758
|
-
};
|
|
1759
|
-
getMessageRoomStatusDispositionData: {
|
|
1760
|
-
summary: "Get message room status disposition data";
|
|
1761
|
-
method: "GET";
|
|
1762
|
-
query: z.ZodObject<{
|
|
1763
|
-
selectedDate: z.ZodString;
|
|
1764
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1765
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1766
|
-
}, "strip", z.ZodTypeAny, {
|
|
1767
|
-
selectedDate: string;
|
|
1768
|
-
channelIds?: string[] | undefined;
|
|
1769
|
-
agentIds?: string[] | undefined;
|
|
1770
|
-
}, {
|
|
1771
|
-
selectedDate: string;
|
|
1772
|
-
channelIds?: string[] | undefined;
|
|
1773
|
-
agentIds?: string[] | undefined;
|
|
1774
|
-
}>;
|
|
1775
1825
|
responses: {
|
|
1776
|
-
200: z.ZodObject<{
|
|
1826
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1777
1827
|
requestId: z.ZodString;
|
|
1828
|
+
}, {
|
|
1778
1829
|
messageRoomStatusDispositionData: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1779
1830
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1780
1831
|
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1785,7 +1836,7 @@ export declare const dashboardContract: {
|
|
|
1785
1836
|
name?: string | null | undefined;
|
|
1786
1837
|
count?: number | null | undefined;
|
|
1787
1838
|
}>, "many">>;
|
|
1788
|
-
}
|
|
1839
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1789
1840
|
requestId: string;
|
|
1790
1841
|
messageRoomStatusDispositionData?: {
|
|
1791
1842
|
name?: string | null | undefined;
|
|
@@ -1809,7 +1860,26 @@ export declare const dashboardContract: {
|
|
|
1809
1860
|
error?: any;
|
|
1810
1861
|
}>;
|
|
1811
1862
|
};
|
|
1812
|
-
|
|
1863
|
+
};
|
|
1864
|
+
getIncomingMessageByPlatform: {
|
|
1865
|
+
summary: "Get incoming message by platform";
|
|
1866
|
+
method: "GET";
|
|
1867
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1868
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1869
|
+
selectedDate: z.ZodString;
|
|
1870
|
+
}, {
|
|
1871
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1872
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1873
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1874
|
+
selectedDate: string;
|
|
1875
|
+
channelIds?: string[] | undefined;
|
|
1876
|
+
agentIds?: string[] | undefined;
|
|
1877
|
+
}, {
|
|
1878
|
+
selectedDate: string;
|
|
1879
|
+
channelIds?: string[] | undefined;
|
|
1880
|
+
agentIds?: string[] | undefined;
|
|
1881
|
+
}>;
|
|
1882
|
+
path: "dashboard/message/incoming";
|
|
1813
1883
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1814
1884
|
'x-tenant': z.ZodString;
|
|
1815
1885
|
authorization: z.ZodString;
|
|
@@ -1826,26 +1896,10 @@ export declare const dashboardContract: {
|
|
|
1826
1896
|
'x-code'?: string | undefined;
|
|
1827
1897
|
'x-client-timezone'?: string | undefined;
|
|
1828
1898
|
}>>>;
|
|
1829
|
-
};
|
|
1830
|
-
getIncomingMessageByPlatform: {
|
|
1831
|
-
summary: "Get incoming message by platform";
|
|
1832
|
-
method: "GET";
|
|
1833
|
-
query: z.ZodObject<{
|
|
1834
|
-
selectedDate: z.ZodString;
|
|
1835
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1836
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1837
|
-
}, "strip", z.ZodTypeAny, {
|
|
1838
|
-
selectedDate: string;
|
|
1839
|
-
channelIds?: string[] | undefined;
|
|
1840
|
-
agentIds?: string[] | undefined;
|
|
1841
|
-
}, {
|
|
1842
|
-
selectedDate: string;
|
|
1843
|
-
channelIds?: string[] | undefined;
|
|
1844
|
-
agentIds?: string[] | undefined;
|
|
1845
|
-
}>;
|
|
1846
1899
|
responses: {
|
|
1847
|
-
200: z.ZodObject<{
|
|
1900
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1848
1901
|
requestId: z.ZodString;
|
|
1902
|
+
}, {
|
|
1849
1903
|
incomingMessageByPlatform: z.ZodArray<z.ZodObject<{
|
|
1850
1904
|
platform: z.ZodNullable<z.ZodString>;
|
|
1851
1905
|
hour: z.ZodNullable<z.ZodString>;
|
|
@@ -1859,7 +1913,7 @@ export declare const dashboardContract: {
|
|
|
1859
1913
|
hour: string | null;
|
|
1860
1914
|
messageCount: string | null;
|
|
1861
1915
|
}>, "many">;
|
|
1862
|
-
}
|
|
1916
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1863
1917
|
requestId: string;
|
|
1864
1918
|
incomingMessageByPlatform: {
|
|
1865
1919
|
platform: string | null;
|
|
@@ -1885,7 +1939,26 @@ export declare const dashboardContract: {
|
|
|
1885
1939
|
error?: any;
|
|
1886
1940
|
}>;
|
|
1887
1941
|
};
|
|
1888
|
-
|
|
1942
|
+
};
|
|
1943
|
+
getTotalIncomingMessageData: {
|
|
1944
|
+
summary: "Get total incoming message data";
|
|
1945
|
+
method: "GET";
|
|
1946
|
+
query: z.ZodObject<z.objectUtil.extendShape<{
|
|
1947
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1948
|
+
selectedDate: z.ZodString;
|
|
1949
|
+
}, {
|
|
1950
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1951
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1952
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1953
|
+
selectedDate: string;
|
|
1954
|
+
channelIds?: string[] | undefined;
|
|
1955
|
+
agentIds?: string[] | undefined;
|
|
1956
|
+
}, {
|
|
1957
|
+
selectedDate: string;
|
|
1958
|
+
channelIds?: string[] | undefined;
|
|
1959
|
+
agentIds?: string[] | undefined;
|
|
1960
|
+
}>;
|
|
1961
|
+
path: "dashboard/message/total-incoming";
|
|
1889
1962
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1890
1963
|
'x-tenant': z.ZodString;
|
|
1891
1964
|
authorization: z.ZodString;
|
|
@@ -1902,26 +1975,10 @@ export declare const dashboardContract: {
|
|
|
1902
1975
|
'x-code'?: string | undefined;
|
|
1903
1976
|
'x-client-timezone'?: string | undefined;
|
|
1904
1977
|
}>>>;
|
|
1905
|
-
};
|
|
1906
|
-
getTotalIncomingMessageData: {
|
|
1907
|
-
summary: "Get total incoming message data";
|
|
1908
|
-
method: "GET";
|
|
1909
|
-
query: z.ZodObject<{
|
|
1910
|
-
selectedDate: z.ZodString;
|
|
1911
|
-
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1912
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1913
|
-
}, "strip", z.ZodTypeAny, {
|
|
1914
|
-
selectedDate: string;
|
|
1915
|
-
channelIds?: string[] | undefined;
|
|
1916
|
-
agentIds?: string[] | undefined;
|
|
1917
|
-
}, {
|
|
1918
|
-
selectedDate: string;
|
|
1919
|
-
channelIds?: string[] | undefined;
|
|
1920
|
-
agentIds?: string[] | undefined;
|
|
1921
|
-
}>;
|
|
1922
1978
|
responses: {
|
|
1923
|
-
200: z.ZodObject<{
|
|
1979
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1924
1980
|
requestId: z.ZodString;
|
|
1981
|
+
}, {
|
|
1925
1982
|
totalIncomingMessageData: z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
1926
1983
|
name: z.ZodString;
|
|
1927
1984
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -1932,7 +1989,7 @@ export declare const dashboardContract: {
|
|
|
1932
1989
|
name: string;
|
|
1933
1990
|
data: number[];
|
|
1934
1991
|
}>>, "many">;
|
|
1935
|
-
}
|
|
1992
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1936
1993
|
requestId: string;
|
|
1937
1994
|
totalIncomingMessageData: ({
|
|
1938
1995
|
name: string;
|
|
@@ -1956,23 +2013,6 @@ export declare const dashboardContract: {
|
|
|
1956
2013
|
error?: any;
|
|
1957
2014
|
}>;
|
|
1958
2015
|
};
|
|
1959
|
-
path: "dashboard/message/total-incoming";
|
|
1960
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1961
|
-
'x-tenant': z.ZodString;
|
|
1962
|
-
authorization: z.ZodString;
|
|
1963
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
1964
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
1965
|
-
}, "strip", z.ZodTypeAny, {
|
|
1966
|
-
'x-tenant': string;
|
|
1967
|
-
authorization: string;
|
|
1968
|
-
'x-client-timezone': string;
|
|
1969
|
-
'x-code'?: string | undefined;
|
|
1970
|
-
}, {
|
|
1971
|
-
'x-tenant': string;
|
|
1972
|
-
authorization: string;
|
|
1973
|
-
'x-code'?: string | undefined;
|
|
1974
|
-
'x-client-timezone'?: string | undefined;
|
|
1975
|
-
}>>>;
|
|
1976
2016
|
};
|
|
1977
2017
|
getCallCounts: {
|
|
1978
2018
|
method: "GET";
|
|
@@ -1982,19 +2022,21 @@ export declare const dashboardContract: {
|
|
|
1982
2022
|
types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1983
2023
|
selectedDate: z.ZodOptional<z.ZodString>;
|
|
1984
2024
|
}, "strip", z.ZodTypeAny, {
|
|
1985
|
-
agentIds?: string[] | undefined;
|
|
1986
2025
|
userId?: string | undefined;
|
|
1987
|
-
types?: string[] | undefined;
|
|
1988
2026
|
selectedDate?: string | undefined;
|
|
1989
|
-
}, {
|
|
1990
2027
|
agentIds?: string[] | undefined;
|
|
1991
|
-
userId?: string | undefined;
|
|
1992
2028
|
types?: string[] | undefined;
|
|
2029
|
+
}, {
|
|
2030
|
+
userId?: string | undefined;
|
|
1993
2031
|
selectedDate?: string | undefined;
|
|
2032
|
+
agentIds?: string[] | undefined;
|
|
2033
|
+
types?: string[] | undefined;
|
|
1994
2034
|
}>;
|
|
2035
|
+
path: "dashboard/call-counts";
|
|
1995
2036
|
responses: {
|
|
1996
|
-
200: z.ZodObject<{
|
|
2037
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1997
2038
|
requestId: z.ZodString;
|
|
2039
|
+
}, {
|
|
1998
2040
|
callCounts: z.ZodObject<{
|
|
1999
2041
|
answeredCallCount: z.ZodNumber;
|
|
2000
2042
|
noAnswerCallCount: z.ZodNumber;
|
|
@@ -2014,7 +2056,7 @@ export declare const dashboardContract: {
|
|
|
2014
2056
|
busyCallCount: number;
|
|
2015
2057
|
failedCallCount: number;
|
|
2016
2058
|
}>;
|
|
2017
|
-
}
|
|
2059
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2018
2060
|
requestId: string;
|
|
2019
2061
|
callCounts: {
|
|
2020
2062
|
totalCallCount: number;
|
|
@@ -2034,7 +2076,6 @@ export declare const dashboardContract: {
|
|
|
2034
2076
|
};
|
|
2035
2077
|
}>;
|
|
2036
2078
|
};
|
|
2037
|
-
path: "dashboard/call-counts";
|
|
2038
2079
|
};
|
|
2039
2080
|
};
|
|
2040
2081
|
//# sourceMappingURL=index.d.ts.map
|