@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
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const CxLogSchema: z.ZodObject<{
|
|
2
|
+
export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
createdAt: z.ZodDate;
|
|
5
5
|
updatedAt: z.ZodDate;
|
|
6
6
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7
|
+
}, {
|
|
7
8
|
caseId: z.ZodNumber;
|
|
8
9
|
entityId: z.ZodString;
|
|
9
10
|
entityName: z.ZodString;
|
|
@@ -15,21 +16,23 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
15
16
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
16
17
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
17
18
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
|
19
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
19
20
|
id: z.ZodString;
|
|
20
21
|
createdAt: z.ZodDate;
|
|
21
22
|
updatedAt: z.ZodDate;
|
|
22
23
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
24
|
+
}, {
|
|
23
25
|
note: z.ZodNullable<z.ZodString>;
|
|
24
26
|
disposition: z.ZodNullable<z.ZodString>;
|
|
25
27
|
type: z.ZodString;
|
|
26
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
28
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
27
29
|
id: z.ZodString;
|
|
28
30
|
createdAt: z.ZodDate;
|
|
29
31
|
updatedAt: z.ZodDate;
|
|
30
32
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
33
|
+
}, {
|
|
31
34
|
name: z.ZodString;
|
|
32
|
-
}
|
|
35
|
+
}>, "strip", z.ZodTypeAny, {
|
|
33
36
|
name: string;
|
|
34
37
|
id: string;
|
|
35
38
|
createdAt: Date;
|
|
@@ -42,11 +45,12 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
42
45
|
updatedAt: Date;
|
|
43
46
|
deletedAt: Date | null;
|
|
44
47
|
}>, "many">;
|
|
45
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
48
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
46
49
|
id: z.ZodString;
|
|
47
50
|
createdAt: z.ZodDate;
|
|
48
51
|
updatedAt: z.ZodDate;
|
|
49
52
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
53
|
+
}, {
|
|
50
54
|
value: z.ZodString;
|
|
51
55
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
52
56
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -99,7 +103,7 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
99
103
|
childCategoryList: any[];
|
|
100
104
|
}[];
|
|
101
105
|
}>, "many">;
|
|
102
|
-
}
|
|
106
|
+
}>, "strip", z.ZodTypeAny, {
|
|
103
107
|
id: string;
|
|
104
108
|
value: string;
|
|
105
109
|
createdAt: Date;
|
|
@@ -178,7 +182,7 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
178
182
|
numberValue: number | null;
|
|
179
183
|
dateValue: Date | null;
|
|
180
184
|
}>, "many">>>;
|
|
181
|
-
}
|
|
185
|
+
}>, "strip", z.ZodTypeAny, {
|
|
182
186
|
type: string;
|
|
183
187
|
id: string;
|
|
184
188
|
disposition: string | null;
|
|
@@ -281,7 +285,7 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
281
285
|
dateValue: Date | null;
|
|
282
286
|
}[] | null | undefined;
|
|
283
287
|
}>>;
|
|
284
|
-
}
|
|
288
|
+
}>, "strip", z.ZodTypeAny, {
|
|
285
289
|
id: string;
|
|
286
290
|
channel: string | null;
|
|
287
291
|
direction: string | null;
|
|
@@ -418,11 +422,12 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
418
422
|
}[] | null | undefined;
|
|
419
423
|
} | null;
|
|
420
424
|
}>;
|
|
421
|
-
export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
425
|
+
export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendShape<{
|
|
422
426
|
id: z.ZodString;
|
|
423
427
|
createdAt: z.ZodDate;
|
|
424
428
|
updatedAt: z.ZodDate;
|
|
425
429
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
430
|
+
}, {
|
|
426
431
|
caseId: z.ZodNumber;
|
|
427
432
|
entityId: z.ZodString;
|
|
428
433
|
entityName: z.ZodString;
|
|
@@ -438,15 +443,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
438
443
|
resolutionDate: z.ZodString;
|
|
439
444
|
wrapUpDuration: z.ZodString;
|
|
440
445
|
slaMeet: z.ZodNullable<z.ZodString>;
|
|
441
|
-
evaluateForm: z.ZodNullable<z.ZodObject<{
|
|
446
|
+
evaluateForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
442
447
|
id: z.ZodString;
|
|
443
448
|
createdAt: z.ZodDate;
|
|
444
449
|
updatedAt: z.ZodDate;
|
|
445
450
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
451
|
+
}, {
|
|
446
452
|
cxLogId: z.ZodString;
|
|
447
453
|
sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
454
|
csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
|
-
}
|
|
455
|
+
}>, "strip", z.ZodTypeAny, {
|
|
450
456
|
id: string;
|
|
451
457
|
createdAt: Date;
|
|
452
458
|
updatedAt: Date;
|
|
@@ -463,21 +469,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
463
469
|
sentimentScore?: string | null | undefined;
|
|
464
470
|
csatScore?: string | null | undefined;
|
|
465
471
|
}>>;
|
|
466
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
|
472
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
467
473
|
id: z.ZodString;
|
|
468
474
|
createdAt: z.ZodDate;
|
|
469
475
|
updatedAt: z.ZodDate;
|
|
470
476
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
477
|
+
}, {
|
|
471
478
|
note: z.ZodNullable<z.ZodString>;
|
|
472
479
|
disposition: z.ZodNullable<z.ZodString>;
|
|
473
480
|
type: z.ZodString;
|
|
474
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
481
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
475
482
|
id: z.ZodString;
|
|
476
483
|
createdAt: z.ZodDate;
|
|
477
484
|
updatedAt: z.ZodDate;
|
|
478
485
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
486
|
+
}, {
|
|
479
487
|
name: z.ZodString;
|
|
480
|
-
}
|
|
488
|
+
}>, "strip", z.ZodTypeAny, {
|
|
481
489
|
name: string;
|
|
482
490
|
id: string;
|
|
483
491
|
createdAt: Date;
|
|
@@ -490,11 +498,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
490
498
|
updatedAt: Date;
|
|
491
499
|
deletedAt: Date | null;
|
|
492
500
|
}>, "many">;
|
|
493
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
501
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
494
502
|
id: z.ZodString;
|
|
495
503
|
createdAt: z.ZodDate;
|
|
496
504
|
updatedAt: z.ZodDate;
|
|
497
505
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
506
|
+
}, {
|
|
498
507
|
value: z.ZodString;
|
|
499
508
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
500
509
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -547,7 +556,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
547
556
|
childCategoryList: any[];
|
|
548
557
|
}[];
|
|
549
558
|
}>, "many">;
|
|
550
|
-
}
|
|
559
|
+
}>, "strip", z.ZodTypeAny, {
|
|
551
560
|
id: string;
|
|
552
561
|
value: string;
|
|
553
562
|
createdAt: Date;
|
|
@@ -626,7 +635,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
626
635
|
numberValue: number | null;
|
|
627
636
|
dateValue: Date | null;
|
|
628
637
|
}>, "many">>>;
|
|
629
|
-
}
|
|
638
|
+
}>, "strip", z.ZodTypeAny, {
|
|
630
639
|
type: string;
|
|
631
640
|
id: string;
|
|
632
641
|
disposition: string | null;
|
|
@@ -777,13 +786,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
777
786
|
notes: z.ZodNullable<z.ZodString>;
|
|
778
787
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
779
788
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
780
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
789
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
781
790
|
id: z.ZodString;
|
|
782
791
|
createdAt: z.ZodDate;
|
|
783
792
|
updatedAt: z.ZodDate;
|
|
784
793
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
794
|
+
}, {
|
|
785
795
|
name: z.ZodString;
|
|
786
|
-
}
|
|
796
|
+
}>, "strip", z.ZodTypeAny, {
|
|
787
797
|
name: string;
|
|
788
798
|
id: string;
|
|
789
799
|
createdAt: Date;
|
|
@@ -796,29 +806,32 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
796
806
|
updatedAt: Date;
|
|
797
807
|
deletedAt: Date | null;
|
|
798
808
|
}>, "many">;
|
|
799
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
809
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
800
810
|
id: z.ZodString;
|
|
801
811
|
createdAt: z.ZodDate;
|
|
802
812
|
updatedAt: z.ZodDate;
|
|
803
813
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
814
|
+
}, {
|
|
804
815
|
name: z.ZodOptional<z.ZodString>;
|
|
805
816
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
806
817
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
807
818
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
808
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
819
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
809
820
|
id: z.ZodString;
|
|
810
821
|
createdAt: z.ZodDate;
|
|
811
822
|
updatedAt: z.ZodDate;
|
|
812
823
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
824
|
+
}, {
|
|
813
825
|
textValue: z.ZodNullable<z.ZodString>;
|
|
814
826
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
815
827
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
816
828
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
817
|
-
attribute: z.ZodObject<Omit<{
|
|
829
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
818
830
|
id: z.ZodString;
|
|
819
831
|
createdAt: z.ZodDate;
|
|
820
832
|
updatedAt: z.ZodDate;
|
|
821
833
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
834
|
+
}, {
|
|
822
835
|
systemName: z.ZodString;
|
|
823
836
|
displayName: z.ZodString;
|
|
824
837
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -827,13 +840,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
827
840
|
isArchived: z.ZodBoolean;
|
|
828
841
|
isRequired: z.ZodBoolean;
|
|
829
842
|
isUnique: z.ZodBoolean;
|
|
830
|
-
options: z.ZodArray<z.ZodObject<{
|
|
831
|
-
position: z.ZodNumber;
|
|
832
|
-
value: z.ZodString;
|
|
843
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
833
844
|
label: z.ZodString;
|
|
845
|
+
value: z.ZodString;
|
|
834
846
|
isDefault: z.ZodBoolean;
|
|
847
|
+
position: z.ZodNumber;
|
|
848
|
+
}, {
|
|
835
849
|
id: z.ZodString;
|
|
836
|
-
}
|
|
850
|
+
}>, "strip", z.ZodTypeAny, {
|
|
837
851
|
id: string;
|
|
838
852
|
position: number;
|
|
839
853
|
value: string;
|
|
@@ -846,14 +860,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
846
860
|
label: string;
|
|
847
861
|
isDefault: boolean;
|
|
848
862
|
}>, "many">;
|
|
849
|
-
group: z.ZodObject<{
|
|
863
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
850
864
|
id: z.ZodString;
|
|
851
865
|
createdAt: z.ZodDate;
|
|
852
866
|
updatedAt: z.ZodDate;
|
|
853
867
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
868
|
+
}, {
|
|
854
869
|
systemName: z.ZodString;
|
|
855
870
|
displayName: z.ZodString;
|
|
856
|
-
}
|
|
871
|
+
}>, "strip", z.ZodTypeAny, {
|
|
857
872
|
id: string;
|
|
858
873
|
createdAt: Date;
|
|
859
874
|
updatedAt: Date;
|
|
@@ -868,7 +883,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
868
883
|
systemName: string;
|
|
869
884
|
displayName: string;
|
|
870
885
|
}>;
|
|
871
|
-
}
|
|
886
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
872
887
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
873
888
|
id: string;
|
|
874
889
|
position: number;
|
|
@@ -895,7 +910,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
895
910
|
isRequired: boolean;
|
|
896
911
|
isUnique: boolean;
|
|
897
912
|
}>;
|
|
898
|
-
}
|
|
913
|
+
}>, "strip", z.ZodTypeAny, {
|
|
899
914
|
id: string;
|
|
900
915
|
createdAt: Date;
|
|
901
916
|
updatedAt: Date;
|
|
@@ -942,7 +957,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
942
957
|
numberValue: number | null;
|
|
943
958
|
dateValue: Date | null;
|
|
944
959
|
}>, "many">>;
|
|
945
|
-
}
|
|
960
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
946
961
|
id: string;
|
|
947
962
|
createdAt: Date;
|
|
948
963
|
updatedAt: Date;
|
|
@@ -1023,11 +1038,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1023
1038
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
1024
1039
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
1025
1040
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
1026
|
-
attribute: z.ZodObject<Omit<{
|
|
1041
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1027
1042
|
id: z.ZodString;
|
|
1028
1043
|
createdAt: z.ZodDate;
|
|
1029
1044
|
updatedAt: z.ZodDate;
|
|
1030
1045
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1046
|
+
}, {
|
|
1031
1047
|
systemName: z.ZodString;
|
|
1032
1048
|
displayName: z.ZodString;
|
|
1033
1049
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -1036,13 +1052,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1036
1052
|
isArchived: z.ZodBoolean;
|
|
1037
1053
|
isRequired: z.ZodBoolean;
|
|
1038
1054
|
isUnique: z.ZodBoolean;
|
|
1039
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1040
|
-
position: z.ZodNumber;
|
|
1041
|
-
value: z.ZodString;
|
|
1055
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1042
1056
|
label: z.ZodString;
|
|
1057
|
+
value: z.ZodString;
|
|
1043
1058
|
isDefault: z.ZodBoolean;
|
|
1059
|
+
position: z.ZodNumber;
|
|
1060
|
+
}, {
|
|
1044
1061
|
id: z.ZodString;
|
|
1045
|
-
}
|
|
1062
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1046
1063
|
id: string;
|
|
1047
1064
|
position: number;
|
|
1048
1065
|
value: string;
|
|
@@ -1055,14 +1072,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1055
1072
|
label: string;
|
|
1056
1073
|
isDefault: boolean;
|
|
1057
1074
|
}>, "many">;
|
|
1058
|
-
group: z.ZodObject<{
|
|
1075
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
1059
1076
|
id: z.ZodString;
|
|
1060
1077
|
createdAt: z.ZodDate;
|
|
1061
1078
|
updatedAt: z.ZodDate;
|
|
1062
1079
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1080
|
+
}, {
|
|
1063
1081
|
systemName: z.ZodString;
|
|
1064
1082
|
displayName: z.ZodString;
|
|
1065
|
-
}
|
|
1083
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1066
1084
|
id: string;
|
|
1067
1085
|
createdAt: Date;
|
|
1068
1086
|
updatedAt: Date;
|
|
@@ -1077,7 +1095,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1077
1095
|
systemName: string;
|
|
1078
1096
|
displayName: string;
|
|
1079
1097
|
}>;
|
|
1080
|
-
}
|
|
1098
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
1081
1099
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
1082
1100
|
id: string;
|
|
1083
1101
|
position: number;
|
|
@@ -1104,18 +1122,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1104
1122
|
isRequired: boolean;
|
|
1105
1123
|
isUnique: boolean;
|
|
1106
1124
|
}>;
|
|
1107
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
1125
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1108
1126
|
id: z.ZodString;
|
|
1109
1127
|
createdAt: z.ZodDate;
|
|
1110
1128
|
updatedAt: z.ZodDate;
|
|
1111
1129
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1130
|
+
}, {
|
|
1112
1131
|
bucketName: z.ZodString;
|
|
1113
1132
|
fileName: z.ZodString;
|
|
1114
1133
|
fileSize: z.ZodNumber;
|
|
1115
1134
|
fileKey: z.ZodString;
|
|
1116
1135
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
1117
1136
|
status: z.ZodNullable<z.ZodString>;
|
|
1118
|
-
}
|
|
1137
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1119
1138
|
id: string;
|
|
1120
1139
|
status: string | null;
|
|
1121
1140
|
createdAt: Date;
|
|
@@ -2224,19 +2243,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2224
2243
|
email: string;
|
|
2225
2244
|
wabaExternalId: string;
|
|
2226
2245
|
phoneNumberId: string;
|
|
2246
|
+
status?: "active" | "pending" | undefined;
|
|
2247
|
+
channelId?: string | undefined;
|
|
2227
2248
|
wabaBusinessId?: string | undefined;
|
|
2228
2249
|
clientId?: string | undefined;
|
|
2229
|
-
channelId?: string | undefined;
|
|
2230
|
-
status?: "active" | "pending" | undefined;
|
|
2231
2250
|
apiKey?: string | undefined;
|
|
2232
2251
|
}, {
|
|
2233
2252
|
email: string;
|
|
2234
2253
|
wabaExternalId: string;
|
|
2235
2254
|
phoneNumberId: string;
|
|
2255
|
+
status?: "active" | "pending" | undefined;
|
|
2256
|
+
channelId?: string | undefined;
|
|
2236
2257
|
wabaBusinessId?: string | undefined;
|
|
2237
2258
|
clientId?: string | undefined;
|
|
2238
|
-
channelId?: string | undefined;
|
|
2239
|
-
status?: "active" | "pending" | undefined;
|
|
2240
2259
|
apiKey?: string | undefined;
|
|
2241
2260
|
}>>;
|
|
2242
2261
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -2258,19 +2277,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2258
2277
|
name: string;
|
|
2259
2278
|
id: string;
|
|
2260
2279
|
accessToken?: string | undefined;
|
|
2261
|
-
channelSecret?: string | undefined;
|
|
2262
|
-
additionalCredentials?: any;
|
|
2263
|
-
senderId?: string | undefined;
|
|
2264
2280
|
whatsapp?: {
|
|
2265
2281
|
email: string;
|
|
2266
2282
|
wabaExternalId: string;
|
|
2267
2283
|
phoneNumberId: string;
|
|
2284
|
+
status?: "active" | "pending" | undefined;
|
|
2285
|
+
channelId?: string | undefined;
|
|
2268
2286
|
wabaBusinessId?: string | undefined;
|
|
2269
2287
|
clientId?: string | undefined;
|
|
2270
|
-
channelId?: string | undefined;
|
|
2271
|
-
status?: "active" | "pending" | undefined;
|
|
2272
2288
|
apiKey?: string | undefined;
|
|
2273
2289
|
} | undefined;
|
|
2290
|
+
additionalCredentials?: any;
|
|
2291
|
+
channelSecret?: string | undefined;
|
|
2292
|
+
senderId?: string | undefined;
|
|
2274
2293
|
vonageCredentials?: {
|
|
2275
2294
|
apiKey: string;
|
|
2276
2295
|
mobileNumber: string;
|
|
@@ -2282,19 +2301,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2282
2301
|
name: string;
|
|
2283
2302
|
id: string;
|
|
2284
2303
|
accessToken?: string | undefined;
|
|
2285
|
-
channelSecret?: string | undefined;
|
|
2286
|
-
additionalCredentials?: any;
|
|
2287
|
-
senderId?: string | undefined;
|
|
2288
2304
|
whatsapp?: {
|
|
2289
2305
|
email: string;
|
|
2290
2306
|
wabaExternalId: string;
|
|
2291
2307
|
phoneNumberId: string;
|
|
2308
|
+
status?: "active" | "pending" | undefined;
|
|
2309
|
+
channelId?: string | undefined;
|
|
2292
2310
|
wabaBusinessId?: string | undefined;
|
|
2293
2311
|
clientId?: string | undefined;
|
|
2294
|
-
channelId?: string | undefined;
|
|
2295
|
-
status?: "active" | "pending" | undefined;
|
|
2296
2312
|
apiKey?: string | undefined;
|
|
2297
2313
|
} | undefined;
|
|
2314
|
+
additionalCredentials?: any;
|
|
2315
|
+
channelSecret?: string | undefined;
|
|
2316
|
+
senderId?: string | undefined;
|
|
2298
2317
|
vonageCredentials?: {
|
|
2299
2318
|
apiKey: string;
|
|
2300
2319
|
mobileNumber: string;
|
|
@@ -2540,19 +2559,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2540
2559
|
name: string;
|
|
2541
2560
|
id: string;
|
|
2542
2561
|
accessToken?: string | undefined;
|
|
2543
|
-
channelSecret?: string | undefined;
|
|
2544
|
-
additionalCredentials?: any;
|
|
2545
|
-
senderId?: string | undefined;
|
|
2546
2562
|
whatsapp?: {
|
|
2547
2563
|
email: string;
|
|
2548
2564
|
wabaExternalId: string;
|
|
2549
2565
|
phoneNumberId: string;
|
|
2566
|
+
status?: "active" | "pending" | undefined;
|
|
2567
|
+
channelId?: string | undefined;
|
|
2550
2568
|
wabaBusinessId?: string | undefined;
|
|
2551
2569
|
clientId?: string | undefined;
|
|
2552
|
-
channelId?: string | undefined;
|
|
2553
|
-
status?: "active" | "pending" | undefined;
|
|
2554
2570
|
apiKey?: string | undefined;
|
|
2555
2571
|
} | undefined;
|
|
2572
|
+
additionalCredentials?: any;
|
|
2573
|
+
channelSecret?: string | undefined;
|
|
2574
|
+
senderId?: string | undefined;
|
|
2556
2575
|
vonageCredentials?: {
|
|
2557
2576
|
apiKey: string;
|
|
2558
2577
|
mobileNumber: string;
|
|
@@ -2629,19 +2648,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2629
2648
|
name: string;
|
|
2630
2649
|
id: string;
|
|
2631
2650
|
accessToken?: string | undefined;
|
|
2632
|
-
channelSecret?: string | undefined;
|
|
2633
|
-
additionalCredentials?: any;
|
|
2634
|
-
senderId?: string | undefined;
|
|
2635
2651
|
whatsapp?: {
|
|
2636
2652
|
email: string;
|
|
2637
2653
|
wabaExternalId: string;
|
|
2638
2654
|
phoneNumberId: string;
|
|
2655
|
+
status?: "active" | "pending" | undefined;
|
|
2656
|
+
channelId?: string | undefined;
|
|
2639
2657
|
wabaBusinessId?: string | undefined;
|
|
2640
2658
|
clientId?: string | undefined;
|
|
2641
|
-
channelId?: string | undefined;
|
|
2642
|
-
status?: "active" | "pending" | undefined;
|
|
2643
2659
|
apiKey?: string | undefined;
|
|
2644
2660
|
} | undefined;
|
|
2661
|
+
additionalCredentials?: any;
|
|
2662
|
+
channelSecret?: string | undefined;
|
|
2663
|
+
senderId?: string | undefined;
|
|
2645
2664
|
vonageCredentials?: {
|
|
2646
2665
|
apiKey: string;
|
|
2647
2666
|
mobileNumber: string;
|
|
@@ -2721,19 +2740,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2721
2740
|
name: string;
|
|
2722
2741
|
id: string;
|
|
2723
2742
|
accessToken?: string | undefined;
|
|
2724
|
-
channelSecret?: string | undefined;
|
|
2725
|
-
additionalCredentials?: any;
|
|
2726
|
-
senderId?: string | undefined;
|
|
2727
2743
|
whatsapp?: {
|
|
2728
2744
|
email: string;
|
|
2729
2745
|
wabaExternalId: string;
|
|
2730
2746
|
phoneNumberId: string;
|
|
2747
|
+
status?: "active" | "pending" | undefined;
|
|
2748
|
+
channelId?: string | undefined;
|
|
2731
2749
|
wabaBusinessId?: string | undefined;
|
|
2732
2750
|
clientId?: string | undefined;
|
|
2733
|
-
channelId?: string | undefined;
|
|
2734
|
-
status?: "active" | "pending" | undefined;
|
|
2735
2751
|
apiKey?: string | undefined;
|
|
2736
2752
|
} | undefined;
|
|
2753
|
+
additionalCredentials?: any;
|
|
2754
|
+
channelSecret?: string | undefined;
|
|
2755
|
+
senderId?: string | undefined;
|
|
2737
2756
|
vonageCredentials?: {
|
|
2738
2757
|
apiKey: string;
|
|
2739
2758
|
mobileNumber: string;
|
|
@@ -3039,19 +3058,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3039
3058
|
name: string;
|
|
3040
3059
|
id: string;
|
|
3041
3060
|
accessToken?: string | undefined;
|
|
3042
|
-
channelSecret?: string | undefined;
|
|
3043
|
-
additionalCredentials?: any;
|
|
3044
|
-
senderId?: string | undefined;
|
|
3045
3061
|
whatsapp?: {
|
|
3046
3062
|
email: string;
|
|
3047
3063
|
wabaExternalId: string;
|
|
3048
3064
|
phoneNumberId: string;
|
|
3065
|
+
status?: "active" | "pending" | undefined;
|
|
3066
|
+
channelId?: string | undefined;
|
|
3049
3067
|
wabaBusinessId?: string | undefined;
|
|
3050
3068
|
clientId?: string | undefined;
|
|
3051
|
-
channelId?: string | undefined;
|
|
3052
|
-
status?: "active" | "pending" | undefined;
|
|
3053
3069
|
apiKey?: string | undefined;
|
|
3054
3070
|
} | undefined;
|
|
3071
|
+
additionalCredentials?: any;
|
|
3072
|
+
channelSecret?: string | undefined;
|
|
3073
|
+
senderId?: string | undefined;
|
|
3055
3074
|
vonageCredentials?: {
|
|
3056
3075
|
apiKey: string;
|
|
3057
3076
|
mobileNumber: string;
|
|
@@ -3348,11 +3367,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3348
3367
|
};
|
|
3349
3368
|
} | null;
|
|
3350
3369
|
}>>;
|
|
3351
|
-
telephonyCdr: z.ZodNullable<z.ZodObject<{
|
|
3370
|
+
telephonyCdr: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
3352
3371
|
id: z.ZodString;
|
|
3353
3372
|
createdAt: z.ZodDate;
|
|
3354
3373
|
updatedAt: z.ZodDate;
|
|
3355
3374
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3375
|
+
}, {
|
|
3356
3376
|
uniqueCallId: z.ZodString;
|
|
3357
3377
|
timeStart: z.ZodString;
|
|
3358
3378
|
callFrom: z.ZodString;
|
|
@@ -3372,13 +3392,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3372
3392
|
notes: z.ZodNullable<z.ZodString>;
|
|
3373
3393
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
3374
3394
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
3375
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
3395
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3376
3396
|
id: z.ZodString;
|
|
3377
3397
|
createdAt: z.ZodDate;
|
|
3378
3398
|
updatedAt: z.ZodDate;
|
|
3379
3399
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3400
|
+
}, {
|
|
3380
3401
|
name: z.ZodString;
|
|
3381
|
-
}
|
|
3402
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3382
3403
|
name: string;
|
|
3383
3404
|
id: string;
|
|
3384
3405
|
createdAt: Date;
|
|
@@ -3391,29 +3412,32 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3391
3412
|
updatedAt: Date;
|
|
3392
3413
|
deletedAt: Date | null;
|
|
3393
3414
|
}>, "many">;
|
|
3394
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
3415
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
3395
3416
|
id: z.ZodString;
|
|
3396
3417
|
createdAt: z.ZodDate;
|
|
3397
3418
|
updatedAt: z.ZodDate;
|
|
3398
3419
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3420
|
+
}, {
|
|
3399
3421
|
name: z.ZodOptional<z.ZodString>;
|
|
3400
3422
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3401
3423
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3402
3424
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3403
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3425
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3404
3426
|
id: z.ZodString;
|
|
3405
3427
|
createdAt: z.ZodDate;
|
|
3406
3428
|
updatedAt: z.ZodDate;
|
|
3407
3429
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3430
|
+
}, {
|
|
3408
3431
|
textValue: z.ZodNullable<z.ZodString>;
|
|
3409
3432
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
3410
3433
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
3411
3434
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
3412
|
-
attribute: z.ZodObject<Omit<{
|
|
3435
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
3413
3436
|
id: z.ZodString;
|
|
3414
3437
|
createdAt: z.ZodDate;
|
|
3415
3438
|
updatedAt: z.ZodDate;
|
|
3416
3439
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3440
|
+
}, {
|
|
3417
3441
|
systemName: z.ZodString;
|
|
3418
3442
|
displayName: z.ZodString;
|
|
3419
3443
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -3422,13 +3446,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3422
3446
|
isArchived: z.ZodBoolean;
|
|
3423
3447
|
isRequired: z.ZodBoolean;
|
|
3424
3448
|
isUnique: z.ZodBoolean;
|
|
3425
|
-
options: z.ZodArray<z.ZodObject<{
|
|
3426
|
-
position: z.ZodNumber;
|
|
3427
|
-
value: z.ZodString;
|
|
3449
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3428
3450
|
label: z.ZodString;
|
|
3451
|
+
value: z.ZodString;
|
|
3429
3452
|
isDefault: z.ZodBoolean;
|
|
3453
|
+
position: z.ZodNumber;
|
|
3454
|
+
}, {
|
|
3430
3455
|
id: z.ZodString;
|
|
3431
|
-
}
|
|
3456
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3432
3457
|
id: string;
|
|
3433
3458
|
position: number;
|
|
3434
3459
|
value: string;
|
|
@@ -3441,14 +3466,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3441
3466
|
label: string;
|
|
3442
3467
|
isDefault: boolean;
|
|
3443
3468
|
}>, "many">;
|
|
3444
|
-
group: z.ZodObject<{
|
|
3469
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
3445
3470
|
id: z.ZodString;
|
|
3446
3471
|
createdAt: z.ZodDate;
|
|
3447
3472
|
updatedAt: z.ZodDate;
|
|
3448
3473
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3474
|
+
}, {
|
|
3449
3475
|
systemName: z.ZodString;
|
|
3450
3476
|
displayName: z.ZodString;
|
|
3451
|
-
}
|
|
3477
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3452
3478
|
id: string;
|
|
3453
3479
|
createdAt: Date;
|
|
3454
3480
|
updatedAt: Date;
|
|
@@ -3463,7 +3489,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3463
3489
|
systemName: string;
|
|
3464
3490
|
displayName: string;
|
|
3465
3491
|
}>;
|
|
3466
|
-
}
|
|
3492
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
3467
3493
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
3468
3494
|
id: string;
|
|
3469
3495
|
position: number;
|
|
@@ -3490,7 +3516,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3490
3516
|
isRequired: boolean;
|
|
3491
3517
|
isUnique: boolean;
|
|
3492
3518
|
}>;
|
|
3493
|
-
}
|
|
3519
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3494
3520
|
id: string;
|
|
3495
3521
|
createdAt: Date;
|
|
3496
3522
|
updatedAt: Date;
|
|
@@ -3537,7 +3563,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3537
3563
|
numberValue: number | null;
|
|
3538
3564
|
dateValue: Date | null;
|
|
3539
3565
|
}>, "many">>;
|
|
3540
|
-
}
|
|
3566
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
3541
3567
|
id: string;
|
|
3542
3568
|
createdAt: Date;
|
|
3543
3569
|
updatedAt: Date;
|
|
@@ -3618,11 +3644,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3618
3644
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
3619
3645
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
3620
3646
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
3621
|
-
attribute: z.ZodObject<Omit<{
|
|
3647
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
3622
3648
|
id: z.ZodString;
|
|
3623
3649
|
createdAt: z.ZodDate;
|
|
3624
3650
|
updatedAt: z.ZodDate;
|
|
3625
3651
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3652
|
+
}, {
|
|
3626
3653
|
systemName: z.ZodString;
|
|
3627
3654
|
displayName: z.ZodString;
|
|
3628
3655
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -3631,13 +3658,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3631
3658
|
isArchived: z.ZodBoolean;
|
|
3632
3659
|
isRequired: z.ZodBoolean;
|
|
3633
3660
|
isUnique: z.ZodBoolean;
|
|
3634
|
-
options: z.ZodArray<z.ZodObject<{
|
|
3635
|
-
position: z.ZodNumber;
|
|
3636
|
-
value: z.ZodString;
|
|
3661
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3637
3662
|
label: z.ZodString;
|
|
3663
|
+
value: z.ZodString;
|
|
3638
3664
|
isDefault: z.ZodBoolean;
|
|
3665
|
+
position: z.ZodNumber;
|
|
3666
|
+
}, {
|
|
3639
3667
|
id: z.ZodString;
|
|
3640
|
-
}
|
|
3668
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3641
3669
|
id: string;
|
|
3642
3670
|
position: number;
|
|
3643
3671
|
value: string;
|
|
@@ -3650,14 +3678,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3650
3678
|
label: string;
|
|
3651
3679
|
isDefault: boolean;
|
|
3652
3680
|
}>, "many">;
|
|
3653
|
-
group: z.ZodObject<{
|
|
3681
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
3654
3682
|
id: z.ZodString;
|
|
3655
3683
|
createdAt: z.ZodDate;
|
|
3656
3684
|
updatedAt: z.ZodDate;
|
|
3657
3685
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3686
|
+
}, {
|
|
3658
3687
|
systemName: z.ZodString;
|
|
3659
3688
|
displayName: z.ZodString;
|
|
3660
|
-
}
|
|
3689
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3661
3690
|
id: string;
|
|
3662
3691
|
createdAt: Date;
|
|
3663
3692
|
updatedAt: Date;
|
|
@@ -3672,7 +3701,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3672
3701
|
systemName: string;
|
|
3673
3702
|
displayName: string;
|
|
3674
3703
|
}>;
|
|
3675
|
-
}
|
|
3704
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
3676
3705
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
3677
3706
|
id: string;
|
|
3678
3707
|
position: number;
|
|
@@ -3699,18 +3728,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3699
3728
|
isRequired: boolean;
|
|
3700
3729
|
isUnique: boolean;
|
|
3701
3730
|
}>;
|
|
3702
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
3731
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3703
3732
|
id: z.ZodString;
|
|
3704
3733
|
createdAt: z.ZodDate;
|
|
3705
3734
|
updatedAt: z.ZodDate;
|
|
3706
3735
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3736
|
+
}, {
|
|
3707
3737
|
bucketName: z.ZodString;
|
|
3708
3738
|
fileName: z.ZodString;
|
|
3709
3739
|
fileSize: z.ZodNumber;
|
|
3710
3740
|
fileKey: z.ZodString;
|
|
3711
3741
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
3712
3742
|
status: z.ZodNullable<z.ZodString>;
|
|
3713
|
-
}
|
|
3743
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3714
3744
|
id: string;
|
|
3715
3745
|
status: string | null;
|
|
3716
3746
|
createdAt: Date;
|
|
@@ -4131,16 +4161,17 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4131
4161
|
};
|
|
4132
4162
|
}[] | undefined;
|
|
4133
4163
|
}>>;
|
|
4134
|
-
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4164
|
+
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
4135
4165
|
id: z.ZodString;
|
|
4136
4166
|
createdAt: z.ZodDate;
|
|
4137
4167
|
updatedAt: z.ZodDate;
|
|
4138
4168
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4169
|
+
}, {
|
|
4139
4170
|
queueId: z.ZodNumber;
|
|
4140
4171
|
queueName: z.ZodString;
|
|
4141
4172
|
queueNumber: z.ZodString;
|
|
4142
4173
|
maximumWaitingTime: z.ZodNumber;
|
|
4143
|
-
}
|
|
4174
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4144
4175
|
id: string;
|
|
4145
4176
|
createdAt: Date;
|
|
4146
4177
|
updatedAt: Date;
|
|
@@ -4167,18 +4198,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4167
4198
|
agentRingTime: z.ZodNullable<z.ZodNumber>;
|
|
4168
4199
|
uploadId: z.ZodNullable<z.ZodString>;
|
|
4169
4200
|
serialNumber: z.ZodNullable<z.ZodString>;
|
|
4170
|
-
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4201
|
+
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
4171
4202
|
id: z.ZodString;
|
|
4172
4203
|
createdAt: z.ZodDate;
|
|
4173
4204
|
updatedAt: z.ZodDate;
|
|
4174
4205
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4206
|
+
}, {
|
|
4175
4207
|
bucketName: z.ZodString;
|
|
4176
4208
|
fileName: z.ZodString;
|
|
4177
4209
|
fileSize: z.ZodNumber;
|
|
4178
4210
|
fileKey: z.ZodString;
|
|
4179
4211
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
4180
4212
|
status: z.ZodNullable<z.ZodString>;
|
|
4181
|
-
}
|
|
4213
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4182
4214
|
id: string;
|
|
4183
4215
|
status: string | null;
|
|
4184
4216
|
createdAt: Date;
|
|
@@ -4613,7 +4645,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4613
4645
|
updatedAt?: string | undefined;
|
|
4614
4646
|
}>>>;
|
|
4615
4647
|
}, "strip", z.ZodTypeAny, {
|
|
4616
|
-
|
|
4648
|
+
callFrom?: {
|
|
4617
4649
|
id: string;
|
|
4618
4650
|
user: {
|
|
4619
4651
|
name: string;
|
|
@@ -4639,7 +4671,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4639
4671
|
createdAt?: string | undefined;
|
|
4640
4672
|
updatedAt?: string | undefined;
|
|
4641
4673
|
} | null | undefined;
|
|
4642
|
-
|
|
4674
|
+
callTo?: {
|
|
4643
4675
|
id: string;
|
|
4644
4676
|
user: {
|
|
4645
4677
|
name: string;
|
|
@@ -4666,7 +4698,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4666
4698
|
updatedAt?: string | undefined;
|
|
4667
4699
|
} | null | undefined;
|
|
4668
4700
|
}, {
|
|
4669
|
-
|
|
4701
|
+
callFrom?: {
|
|
4670
4702
|
id: string;
|
|
4671
4703
|
user: {
|
|
4672
4704
|
name: string;
|
|
@@ -4692,7 +4724,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4692
4724
|
createdAt?: string | undefined;
|
|
4693
4725
|
updatedAt?: string | undefined;
|
|
4694
4726
|
} | null | undefined;
|
|
4695
|
-
|
|
4727
|
+
callTo?: {
|
|
4696
4728
|
id: string;
|
|
4697
4729
|
user: {
|
|
4698
4730
|
name: string;
|
|
@@ -4721,7 +4753,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4721
4753
|
}>>;
|
|
4722
4754
|
isQueueMissedCall: z.ZodBoolean;
|
|
4723
4755
|
extensionId: z.ZodNullable<z.ZodString>;
|
|
4724
|
-
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4756
|
+
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
4725
4757
|
id: z.ZodString;
|
|
4726
4758
|
createdAt: z.ZodDate;
|
|
4727
4759
|
updatedAt: z.ZodDate;
|
|
@@ -4733,6 +4765,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4733
4765
|
extensionId: z.ZodNullable<z.ZodString>;
|
|
4734
4766
|
extensionName: z.ZodString;
|
|
4735
4767
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
4768
|
+
}, {
|
|
4736
4769
|
user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4737
4770
|
id: z.ZodString;
|
|
4738
4771
|
createdAt: z.ZodDate;
|
|
@@ -4937,7 +4970,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4937
4970
|
telephonySignature: string | null;
|
|
4938
4971
|
};
|
|
4939
4972
|
}>>>;
|
|
4940
|
-
}
|
|
4973
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4941
4974
|
id: string;
|
|
4942
4975
|
createdAt: Date;
|
|
4943
4976
|
updatedAt: Date;
|
|
@@ -5052,7 +5085,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5052
5085
|
}>>>;
|
|
5053
5086
|
telephonyQueueId: z.ZodNullable<z.ZodString>;
|
|
5054
5087
|
contactId: z.ZodNullable<z.ZodString>;
|
|
5055
|
-
}
|
|
5088
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5056
5089
|
type: string;
|
|
5057
5090
|
id: string;
|
|
5058
5091
|
recording: string | null;
|
|
@@ -5075,7 +5108,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5075
5108
|
uploadId: string | null;
|
|
5076
5109
|
serialNumber: string | null;
|
|
5077
5110
|
callParticipants: {
|
|
5078
|
-
|
|
5111
|
+
callFrom?: {
|
|
5079
5112
|
id: string;
|
|
5080
5113
|
user: {
|
|
5081
5114
|
name: string;
|
|
@@ -5101,7 +5134,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5101
5134
|
createdAt?: string | undefined;
|
|
5102
5135
|
updatedAt?: string | undefined;
|
|
5103
5136
|
} | null | undefined;
|
|
5104
|
-
|
|
5137
|
+
callTo?: {
|
|
5105
5138
|
id: string;
|
|
5106
5139
|
user: {
|
|
5107
5140
|
name: string;
|
|
@@ -5131,6 +5164,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5131
5164
|
isQueueMissedCall: boolean;
|
|
5132
5165
|
telephonyQueueId: string | null;
|
|
5133
5166
|
contactId: string | null;
|
|
5167
|
+
extension?: {
|
|
5168
|
+
id: string;
|
|
5169
|
+
createdAt: Date;
|
|
5170
|
+
updatedAt: Date;
|
|
5171
|
+
deletedAt: Date | null;
|
|
5172
|
+
userId: string | null;
|
|
5173
|
+
sipServerUrl: string;
|
|
5174
|
+
sipUserName: string;
|
|
5175
|
+
webphoneLoginUser: string;
|
|
5176
|
+
extensionId: string | null;
|
|
5177
|
+
extensionName: string;
|
|
5178
|
+
telephonySignature: string | null;
|
|
5179
|
+
user?: {
|
|
5180
|
+
name: string;
|
|
5181
|
+
id: string;
|
|
5182
|
+
address: string | null;
|
|
5183
|
+
email: string;
|
|
5184
|
+
createdAt: Date;
|
|
5185
|
+
updatedAt: Date;
|
|
5186
|
+
deletedAt: Date | null;
|
|
5187
|
+
emailVerifiedAt: Date | null;
|
|
5188
|
+
password: string;
|
|
5189
|
+
phone: string | null;
|
|
5190
|
+
notificationCount: number | null;
|
|
5191
|
+
roles: {
|
|
5192
|
+
id: string;
|
|
5193
|
+
description: string | null;
|
|
5194
|
+
createdAt: Date;
|
|
5195
|
+
updatedAt: Date;
|
|
5196
|
+
deletedAt: Date | null;
|
|
5197
|
+
systemName: string;
|
|
5198
|
+
displayName: string;
|
|
5199
|
+
permissions: {
|
|
5200
|
+
id: string;
|
|
5201
|
+
description: string | null;
|
|
5202
|
+
createdAt: Date;
|
|
5203
|
+
updatedAt: Date;
|
|
5204
|
+
deletedAt: Date | null;
|
|
5205
|
+
systemName: string;
|
|
5206
|
+
displayName: string;
|
|
5207
|
+
}[];
|
|
5208
|
+
}[];
|
|
5209
|
+
extension: {
|
|
5210
|
+
id: string;
|
|
5211
|
+
createdAt: Date;
|
|
5212
|
+
updatedAt: Date;
|
|
5213
|
+
deletedAt: Date | null;
|
|
5214
|
+
userId: string | null;
|
|
5215
|
+
sipServerUrl: string;
|
|
5216
|
+
sipUserName: string;
|
|
5217
|
+
webphoneLoginUser: string;
|
|
5218
|
+
extensionId: string | null;
|
|
5219
|
+
extensionName: string;
|
|
5220
|
+
telephonySignature: string | null;
|
|
5221
|
+
};
|
|
5222
|
+
} | null | undefined;
|
|
5223
|
+
} | null | undefined;
|
|
5134
5224
|
contact?: {
|
|
5135
5225
|
name: string;
|
|
5136
5226
|
id: string;
|
|
@@ -5265,87 +5355,30 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5265
5355
|
fileSize: number;
|
|
5266
5356
|
fileUrl: string | null;
|
|
5267
5357
|
} | null | undefined;
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
roles: {
|
|
5293
|
-
id: string;
|
|
5294
|
-
description: string | null;
|
|
5295
|
-
createdAt: Date;
|
|
5296
|
-
updatedAt: Date;
|
|
5297
|
-
deletedAt: Date | null;
|
|
5298
|
-
systemName: string;
|
|
5299
|
-
displayName: string;
|
|
5300
|
-
permissions: {
|
|
5301
|
-
id: string;
|
|
5302
|
-
description: string | null;
|
|
5303
|
-
createdAt: Date;
|
|
5304
|
-
updatedAt: Date;
|
|
5305
|
-
deletedAt: Date | null;
|
|
5306
|
-
systemName: string;
|
|
5307
|
-
displayName: string;
|
|
5308
|
-
}[];
|
|
5309
|
-
}[];
|
|
5310
|
-
extension: {
|
|
5311
|
-
id: string;
|
|
5312
|
-
createdAt: Date;
|
|
5313
|
-
updatedAt: Date;
|
|
5314
|
-
deletedAt: Date | null;
|
|
5315
|
-
userId: string | null;
|
|
5316
|
-
sipServerUrl: string;
|
|
5317
|
-
sipUserName: string;
|
|
5318
|
-
webphoneLoginUser: string;
|
|
5319
|
-
extensionId: string | null;
|
|
5320
|
-
extensionName: string;
|
|
5321
|
-
telephonySignature: string | null;
|
|
5322
|
-
};
|
|
5323
|
-
} | null | undefined;
|
|
5324
|
-
} | null | undefined;
|
|
5325
|
-
}, {
|
|
5326
|
-
type: string;
|
|
5327
|
-
id: string;
|
|
5328
|
-
recording: string | null;
|
|
5329
|
-
status: string;
|
|
5330
|
-
createdAt: Date;
|
|
5331
|
-
updatedAt: Date;
|
|
5332
|
-
deletedAt: Date | null;
|
|
5333
|
-
extensionId: string | null;
|
|
5334
|
-
uniqueCallId: string;
|
|
5335
|
-
timeStart: string;
|
|
5336
|
-
callFrom: string;
|
|
5337
|
-
callTo: string;
|
|
5338
|
-
callDuration: number | null;
|
|
5339
|
-
talkDuration: number | null;
|
|
5340
|
-
srcTrunkName: string | null;
|
|
5341
|
-
dstTrunkName: string | null;
|
|
5342
|
-
pinCode: string | null;
|
|
5343
|
-
didNumber: string | null;
|
|
5344
|
-
agentRingTime: number | null;
|
|
5345
|
-
uploadId: string | null;
|
|
5346
|
-
serialNumber: string | null;
|
|
5347
|
-
callParticipants: {
|
|
5348
|
-
callTo?: {
|
|
5358
|
+
}, {
|
|
5359
|
+
type: string;
|
|
5360
|
+
id: string;
|
|
5361
|
+
recording: string | null;
|
|
5362
|
+
status: string;
|
|
5363
|
+
createdAt: Date;
|
|
5364
|
+
updatedAt: Date;
|
|
5365
|
+
deletedAt: Date | null;
|
|
5366
|
+
extensionId: string | null;
|
|
5367
|
+
uniqueCallId: string;
|
|
5368
|
+
timeStart: string;
|
|
5369
|
+
callFrom: string;
|
|
5370
|
+
callTo: string;
|
|
5371
|
+
callDuration: number | null;
|
|
5372
|
+
talkDuration: number | null;
|
|
5373
|
+
srcTrunkName: string | null;
|
|
5374
|
+
dstTrunkName: string | null;
|
|
5375
|
+
pinCode: string | null;
|
|
5376
|
+
didNumber: string | null;
|
|
5377
|
+
agentRingTime: number | null;
|
|
5378
|
+
uploadId: string | null;
|
|
5379
|
+
serialNumber: string | null;
|
|
5380
|
+
callParticipants: {
|
|
5381
|
+
callFrom?: {
|
|
5349
5382
|
id: string;
|
|
5350
5383
|
user: {
|
|
5351
5384
|
name: string;
|
|
@@ -5371,7 +5404,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5371
5404
|
createdAt?: string | undefined;
|
|
5372
5405
|
updatedAt?: string | undefined;
|
|
5373
5406
|
} | null | undefined;
|
|
5374
|
-
|
|
5407
|
+
callTo?: {
|
|
5375
5408
|
id: string;
|
|
5376
5409
|
user: {
|
|
5377
5410
|
name: string;
|
|
@@ -5401,6 +5434,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5401
5434
|
isQueueMissedCall: boolean;
|
|
5402
5435
|
telephonyQueueId: string | null;
|
|
5403
5436
|
contactId: string | null;
|
|
5437
|
+
extension?: {
|
|
5438
|
+
id: string;
|
|
5439
|
+
createdAt: Date;
|
|
5440
|
+
updatedAt: Date;
|
|
5441
|
+
deletedAt: Date | null;
|
|
5442
|
+
userId: string | null;
|
|
5443
|
+
sipServerUrl: string;
|
|
5444
|
+
sipUserName: string;
|
|
5445
|
+
webphoneLoginUser: string;
|
|
5446
|
+
extensionId: string | null;
|
|
5447
|
+
extensionName: string;
|
|
5448
|
+
telephonySignature: string | null;
|
|
5449
|
+
user?: {
|
|
5450
|
+
name: string;
|
|
5451
|
+
id: string;
|
|
5452
|
+
address: string | null;
|
|
5453
|
+
email: string;
|
|
5454
|
+
createdAt: Date;
|
|
5455
|
+
updatedAt: Date;
|
|
5456
|
+
deletedAt: Date | null;
|
|
5457
|
+
emailVerifiedAt: Date | null;
|
|
5458
|
+
password: string;
|
|
5459
|
+
phone: string | null;
|
|
5460
|
+
notificationCount: number | null;
|
|
5461
|
+
roles: {
|
|
5462
|
+
id: string;
|
|
5463
|
+
description: string | null;
|
|
5464
|
+
createdAt: Date;
|
|
5465
|
+
updatedAt: Date;
|
|
5466
|
+
deletedAt: Date | null;
|
|
5467
|
+
systemName: string;
|
|
5468
|
+
displayName: string;
|
|
5469
|
+
permissions: {
|
|
5470
|
+
id: string;
|
|
5471
|
+
description: string | null;
|
|
5472
|
+
createdAt: Date;
|
|
5473
|
+
updatedAt: Date;
|
|
5474
|
+
deletedAt: Date | null;
|
|
5475
|
+
systemName: string;
|
|
5476
|
+
displayName: string;
|
|
5477
|
+
}[];
|
|
5478
|
+
}[];
|
|
5479
|
+
extension: {
|
|
5480
|
+
id: string;
|
|
5481
|
+
createdAt: Date;
|
|
5482
|
+
updatedAt: Date;
|
|
5483
|
+
deletedAt: Date | null;
|
|
5484
|
+
userId: string | null;
|
|
5485
|
+
sipServerUrl: string;
|
|
5486
|
+
sipUserName: string;
|
|
5487
|
+
webphoneLoginUser: string;
|
|
5488
|
+
extensionId: string | null;
|
|
5489
|
+
extensionName: string;
|
|
5490
|
+
telephonySignature: string | null;
|
|
5491
|
+
};
|
|
5492
|
+
} | null | undefined;
|
|
5493
|
+
} | null | undefined;
|
|
5404
5494
|
contact?: {
|
|
5405
5495
|
name: string;
|
|
5406
5496
|
id: string;
|
|
@@ -5535,63 +5625,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5535
5625
|
fileSize: number;
|
|
5536
5626
|
fileUrl: string | null;
|
|
5537
5627
|
} | null | undefined;
|
|
5538
|
-
extension?: {
|
|
5539
|
-
id: string;
|
|
5540
|
-
createdAt: Date;
|
|
5541
|
-
updatedAt: Date;
|
|
5542
|
-
deletedAt: Date | null;
|
|
5543
|
-
userId: string | null;
|
|
5544
|
-
sipServerUrl: string;
|
|
5545
|
-
sipUserName: string;
|
|
5546
|
-
webphoneLoginUser: string;
|
|
5547
|
-
extensionId: string | null;
|
|
5548
|
-
extensionName: string;
|
|
5549
|
-
telephonySignature: string | null;
|
|
5550
|
-
user?: {
|
|
5551
|
-
name: string;
|
|
5552
|
-
id: string;
|
|
5553
|
-
address: string | null;
|
|
5554
|
-
email: string;
|
|
5555
|
-
createdAt: Date;
|
|
5556
|
-
updatedAt: Date;
|
|
5557
|
-
deletedAt: Date | null;
|
|
5558
|
-
emailVerifiedAt: Date | null;
|
|
5559
|
-
password: string;
|
|
5560
|
-
phone: string | null;
|
|
5561
|
-
notificationCount: number | null;
|
|
5562
|
-
roles: {
|
|
5563
|
-
id: string;
|
|
5564
|
-
description: string | null;
|
|
5565
|
-
createdAt: Date;
|
|
5566
|
-
updatedAt: Date;
|
|
5567
|
-
deletedAt: Date | null;
|
|
5568
|
-
systemName: string;
|
|
5569
|
-
displayName: string;
|
|
5570
|
-
permissions: {
|
|
5571
|
-
id: string;
|
|
5572
|
-
description: string | null;
|
|
5573
|
-
createdAt: Date;
|
|
5574
|
-
updatedAt: Date;
|
|
5575
|
-
deletedAt: Date | null;
|
|
5576
|
-
systemName: string;
|
|
5577
|
-
displayName: string;
|
|
5578
|
-
}[];
|
|
5579
|
-
}[];
|
|
5580
|
-
extension: {
|
|
5581
|
-
id: string;
|
|
5582
|
-
createdAt: Date;
|
|
5583
|
-
updatedAt: Date;
|
|
5584
|
-
deletedAt: Date | null;
|
|
5585
|
-
userId: string | null;
|
|
5586
|
-
sipServerUrl: string;
|
|
5587
|
-
sipUserName: string;
|
|
5588
|
-
webphoneLoginUser: string;
|
|
5589
|
-
extensionId: string | null;
|
|
5590
|
-
extensionName: string;
|
|
5591
|
-
telephonySignature: string | null;
|
|
5592
|
-
};
|
|
5593
|
-
} | null | undefined;
|
|
5594
|
-
} | null | undefined;
|
|
5595
5628
|
}>>;
|
|
5596
5629
|
queue: z.ZodNullable<z.ZodObject<{
|
|
5597
5630
|
queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5611,13 +5644,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5611
5644
|
notes: z.ZodNullable<z.ZodString>;
|
|
5612
5645
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
5613
5646
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
5614
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
5647
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
5615
5648
|
id: z.ZodString;
|
|
5616
5649
|
createdAt: z.ZodDate;
|
|
5617
5650
|
updatedAt: z.ZodDate;
|
|
5618
5651
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5652
|
+
}, {
|
|
5619
5653
|
name: z.ZodString;
|
|
5620
|
-
}
|
|
5654
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5621
5655
|
name: string;
|
|
5622
5656
|
id: string;
|
|
5623
5657
|
createdAt: Date;
|
|
@@ -5630,29 +5664,32 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5630
5664
|
updatedAt: Date;
|
|
5631
5665
|
deletedAt: Date | null;
|
|
5632
5666
|
}>, "many">;
|
|
5633
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
5667
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
5634
5668
|
id: z.ZodString;
|
|
5635
5669
|
createdAt: z.ZodDate;
|
|
5636
5670
|
updatedAt: z.ZodDate;
|
|
5637
5671
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5672
|
+
}, {
|
|
5638
5673
|
name: z.ZodOptional<z.ZodString>;
|
|
5639
5674
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5640
5675
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5641
5676
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5642
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5677
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
5643
5678
|
id: z.ZodString;
|
|
5644
5679
|
createdAt: z.ZodDate;
|
|
5645
5680
|
updatedAt: z.ZodDate;
|
|
5646
5681
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5682
|
+
}, {
|
|
5647
5683
|
textValue: z.ZodNullable<z.ZodString>;
|
|
5648
5684
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
5649
5685
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
5650
5686
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
5651
|
-
attribute: z.ZodObject<Omit<{
|
|
5687
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
5652
5688
|
id: z.ZodString;
|
|
5653
5689
|
createdAt: z.ZodDate;
|
|
5654
5690
|
updatedAt: z.ZodDate;
|
|
5655
5691
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5692
|
+
}, {
|
|
5656
5693
|
systemName: z.ZodString;
|
|
5657
5694
|
displayName: z.ZodString;
|
|
5658
5695
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -5661,13 +5698,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5661
5698
|
isArchived: z.ZodBoolean;
|
|
5662
5699
|
isRequired: z.ZodBoolean;
|
|
5663
5700
|
isUnique: z.ZodBoolean;
|
|
5664
|
-
options: z.ZodArray<z.ZodObject<{
|
|
5665
|
-
position: z.ZodNumber;
|
|
5666
|
-
value: z.ZodString;
|
|
5701
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
5667
5702
|
label: z.ZodString;
|
|
5703
|
+
value: z.ZodString;
|
|
5668
5704
|
isDefault: z.ZodBoolean;
|
|
5705
|
+
position: z.ZodNumber;
|
|
5706
|
+
}, {
|
|
5669
5707
|
id: z.ZodString;
|
|
5670
|
-
}
|
|
5708
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5671
5709
|
id: string;
|
|
5672
5710
|
position: number;
|
|
5673
5711
|
value: string;
|
|
@@ -5680,14 +5718,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5680
5718
|
label: string;
|
|
5681
5719
|
isDefault: boolean;
|
|
5682
5720
|
}>, "many">;
|
|
5683
|
-
group: z.ZodObject<{
|
|
5721
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
5684
5722
|
id: z.ZodString;
|
|
5685
5723
|
createdAt: z.ZodDate;
|
|
5686
5724
|
updatedAt: z.ZodDate;
|
|
5687
5725
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5726
|
+
}, {
|
|
5688
5727
|
systemName: z.ZodString;
|
|
5689
5728
|
displayName: z.ZodString;
|
|
5690
|
-
}
|
|
5729
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5691
5730
|
id: string;
|
|
5692
5731
|
createdAt: Date;
|
|
5693
5732
|
updatedAt: Date;
|
|
@@ -5702,7 +5741,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5702
5741
|
systemName: string;
|
|
5703
5742
|
displayName: string;
|
|
5704
5743
|
}>;
|
|
5705
|
-
}
|
|
5744
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
5706
5745
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
5707
5746
|
id: string;
|
|
5708
5747
|
position: number;
|
|
@@ -5729,7 +5768,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5729
5768
|
isRequired: boolean;
|
|
5730
5769
|
isUnique: boolean;
|
|
5731
5770
|
}>;
|
|
5732
|
-
}
|
|
5771
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5733
5772
|
id: string;
|
|
5734
5773
|
createdAt: Date;
|
|
5735
5774
|
updatedAt: Date;
|
|
@@ -5776,7 +5815,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5776
5815
|
numberValue: number | null;
|
|
5777
5816
|
dateValue: Date | null;
|
|
5778
5817
|
}>, "many">>;
|
|
5779
|
-
}
|
|
5818
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
5780
5819
|
id: string;
|
|
5781
5820
|
createdAt: Date;
|
|
5782
5821
|
updatedAt: Date;
|
|
@@ -5857,11 +5896,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5857
5896
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
5858
5897
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
5859
5898
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
5860
|
-
attribute: z.ZodObject<Omit<{
|
|
5899
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
5861
5900
|
id: z.ZodString;
|
|
5862
5901
|
createdAt: z.ZodDate;
|
|
5863
5902
|
updatedAt: z.ZodDate;
|
|
5864
5903
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5904
|
+
}, {
|
|
5865
5905
|
systemName: z.ZodString;
|
|
5866
5906
|
displayName: z.ZodString;
|
|
5867
5907
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -5870,13 +5910,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5870
5910
|
isArchived: z.ZodBoolean;
|
|
5871
5911
|
isRequired: z.ZodBoolean;
|
|
5872
5912
|
isUnique: z.ZodBoolean;
|
|
5873
|
-
options: z.ZodArray<z.ZodObject<{
|
|
5874
|
-
position: z.ZodNumber;
|
|
5875
|
-
value: z.ZodString;
|
|
5913
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
5876
5914
|
label: z.ZodString;
|
|
5915
|
+
value: z.ZodString;
|
|
5877
5916
|
isDefault: z.ZodBoolean;
|
|
5917
|
+
position: z.ZodNumber;
|
|
5918
|
+
}, {
|
|
5878
5919
|
id: z.ZodString;
|
|
5879
|
-
}
|
|
5920
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5880
5921
|
id: string;
|
|
5881
5922
|
position: number;
|
|
5882
5923
|
value: string;
|
|
@@ -5889,14 +5930,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5889
5930
|
label: string;
|
|
5890
5931
|
isDefault: boolean;
|
|
5891
5932
|
}>, "many">;
|
|
5892
|
-
group: z.ZodObject<{
|
|
5933
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
5893
5934
|
id: z.ZodString;
|
|
5894
5935
|
createdAt: z.ZodDate;
|
|
5895
5936
|
updatedAt: z.ZodDate;
|
|
5896
5937
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5938
|
+
}, {
|
|
5897
5939
|
systemName: z.ZodString;
|
|
5898
5940
|
displayName: z.ZodString;
|
|
5899
|
-
}
|
|
5941
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5900
5942
|
id: string;
|
|
5901
5943
|
createdAt: Date;
|
|
5902
5944
|
updatedAt: Date;
|
|
@@ -5911,7 +5953,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5911
5953
|
systemName: string;
|
|
5912
5954
|
displayName: string;
|
|
5913
5955
|
}>;
|
|
5914
|
-
}
|
|
5956
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
5915
5957
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
5916
5958
|
id: string;
|
|
5917
5959
|
position: number;
|
|
@@ -5938,18 +5980,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5938
5980
|
isRequired: boolean;
|
|
5939
5981
|
isUnique: boolean;
|
|
5940
5982
|
}>;
|
|
5941
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
5983
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
5942
5984
|
id: z.ZodString;
|
|
5943
5985
|
createdAt: z.ZodDate;
|
|
5944
5986
|
updatedAt: z.ZodDate;
|
|
5945
5987
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5988
|
+
}, {
|
|
5946
5989
|
bucketName: z.ZodString;
|
|
5947
5990
|
fileName: z.ZodString;
|
|
5948
5991
|
fileSize: z.ZodNumber;
|
|
5949
5992
|
fileKey: z.ZodString;
|
|
5950
5993
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
5951
5994
|
status: z.ZodNullable<z.ZodString>;
|
|
5952
|
-
}
|
|
5995
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5953
5996
|
id: string;
|
|
5954
5997
|
status: string | null;
|
|
5955
5998
|
createdAt: Date;
|
|
@@ -6983,7 +7026,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6983
7026
|
};
|
|
6984
7027
|
}>>;
|
|
6985
7028
|
contactLabel: z.ZodArray<z.ZodString, "many">;
|
|
6986
|
-
}
|
|
7029
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6987
7030
|
id: string;
|
|
6988
7031
|
channel: string | null;
|
|
6989
7032
|
direction: string | null;
|
|
@@ -7186,19 +7229,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7186
7229
|
name: string;
|
|
7187
7230
|
id: string;
|
|
7188
7231
|
accessToken?: string | undefined;
|
|
7189
|
-
channelSecret?: string | undefined;
|
|
7190
|
-
additionalCredentials?: any;
|
|
7191
|
-
senderId?: string | undefined;
|
|
7192
7232
|
whatsapp?: {
|
|
7193
7233
|
email: string;
|
|
7194
7234
|
wabaExternalId: string;
|
|
7195
7235
|
phoneNumberId: string;
|
|
7236
|
+
status?: "active" | "pending" | undefined;
|
|
7237
|
+
channelId?: string | undefined;
|
|
7196
7238
|
wabaBusinessId?: string | undefined;
|
|
7197
7239
|
clientId?: string | undefined;
|
|
7198
|
-
channelId?: string | undefined;
|
|
7199
|
-
status?: "active" | "pending" | undefined;
|
|
7200
7240
|
apiKey?: string | undefined;
|
|
7201
7241
|
} | undefined;
|
|
7242
|
+
additionalCredentials?: any;
|
|
7243
|
+
channelSecret?: string | undefined;
|
|
7244
|
+
senderId?: string | undefined;
|
|
7202
7245
|
vonageCredentials?: {
|
|
7203
7246
|
apiKey: string;
|
|
7204
7247
|
mobileNumber: string;
|
|
@@ -7518,7 +7561,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7518
7561
|
uploadId: string | null;
|
|
7519
7562
|
serialNumber: string | null;
|
|
7520
7563
|
callParticipants: {
|
|
7521
|
-
|
|
7564
|
+
callFrom?: {
|
|
7522
7565
|
id: string;
|
|
7523
7566
|
user: {
|
|
7524
7567
|
name: string;
|
|
@@ -7544,7 +7587,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7544
7587
|
createdAt?: string | undefined;
|
|
7545
7588
|
updatedAt?: string | undefined;
|
|
7546
7589
|
} | null | undefined;
|
|
7547
|
-
|
|
7590
|
+
callTo?: {
|
|
7548
7591
|
id: string;
|
|
7549
7592
|
user: {
|
|
7550
7593
|
name: string;
|
|
@@ -7574,6 +7617,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7574
7617
|
isQueueMissedCall: boolean;
|
|
7575
7618
|
telephonyQueueId: string | null;
|
|
7576
7619
|
contactId: string | null;
|
|
7620
|
+
extension?: {
|
|
7621
|
+
id: string;
|
|
7622
|
+
createdAt: Date;
|
|
7623
|
+
updatedAt: Date;
|
|
7624
|
+
deletedAt: Date | null;
|
|
7625
|
+
userId: string | null;
|
|
7626
|
+
sipServerUrl: string;
|
|
7627
|
+
sipUserName: string;
|
|
7628
|
+
webphoneLoginUser: string;
|
|
7629
|
+
extensionId: string | null;
|
|
7630
|
+
extensionName: string;
|
|
7631
|
+
telephonySignature: string | null;
|
|
7632
|
+
user?: {
|
|
7633
|
+
name: string;
|
|
7634
|
+
id: string;
|
|
7635
|
+
address: string | null;
|
|
7636
|
+
email: string;
|
|
7637
|
+
createdAt: Date;
|
|
7638
|
+
updatedAt: Date;
|
|
7639
|
+
deletedAt: Date | null;
|
|
7640
|
+
emailVerifiedAt: Date | null;
|
|
7641
|
+
password: string;
|
|
7642
|
+
phone: string | null;
|
|
7643
|
+
notificationCount: number | null;
|
|
7644
|
+
roles: {
|
|
7645
|
+
id: string;
|
|
7646
|
+
description: string | null;
|
|
7647
|
+
createdAt: Date;
|
|
7648
|
+
updatedAt: Date;
|
|
7649
|
+
deletedAt: Date | null;
|
|
7650
|
+
systemName: string;
|
|
7651
|
+
displayName: string;
|
|
7652
|
+
permissions: {
|
|
7653
|
+
id: string;
|
|
7654
|
+
description: string | null;
|
|
7655
|
+
createdAt: Date;
|
|
7656
|
+
updatedAt: Date;
|
|
7657
|
+
deletedAt: Date | null;
|
|
7658
|
+
systemName: string;
|
|
7659
|
+
displayName: string;
|
|
7660
|
+
}[];
|
|
7661
|
+
}[];
|
|
7662
|
+
extension: {
|
|
7663
|
+
id: string;
|
|
7664
|
+
createdAt: Date;
|
|
7665
|
+
updatedAt: Date;
|
|
7666
|
+
deletedAt: Date | null;
|
|
7667
|
+
userId: string | null;
|
|
7668
|
+
sipServerUrl: string;
|
|
7669
|
+
sipUserName: string;
|
|
7670
|
+
webphoneLoginUser: string;
|
|
7671
|
+
extensionId: string | null;
|
|
7672
|
+
extensionName: string;
|
|
7673
|
+
telephonySignature: string | null;
|
|
7674
|
+
};
|
|
7675
|
+
} | null | undefined;
|
|
7676
|
+
} | null | undefined;
|
|
7577
7677
|
contact?: {
|
|
7578
7678
|
name: string;
|
|
7579
7679
|
id: string;
|
|
@@ -7708,63 +7808,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7708
7808
|
fileSize: number;
|
|
7709
7809
|
fileUrl: string | null;
|
|
7710
7810
|
} | null | undefined;
|
|
7711
|
-
extension?: {
|
|
7712
|
-
id: string;
|
|
7713
|
-
createdAt: Date;
|
|
7714
|
-
updatedAt: Date;
|
|
7715
|
-
deletedAt: Date | null;
|
|
7716
|
-
userId: string | null;
|
|
7717
|
-
sipServerUrl: string;
|
|
7718
|
-
sipUserName: string;
|
|
7719
|
-
webphoneLoginUser: string;
|
|
7720
|
-
extensionId: string | null;
|
|
7721
|
-
extensionName: string;
|
|
7722
|
-
telephonySignature: string | null;
|
|
7723
|
-
user?: {
|
|
7724
|
-
name: string;
|
|
7725
|
-
id: string;
|
|
7726
|
-
address: string | null;
|
|
7727
|
-
email: string;
|
|
7728
|
-
createdAt: Date;
|
|
7729
|
-
updatedAt: Date;
|
|
7730
|
-
deletedAt: Date | null;
|
|
7731
|
-
emailVerifiedAt: Date | null;
|
|
7732
|
-
password: string;
|
|
7733
|
-
phone: string | null;
|
|
7734
|
-
notificationCount: number | null;
|
|
7735
|
-
roles: {
|
|
7736
|
-
id: string;
|
|
7737
|
-
description: string | null;
|
|
7738
|
-
createdAt: Date;
|
|
7739
|
-
updatedAt: Date;
|
|
7740
|
-
deletedAt: Date | null;
|
|
7741
|
-
systemName: string;
|
|
7742
|
-
displayName: string;
|
|
7743
|
-
permissions: {
|
|
7744
|
-
id: string;
|
|
7745
|
-
description: string | null;
|
|
7746
|
-
createdAt: Date;
|
|
7747
|
-
updatedAt: Date;
|
|
7748
|
-
deletedAt: Date | null;
|
|
7749
|
-
systemName: string;
|
|
7750
|
-
displayName: string;
|
|
7751
|
-
}[];
|
|
7752
|
-
}[];
|
|
7753
|
-
extension: {
|
|
7754
|
-
id: string;
|
|
7755
|
-
createdAt: Date;
|
|
7756
|
-
updatedAt: Date;
|
|
7757
|
-
deletedAt: Date | null;
|
|
7758
|
-
userId: string | null;
|
|
7759
|
-
sipServerUrl: string;
|
|
7760
|
-
sipUserName: string;
|
|
7761
|
-
webphoneLoginUser: string;
|
|
7762
|
-
extensionId: string | null;
|
|
7763
|
-
extensionName: string;
|
|
7764
|
-
telephonySignature: string | null;
|
|
7765
|
-
};
|
|
7766
|
-
} | null | undefined;
|
|
7767
|
-
} | null | undefined;
|
|
7768
7811
|
} | null;
|
|
7769
7812
|
queue: {
|
|
7770
7813
|
queueName?: string | null | undefined;
|
|
@@ -8105,19 +8148,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8105
8148
|
name: string;
|
|
8106
8149
|
id: string;
|
|
8107
8150
|
accessToken?: string | undefined;
|
|
8108
|
-
channelSecret?: string | undefined;
|
|
8109
|
-
additionalCredentials?: any;
|
|
8110
|
-
senderId?: string | undefined;
|
|
8111
8151
|
whatsapp?: {
|
|
8112
8152
|
email: string;
|
|
8113
8153
|
wabaExternalId: string;
|
|
8114
8154
|
phoneNumberId: string;
|
|
8155
|
+
status?: "active" | "pending" | undefined;
|
|
8156
|
+
channelId?: string | undefined;
|
|
8115
8157
|
wabaBusinessId?: string | undefined;
|
|
8116
8158
|
clientId?: string | undefined;
|
|
8117
|
-
channelId?: string | undefined;
|
|
8118
|
-
status?: "active" | "pending" | undefined;
|
|
8119
8159
|
apiKey?: string | undefined;
|
|
8120
8160
|
} | undefined;
|
|
8161
|
+
additionalCredentials?: any;
|
|
8162
|
+
channelSecret?: string | undefined;
|
|
8163
|
+
senderId?: string | undefined;
|
|
8121
8164
|
vonageCredentials?: {
|
|
8122
8165
|
apiKey: string;
|
|
8123
8166
|
mobileNumber: string;
|
|
@@ -8437,7 +8480,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8437
8480
|
uploadId: string | null;
|
|
8438
8481
|
serialNumber: string | null;
|
|
8439
8482
|
callParticipants: {
|
|
8440
|
-
|
|
8483
|
+
callFrom?: {
|
|
8441
8484
|
id: string;
|
|
8442
8485
|
user: {
|
|
8443
8486
|
name: string;
|
|
@@ -8463,7 +8506,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8463
8506
|
createdAt?: string | undefined;
|
|
8464
8507
|
updatedAt?: string | undefined;
|
|
8465
8508
|
} | null | undefined;
|
|
8466
|
-
|
|
8509
|
+
callTo?: {
|
|
8467
8510
|
id: string;
|
|
8468
8511
|
user: {
|
|
8469
8512
|
name: string;
|
|
@@ -8493,6 +8536,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8493
8536
|
isQueueMissedCall: boolean;
|
|
8494
8537
|
telephonyQueueId: string | null;
|
|
8495
8538
|
contactId: string | null;
|
|
8539
|
+
extension?: {
|
|
8540
|
+
id: string;
|
|
8541
|
+
createdAt: Date;
|
|
8542
|
+
updatedAt: Date;
|
|
8543
|
+
deletedAt: Date | null;
|
|
8544
|
+
userId: string | null;
|
|
8545
|
+
sipServerUrl: string;
|
|
8546
|
+
sipUserName: string;
|
|
8547
|
+
webphoneLoginUser: string;
|
|
8548
|
+
extensionId: string | null;
|
|
8549
|
+
extensionName: string;
|
|
8550
|
+
telephonySignature: string | null;
|
|
8551
|
+
user?: {
|
|
8552
|
+
name: string;
|
|
8553
|
+
id: string;
|
|
8554
|
+
address: string | null;
|
|
8555
|
+
email: string;
|
|
8556
|
+
createdAt: Date;
|
|
8557
|
+
updatedAt: Date;
|
|
8558
|
+
deletedAt: Date | null;
|
|
8559
|
+
emailVerifiedAt: Date | null;
|
|
8560
|
+
password: string;
|
|
8561
|
+
phone: string | null;
|
|
8562
|
+
notificationCount: number | null;
|
|
8563
|
+
roles: {
|
|
8564
|
+
id: string;
|
|
8565
|
+
description: string | null;
|
|
8566
|
+
createdAt: Date;
|
|
8567
|
+
updatedAt: Date;
|
|
8568
|
+
deletedAt: Date | null;
|
|
8569
|
+
systemName: string;
|
|
8570
|
+
displayName: string;
|
|
8571
|
+
permissions: {
|
|
8572
|
+
id: string;
|
|
8573
|
+
description: string | null;
|
|
8574
|
+
createdAt: Date;
|
|
8575
|
+
updatedAt: Date;
|
|
8576
|
+
deletedAt: Date | null;
|
|
8577
|
+
systemName: string;
|
|
8578
|
+
displayName: string;
|
|
8579
|
+
}[];
|
|
8580
|
+
}[];
|
|
8581
|
+
extension: {
|
|
8582
|
+
id: string;
|
|
8583
|
+
createdAt: Date;
|
|
8584
|
+
updatedAt: Date;
|
|
8585
|
+
deletedAt: Date | null;
|
|
8586
|
+
userId: string | null;
|
|
8587
|
+
sipServerUrl: string;
|
|
8588
|
+
sipUserName: string;
|
|
8589
|
+
webphoneLoginUser: string;
|
|
8590
|
+
extensionId: string | null;
|
|
8591
|
+
extensionName: string;
|
|
8592
|
+
telephonySignature: string | null;
|
|
8593
|
+
};
|
|
8594
|
+
} | null | undefined;
|
|
8595
|
+
} | null | undefined;
|
|
8496
8596
|
contact?: {
|
|
8497
8597
|
name: string;
|
|
8498
8598
|
id: string;
|
|
@@ -8627,63 +8727,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8627
8727
|
fileSize: number;
|
|
8628
8728
|
fileUrl: string | null;
|
|
8629
8729
|
} | null | undefined;
|
|
8630
|
-
extension?: {
|
|
8631
|
-
id: string;
|
|
8632
|
-
createdAt: Date;
|
|
8633
|
-
updatedAt: Date;
|
|
8634
|
-
deletedAt: Date | null;
|
|
8635
|
-
userId: string | null;
|
|
8636
|
-
sipServerUrl: string;
|
|
8637
|
-
sipUserName: string;
|
|
8638
|
-
webphoneLoginUser: string;
|
|
8639
|
-
extensionId: string | null;
|
|
8640
|
-
extensionName: string;
|
|
8641
|
-
telephonySignature: string | null;
|
|
8642
|
-
user?: {
|
|
8643
|
-
name: string;
|
|
8644
|
-
id: string;
|
|
8645
|
-
address: string | null;
|
|
8646
|
-
email: string;
|
|
8647
|
-
createdAt: Date;
|
|
8648
|
-
updatedAt: Date;
|
|
8649
|
-
deletedAt: Date | null;
|
|
8650
|
-
emailVerifiedAt: Date | null;
|
|
8651
|
-
password: string;
|
|
8652
|
-
phone: string | null;
|
|
8653
|
-
notificationCount: number | null;
|
|
8654
|
-
roles: {
|
|
8655
|
-
id: string;
|
|
8656
|
-
description: string | null;
|
|
8657
|
-
createdAt: Date;
|
|
8658
|
-
updatedAt: Date;
|
|
8659
|
-
deletedAt: Date | null;
|
|
8660
|
-
systemName: string;
|
|
8661
|
-
displayName: string;
|
|
8662
|
-
permissions: {
|
|
8663
|
-
id: string;
|
|
8664
|
-
description: string | null;
|
|
8665
|
-
createdAt: Date;
|
|
8666
|
-
updatedAt: Date;
|
|
8667
|
-
deletedAt: Date | null;
|
|
8668
|
-
systemName: string;
|
|
8669
|
-
displayName: string;
|
|
8670
|
-
}[];
|
|
8671
|
-
}[];
|
|
8672
|
-
extension: {
|
|
8673
|
-
id: string;
|
|
8674
|
-
createdAt: Date;
|
|
8675
|
-
updatedAt: Date;
|
|
8676
|
-
deletedAt: Date | null;
|
|
8677
|
-
userId: string | null;
|
|
8678
|
-
sipServerUrl: string;
|
|
8679
|
-
sipUserName: string;
|
|
8680
|
-
webphoneLoginUser: string;
|
|
8681
|
-
extensionId: string | null;
|
|
8682
|
-
extensionName: string;
|
|
8683
|
-
telephonySignature: string | null;
|
|
8684
|
-
};
|
|
8685
|
-
} | null | undefined;
|
|
8686
|
-
} | null | undefined;
|
|
8687
8730
|
} | null;
|
|
8688
8731
|
queue: {
|
|
8689
8732
|
queueName?: string | null | undefined;
|