@kl1/contracts 1.3.7 → 1.3.9
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 +22 -23
- package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/activity-log/schema.d.ts +5 -6
- package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +148 -164
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +24 -26
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +170 -192
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -15
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +6 -8
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +13 -17
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +109 -118
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +2 -3
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1502 -1532
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +54 -54
- package/dist/api-contracts/src/channel/validation.d.ts +72 -72
- package/dist/api-contracts/src/chat/index.d.ts +13141 -13645
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2308 -2467
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3331 -3414
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +299 -371
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +75 -98
- 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 +109 -136
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +24 -33
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +62 -78
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +559 -677
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +42 -56
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +218 -299
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +25882 -27370
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
- 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 +2 -3
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +47 -50
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +783 -831
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +461 -514
- 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 +361 -402
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +3 -4
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +112 -118
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +2211 -2291
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +82 -94
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +89 -106
- 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 +2 -3
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +58 -77
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +14 -20
- 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 +3873 -3933
- 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 +2073 -2133
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +11 -12
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +127 -127
- package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
- 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 +3 -4
- 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 +451 -502
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +101 -130
- 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 +30 -36
- 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 +20 -27
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +3873 -3935
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +89 -106
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +27 -34
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/schema.d.ts +15 -18
- package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/validation.d.ts +5 -6
- package/dist/api-contracts/src/notification/validation.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 +81 -84
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +196 -260
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +83 -88
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +345 -349
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +54 -76
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +51 -74
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +62 -93
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +72 -79
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1532 -1590
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +50 -55
- 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 +7 -9
- 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 +1170 -1245
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +196 -222
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
- 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 +2 -3
- 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 +2 -3
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +679 -790
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +73 -99
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +34 -36
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +148 -159
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +5 -6
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +4 -5
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
- 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 +7 -9
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1785 -1843
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1551 -1609
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1920 -1982
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +6 -9
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +144 -155
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +2 -3
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +16 -16
- package/dist/api-contracts/src/workflow-rule/index.d.ts +2021 -2087
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
- 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 +6 -9
- 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 +20 -21
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +3 -4
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +53 -58
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +52 -58
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -34,51 +34,31 @@ export declare const automationQueueContract: {
|
|
|
34
34
|
maximumAssignPerAgent: number;
|
|
35
35
|
}>;
|
|
36
36
|
method: "POST";
|
|
37
|
-
path: "ms/automation-queue";
|
|
38
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
39
|
-
'x-tenant': z.ZodString;
|
|
40
|
-
'x-service-token': z.ZodString;
|
|
41
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
42
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
'x-tenant': string;
|
|
45
|
-
'x-service-token': string;
|
|
46
|
-
'x-client-timezone': string;
|
|
47
|
-
'x-code'?: string | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
'x-tenant': string;
|
|
50
|
-
'x-service-token': string;
|
|
51
|
-
'x-code'?: string | undefined;
|
|
52
|
-
'x-client-timezone'?: string | undefined;
|
|
53
|
-
}>>>;
|
|
54
37
|
responses: {
|
|
55
|
-
201: z.ZodObject<
|
|
38
|
+
201: z.ZodObject<{
|
|
56
39
|
requestId: z.ZodString;
|
|
57
|
-
|
|
58
|
-
data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
40
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
59
41
|
id: z.ZodString;
|
|
60
42
|
createdAt: z.ZodDate;
|
|
61
43
|
updatedAt: z.ZodDate;
|
|
62
44
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
63
|
-
}, {
|
|
64
45
|
emoji: z.ZodString;
|
|
65
46
|
name: z.ZodString;
|
|
66
47
|
description: z.ZodNullable<z.ZodString>;
|
|
67
48
|
distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
|
|
68
49
|
maximumAssignPerAgent: z.ZodNumber;
|
|
69
|
-
managers: z.ZodArray<z.ZodObject<
|
|
50
|
+
managers: z.ZodArray<z.ZodObject<{
|
|
51
|
+
name: z.ZodString;
|
|
70
52
|
id: z.ZodString;
|
|
53
|
+
address: z.ZodNullable<z.ZodString>;
|
|
54
|
+
email: z.ZodString;
|
|
71
55
|
createdAt: z.ZodDate;
|
|
72
56
|
updatedAt: z.ZodDate;
|
|
73
57
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
74
|
-
name: z.ZodString;
|
|
75
|
-
email: z.ZodString;
|
|
76
58
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
77
59
|
password: z.ZodString;
|
|
78
|
-
address: z.ZodNullable<z.ZodString>;
|
|
79
60
|
phone: z.ZodNullable<z.ZodString>;
|
|
80
61
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
81
|
-
}, {
|
|
82
62
|
roles: z.ZodArray<z.ZodObject<{
|
|
83
63
|
id: z.ZodString;
|
|
84
64
|
createdAt: z.ZodDate;
|
|
@@ -184,7 +164,7 @@ export declare const automationQueueContract: {
|
|
|
184
164
|
extensionName: string;
|
|
185
165
|
telephonySignature: string | null;
|
|
186
166
|
}>;
|
|
187
|
-
}
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
168
|
name: string;
|
|
189
169
|
id: string;
|
|
190
170
|
address: string | null;
|
|
@@ -271,19 +251,18 @@ export declare const automationQueueContract: {
|
|
|
271
251
|
telephonySignature: string | null;
|
|
272
252
|
};
|
|
273
253
|
}>, "many">;
|
|
274
|
-
agents: z.ZodArray<z.ZodObject<
|
|
254
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
255
|
+
name: z.ZodString;
|
|
275
256
|
id: z.ZodString;
|
|
257
|
+
address: z.ZodNullable<z.ZodString>;
|
|
258
|
+
email: z.ZodString;
|
|
276
259
|
createdAt: z.ZodDate;
|
|
277
260
|
updatedAt: z.ZodDate;
|
|
278
261
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
279
|
-
name: z.ZodString;
|
|
280
|
-
email: z.ZodString;
|
|
281
262
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
282
263
|
password: z.ZodString;
|
|
283
|
-
address: z.ZodNullable<z.ZodString>;
|
|
284
264
|
phone: z.ZodNullable<z.ZodString>;
|
|
285
265
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
286
|
-
}, {
|
|
287
266
|
roles: z.ZodArray<z.ZodObject<{
|
|
288
267
|
id: z.ZodString;
|
|
289
268
|
createdAt: z.ZodDate;
|
|
@@ -389,7 +368,7 @@ export declare const automationQueueContract: {
|
|
|
389
368
|
extensionName: string;
|
|
390
369
|
telephonySignature: string | null;
|
|
391
370
|
}>;
|
|
392
|
-
}
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
393
372
|
name: string;
|
|
394
373
|
id: string;
|
|
395
374
|
address: string | null;
|
|
@@ -476,7 +455,7 @@ export declare const automationQueueContract: {
|
|
|
476
455
|
telephonySignature: string | null;
|
|
477
456
|
};
|
|
478
457
|
}>, "many">;
|
|
479
|
-
}
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
480
459
|
emoji: string;
|
|
481
460
|
name: string;
|
|
482
461
|
id: string;
|
|
@@ -673,7 +652,7 @@ export declare const automationQueueContract: {
|
|
|
673
652
|
};
|
|
674
653
|
}[];
|
|
675
654
|
}>>;
|
|
676
|
-
}
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
677
656
|
requestId: string;
|
|
678
657
|
data?: {
|
|
679
658
|
emoji: string;
|
|
@@ -877,18 +856,7 @@ export declare const automationQueueContract: {
|
|
|
877
856
|
} | undefined;
|
|
878
857
|
}>;
|
|
879
858
|
};
|
|
880
|
-
|
|
881
|
-
duplicateAutomationQueue: {
|
|
882
|
-
body: null;
|
|
883
|
-
method: "POST";
|
|
884
|
-
pathParams: z.ZodObject<{
|
|
885
|
-
id: z.ZodString;
|
|
886
|
-
}, "strip", z.ZodTypeAny, {
|
|
887
|
-
id: string;
|
|
888
|
-
}, {
|
|
889
|
-
id: string;
|
|
890
|
-
}>;
|
|
891
|
-
path: "ms/automation-queue/:id/duplicate";
|
|
859
|
+
path: "ms/automation-queue";
|
|
892
860
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
893
861
|
'x-tenant': z.ZodString;
|
|
894
862
|
'x-service-token': z.ZodString;
|
|
@@ -905,34 +873,42 @@ export declare const automationQueueContract: {
|
|
|
905
873
|
'x-code'?: string | undefined;
|
|
906
874
|
'x-client-timezone'?: string | undefined;
|
|
907
875
|
}>>>;
|
|
876
|
+
};
|
|
877
|
+
duplicateAutomationQueue: {
|
|
878
|
+
body: null;
|
|
879
|
+
method: "POST";
|
|
880
|
+
pathParams: z.ZodObject<{
|
|
881
|
+
id: z.ZodString;
|
|
882
|
+
}, "strip", z.ZodTypeAny, {
|
|
883
|
+
id: string;
|
|
884
|
+
}, {
|
|
885
|
+
id: string;
|
|
886
|
+
}>;
|
|
908
887
|
responses: {
|
|
909
|
-
201: z.ZodObject<
|
|
888
|
+
201: z.ZodObject<{
|
|
910
889
|
requestId: z.ZodString;
|
|
911
|
-
|
|
912
|
-
data: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
890
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
913
891
|
id: z.ZodString;
|
|
914
892
|
createdAt: z.ZodDate;
|
|
915
893
|
updatedAt: z.ZodDate;
|
|
916
894
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
917
|
-
}, {
|
|
918
895
|
emoji: z.ZodString;
|
|
919
896
|
name: z.ZodString;
|
|
920
897
|
description: z.ZodNullable<z.ZodString>;
|
|
921
898
|
distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
|
|
922
899
|
maximumAssignPerAgent: z.ZodNumber;
|
|
923
|
-
managers: z.ZodArray<z.ZodObject<
|
|
900
|
+
managers: z.ZodArray<z.ZodObject<{
|
|
901
|
+
name: z.ZodString;
|
|
924
902
|
id: z.ZodString;
|
|
903
|
+
address: z.ZodNullable<z.ZodString>;
|
|
904
|
+
email: z.ZodString;
|
|
925
905
|
createdAt: z.ZodDate;
|
|
926
906
|
updatedAt: z.ZodDate;
|
|
927
907
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
928
|
-
name: z.ZodString;
|
|
929
|
-
email: z.ZodString;
|
|
930
908
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
931
909
|
password: z.ZodString;
|
|
932
|
-
address: z.ZodNullable<z.ZodString>;
|
|
933
910
|
phone: z.ZodNullable<z.ZodString>;
|
|
934
911
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
935
|
-
}, {
|
|
936
912
|
roles: z.ZodArray<z.ZodObject<{
|
|
937
913
|
id: z.ZodString;
|
|
938
914
|
createdAt: z.ZodDate;
|
|
@@ -1038,7 +1014,7 @@ export declare const automationQueueContract: {
|
|
|
1038
1014
|
extensionName: string;
|
|
1039
1015
|
telephonySignature: string | null;
|
|
1040
1016
|
}>;
|
|
1041
|
-
}
|
|
1017
|
+
}, "strip", z.ZodTypeAny, {
|
|
1042
1018
|
name: string;
|
|
1043
1019
|
id: string;
|
|
1044
1020
|
address: string | null;
|
|
@@ -1125,19 +1101,18 @@ export declare const automationQueueContract: {
|
|
|
1125
1101
|
telephonySignature: string | null;
|
|
1126
1102
|
};
|
|
1127
1103
|
}>, "many">;
|
|
1128
|
-
agents: z.ZodArray<z.ZodObject<
|
|
1104
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
1105
|
+
name: z.ZodString;
|
|
1129
1106
|
id: z.ZodString;
|
|
1107
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1108
|
+
email: z.ZodString;
|
|
1130
1109
|
createdAt: z.ZodDate;
|
|
1131
1110
|
updatedAt: z.ZodDate;
|
|
1132
1111
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1133
|
-
name: z.ZodString;
|
|
1134
|
-
email: z.ZodString;
|
|
1135
1112
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
1136
1113
|
password: z.ZodString;
|
|
1137
|
-
address: z.ZodNullable<z.ZodString>;
|
|
1138
1114
|
phone: z.ZodNullable<z.ZodString>;
|
|
1139
1115
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
1140
|
-
}, {
|
|
1141
1116
|
roles: z.ZodArray<z.ZodObject<{
|
|
1142
1117
|
id: z.ZodString;
|
|
1143
1118
|
createdAt: z.ZodDate;
|
|
@@ -1243,7 +1218,7 @@ export declare const automationQueueContract: {
|
|
|
1243
1218
|
extensionName: string;
|
|
1244
1219
|
telephonySignature: string | null;
|
|
1245
1220
|
}>;
|
|
1246
|
-
}
|
|
1221
|
+
}, "strip", z.ZodTypeAny, {
|
|
1247
1222
|
name: string;
|
|
1248
1223
|
id: string;
|
|
1249
1224
|
address: string | null;
|
|
@@ -1330,7 +1305,7 @@ export declare const automationQueueContract: {
|
|
|
1330
1305
|
telephonySignature: string | null;
|
|
1331
1306
|
};
|
|
1332
1307
|
}>, "many">;
|
|
1333
|
-
}
|
|
1308
|
+
}, "strip", z.ZodTypeAny, {
|
|
1334
1309
|
emoji: string;
|
|
1335
1310
|
name: string;
|
|
1336
1311
|
id: string;
|
|
@@ -1527,7 +1502,7 @@ export declare const automationQueueContract: {
|
|
|
1527
1502
|
};
|
|
1528
1503
|
}[];
|
|
1529
1504
|
}>>;
|
|
1530
|
-
}
|
|
1505
|
+
}, "strip", z.ZodTypeAny, {
|
|
1531
1506
|
requestId: string;
|
|
1532
1507
|
data?: {
|
|
1533
1508
|
emoji: string;
|
|
@@ -1731,20 +1706,7 @@ export declare const automationQueueContract: {
|
|
|
1731
1706
|
} | undefined;
|
|
1732
1707
|
}>;
|
|
1733
1708
|
};
|
|
1734
|
-
|
|
1735
|
-
getAutomationQueues: {
|
|
1736
|
-
method: "GET";
|
|
1737
|
-
query: z.ZodOptional<z.ZodObject<{
|
|
1738
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
1739
|
-
withRelations: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1740
|
-
}, "strip", z.ZodTypeAny, {
|
|
1741
|
-
userId?: string | undefined;
|
|
1742
|
-
withRelations?: boolean | undefined;
|
|
1743
|
-
}, {
|
|
1744
|
-
userId?: string | undefined;
|
|
1745
|
-
withRelations?: boolean | undefined;
|
|
1746
|
-
}>>;
|
|
1747
|
-
path: "ms/automation-queue";
|
|
1709
|
+
path: "ms/automation-queue/:id/duplicate";
|
|
1748
1710
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1749
1711
|
'x-tenant': z.ZodString;
|
|
1750
1712
|
'x-service-token': z.ZodString;
|
|
@@ -1761,34 +1723,44 @@ export declare const automationQueueContract: {
|
|
|
1761
1723
|
'x-code'?: string | undefined;
|
|
1762
1724
|
'x-client-timezone'?: string | undefined;
|
|
1763
1725
|
}>>>;
|
|
1726
|
+
};
|
|
1727
|
+
getAutomationQueues: {
|
|
1728
|
+
method: "GET";
|
|
1729
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
1730
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
withRelations: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1732
|
+
}, "strip", z.ZodTypeAny, {
|
|
1733
|
+
userId?: string | undefined;
|
|
1734
|
+
withRelations?: boolean | undefined;
|
|
1735
|
+
}, {
|
|
1736
|
+
userId?: string | undefined;
|
|
1737
|
+
withRelations?: boolean | undefined;
|
|
1738
|
+
}>>;
|
|
1764
1739
|
responses: {
|
|
1765
|
-
200: z.ZodObject<
|
|
1740
|
+
200: z.ZodObject<{
|
|
1766
1741
|
requestId: z.ZodString;
|
|
1767
|
-
|
|
1768
|
-
data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1742
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1769
1743
|
id: z.ZodString;
|
|
1770
1744
|
createdAt: z.ZodDate;
|
|
1771
1745
|
updatedAt: z.ZodDate;
|
|
1772
1746
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1773
|
-
}, {
|
|
1774
1747
|
emoji: z.ZodString;
|
|
1775
1748
|
name: z.ZodString;
|
|
1776
1749
|
description: z.ZodNullable<z.ZodString>;
|
|
1777
1750
|
distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
|
|
1778
1751
|
maximumAssignPerAgent: z.ZodNumber;
|
|
1779
|
-
managers: z.ZodArray<z.ZodObject<
|
|
1752
|
+
managers: z.ZodArray<z.ZodObject<{
|
|
1753
|
+
name: z.ZodString;
|
|
1780
1754
|
id: z.ZodString;
|
|
1755
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1756
|
+
email: z.ZodString;
|
|
1781
1757
|
createdAt: z.ZodDate;
|
|
1782
1758
|
updatedAt: z.ZodDate;
|
|
1783
1759
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1784
|
-
name: z.ZodString;
|
|
1785
|
-
email: z.ZodString;
|
|
1786
1760
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
1787
1761
|
password: z.ZodString;
|
|
1788
|
-
address: z.ZodNullable<z.ZodString>;
|
|
1789
1762
|
phone: z.ZodNullable<z.ZodString>;
|
|
1790
1763
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
1791
|
-
}, {
|
|
1792
1764
|
roles: z.ZodArray<z.ZodObject<{
|
|
1793
1765
|
id: z.ZodString;
|
|
1794
1766
|
createdAt: z.ZodDate;
|
|
@@ -1894,7 +1866,7 @@ export declare const automationQueueContract: {
|
|
|
1894
1866
|
extensionName: string;
|
|
1895
1867
|
telephonySignature: string | null;
|
|
1896
1868
|
}>;
|
|
1897
|
-
}
|
|
1869
|
+
}, "strip", z.ZodTypeAny, {
|
|
1898
1870
|
name: string;
|
|
1899
1871
|
id: string;
|
|
1900
1872
|
address: string | null;
|
|
@@ -1981,19 +1953,18 @@ export declare const automationQueueContract: {
|
|
|
1981
1953
|
telephonySignature: string | null;
|
|
1982
1954
|
};
|
|
1983
1955
|
}>, "many">;
|
|
1984
|
-
agents: z.ZodArray<z.ZodObject<
|
|
1956
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
1957
|
+
name: z.ZodString;
|
|
1985
1958
|
id: z.ZodString;
|
|
1959
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1960
|
+
email: z.ZodString;
|
|
1986
1961
|
createdAt: z.ZodDate;
|
|
1987
1962
|
updatedAt: z.ZodDate;
|
|
1988
1963
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1989
|
-
name: z.ZodString;
|
|
1990
|
-
email: z.ZodString;
|
|
1991
1964
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
1992
1965
|
password: z.ZodString;
|
|
1993
|
-
address: z.ZodNullable<z.ZodString>;
|
|
1994
1966
|
phone: z.ZodNullable<z.ZodString>;
|
|
1995
1967
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
1996
|
-
}, {
|
|
1997
1968
|
roles: z.ZodArray<z.ZodObject<{
|
|
1998
1969
|
id: z.ZodString;
|
|
1999
1970
|
createdAt: z.ZodDate;
|
|
@@ -2099,7 +2070,7 @@ export declare const automationQueueContract: {
|
|
|
2099
2070
|
extensionName: string;
|
|
2100
2071
|
telephonySignature: string | null;
|
|
2101
2072
|
}>;
|
|
2102
|
-
}
|
|
2073
|
+
}, "strip", z.ZodTypeAny, {
|
|
2103
2074
|
name: string;
|
|
2104
2075
|
id: string;
|
|
2105
2076
|
address: string | null;
|
|
@@ -2186,7 +2157,7 @@ export declare const automationQueueContract: {
|
|
|
2186
2157
|
telephonySignature: string | null;
|
|
2187
2158
|
};
|
|
2188
2159
|
}>, "many">;
|
|
2189
|
-
}
|
|
2160
|
+
}, "strip", z.ZodTypeAny, {
|
|
2190
2161
|
emoji: string;
|
|
2191
2162
|
name: string;
|
|
2192
2163
|
id: string;
|
|
@@ -2383,7 +2354,7 @@ export declare const automationQueueContract: {
|
|
|
2383
2354
|
};
|
|
2384
2355
|
}[];
|
|
2385
2356
|
}>, "many">;
|
|
2386
|
-
}
|
|
2357
|
+
}, "strip", z.ZodTypeAny, {
|
|
2387
2358
|
data: {
|
|
2388
2359
|
emoji: string;
|
|
2389
2360
|
name: string;
|
|
@@ -2587,17 +2558,7 @@ export declare const automationQueueContract: {
|
|
|
2587
2558
|
requestId: string;
|
|
2588
2559
|
}>;
|
|
2589
2560
|
};
|
|
2590
|
-
|
|
2591
|
-
getAutomationQueueById: {
|
|
2592
|
-
method: "GET";
|
|
2593
|
-
pathParams: z.ZodObject<{
|
|
2594
|
-
id: z.ZodString;
|
|
2595
|
-
}, "strip", z.ZodTypeAny, {
|
|
2596
|
-
id: string;
|
|
2597
|
-
}, {
|
|
2598
|
-
id: string;
|
|
2599
|
-
}>;
|
|
2600
|
-
path: "ms/automation-queue/:id";
|
|
2561
|
+
path: "ms/automation-queue";
|
|
2601
2562
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2602
2563
|
'x-tenant': z.ZodString;
|
|
2603
2564
|
'x-service-token': z.ZodString;
|
|
@@ -2614,34 +2575,41 @@ export declare const automationQueueContract: {
|
|
|
2614
2575
|
'x-code'?: string | undefined;
|
|
2615
2576
|
'x-client-timezone'?: string | undefined;
|
|
2616
2577
|
}>>>;
|
|
2578
|
+
};
|
|
2579
|
+
getAutomationQueueById: {
|
|
2580
|
+
method: "GET";
|
|
2581
|
+
pathParams: z.ZodObject<{
|
|
2582
|
+
id: z.ZodString;
|
|
2583
|
+
}, "strip", z.ZodTypeAny, {
|
|
2584
|
+
id: string;
|
|
2585
|
+
}, {
|
|
2586
|
+
id: string;
|
|
2587
|
+
}>;
|
|
2617
2588
|
responses: {
|
|
2618
|
-
200: z.ZodObject<
|
|
2589
|
+
200: z.ZodObject<{
|
|
2619
2590
|
requestId: z.ZodString;
|
|
2620
|
-
|
|
2621
|
-
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
2591
|
+
data: z.ZodObject<{
|
|
2622
2592
|
id: z.ZodString;
|
|
2623
2593
|
createdAt: z.ZodDate;
|
|
2624
2594
|
updatedAt: z.ZodDate;
|
|
2625
2595
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2626
|
-
}, {
|
|
2627
2596
|
emoji: z.ZodString;
|
|
2628
2597
|
name: z.ZodString;
|
|
2629
2598
|
description: z.ZodNullable<z.ZodString>;
|
|
2630
2599
|
distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
|
|
2631
2600
|
maximumAssignPerAgent: z.ZodNumber;
|
|
2632
|
-
managers: z.ZodArray<z.ZodObject<
|
|
2601
|
+
managers: z.ZodArray<z.ZodObject<{
|
|
2602
|
+
name: z.ZodString;
|
|
2633
2603
|
id: z.ZodString;
|
|
2604
|
+
address: z.ZodNullable<z.ZodString>;
|
|
2605
|
+
email: z.ZodString;
|
|
2634
2606
|
createdAt: z.ZodDate;
|
|
2635
2607
|
updatedAt: z.ZodDate;
|
|
2636
2608
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2637
|
-
name: z.ZodString;
|
|
2638
|
-
email: z.ZodString;
|
|
2639
2609
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
2640
2610
|
password: z.ZodString;
|
|
2641
|
-
address: z.ZodNullable<z.ZodString>;
|
|
2642
2611
|
phone: z.ZodNullable<z.ZodString>;
|
|
2643
2612
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
2644
|
-
}, {
|
|
2645
2613
|
roles: z.ZodArray<z.ZodObject<{
|
|
2646
2614
|
id: z.ZodString;
|
|
2647
2615
|
createdAt: z.ZodDate;
|
|
@@ -2747,7 +2715,7 @@ export declare const automationQueueContract: {
|
|
|
2747
2715
|
extensionName: string;
|
|
2748
2716
|
telephonySignature: string | null;
|
|
2749
2717
|
}>;
|
|
2750
|
-
}
|
|
2718
|
+
}, "strip", z.ZodTypeAny, {
|
|
2751
2719
|
name: string;
|
|
2752
2720
|
id: string;
|
|
2753
2721
|
address: string | null;
|
|
@@ -2834,19 +2802,18 @@ export declare const automationQueueContract: {
|
|
|
2834
2802
|
telephonySignature: string | null;
|
|
2835
2803
|
};
|
|
2836
2804
|
}>, "many">;
|
|
2837
|
-
agents: z.ZodArray<z.ZodObject<
|
|
2805
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
2806
|
+
name: z.ZodString;
|
|
2838
2807
|
id: z.ZodString;
|
|
2808
|
+
address: z.ZodNullable<z.ZodString>;
|
|
2809
|
+
email: z.ZodString;
|
|
2839
2810
|
createdAt: z.ZodDate;
|
|
2840
2811
|
updatedAt: z.ZodDate;
|
|
2841
2812
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2842
|
-
name: z.ZodString;
|
|
2843
|
-
email: z.ZodString;
|
|
2844
2813
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
2845
2814
|
password: z.ZodString;
|
|
2846
|
-
address: z.ZodNullable<z.ZodString>;
|
|
2847
2815
|
phone: z.ZodNullable<z.ZodString>;
|
|
2848
2816
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
2849
|
-
}, {
|
|
2850
2817
|
roles: z.ZodArray<z.ZodObject<{
|
|
2851
2818
|
id: z.ZodString;
|
|
2852
2819
|
createdAt: z.ZodDate;
|
|
@@ -2952,7 +2919,7 @@ export declare const automationQueueContract: {
|
|
|
2952
2919
|
extensionName: string;
|
|
2953
2920
|
telephonySignature: string | null;
|
|
2954
2921
|
}>;
|
|
2955
|
-
}
|
|
2922
|
+
}, "strip", z.ZodTypeAny, {
|
|
2956
2923
|
name: string;
|
|
2957
2924
|
id: string;
|
|
2958
2925
|
address: string | null;
|
|
@@ -3039,7 +3006,7 @@ export declare const automationQueueContract: {
|
|
|
3039
3006
|
telephonySignature: string | null;
|
|
3040
3007
|
};
|
|
3041
3008
|
}>, "many">;
|
|
3042
|
-
}
|
|
3009
|
+
}, "strip", z.ZodTypeAny, {
|
|
3043
3010
|
emoji: string;
|
|
3044
3011
|
name: string;
|
|
3045
3012
|
id: string;
|
|
@@ -3236,7 +3203,7 @@ export declare const automationQueueContract: {
|
|
|
3236
3203
|
};
|
|
3237
3204
|
}[];
|
|
3238
3205
|
}>;
|
|
3239
|
-
}
|
|
3206
|
+
}, "strip", z.ZodTypeAny, {
|
|
3240
3207
|
data: {
|
|
3241
3208
|
emoji: string;
|
|
3242
3209
|
name: string;
|
|
@@ -3440,6 +3407,23 @@ export declare const automationQueueContract: {
|
|
|
3440
3407
|
requestId: string;
|
|
3441
3408
|
}>;
|
|
3442
3409
|
};
|
|
3410
|
+
path: "ms/automation-queue/:id";
|
|
3411
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3412
|
+
'x-tenant': z.ZodString;
|
|
3413
|
+
'x-service-token': z.ZodString;
|
|
3414
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
3415
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
3416
|
+
}, "strip", z.ZodTypeAny, {
|
|
3417
|
+
'x-tenant': string;
|
|
3418
|
+
'x-service-token': string;
|
|
3419
|
+
'x-client-timezone': string;
|
|
3420
|
+
'x-code'?: string | undefined;
|
|
3421
|
+
}, {
|
|
3422
|
+
'x-tenant': string;
|
|
3423
|
+
'x-service-token': string;
|
|
3424
|
+
'x-code'?: string | undefined;
|
|
3425
|
+
'x-client-timezone'?: string | undefined;
|
|
3426
|
+
}>>>;
|
|
3443
3427
|
};
|
|
3444
3428
|
updateAutomationQueue: {
|
|
3445
3429
|
body: z.ZodObject<{
|
|
@@ -3475,51 +3459,31 @@ export declare const automationQueueContract: {
|
|
|
3475
3459
|
}, {
|
|
3476
3460
|
id: string;
|
|
3477
3461
|
}>;
|
|
3478
|
-
path: "ms/automation-queue/:id";
|
|
3479
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3480
|
-
'x-tenant': z.ZodString;
|
|
3481
|
-
'x-service-token': z.ZodString;
|
|
3482
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
3483
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
3484
|
-
}, "strip", z.ZodTypeAny, {
|
|
3485
|
-
'x-tenant': string;
|
|
3486
|
-
'x-service-token': string;
|
|
3487
|
-
'x-client-timezone': string;
|
|
3488
|
-
'x-code'?: string | undefined;
|
|
3489
|
-
}, {
|
|
3490
|
-
'x-tenant': string;
|
|
3491
|
-
'x-service-token': string;
|
|
3492
|
-
'x-code'?: string | undefined;
|
|
3493
|
-
'x-client-timezone'?: string | undefined;
|
|
3494
|
-
}>>>;
|
|
3495
3462
|
responses: {
|
|
3496
|
-
200: z.ZodObject<
|
|
3463
|
+
200: z.ZodObject<{
|
|
3497
3464
|
requestId: z.ZodString;
|
|
3498
|
-
|
|
3499
|
-
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
3465
|
+
data: z.ZodObject<{
|
|
3500
3466
|
id: z.ZodString;
|
|
3501
3467
|
createdAt: z.ZodDate;
|
|
3502
3468
|
updatedAt: z.ZodDate;
|
|
3503
3469
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3504
|
-
}, {
|
|
3505
3470
|
emoji: z.ZodString;
|
|
3506
3471
|
name: z.ZodString;
|
|
3507
3472
|
description: z.ZodNullable<z.ZodString>;
|
|
3508
3473
|
distributionStrategy: z.ZodUnion<[z.ZodLiteral<"round-robin">, z.ZodLiteral<"fewest-assignments">, z.ZodLiteral<"random">, z.ZodLiteral<"notify-all">]>;
|
|
3509
3474
|
maximumAssignPerAgent: z.ZodNumber;
|
|
3510
|
-
managers: z.ZodArray<z.ZodObject<
|
|
3475
|
+
managers: z.ZodArray<z.ZodObject<{
|
|
3476
|
+
name: z.ZodString;
|
|
3511
3477
|
id: z.ZodString;
|
|
3478
|
+
address: z.ZodNullable<z.ZodString>;
|
|
3479
|
+
email: z.ZodString;
|
|
3512
3480
|
createdAt: z.ZodDate;
|
|
3513
3481
|
updatedAt: z.ZodDate;
|
|
3514
3482
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3515
|
-
name: z.ZodString;
|
|
3516
|
-
email: z.ZodString;
|
|
3517
3483
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
3518
3484
|
password: z.ZodString;
|
|
3519
|
-
address: z.ZodNullable<z.ZodString>;
|
|
3520
3485
|
phone: z.ZodNullable<z.ZodString>;
|
|
3521
3486
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
3522
|
-
}, {
|
|
3523
3487
|
roles: z.ZodArray<z.ZodObject<{
|
|
3524
3488
|
id: z.ZodString;
|
|
3525
3489
|
createdAt: z.ZodDate;
|
|
@@ -3625,7 +3589,7 @@ export declare const automationQueueContract: {
|
|
|
3625
3589
|
extensionName: string;
|
|
3626
3590
|
telephonySignature: string | null;
|
|
3627
3591
|
}>;
|
|
3628
|
-
}
|
|
3592
|
+
}, "strip", z.ZodTypeAny, {
|
|
3629
3593
|
name: string;
|
|
3630
3594
|
id: string;
|
|
3631
3595
|
address: string | null;
|
|
@@ -3712,19 +3676,18 @@ export declare const automationQueueContract: {
|
|
|
3712
3676
|
telephonySignature: string | null;
|
|
3713
3677
|
};
|
|
3714
3678
|
}>, "many">;
|
|
3715
|
-
agents: z.ZodArray<z.ZodObject<
|
|
3679
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
3680
|
+
name: z.ZodString;
|
|
3716
3681
|
id: z.ZodString;
|
|
3682
|
+
address: z.ZodNullable<z.ZodString>;
|
|
3683
|
+
email: z.ZodString;
|
|
3717
3684
|
createdAt: z.ZodDate;
|
|
3718
3685
|
updatedAt: z.ZodDate;
|
|
3719
3686
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3720
|
-
name: z.ZodString;
|
|
3721
|
-
email: z.ZodString;
|
|
3722
3687
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
3723
3688
|
password: z.ZodString;
|
|
3724
|
-
address: z.ZodNullable<z.ZodString>;
|
|
3725
3689
|
phone: z.ZodNullable<z.ZodString>;
|
|
3726
3690
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
3727
|
-
}, {
|
|
3728
3691
|
roles: z.ZodArray<z.ZodObject<{
|
|
3729
3692
|
id: z.ZodString;
|
|
3730
3693
|
createdAt: z.ZodDate;
|
|
@@ -3830,7 +3793,7 @@ export declare const automationQueueContract: {
|
|
|
3830
3793
|
extensionName: string;
|
|
3831
3794
|
telephonySignature: string | null;
|
|
3832
3795
|
}>;
|
|
3833
|
-
}
|
|
3796
|
+
}, "strip", z.ZodTypeAny, {
|
|
3834
3797
|
name: string;
|
|
3835
3798
|
id: string;
|
|
3836
3799
|
address: string | null;
|
|
@@ -3917,7 +3880,7 @@ export declare const automationQueueContract: {
|
|
|
3917
3880
|
telephonySignature: string | null;
|
|
3918
3881
|
};
|
|
3919
3882
|
}>, "many">;
|
|
3920
|
-
}
|
|
3883
|
+
}, "strip", z.ZodTypeAny, {
|
|
3921
3884
|
emoji: string;
|
|
3922
3885
|
name: string;
|
|
3923
3886
|
id: string;
|
|
@@ -4114,7 +4077,7 @@ export declare const automationQueueContract: {
|
|
|
4114
4077
|
};
|
|
4115
4078
|
}[];
|
|
4116
4079
|
}>;
|
|
4117
|
-
}
|
|
4080
|
+
}, "strip", z.ZodTypeAny, {
|
|
4118
4081
|
data: {
|
|
4119
4082
|
emoji: string;
|
|
4120
4083
|
name: string;
|
|
@@ -4318,17 +4281,6 @@ export declare const automationQueueContract: {
|
|
|
4318
4281
|
requestId: string;
|
|
4319
4282
|
}>;
|
|
4320
4283
|
};
|
|
4321
|
-
};
|
|
4322
|
-
deleteAutomationQueue: {
|
|
4323
|
-
body: null;
|
|
4324
|
-
method: "DELETE";
|
|
4325
|
-
pathParams: z.ZodObject<{
|
|
4326
|
-
id: z.ZodString;
|
|
4327
|
-
}, "strip", z.ZodTypeAny, {
|
|
4328
|
-
id: string;
|
|
4329
|
-
}, {
|
|
4330
|
-
id: string;
|
|
4331
|
-
}>;
|
|
4332
4284
|
path: "ms/automation-queue/:id";
|
|
4333
4285
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4334
4286
|
'x-tenant': z.ZodString;
|
|
@@ -4346,12 +4298,22 @@ export declare const automationQueueContract: {
|
|
|
4346
4298
|
'x-code'?: string | undefined;
|
|
4347
4299
|
'x-client-timezone'?: string | undefined;
|
|
4348
4300
|
}>>>;
|
|
4301
|
+
};
|
|
4302
|
+
deleteAutomationQueue: {
|
|
4303
|
+
body: null;
|
|
4304
|
+
method: "DELETE";
|
|
4305
|
+
pathParams: z.ZodObject<{
|
|
4306
|
+
id: z.ZodString;
|
|
4307
|
+
}, "strip", z.ZodTypeAny, {
|
|
4308
|
+
id: string;
|
|
4309
|
+
}, {
|
|
4310
|
+
id: string;
|
|
4311
|
+
}>;
|
|
4349
4312
|
responses: {
|
|
4350
|
-
200: z.ZodObject<
|
|
4313
|
+
200: z.ZodObject<{
|
|
4351
4314
|
requestId: z.ZodString;
|
|
4352
|
-
}, {
|
|
4353
4315
|
message: z.ZodString;
|
|
4354
|
-
}
|
|
4316
|
+
}, "strip", z.ZodTypeAny, {
|
|
4355
4317
|
message: string;
|
|
4356
4318
|
requestId: string;
|
|
4357
4319
|
}, {
|
|
@@ -4359,20 +4321,7 @@ export declare const automationQueueContract: {
|
|
|
4359
4321
|
requestId: string;
|
|
4360
4322
|
}>;
|
|
4361
4323
|
};
|
|
4362
|
-
|
|
4363
|
-
checkHasAssignedRoom: {
|
|
4364
|
-
body: z.ZodObject<{
|
|
4365
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
4366
|
-
queueId: z.ZodOptional<z.ZodString>;
|
|
4367
|
-
}, "strip", z.ZodTypeAny, {
|
|
4368
|
-
userId?: string | undefined;
|
|
4369
|
-
queueId?: string | undefined;
|
|
4370
|
-
}, {
|
|
4371
|
-
userId?: string | undefined;
|
|
4372
|
-
queueId?: string | undefined;
|
|
4373
|
-
}>;
|
|
4374
|
-
method: "POST";
|
|
4375
|
-
path: "ms/automation-queue/check-has-assigned-room";
|
|
4324
|
+
path: "ms/automation-queue/:id";
|
|
4376
4325
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4377
4326
|
'x-tenant': z.ZodString;
|
|
4378
4327
|
'x-service-token': z.ZodString;
|
|
@@ -4389,10 +4338,22 @@ export declare const automationQueueContract: {
|
|
|
4389
4338
|
'x-code'?: string | undefined;
|
|
4390
4339
|
'x-client-timezone'?: string | undefined;
|
|
4391
4340
|
}>>>;
|
|
4341
|
+
};
|
|
4342
|
+
checkHasAssignedRoom: {
|
|
4343
|
+
body: z.ZodObject<{
|
|
4344
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4345
|
+
queueId: z.ZodOptional<z.ZodString>;
|
|
4346
|
+
}, "strip", z.ZodTypeAny, {
|
|
4347
|
+
userId?: string | undefined;
|
|
4348
|
+
queueId?: string | undefined;
|
|
4349
|
+
}, {
|
|
4350
|
+
userId?: string | undefined;
|
|
4351
|
+
queueId?: string | undefined;
|
|
4352
|
+
}>;
|
|
4353
|
+
method: "POST";
|
|
4392
4354
|
responses: {
|
|
4393
|
-
200: z.ZodObject<
|
|
4355
|
+
200: z.ZodObject<{
|
|
4394
4356
|
requestId: z.ZodString;
|
|
4395
|
-
}, {
|
|
4396
4357
|
data: z.ZodObject<{
|
|
4397
4358
|
hasAssignedRoom: z.ZodBoolean;
|
|
4398
4359
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4400,7 +4361,7 @@ export declare const automationQueueContract: {
|
|
|
4400
4361
|
}, {
|
|
4401
4362
|
hasAssignedRoom: boolean;
|
|
4402
4363
|
}>;
|
|
4403
|
-
}
|
|
4364
|
+
}, "strip", z.ZodTypeAny, {
|
|
4404
4365
|
data: {
|
|
4405
4366
|
hasAssignedRoom: boolean;
|
|
4406
4367
|
};
|
|
@@ -4412,6 +4373,23 @@ export declare const automationQueueContract: {
|
|
|
4412
4373
|
requestId: string;
|
|
4413
4374
|
}>;
|
|
4414
4375
|
};
|
|
4376
|
+
path: "ms/automation-queue/check-has-assigned-room";
|
|
4377
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4378
|
+
'x-tenant': z.ZodString;
|
|
4379
|
+
'x-service-token': z.ZodString;
|
|
4380
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
4381
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
4382
|
+
}, "strip", z.ZodTypeAny, {
|
|
4383
|
+
'x-tenant': string;
|
|
4384
|
+
'x-service-token': string;
|
|
4385
|
+
'x-client-timezone': string;
|
|
4386
|
+
'x-code'?: string | undefined;
|
|
4387
|
+
}, {
|
|
4388
|
+
'x-tenant': string;
|
|
4389
|
+
'x-service-token': string;
|
|
4390
|
+
'x-code'?: string | undefined;
|
|
4391
|
+
'x-client-timezone'?: string | undefined;
|
|
4392
|
+
}>>>;
|
|
4415
4393
|
};
|
|
4416
4394
|
};
|
|
4417
4395
|
//# sourceMappingURL=index.d.ts.map
|