@kl1/contracts 1.1.77-uat → 1.1.79-uat
Sign up to get free protection for your applications and to get access to all the features.
- 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/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 +411 -392
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +6 -6
- package/dist/api-contracts/src/channel/validation.d.ts +8 -8
- package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
- 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/company/index.d.ts +138 -111
- 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 +597 -501
- 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 +263 -192
- 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 +15249 -14062
- 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 +648 -608
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
- package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
- 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 +20 -14
- 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 +109 -104
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- 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 +38 -28
- 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/instagram/index.d.ts +1195 -1145
- 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 +1869 -1819
- 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 +62 -62
- 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 +135 -127
- 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 +408 -366
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
- 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 +1109 -1057
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
- 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/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 +84 -80
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +81 -80
- package/dist/api-contracts/src/sms/index.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 +66 -45
- 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/telephony-agent-presence-status/index.d.ts +75 -67
- 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 +9 -6
- 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 +1179 -1116
- 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 +717 -618
- 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 +55 -53
- 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 +9 -6
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +994 -946
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +962 -917
- package/dist/api-contracts/src/webchat/index.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 +1092 -1057
- 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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
@@ -16,14 +16,27 @@ export declare const chatContract: {
|
|
16
16
|
}>;
|
17
17
|
summary: "Update room assignee";
|
18
18
|
method: "POST";
|
19
|
+
path: "chat/room/assignee";
|
20
|
+
headers: z.ZodObject<{
|
21
|
+
'x-tenant': z.ZodString;
|
22
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
24
|
+
'x-tenant': string;
|
25
|
+
'x-code'?: string | undefined;
|
26
|
+
}, {
|
27
|
+
'x-tenant': string;
|
28
|
+
'x-code'?: string | undefined;
|
29
|
+
}>;
|
19
30
|
responses: {
|
20
|
-
200: z.ZodObject<{
|
31
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
21
32
|
requestId: z.ZodString;
|
22
|
-
|
33
|
+
}, {
|
34
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
23
35
|
id: z.ZodString;
|
24
36
|
createdAt: z.ZodDate;
|
25
37
|
updatedAt: z.ZodDate;
|
26
38
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
39
|
+
}, {
|
27
40
|
lastMessage: z.ZodString;
|
28
41
|
handleTime: z.ZodNumber;
|
29
42
|
closedAt: z.ZodDate;
|
@@ -70,13 +83,14 @@ export declare const chatContract: {
|
|
70
83
|
notes: z.ZodNullable<z.ZodString>;
|
71
84
|
contactProfile: z.ZodNullable<z.ZodString>;
|
72
85
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
73
|
-
tags: z.ZodArray<z.ZodObject<{
|
86
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
74
87
|
id: z.ZodString;
|
75
88
|
createdAt: z.ZodDate;
|
76
89
|
updatedAt: z.ZodDate;
|
77
90
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
91
|
+
}, {
|
78
92
|
name: z.ZodString;
|
79
|
-
}
|
93
|
+
}>, "strip", z.ZodTypeAny, {
|
80
94
|
id: string;
|
81
95
|
name: string;
|
82
96
|
createdAt: Date;
|
@@ -89,29 +103,32 @@ export declare const chatContract: {
|
|
89
103
|
updatedAt: Date;
|
90
104
|
deletedAt: Date | null;
|
91
105
|
}>, "many">;
|
92
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
106
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
93
107
|
id: z.ZodString;
|
94
108
|
createdAt: z.ZodDate;
|
95
109
|
updatedAt: z.ZodDate;
|
96
110
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
111
|
+
}, {
|
97
112
|
name: z.ZodOptional<z.ZodString>;
|
98
113
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
99
114
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
100
115
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
101
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
116
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
102
117
|
id: z.ZodString;
|
103
118
|
createdAt: z.ZodDate;
|
104
119
|
updatedAt: z.ZodDate;
|
105
120
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
121
|
+
}, {
|
106
122
|
textValue: z.ZodNullable<z.ZodString>;
|
107
123
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
108
124
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
109
125
|
dateValue: z.ZodNullable<z.ZodDate>;
|
110
|
-
attribute: z.ZodObject<Omit<{
|
126
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
111
127
|
id: z.ZodString;
|
112
128
|
createdAt: z.ZodDate;
|
113
129
|
updatedAt: z.ZodDate;
|
114
130
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
131
|
+
}, {
|
115
132
|
systemName: z.ZodString;
|
116
133
|
displayName: z.ZodString;
|
117
134
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -120,13 +137,14 @@ export declare const chatContract: {
|
|
120
137
|
isArchived: z.ZodBoolean;
|
121
138
|
isRequired: z.ZodBoolean;
|
122
139
|
isUnique: z.ZodBoolean;
|
123
|
-
options: z.ZodArray<z.ZodObject<{
|
124
|
-
position: z.ZodNumber;
|
125
|
-
value: z.ZodString;
|
140
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
126
141
|
label: z.ZodString;
|
142
|
+
value: z.ZodString;
|
127
143
|
isDefault: z.ZodBoolean;
|
144
|
+
position: z.ZodNumber;
|
145
|
+
}, {
|
128
146
|
id: z.ZodString;
|
129
|
-
}
|
147
|
+
}>, "strip", z.ZodTypeAny, {
|
130
148
|
id: string;
|
131
149
|
position: number;
|
132
150
|
value: string;
|
@@ -139,14 +157,15 @@ export declare const chatContract: {
|
|
139
157
|
label: string;
|
140
158
|
isDefault: boolean;
|
141
159
|
}>, "many">;
|
142
|
-
group: z.ZodObject<{
|
160
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
143
161
|
id: z.ZodString;
|
144
162
|
createdAt: z.ZodDate;
|
145
163
|
updatedAt: z.ZodDate;
|
146
164
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
165
|
+
}, {
|
147
166
|
systemName: z.ZodString;
|
148
167
|
displayName: z.ZodString;
|
149
|
-
}
|
168
|
+
}>, "strip", z.ZodTypeAny, {
|
150
169
|
id: string;
|
151
170
|
createdAt: Date;
|
152
171
|
updatedAt: Date;
|
@@ -161,7 +180,7 @@ export declare const chatContract: {
|
|
161
180
|
systemName: string;
|
162
181
|
displayName: string;
|
163
182
|
}>;
|
164
|
-
}
|
183
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
165
184
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
166
185
|
id: string;
|
167
186
|
position: number;
|
@@ -188,7 +207,7 @@ export declare const chatContract: {
|
|
188
207
|
isRequired: boolean;
|
189
208
|
isUnique: boolean;
|
190
209
|
}>;
|
191
|
-
}
|
210
|
+
}>, "strip", z.ZodTypeAny, {
|
192
211
|
id: string;
|
193
212
|
createdAt: Date;
|
194
213
|
updatedAt: Date;
|
@@ -235,7 +254,7 @@ export declare const chatContract: {
|
|
235
254
|
numberValue: number | null;
|
236
255
|
dateValue: Date | null;
|
237
256
|
}>, "many">>;
|
238
|
-
}
|
257
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
239
258
|
id: string;
|
240
259
|
createdAt: Date;
|
241
260
|
updatedAt: Date;
|
@@ -263,11 +282,12 @@ export declare const chatContract: {
|
|
263
282
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
264
283
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
265
284
|
dateValue: z.ZodNullable<z.ZodDate>;
|
266
|
-
attribute: z.ZodObject<Omit<{
|
285
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
267
286
|
id: z.ZodString;
|
268
287
|
createdAt: z.ZodDate;
|
269
288
|
updatedAt: z.ZodDate;
|
270
289
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
290
|
+
}, {
|
271
291
|
systemName: z.ZodString;
|
272
292
|
displayName: z.ZodString;
|
273
293
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -276,13 +296,14 @@ export declare const chatContract: {
|
|
276
296
|
isArchived: z.ZodBoolean;
|
277
297
|
isRequired: z.ZodBoolean;
|
278
298
|
isUnique: z.ZodBoolean;
|
279
|
-
options: z.ZodArray<z.ZodObject<{
|
280
|
-
position: z.ZodNumber;
|
281
|
-
value: z.ZodString;
|
299
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
282
300
|
label: z.ZodString;
|
301
|
+
value: z.ZodString;
|
283
302
|
isDefault: z.ZodBoolean;
|
303
|
+
position: z.ZodNumber;
|
304
|
+
}, {
|
284
305
|
id: z.ZodString;
|
285
|
-
}
|
306
|
+
}>, "strip", z.ZodTypeAny, {
|
286
307
|
id: string;
|
287
308
|
position: number;
|
288
309
|
value: string;
|
@@ -295,14 +316,15 @@ export declare const chatContract: {
|
|
295
316
|
label: string;
|
296
317
|
isDefault: boolean;
|
297
318
|
}>, "many">;
|
298
|
-
group: z.ZodObject<{
|
319
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
299
320
|
id: z.ZodString;
|
300
321
|
createdAt: z.ZodDate;
|
301
322
|
updatedAt: z.ZodDate;
|
302
323
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
324
|
+
}, {
|
303
325
|
systemName: z.ZodString;
|
304
326
|
displayName: z.ZodString;
|
305
|
-
}
|
327
|
+
}>, "strip", z.ZodTypeAny, {
|
306
328
|
id: string;
|
307
329
|
createdAt: Date;
|
308
330
|
updatedAt: Date;
|
@@ -317,7 +339,7 @@ export declare const chatContract: {
|
|
317
339
|
systemName: string;
|
318
340
|
displayName: string;
|
319
341
|
}>;
|
320
|
-
}
|
342
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
321
343
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
322
344
|
id: string;
|
323
345
|
position: number;
|
@@ -344,18 +366,19 @@ export declare const chatContract: {
|
|
344
366
|
isRequired: boolean;
|
345
367
|
isUnique: boolean;
|
346
368
|
}>;
|
347
|
-
uploads: z.ZodArray<z.ZodObject<{
|
369
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
348
370
|
id: z.ZodString;
|
349
371
|
createdAt: z.ZodDate;
|
350
372
|
updatedAt: z.ZodDate;
|
351
373
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
374
|
+
}, {
|
352
375
|
bucketName: z.ZodString;
|
353
376
|
fileName: z.ZodString;
|
354
377
|
fileSize: z.ZodNumber;
|
355
378
|
fileKey: z.ZodString;
|
356
379
|
fileUrl: z.ZodNullable<z.ZodString>;
|
357
380
|
status: z.ZodNullable<z.ZodString>;
|
358
|
-
}
|
381
|
+
}>, "strip", z.ZodTypeAny, {
|
359
382
|
id: string;
|
360
383
|
status: string | null;
|
361
384
|
createdAt: Date;
|
@@ -1408,8 +1431,8 @@ export declare const chatContract: {
|
|
1408
1431
|
id: string;
|
1409
1432
|
name: string;
|
1410
1433
|
accessToken?: string | undefined;
|
1411
|
-
channelSecret?: string | undefined;
|
1412
1434
|
additionalCredentials?: any;
|
1435
|
+
channelSecret?: string | undefined;
|
1413
1436
|
vonageCredentials?: {
|
1414
1437
|
mobileNumber: string;
|
1415
1438
|
apiKey: string;
|
@@ -1420,8 +1443,8 @@ export declare const chatContract: {
|
|
1420
1443
|
id: string;
|
1421
1444
|
name: string;
|
1422
1445
|
accessToken?: string | undefined;
|
1423
|
-
channelSecret?: string | undefined;
|
1424
1446
|
additionalCredentials?: any;
|
1447
|
+
channelSecret?: string | undefined;
|
1425
1448
|
vonageCredentials?: {
|
1426
1449
|
mobileNumber: string;
|
1427
1450
|
apiKey: string;
|
@@ -1666,8 +1689,8 @@ export declare const chatContract: {
|
|
1666
1689
|
id: string;
|
1667
1690
|
name: string;
|
1668
1691
|
accessToken?: string | undefined;
|
1669
|
-
channelSecret?: string | undefined;
|
1670
1692
|
additionalCredentials?: any;
|
1693
|
+
channelSecret?: string | undefined;
|
1671
1694
|
vonageCredentials?: {
|
1672
1695
|
mobileNumber: string;
|
1673
1696
|
apiKey: string;
|
@@ -1743,8 +1766,8 @@ export declare const chatContract: {
|
|
1743
1766
|
id: string;
|
1744
1767
|
name: string;
|
1745
1768
|
accessToken?: string | undefined;
|
1746
|
-
channelSecret?: string | undefined;
|
1747
1769
|
additionalCredentials?: any;
|
1770
|
+
channelSecret?: string | undefined;
|
1748
1771
|
vonageCredentials?: {
|
1749
1772
|
mobileNumber: string;
|
1750
1773
|
apiKey: string;
|
@@ -1813,11 +1836,12 @@ export declare const chatContract: {
|
|
1813
1836
|
integrationId: string;
|
1814
1837
|
} | null;
|
1815
1838
|
}>;
|
1816
|
-
cxlog: z.ZodObject<{
|
1839
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
1817
1840
|
id: z.ZodString;
|
1818
1841
|
createdAt: z.ZodDate;
|
1819
1842
|
updatedAt: z.ZodDate;
|
1820
1843
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1844
|
+
}, {
|
1821
1845
|
caseId: z.ZodNumber;
|
1822
1846
|
entityId: z.ZodString;
|
1823
1847
|
entityName: z.ZodString;
|
@@ -1829,21 +1853,23 @@ export declare const chatContract: {
|
|
1829
1853
|
startedDate: z.ZodNullable<z.ZodDate>;
|
1830
1854
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
1831
1855
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
1832
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
1856
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
1833
1857
|
id: z.ZodString;
|
1834
1858
|
createdAt: z.ZodDate;
|
1835
1859
|
updatedAt: z.ZodDate;
|
1836
1860
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1861
|
+
}, {
|
1837
1862
|
note: z.ZodNullable<z.ZodString>;
|
1838
1863
|
disposition: z.ZodNullable<z.ZodString>;
|
1839
1864
|
type: z.ZodString;
|
1840
|
-
tags: z.ZodArray<z.ZodObject<{
|
1865
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1841
1866
|
id: z.ZodString;
|
1842
1867
|
createdAt: z.ZodDate;
|
1843
1868
|
updatedAt: z.ZodDate;
|
1844
1869
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1870
|
+
}, {
|
1845
1871
|
name: z.ZodString;
|
1846
|
-
}
|
1872
|
+
}>, "strip", z.ZodTypeAny, {
|
1847
1873
|
id: string;
|
1848
1874
|
name: string;
|
1849
1875
|
createdAt: Date;
|
@@ -1856,11 +1882,12 @@ export declare const chatContract: {
|
|
1856
1882
|
updatedAt: Date;
|
1857
1883
|
deletedAt: Date | null;
|
1858
1884
|
}>, "many">;
|
1859
|
-
categories: z.ZodArray<z.ZodObject<{
|
1885
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1860
1886
|
id: z.ZodString;
|
1861
1887
|
createdAt: z.ZodDate;
|
1862
1888
|
updatedAt: z.ZodDate;
|
1863
1889
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1890
|
+
}, {
|
1864
1891
|
value: z.ZodString;
|
1865
1892
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
1866
1893
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -1913,7 +1940,7 @@ export declare const chatContract: {
|
|
1913
1940
|
childCategoryList: any[];
|
1914
1941
|
}[];
|
1915
1942
|
}>, "many">;
|
1916
|
-
}
|
1943
|
+
}>, "strip", z.ZodTypeAny, {
|
1917
1944
|
id: string;
|
1918
1945
|
value: string;
|
1919
1946
|
createdAt: Date;
|
@@ -1992,7 +2019,7 @@ export declare const chatContract: {
|
|
1992
2019
|
numberValue: number | null;
|
1993
2020
|
dateValue: Date | null;
|
1994
2021
|
}>, "many">>>;
|
1995
|
-
}
|
2022
|
+
}>, "strip", z.ZodTypeAny, {
|
1996
2023
|
type: string;
|
1997
2024
|
id: string;
|
1998
2025
|
disposition: string | null;
|
@@ -2095,7 +2122,7 @@ export declare const chatContract: {
|
|
2095
2122
|
dateValue: Date | null;
|
2096
2123
|
}[] | null | undefined;
|
2097
2124
|
}>>;
|
2098
|
-
}
|
2125
|
+
}>, "strip", z.ZodTypeAny, {
|
2099
2126
|
id: string;
|
2100
2127
|
channel: string | null;
|
2101
2128
|
direction: string | null;
|
@@ -2232,15 +2259,16 @@ export declare const chatContract: {
|
|
2232
2259
|
}[] | null | undefined;
|
2233
2260
|
} | null;
|
2234
2261
|
}>;
|
2235
|
-
workflowRule: z.ZodObject<{
|
2262
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
2236
2263
|
id: z.ZodString;
|
2237
2264
|
createdAt: z.ZodDate;
|
2238
2265
|
updatedAt: z.ZodDate;
|
2239
2266
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2267
|
+
}, {
|
2240
2268
|
name: z.ZodString;
|
2241
2269
|
isActive: z.ZodBoolean;
|
2242
2270
|
type: z.ZodString;
|
2243
|
-
}
|
2271
|
+
}>, "strip", z.ZodTypeAny, {
|
2244
2272
|
type: string;
|
2245
2273
|
id: string;
|
2246
2274
|
name: string;
|
@@ -2257,7 +2285,7 @@ export declare const chatContract: {
|
|
2257
2285
|
deletedAt: Date | null;
|
2258
2286
|
isActive: boolean;
|
2259
2287
|
}>;
|
2260
|
-
}
|
2288
|
+
}>, "strip", z.ZodTypeAny, {
|
2261
2289
|
id: string;
|
2262
2290
|
channel: {
|
2263
2291
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -2267,8 +2295,8 @@ export declare const chatContract: {
|
|
2267
2295
|
id: string;
|
2268
2296
|
name: string;
|
2269
2297
|
accessToken?: string | undefined;
|
2270
|
-
channelSecret?: string | undefined;
|
2271
2298
|
additionalCredentials?: any;
|
2299
|
+
channelSecret?: string | undefined;
|
2272
2300
|
vonageCredentials?: {
|
2273
2301
|
mobileNumber: string;
|
2274
2302
|
apiKey: string;
|
@@ -2639,8 +2667,8 @@ export declare const chatContract: {
|
|
2639
2667
|
id: string;
|
2640
2668
|
name: string;
|
2641
2669
|
accessToken?: string | undefined;
|
2642
|
-
channelSecret?: string | undefined;
|
2643
2670
|
additionalCredentials?: any;
|
2671
|
+
channelSecret?: string | undefined;
|
2644
2672
|
vonageCredentials?: {
|
2645
2673
|
mobileNumber: string;
|
2646
2674
|
apiKey: string;
|
@@ -3002,7 +3030,7 @@ export declare const chatContract: {
|
|
3002
3030
|
isActive: boolean;
|
3003
3031
|
};
|
3004
3032
|
}>;
|
3005
|
-
}
|
3033
|
+
}>, "strip", z.ZodTypeAny, {
|
3006
3034
|
data: {
|
3007
3035
|
id: string;
|
3008
3036
|
channel: {
|
@@ -3013,8 +3041,8 @@ export declare const chatContract: {
|
|
3013
3041
|
id: string;
|
3014
3042
|
name: string;
|
3015
3043
|
accessToken?: string | undefined;
|
3016
|
-
channelSecret?: string | undefined;
|
3017
3044
|
additionalCredentials?: any;
|
3045
|
+
channelSecret?: string | undefined;
|
3018
3046
|
vonageCredentials?: {
|
3019
3047
|
mobileNumber: string;
|
3020
3048
|
apiKey: string;
|
@@ -3388,8 +3416,8 @@ export declare const chatContract: {
|
|
3388
3416
|
id: string;
|
3389
3417
|
name: string;
|
3390
3418
|
accessToken?: string | undefined;
|
3391
|
-
channelSecret?: string | undefined;
|
3392
3419
|
additionalCredentials?: any;
|
3420
|
+
channelSecret?: string | undefined;
|
3393
3421
|
vonageCredentials?: {
|
3394
3422
|
mobileNumber: string;
|
3395
3423
|
apiKey: string;
|
@@ -3764,17 +3792,6 @@ export declare const chatContract: {
|
|
3764
3792
|
error?: any;
|
3765
3793
|
}>;
|
3766
3794
|
};
|
3767
|
-
path: "chat/room/assignee";
|
3768
|
-
headers: z.ZodObject<{
|
3769
|
-
'x-tenant': z.ZodString;
|
3770
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
3771
|
-
}, "strip", z.ZodTypeAny, {
|
3772
|
-
'x-tenant': string;
|
3773
|
-
'x-code'?: string | undefined;
|
3774
|
-
}, {
|
3775
|
-
'x-tenant': string;
|
3776
|
-
'x-code'?: string | undefined;
|
3777
|
-
}>;
|
3778
3795
|
};
|
3779
3796
|
solveRoom: {
|
3780
3797
|
body: z.ZodObject<{
|
@@ -3792,739 +3809,119 @@ export declare const chatContract: {
|
|
3792
3809
|
}>;
|
3793
3810
|
summary: "Solve room";
|
3794
3811
|
method: "POST";
|
3812
|
+
path: "chat/room/solve";
|
3813
|
+
headers: z.ZodObject<{
|
3814
|
+
'x-tenant': z.ZodString;
|
3815
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
3816
|
+
}, "strip", z.ZodTypeAny, {
|
3817
|
+
'x-tenant': string;
|
3818
|
+
'x-code'?: string | undefined;
|
3819
|
+
}, {
|
3820
|
+
'x-tenant': string;
|
3821
|
+
'x-code'?: string | undefined;
|
3822
|
+
}>;
|
3795
3823
|
responses: {
|
3796
|
-
200: z.ZodObject<{
|
3824
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
3797
3825
|
requestId: z.ZodString;
|
3798
|
-
|
3826
|
+
}, {
|
3827
|
+
data: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
3799
3828
|
id: z.ZodString;
|
3800
|
-
|
3829
|
+
createdAt: z.ZodDate;
|
3830
|
+
updatedAt: z.ZodDate;
|
3831
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3832
|
+
}, {
|
3833
|
+
lastMessage: z.ZodString;
|
3834
|
+
handleTime: z.ZodNumber;
|
3835
|
+
closedAt: z.ZodDate;
|
3836
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
3837
|
+
status: z.ZodNumber;
|
3838
|
+
unreadCount: z.ZodNumber;
|
3839
|
+
firstResponseAt: z.ZodDate;
|
3840
|
+
firstResponseTime: z.ZodNumber;
|
3841
|
+
isLatest: z.ZodBoolean;
|
3842
|
+
isBotRoom: z.ZodBoolean;
|
3843
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3844
|
+
platformContact: z.ZodObject<{
|
3801
3845
|
id: z.ZodString;
|
3802
3846
|
createdAt: z.ZodDate;
|
3803
3847
|
updatedAt: z.ZodDate;
|
3804
3848
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3805
|
-
|
3849
|
+
channelId: z.ZodString;
|
3850
|
+
socialPlatformId: z.ZodString;
|
3806
3851
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
3807
3852
|
metadata: z.ZodObject<{
|
3808
3853
|
id: z.ZodString;
|
3809
3854
|
name: z.ZodString;
|
3810
|
-
|
3811
|
-
|
3812
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
3813
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
3814
|
-
mobileNumber: z.ZodString;
|
3815
|
-
apiKey: z.ZodString;
|
3816
|
-
apiSecret: z.ZodString;
|
3817
|
-
}, "strip", z.ZodTypeAny, {
|
3818
|
-
mobileNumber: string;
|
3819
|
-
apiKey: string;
|
3820
|
-
apiSecret: string;
|
3821
|
-
}, {
|
3822
|
-
mobileNumber: string;
|
3823
|
-
apiKey: string;
|
3824
|
-
apiSecret: string;
|
3825
|
-
}>>;
|
3826
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
3855
|
+
picture: z.ZodOptional<z.ZodString>;
|
3856
|
+
additionalCredentials: z.ZodAny;
|
3827
3857
|
}, "strip", z.ZodTypeAny, {
|
3828
3858
|
id: string;
|
3829
3859
|
name: string;
|
3830
|
-
|
3831
|
-
channelSecret?: string | undefined;
|
3860
|
+
picture?: string | undefined;
|
3832
3861
|
additionalCredentials?: any;
|
3833
|
-
vonageCredentials?: {
|
3834
|
-
mobileNumber: string;
|
3835
|
-
apiKey: string;
|
3836
|
-
apiSecret: string;
|
3837
|
-
} | undefined;
|
3838
|
-
lineRichMenuId?: string | null | undefined;
|
3839
3862
|
}, {
|
3840
3863
|
id: string;
|
3841
3864
|
name: string;
|
3842
|
-
|
3843
|
-
channelSecret?: string | undefined;
|
3865
|
+
picture?: string | undefined;
|
3844
3866
|
additionalCredentials?: any;
|
3845
|
-
vonageCredentials?: {
|
3846
|
-
mobileNumber: string;
|
3847
|
-
apiKey: string;
|
3848
|
-
apiSecret: string;
|
3849
|
-
} | undefined;
|
3850
|
-
lineRichMenuId?: string | null | undefined;
|
3851
3867
|
}>;
|
3852
|
-
|
3853
|
-
platformId: z.ZodString;
|
3854
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
3855
|
-
isReloginRequired: z.ZodBoolean;
|
3856
|
-
connectedUserName: z.ZodString;
|
3857
|
-
connectedUserId: z.ZodString;
|
3858
|
-
botpressBot: z.ZodNullable<z.ZodObject<{
|
3859
|
-
id: z.ZodString;
|
3860
|
-
name: z.ZodString;
|
3861
|
-
botId: z.ZodString;
|
3862
|
-
integrationId: z.ZodString;
|
3863
|
-
accessToken: z.ZodString;
|
3864
|
-
}, "strip", z.ZodTypeAny, {
|
3865
|
-
id: string;
|
3866
|
-
name: string;
|
3867
|
-
accessToken: string;
|
3868
|
-
botId: string;
|
3869
|
-
integrationId: string;
|
3870
|
-
}, {
|
3871
|
-
id: string;
|
3872
|
-
name: string;
|
3873
|
-
accessToken: string;
|
3874
|
-
botId: string;
|
3875
|
-
integrationId: string;
|
3876
|
-
}>>;
|
3877
|
-
actor: z.ZodObject<{
|
3868
|
+
contact: z.ZodObject<{
|
3878
3869
|
id: z.ZodString;
|
3879
3870
|
createdAt: z.ZodDate;
|
3880
3871
|
updatedAt: z.ZodDate;
|
3881
3872
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3882
3873
|
name: z.ZodString;
|
3883
|
-
email: z.ZodString;
|
3884
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
3885
|
-
password: z.ZodString;
|
3886
3874
|
address: z.ZodNullable<z.ZodString>;
|
3887
|
-
|
3888
|
-
|
3889
|
-
|
3875
|
+
channel: z.ZodNullable<z.ZodString>;
|
3876
|
+
notes: z.ZodNullable<z.ZodString>;
|
3877
|
+
contactProfile: z.ZodNullable<z.ZodString>;
|
3878
|
+
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
3879
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3890
3880
|
id: z.ZodString;
|
3891
3881
|
createdAt: z.ZodDate;
|
3892
3882
|
updatedAt: z.ZodDate;
|
3893
3883
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3894
|
-
|
3895
|
-
|
3896
|
-
|
3897
|
-
permissions: z.ZodArray<z.ZodObject<{
|
3898
|
-
id: z.ZodString;
|
3899
|
-
createdAt: z.ZodDate;
|
3900
|
-
updatedAt: z.ZodDate;
|
3901
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
3902
|
-
systemName: z.ZodString;
|
3903
|
-
displayName: z.ZodString;
|
3904
|
-
description: z.ZodNullable<z.ZodString>;
|
3905
|
-
}, "strip", z.ZodTypeAny, {
|
3906
|
-
id: string;
|
3907
|
-
description: string | null;
|
3908
|
-
createdAt: Date;
|
3909
|
-
updatedAt: Date;
|
3910
|
-
deletedAt: Date | null;
|
3911
|
-
systemName: string;
|
3912
|
-
displayName: string;
|
3913
|
-
}, {
|
3914
|
-
id: string;
|
3915
|
-
description: string | null;
|
3916
|
-
createdAt: Date;
|
3917
|
-
updatedAt: Date;
|
3918
|
-
deletedAt: Date | null;
|
3919
|
-
systemName: string;
|
3920
|
-
displayName: string;
|
3921
|
-
}>, "many">;
|
3922
|
-
}, "strip", z.ZodTypeAny, {
|
3884
|
+
}, {
|
3885
|
+
name: z.ZodString;
|
3886
|
+
}>, "strip", z.ZodTypeAny, {
|
3923
3887
|
id: string;
|
3924
|
-
|
3888
|
+
name: string;
|
3925
3889
|
createdAt: Date;
|
3926
3890
|
updatedAt: Date;
|
3927
3891
|
deletedAt: Date | null;
|
3928
|
-
systemName: string;
|
3929
|
-
displayName: string;
|
3930
|
-
permissions: {
|
3931
|
-
id: string;
|
3932
|
-
description: string | null;
|
3933
|
-
createdAt: Date;
|
3934
|
-
updatedAt: Date;
|
3935
|
-
deletedAt: Date | null;
|
3936
|
-
systemName: string;
|
3937
|
-
displayName: string;
|
3938
|
-
}[];
|
3939
3892
|
}, {
|
3940
3893
|
id: string;
|
3941
|
-
|
3894
|
+
name: string;
|
3942
3895
|
createdAt: Date;
|
3943
3896
|
updatedAt: Date;
|
3944
3897
|
deletedAt: Date | null;
|
3945
|
-
systemName: string;
|
3946
|
-
displayName: string;
|
3947
|
-
permissions: {
|
3948
|
-
id: string;
|
3949
|
-
description: string | null;
|
3950
|
-
createdAt: Date;
|
3951
|
-
updatedAt: Date;
|
3952
|
-
deletedAt: Date | null;
|
3953
|
-
systemName: string;
|
3954
|
-
displayName: string;
|
3955
|
-
}[];
|
3956
3898
|
}>, "many">;
|
3957
|
-
|
3899
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
3958
3900
|
id: z.ZodString;
|
3959
3901
|
createdAt: z.ZodDate;
|
3960
3902
|
updatedAt: z.ZodDate;
|
3961
3903
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3962
|
-
userId: z.ZodNullable<z.ZodString>;
|
3963
|
-
sipServerUrl: z.ZodString;
|
3964
|
-
sipUserName: z.ZodString;
|
3965
|
-
webphoneLoginUser: z.ZodString;
|
3966
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
3967
|
-
extensionName: z.ZodString;
|
3968
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
3969
|
-
}, "strip", z.ZodTypeAny, {
|
3970
|
-
id: string;
|
3971
|
-
createdAt: Date;
|
3972
|
-
updatedAt: Date;
|
3973
|
-
deletedAt: Date | null;
|
3974
|
-
userId: string | null;
|
3975
|
-
sipServerUrl: string;
|
3976
|
-
sipUserName: string;
|
3977
|
-
webphoneLoginUser: string;
|
3978
|
-
extensionId: string | null;
|
3979
|
-
extensionName: string;
|
3980
|
-
telephonySignature: string | null;
|
3981
|
-
}, {
|
3982
|
-
id: string;
|
3983
|
-
createdAt: Date;
|
3984
|
-
updatedAt: Date;
|
3985
|
-
deletedAt: Date | null;
|
3986
|
-
userId: string | null;
|
3987
|
-
sipServerUrl: string;
|
3988
|
-
sipUserName: string;
|
3989
|
-
webphoneLoginUser: string;
|
3990
|
-
extensionId: string | null;
|
3991
|
-
extensionName: string;
|
3992
|
-
telephonySignature: string | null;
|
3993
|
-
}>;
|
3994
|
-
}, "strip", z.ZodTypeAny, {
|
3995
|
-
id: string;
|
3996
|
-
address: string | null;
|
3997
|
-
name: string;
|
3998
|
-
email: string;
|
3999
|
-
createdAt: Date;
|
4000
|
-
updatedAt: Date;
|
4001
|
-
deletedAt: Date | null;
|
4002
|
-
emailVerifiedAt: Date | null;
|
4003
|
-
password: string;
|
4004
|
-
phone: string | null;
|
4005
|
-
notificationCount: number | null;
|
4006
|
-
roles: {
|
4007
|
-
id: string;
|
4008
|
-
description: string | null;
|
4009
|
-
createdAt: Date;
|
4010
|
-
updatedAt: Date;
|
4011
|
-
deletedAt: Date | null;
|
4012
|
-
systemName: string;
|
4013
|
-
displayName: string;
|
4014
|
-
permissions: {
|
4015
|
-
id: string;
|
4016
|
-
description: string | null;
|
4017
|
-
createdAt: Date;
|
4018
|
-
updatedAt: Date;
|
4019
|
-
deletedAt: Date | null;
|
4020
|
-
systemName: string;
|
4021
|
-
displayName: string;
|
4022
|
-
}[];
|
4023
|
-
}[];
|
4024
|
-
extension: {
|
4025
|
-
id: string;
|
4026
|
-
createdAt: Date;
|
4027
|
-
updatedAt: Date;
|
4028
|
-
deletedAt: Date | null;
|
4029
|
-
userId: string | null;
|
4030
|
-
sipServerUrl: string;
|
4031
|
-
sipUserName: string;
|
4032
|
-
webphoneLoginUser: string;
|
4033
|
-
extensionId: string | null;
|
4034
|
-
extensionName: string;
|
4035
|
-
telephonySignature: string | null;
|
4036
|
-
};
|
4037
|
-
}, {
|
4038
|
-
id: string;
|
4039
|
-
address: string | null;
|
4040
|
-
name: string;
|
4041
|
-
email: string;
|
4042
|
-
createdAt: Date;
|
4043
|
-
updatedAt: Date;
|
4044
|
-
deletedAt: Date | null;
|
4045
|
-
emailVerifiedAt: Date | null;
|
4046
|
-
password: string;
|
4047
|
-
phone: string | null;
|
4048
|
-
notificationCount: number | null;
|
4049
|
-
roles: {
|
4050
|
-
id: string;
|
4051
|
-
description: string | null;
|
4052
|
-
createdAt: Date;
|
4053
|
-
updatedAt: Date;
|
4054
|
-
deletedAt: Date | null;
|
4055
|
-
systemName: string;
|
4056
|
-
displayName: string;
|
4057
|
-
permissions: {
|
4058
|
-
id: string;
|
4059
|
-
description: string | null;
|
4060
|
-
createdAt: Date;
|
4061
|
-
updatedAt: Date;
|
4062
|
-
deletedAt: Date | null;
|
4063
|
-
systemName: string;
|
4064
|
-
displayName: string;
|
4065
|
-
}[];
|
4066
|
-
}[];
|
4067
|
-
extension: {
|
4068
|
-
id: string;
|
4069
|
-
createdAt: Date;
|
4070
|
-
updatedAt: Date;
|
4071
|
-
deletedAt: Date | null;
|
4072
|
-
userId: string | null;
|
4073
|
-
sipServerUrl: string;
|
4074
|
-
sipUserName: string;
|
4075
|
-
webphoneLoginUser: string;
|
4076
|
-
extensionId: string | null;
|
4077
|
-
extensionName: string;
|
4078
|
-
telephonySignature: string | null;
|
4079
|
-
};
|
4080
|
-
}>;
|
4081
|
-
}, "strip", z.ZodTypeAny, {
|
4082
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4083
|
-
id: string;
|
4084
|
-
name: string;
|
4085
|
-
metadata: {
|
4086
|
-
id: string;
|
4087
|
-
name: string;
|
4088
|
-
accessToken?: string | undefined;
|
4089
|
-
channelSecret?: string | undefined;
|
4090
|
-
additionalCredentials?: any;
|
4091
|
-
vonageCredentials?: {
|
4092
|
-
mobileNumber: string;
|
4093
|
-
apiKey: string;
|
4094
|
-
apiSecret: string;
|
4095
|
-
} | undefined;
|
4096
|
-
lineRichMenuId?: string | null | undefined;
|
4097
|
-
};
|
4098
|
-
status: boolean;
|
4099
|
-
createdAt: Date;
|
4100
|
-
updatedAt: Date;
|
4101
|
-
deletedAt: Date | null;
|
4102
|
-
actor: {
|
4103
|
-
id: string;
|
4104
|
-
address: string | null;
|
4105
|
-
name: string;
|
4106
|
-
email: string;
|
4107
|
-
createdAt: Date;
|
4108
|
-
updatedAt: Date;
|
4109
|
-
deletedAt: Date | null;
|
4110
|
-
emailVerifiedAt: Date | null;
|
4111
|
-
password: string;
|
4112
|
-
phone: string | null;
|
4113
|
-
notificationCount: number | null;
|
4114
|
-
roles: {
|
4115
|
-
id: string;
|
4116
|
-
description: string | null;
|
4117
|
-
createdAt: Date;
|
4118
|
-
updatedAt: Date;
|
4119
|
-
deletedAt: Date | null;
|
4120
|
-
systemName: string;
|
4121
|
-
displayName: string;
|
4122
|
-
permissions: {
|
4123
|
-
id: string;
|
4124
|
-
description: string | null;
|
4125
|
-
createdAt: Date;
|
4126
|
-
updatedAt: Date;
|
4127
|
-
deletedAt: Date | null;
|
4128
|
-
systemName: string;
|
4129
|
-
displayName: string;
|
4130
|
-
}[];
|
4131
|
-
}[];
|
4132
|
-
extension: {
|
4133
|
-
id: string;
|
4134
|
-
createdAt: Date;
|
4135
|
-
updatedAt: Date;
|
4136
|
-
deletedAt: Date | null;
|
4137
|
-
userId: string | null;
|
4138
|
-
sipServerUrl: string;
|
4139
|
-
sipUserName: string;
|
4140
|
-
webphoneLoginUser: string;
|
4141
|
-
extensionId: string | null;
|
4142
|
-
extensionName: string;
|
4143
|
-
telephonySignature: string | null;
|
4144
|
-
};
|
4145
|
-
};
|
4146
|
-
brandName: string;
|
4147
|
-
platformId: string;
|
4148
|
-
isReloginRequired: boolean;
|
4149
|
-
connectedUserName: string;
|
4150
|
-
connectedUserId: string;
|
4151
|
-
botpressBot: {
|
4152
|
-
id: string;
|
4153
|
-
name: string;
|
4154
|
-
accessToken: string;
|
4155
|
-
botId: string;
|
4156
|
-
integrationId: string;
|
4157
|
-
} | null;
|
4158
|
-
}, {
|
4159
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4160
|
-
id: string;
|
4161
|
-
name: string;
|
4162
|
-
metadata: {
|
4163
|
-
id: string;
|
4164
|
-
name: string;
|
4165
|
-
accessToken?: string | undefined;
|
4166
|
-
channelSecret?: string | undefined;
|
4167
|
-
additionalCredentials?: any;
|
4168
|
-
vonageCredentials?: {
|
4169
|
-
mobileNumber: string;
|
4170
|
-
apiKey: string;
|
4171
|
-
apiSecret: string;
|
4172
|
-
} | undefined;
|
4173
|
-
lineRichMenuId?: string | null | undefined;
|
4174
|
-
};
|
4175
|
-
status: boolean;
|
4176
|
-
createdAt: Date;
|
4177
|
-
updatedAt: Date;
|
4178
|
-
deletedAt: Date | null;
|
4179
|
-
actor: {
|
4180
|
-
id: string;
|
4181
|
-
address: string | null;
|
4182
|
-
name: string;
|
4183
|
-
email: string;
|
4184
|
-
createdAt: Date;
|
4185
|
-
updatedAt: Date;
|
4186
|
-
deletedAt: Date | null;
|
4187
|
-
emailVerifiedAt: Date | null;
|
4188
|
-
password: string;
|
4189
|
-
phone: string | null;
|
4190
|
-
notificationCount: number | null;
|
4191
|
-
roles: {
|
4192
|
-
id: string;
|
4193
|
-
description: string | null;
|
4194
|
-
createdAt: Date;
|
4195
|
-
updatedAt: Date;
|
4196
|
-
deletedAt: Date | null;
|
4197
|
-
systemName: string;
|
4198
|
-
displayName: string;
|
4199
|
-
permissions: {
|
4200
|
-
id: string;
|
4201
|
-
description: string | null;
|
4202
|
-
createdAt: Date;
|
4203
|
-
updatedAt: Date;
|
4204
|
-
deletedAt: Date | null;
|
4205
|
-
systemName: string;
|
4206
|
-
displayName: string;
|
4207
|
-
}[];
|
4208
|
-
}[];
|
4209
|
-
extension: {
|
4210
|
-
id: string;
|
4211
|
-
createdAt: Date;
|
4212
|
-
updatedAt: Date;
|
4213
|
-
deletedAt: Date | null;
|
4214
|
-
userId: string | null;
|
4215
|
-
sipServerUrl: string;
|
4216
|
-
sipUserName: string;
|
4217
|
-
webphoneLoginUser: string;
|
4218
|
-
extensionId: string | null;
|
4219
|
-
extensionName: string;
|
4220
|
-
telephonySignature: string | null;
|
4221
|
-
};
|
4222
|
-
};
|
4223
|
-
brandName: string;
|
4224
|
-
platformId: string;
|
4225
|
-
isReloginRequired: boolean;
|
4226
|
-
connectedUserName: string;
|
4227
|
-
connectedUserId: string;
|
4228
|
-
botpressBot: {
|
4229
|
-
id: string;
|
4230
|
-
name: string;
|
4231
|
-
accessToken: string;
|
4232
|
-
botId: string;
|
4233
|
-
integrationId: string;
|
4234
|
-
} | null;
|
4235
|
-
}>;
|
4236
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4237
|
-
status: z.ZodNumber;
|
4238
|
-
createdAt: z.ZodDate;
|
4239
|
-
updatedAt: z.ZodDate;
|
4240
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4241
|
-
actor: z.ZodObject<{
|
4242
|
-
id: z.ZodString;
|
4243
|
-
createdAt: z.ZodDate;
|
4244
|
-
updatedAt: z.ZodDate;
|
4245
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4246
|
-
name: z.ZodString;
|
4247
|
-
email: z.ZodString;
|
4248
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
4249
|
-
password: z.ZodString;
|
4250
|
-
address: z.ZodNullable<z.ZodString>;
|
4251
|
-
phone: z.ZodNullable<z.ZodString>;
|
4252
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
4253
|
-
roles: z.ZodArray<z.ZodObject<{
|
4254
|
-
id: z.ZodString;
|
4255
|
-
createdAt: z.ZodDate;
|
4256
|
-
updatedAt: z.ZodDate;
|
4257
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4258
|
-
systemName: z.ZodString;
|
4259
|
-
displayName: z.ZodString;
|
4260
|
-
description: z.ZodNullable<z.ZodString>;
|
4261
|
-
permissions: z.ZodArray<z.ZodObject<{
|
4262
|
-
id: z.ZodString;
|
4263
|
-
createdAt: z.ZodDate;
|
4264
|
-
updatedAt: z.ZodDate;
|
4265
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4266
|
-
systemName: z.ZodString;
|
4267
|
-
displayName: z.ZodString;
|
4268
|
-
description: z.ZodNullable<z.ZodString>;
|
4269
|
-
}, "strip", z.ZodTypeAny, {
|
4270
|
-
id: string;
|
4271
|
-
description: string | null;
|
4272
|
-
createdAt: Date;
|
4273
|
-
updatedAt: Date;
|
4274
|
-
deletedAt: Date | null;
|
4275
|
-
systemName: string;
|
4276
|
-
displayName: string;
|
4277
|
-
}, {
|
4278
|
-
id: string;
|
4279
|
-
description: string | null;
|
4280
|
-
createdAt: Date;
|
4281
|
-
updatedAt: Date;
|
4282
|
-
deletedAt: Date | null;
|
4283
|
-
systemName: string;
|
4284
|
-
displayName: string;
|
4285
|
-
}>, "many">;
|
4286
|
-
}, "strip", z.ZodTypeAny, {
|
4287
|
-
id: string;
|
4288
|
-
description: string | null;
|
4289
|
-
createdAt: Date;
|
4290
|
-
updatedAt: Date;
|
4291
|
-
deletedAt: Date | null;
|
4292
|
-
systemName: string;
|
4293
|
-
displayName: string;
|
4294
|
-
permissions: {
|
4295
|
-
id: string;
|
4296
|
-
description: string | null;
|
4297
|
-
createdAt: Date;
|
4298
|
-
updatedAt: Date;
|
4299
|
-
deletedAt: Date | null;
|
4300
|
-
systemName: string;
|
4301
|
-
displayName: string;
|
4302
|
-
}[];
|
4303
|
-
}, {
|
4304
|
-
id: string;
|
4305
|
-
description: string | null;
|
4306
|
-
createdAt: Date;
|
4307
|
-
updatedAt: Date;
|
4308
|
-
deletedAt: Date | null;
|
4309
|
-
systemName: string;
|
4310
|
-
displayName: string;
|
4311
|
-
permissions: {
|
4312
|
-
id: string;
|
4313
|
-
description: string | null;
|
4314
|
-
createdAt: Date;
|
4315
|
-
updatedAt: Date;
|
4316
|
-
deletedAt: Date | null;
|
4317
|
-
systemName: string;
|
4318
|
-
displayName: string;
|
4319
|
-
}[];
|
4320
|
-
}>, "many">;
|
4321
|
-
extension: z.ZodObject<{
|
4322
|
-
id: z.ZodString;
|
4323
|
-
createdAt: z.ZodDate;
|
4324
|
-
updatedAt: z.ZodDate;
|
4325
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4326
|
-
userId: z.ZodNullable<z.ZodString>;
|
4327
|
-
sipServerUrl: z.ZodString;
|
4328
|
-
sipUserName: z.ZodString;
|
4329
|
-
webphoneLoginUser: z.ZodString;
|
4330
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
4331
|
-
extensionName: z.ZodString;
|
4332
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
4333
|
-
}, "strip", z.ZodTypeAny, {
|
4334
|
-
id: string;
|
4335
|
-
createdAt: Date;
|
4336
|
-
updatedAt: Date;
|
4337
|
-
deletedAt: Date | null;
|
4338
|
-
userId: string | null;
|
4339
|
-
sipServerUrl: string;
|
4340
|
-
sipUserName: string;
|
4341
|
-
webphoneLoginUser: string;
|
4342
|
-
extensionId: string | null;
|
4343
|
-
extensionName: string;
|
4344
|
-
telephonySignature: string | null;
|
4345
|
-
}, {
|
4346
|
-
id: string;
|
4347
|
-
createdAt: Date;
|
4348
|
-
updatedAt: Date;
|
4349
|
-
deletedAt: Date | null;
|
4350
|
-
userId: string | null;
|
4351
|
-
sipServerUrl: string;
|
4352
|
-
sipUserName: string;
|
4353
|
-
webphoneLoginUser: string;
|
4354
|
-
extensionId: string | null;
|
4355
|
-
extensionName: string;
|
4356
|
-
telephonySignature: string | null;
|
4357
|
-
}>;
|
4358
|
-
}, "strip", z.ZodTypeAny, {
|
4359
|
-
id: string;
|
4360
|
-
address: string | null;
|
4361
|
-
name: string;
|
4362
|
-
email: string;
|
4363
|
-
createdAt: Date;
|
4364
|
-
updatedAt: Date;
|
4365
|
-
deletedAt: Date | null;
|
4366
|
-
emailVerifiedAt: Date | null;
|
4367
|
-
password: string;
|
4368
|
-
phone: string | null;
|
4369
|
-
notificationCount: number | null;
|
4370
|
-
roles: {
|
4371
|
-
id: string;
|
4372
|
-
description: string | null;
|
4373
|
-
createdAt: Date;
|
4374
|
-
updatedAt: Date;
|
4375
|
-
deletedAt: Date | null;
|
4376
|
-
systemName: string;
|
4377
|
-
displayName: string;
|
4378
|
-
permissions: {
|
4379
|
-
id: string;
|
4380
|
-
description: string | null;
|
4381
|
-
createdAt: Date;
|
4382
|
-
updatedAt: Date;
|
4383
|
-
deletedAt: Date | null;
|
4384
|
-
systemName: string;
|
4385
|
-
displayName: string;
|
4386
|
-
}[];
|
4387
|
-
}[];
|
4388
|
-
extension: {
|
4389
|
-
id: string;
|
4390
|
-
createdAt: Date;
|
4391
|
-
updatedAt: Date;
|
4392
|
-
deletedAt: Date | null;
|
4393
|
-
userId: string | null;
|
4394
|
-
sipServerUrl: string;
|
4395
|
-
sipUserName: string;
|
4396
|
-
webphoneLoginUser: string;
|
4397
|
-
extensionId: string | null;
|
4398
|
-
extensionName: string;
|
4399
|
-
telephonySignature: string | null;
|
4400
|
-
};
|
4401
|
-
}, {
|
4402
|
-
id: string;
|
4403
|
-
address: string | null;
|
4404
|
-
name: string;
|
4405
|
-
email: string;
|
4406
|
-
createdAt: Date;
|
4407
|
-
updatedAt: Date;
|
4408
|
-
deletedAt: Date | null;
|
4409
|
-
emailVerifiedAt: Date | null;
|
4410
|
-
password: string;
|
4411
|
-
phone: string | null;
|
4412
|
-
notificationCount: number | null;
|
4413
|
-
roles: {
|
4414
|
-
id: string;
|
4415
|
-
description: string | null;
|
4416
|
-
createdAt: Date;
|
4417
|
-
updatedAt: Date;
|
4418
|
-
deletedAt: Date | null;
|
4419
|
-
systemName: string;
|
4420
|
-
displayName: string;
|
4421
|
-
permissions: {
|
4422
|
-
id: string;
|
4423
|
-
description: string | null;
|
4424
|
-
createdAt: Date;
|
4425
|
-
updatedAt: Date;
|
4426
|
-
deletedAt: Date | null;
|
4427
|
-
systemName: string;
|
4428
|
-
displayName: string;
|
4429
|
-
}[];
|
4430
|
-
}[];
|
4431
|
-
extension: {
|
4432
|
-
id: string;
|
4433
|
-
createdAt: Date;
|
4434
|
-
updatedAt: Date;
|
4435
|
-
deletedAt: Date | null;
|
4436
|
-
userId: string | null;
|
4437
|
-
sipServerUrl: string;
|
4438
|
-
sipUserName: string;
|
4439
|
-
webphoneLoginUser: string;
|
4440
|
-
extensionId: string | null;
|
4441
|
-
extensionName: string;
|
4442
|
-
telephonySignature: string | null;
|
4443
|
-
};
|
4444
|
-
}>;
|
4445
|
-
firstResponseTime: z.ZodNumber;
|
4446
|
-
lastMessage: z.ZodString;
|
4447
|
-
handleTime: z.ZodNumber;
|
4448
|
-
unreadCount: z.ZodNumber;
|
4449
|
-
firstResponseAt: z.ZodDate;
|
4450
|
-
isLatest: z.ZodBoolean;
|
4451
|
-
platformContact: z.ZodObject<{
|
4452
|
-
id: z.ZodString;
|
4453
|
-
createdAt: z.ZodDate;
|
4454
|
-
updatedAt: z.ZodDate;
|
4455
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4456
|
-
channelId: z.ZodString;
|
4457
|
-
socialPlatformId: z.ZodString;
|
4458
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
4459
|
-
metadata: z.ZodObject<{
|
4460
|
-
id: z.ZodString;
|
4461
|
-
name: z.ZodString;
|
4462
|
-
picture: z.ZodOptional<z.ZodString>;
|
4463
|
-
additionalCredentials: z.ZodAny;
|
4464
|
-
}, "strip", z.ZodTypeAny, {
|
4465
|
-
id: string;
|
4466
|
-
name: string;
|
4467
|
-
picture?: string | undefined;
|
4468
|
-
additionalCredentials?: any;
|
4469
|
-
}, {
|
4470
|
-
id: string;
|
4471
|
-
name: string;
|
4472
|
-
picture?: string | undefined;
|
4473
|
-
additionalCredentials?: any;
|
4474
|
-
}>;
|
4475
|
-
contact: z.ZodObject<{
|
4476
|
-
id: z.ZodString;
|
4477
|
-
createdAt: z.ZodDate;
|
4478
|
-
updatedAt: z.ZodDate;
|
4479
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4480
|
-
name: z.ZodString;
|
4481
|
-
address: z.ZodNullable<z.ZodString>;
|
4482
|
-
channel: z.ZodNullable<z.ZodString>;
|
4483
|
-
notes: z.ZodNullable<z.ZodString>;
|
4484
|
-
contactProfile: z.ZodNullable<z.ZodString>;
|
4485
|
-
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
4486
|
-
tags: z.ZodArray<z.ZodObject<{
|
4487
|
-
id: z.ZodString;
|
4488
|
-
createdAt: z.ZodDate;
|
4489
|
-
updatedAt: z.ZodDate;
|
4490
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4491
|
-
name: z.ZodString;
|
4492
|
-
}, "strip", z.ZodTypeAny, {
|
4493
|
-
id: string;
|
4494
|
-
name: string;
|
4495
|
-
createdAt: Date;
|
4496
|
-
updatedAt: Date;
|
4497
|
-
deletedAt: Date | null;
|
4498
3904
|
}, {
|
4499
|
-
id: string;
|
4500
|
-
name: string;
|
4501
|
-
createdAt: Date;
|
4502
|
-
updatedAt: Date;
|
4503
|
-
deletedAt: Date | null;
|
4504
|
-
}>, "many">;
|
4505
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
4506
|
-
id: z.ZodString;
|
4507
|
-
createdAt: z.ZodDate;
|
4508
|
-
updatedAt: z.ZodDate;
|
4509
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
4510
3905
|
name: z.ZodOptional<z.ZodString>;
|
4511
3906
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4512
3907
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4513
3908
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
4514
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3909
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4515
3910
|
id: z.ZodString;
|
4516
3911
|
createdAt: z.ZodDate;
|
4517
3912
|
updatedAt: z.ZodDate;
|
4518
3913
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3914
|
+
}, {
|
4519
3915
|
textValue: z.ZodNullable<z.ZodString>;
|
4520
3916
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4521
3917
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4522
3918
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4523
|
-
attribute: z.ZodObject<Omit<{
|
3919
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
4524
3920
|
id: z.ZodString;
|
4525
3921
|
createdAt: z.ZodDate;
|
4526
3922
|
updatedAt: z.ZodDate;
|
4527
3923
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3924
|
+
}, {
|
4528
3925
|
systemName: z.ZodString;
|
4529
3926
|
displayName: z.ZodString;
|
4530
3927
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4533,13 +3930,14 @@ export declare const chatContract: {
|
|
4533
3930
|
isArchived: z.ZodBoolean;
|
4534
3931
|
isRequired: z.ZodBoolean;
|
4535
3932
|
isUnique: z.ZodBoolean;
|
4536
|
-
options: z.ZodArray<z.ZodObject<{
|
4537
|
-
position: z.ZodNumber;
|
4538
|
-
value: z.ZodString;
|
3933
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4539
3934
|
label: z.ZodString;
|
3935
|
+
value: z.ZodString;
|
4540
3936
|
isDefault: z.ZodBoolean;
|
3937
|
+
position: z.ZodNumber;
|
3938
|
+
}, {
|
4541
3939
|
id: z.ZodString;
|
4542
|
-
}
|
3940
|
+
}>, "strip", z.ZodTypeAny, {
|
4543
3941
|
id: string;
|
4544
3942
|
position: number;
|
4545
3943
|
value: string;
|
@@ -4552,14 +3950,15 @@ export declare const chatContract: {
|
|
4552
3950
|
label: string;
|
4553
3951
|
isDefault: boolean;
|
4554
3952
|
}>, "many">;
|
4555
|
-
group: z.ZodObject<{
|
3953
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
4556
3954
|
id: z.ZodString;
|
4557
3955
|
createdAt: z.ZodDate;
|
4558
3956
|
updatedAt: z.ZodDate;
|
4559
3957
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3958
|
+
}, {
|
4560
3959
|
systemName: z.ZodString;
|
4561
3960
|
displayName: z.ZodString;
|
4562
|
-
}
|
3961
|
+
}>, "strip", z.ZodTypeAny, {
|
4563
3962
|
id: string;
|
4564
3963
|
createdAt: Date;
|
4565
3964
|
updatedAt: Date;
|
@@ -4574,7 +3973,7 @@ export declare const chatContract: {
|
|
4574
3973
|
systemName: string;
|
4575
3974
|
displayName: string;
|
4576
3975
|
}>;
|
4577
|
-
}
|
3976
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
4578
3977
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4579
3978
|
id: string;
|
4580
3979
|
position: number;
|
@@ -4601,7 +4000,7 @@ export declare const chatContract: {
|
|
4601
4000
|
isRequired: boolean;
|
4602
4001
|
isUnique: boolean;
|
4603
4002
|
}>;
|
4604
|
-
}
|
4003
|
+
}>, "strip", z.ZodTypeAny, {
|
4605
4004
|
id: string;
|
4606
4005
|
createdAt: Date;
|
4607
4006
|
updatedAt: Date;
|
@@ -4648,7 +4047,7 @@ export declare const chatContract: {
|
|
4648
4047
|
numberValue: number | null;
|
4649
4048
|
dateValue: Date | null;
|
4650
4049
|
}>, "many">>;
|
4651
|
-
}
|
4050
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
4652
4051
|
id: string;
|
4653
4052
|
createdAt: Date;
|
4654
4053
|
updatedAt: Date;
|
@@ -4676,11 +4075,12 @@ export declare const chatContract: {
|
|
4676
4075
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4677
4076
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4678
4077
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4679
|
-
attribute: z.ZodObject<Omit<{
|
4078
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
4680
4079
|
id: z.ZodString;
|
4681
4080
|
createdAt: z.ZodDate;
|
4682
4081
|
updatedAt: z.ZodDate;
|
4683
4082
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4083
|
+
}, {
|
4684
4084
|
systemName: z.ZodString;
|
4685
4085
|
displayName: z.ZodString;
|
4686
4086
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4689,13 +4089,14 @@ export declare const chatContract: {
|
|
4689
4089
|
isArchived: z.ZodBoolean;
|
4690
4090
|
isRequired: z.ZodBoolean;
|
4691
4091
|
isUnique: z.ZodBoolean;
|
4692
|
-
options: z.ZodArray<z.ZodObject<{
|
4693
|
-
position: z.ZodNumber;
|
4694
|
-
value: z.ZodString;
|
4092
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4695
4093
|
label: z.ZodString;
|
4094
|
+
value: z.ZodString;
|
4696
4095
|
isDefault: z.ZodBoolean;
|
4096
|
+
position: z.ZodNumber;
|
4097
|
+
}, {
|
4697
4098
|
id: z.ZodString;
|
4698
|
-
}
|
4099
|
+
}>, "strip", z.ZodTypeAny, {
|
4699
4100
|
id: string;
|
4700
4101
|
position: number;
|
4701
4102
|
value: string;
|
@@ -4708,14 +4109,15 @@ export declare const chatContract: {
|
|
4708
4109
|
label: string;
|
4709
4110
|
isDefault: boolean;
|
4710
4111
|
}>, "many">;
|
4711
|
-
group: z.ZodObject<{
|
4112
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
4712
4113
|
id: z.ZodString;
|
4713
4114
|
createdAt: z.ZodDate;
|
4714
4115
|
updatedAt: z.ZodDate;
|
4715
4116
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4117
|
+
}, {
|
4716
4118
|
systemName: z.ZodString;
|
4717
4119
|
displayName: z.ZodString;
|
4718
|
-
}
|
4120
|
+
}>, "strip", z.ZodTypeAny, {
|
4719
4121
|
id: string;
|
4720
4122
|
createdAt: Date;
|
4721
4123
|
updatedAt: Date;
|
@@ -4730,7 +4132,7 @@ export declare const chatContract: {
|
|
4730
4132
|
systemName: string;
|
4731
4133
|
displayName: string;
|
4732
4134
|
}>;
|
4733
|
-
}
|
4135
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
4734
4136
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4735
4137
|
id: string;
|
4736
4138
|
position: number;
|
@@ -4757,18 +4159,19 @@ export declare const chatContract: {
|
|
4757
4159
|
isRequired: boolean;
|
4758
4160
|
isUnique: boolean;
|
4759
4161
|
}>;
|
4760
|
-
uploads: z.ZodArray<z.ZodObject<{
|
4162
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4761
4163
|
id: z.ZodString;
|
4762
4164
|
createdAt: z.ZodDate;
|
4763
4165
|
updatedAt: z.ZodDate;
|
4764
4166
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4167
|
+
}, {
|
4765
4168
|
bucketName: z.ZodString;
|
4766
4169
|
fileName: z.ZodString;
|
4767
4170
|
fileSize: z.ZodNumber;
|
4768
4171
|
fileKey: z.ZodString;
|
4769
4172
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4770
4173
|
status: z.ZodNullable<z.ZodString>;
|
4771
|
-
}
|
4174
|
+
}>, "strip", z.ZodTypeAny, {
|
4772
4175
|
id: string;
|
4773
4176
|
status: string | null;
|
4774
4177
|
createdAt: Date;
|
@@ -5160,282 +4563,843 @@ export declare const chatContract: {
|
|
5160
4563
|
}[] | undefined;
|
5161
4564
|
}>;
|
5162
4565
|
}, "strip", z.ZodTypeAny, {
|
5163
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4566
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4567
|
+
id: string;
|
4568
|
+
metadata: {
|
4569
|
+
id: string;
|
4570
|
+
name: string;
|
4571
|
+
picture?: string | undefined;
|
4572
|
+
additionalCredentials?: any;
|
4573
|
+
};
|
4574
|
+
createdAt: Date;
|
4575
|
+
updatedAt: Date;
|
4576
|
+
deletedAt: Date | null;
|
4577
|
+
contact: {
|
4578
|
+
id: string;
|
4579
|
+
channel: string | null;
|
4580
|
+
address: string | null;
|
4581
|
+
name: string;
|
4582
|
+
createdAt: Date;
|
4583
|
+
updatedAt: Date;
|
4584
|
+
deletedAt: Date | null;
|
4585
|
+
customFields: {
|
4586
|
+
id: string;
|
4587
|
+
createdAt: Date;
|
4588
|
+
updatedAt: Date;
|
4589
|
+
deletedAt: Date | null;
|
4590
|
+
attribute: {
|
4591
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4592
|
+
id: string;
|
4593
|
+
position: number;
|
4594
|
+
createdAt: Date;
|
4595
|
+
updatedAt: Date;
|
4596
|
+
deletedAt: Date | null;
|
4597
|
+
systemName: string;
|
4598
|
+
displayName: string;
|
4599
|
+
isDefault: boolean;
|
4600
|
+
isArchived: boolean;
|
4601
|
+
isRequired: boolean;
|
4602
|
+
isUnique: boolean;
|
4603
|
+
};
|
4604
|
+
textValue: string | null;
|
4605
|
+
booleanValue: boolean | null;
|
4606
|
+
numberValue: number | null;
|
4607
|
+
dateValue: Date | null;
|
4608
|
+
uploads: {
|
4609
|
+
id: string;
|
4610
|
+
status: string | null;
|
4611
|
+
createdAt: Date;
|
4612
|
+
updatedAt: Date;
|
4613
|
+
deletedAt: Date | null;
|
4614
|
+
fileName: string;
|
4615
|
+
fileKey: string;
|
4616
|
+
bucketName: string;
|
4617
|
+
fileSize: number;
|
4618
|
+
fileUrl: string | null;
|
4619
|
+
}[];
|
4620
|
+
}[];
|
4621
|
+
company: {
|
4622
|
+
id: string;
|
4623
|
+
createdAt: Date;
|
4624
|
+
updatedAt: Date;
|
4625
|
+
deletedAt: Date | null;
|
4626
|
+
address?: string | null | undefined;
|
4627
|
+
name?: string | undefined;
|
4628
|
+
phone?: string | null | undefined;
|
4629
|
+
industry?: string | null | undefined;
|
4630
|
+
} | null;
|
4631
|
+
notes: string | null;
|
4632
|
+
contactProfile: string | null;
|
4633
|
+
socialProfileUrl: string | null;
|
4634
|
+
tags: {
|
4635
|
+
id: string;
|
4636
|
+
name: string;
|
4637
|
+
createdAt: Date;
|
4638
|
+
updatedAt: Date;
|
4639
|
+
deletedAt: Date | null;
|
4640
|
+
}[];
|
4641
|
+
contactEmails: {
|
4642
|
+
id: string;
|
4643
|
+
isPrimary: boolean;
|
4644
|
+
email: string;
|
4645
|
+
createdAt: Date;
|
4646
|
+
updatedAt: Date;
|
4647
|
+
deletedAt: Date | null;
|
4648
|
+
}[];
|
4649
|
+
contactPhones: {
|
4650
|
+
id: string;
|
4651
|
+
isPrimary: boolean;
|
4652
|
+
createdAt: Date;
|
4653
|
+
updatedAt: Date;
|
4654
|
+
deletedAt: Date | null;
|
4655
|
+
phone: string;
|
4656
|
+
}[];
|
4657
|
+
activityLogs?: {
|
4658
|
+
id: string;
|
4659
|
+
description: string;
|
4660
|
+
createdAt: Date;
|
4661
|
+
updatedAt: Date;
|
4662
|
+
deletedAt: Date | null;
|
4663
|
+
entityId: string;
|
4664
|
+
entityType: {
|
4665
|
+
id: string;
|
4666
|
+
description: string | null;
|
4667
|
+
createdAt: Date;
|
4668
|
+
updatedAt: Date;
|
4669
|
+
deletedAt: Date | null;
|
4670
|
+
entity: string;
|
4671
|
+
};
|
4672
|
+
}[] | undefined;
|
4673
|
+
};
|
4674
|
+
channelId: string;
|
4675
|
+
socialPlatformId: string;
|
4676
|
+
}, {
|
4677
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4678
|
+
id: string;
|
4679
|
+
metadata: {
|
4680
|
+
id: string;
|
4681
|
+
name: string;
|
4682
|
+
picture?: string | undefined;
|
4683
|
+
additionalCredentials?: any;
|
4684
|
+
};
|
4685
|
+
createdAt: Date;
|
4686
|
+
updatedAt: Date;
|
4687
|
+
deletedAt: Date | null;
|
4688
|
+
contact: {
|
4689
|
+
id: string;
|
4690
|
+
channel: string | null;
|
4691
|
+
address: string | null;
|
4692
|
+
name: string;
|
4693
|
+
createdAt: Date;
|
4694
|
+
updatedAt: Date;
|
4695
|
+
deletedAt: Date | null;
|
4696
|
+
customFields: {
|
4697
|
+
id: string;
|
4698
|
+
createdAt: Date;
|
4699
|
+
updatedAt: Date;
|
4700
|
+
deletedAt: Date | null;
|
4701
|
+
attribute: {
|
4702
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4703
|
+
id: string;
|
4704
|
+
position: number;
|
4705
|
+
createdAt: Date;
|
4706
|
+
updatedAt: Date;
|
4707
|
+
deletedAt: Date | null;
|
4708
|
+
systemName: string;
|
4709
|
+
displayName: string;
|
4710
|
+
isDefault: boolean;
|
4711
|
+
isArchived: boolean;
|
4712
|
+
isRequired: boolean;
|
4713
|
+
isUnique: boolean;
|
4714
|
+
};
|
4715
|
+
textValue: string | null;
|
4716
|
+
booleanValue: boolean | null;
|
4717
|
+
numberValue: number | null;
|
4718
|
+
dateValue: Date | null;
|
4719
|
+
uploads: {
|
4720
|
+
id: string;
|
4721
|
+
status: string | null;
|
4722
|
+
createdAt: Date;
|
4723
|
+
updatedAt: Date;
|
4724
|
+
deletedAt: Date | null;
|
4725
|
+
fileName: string;
|
4726
|
+
fileKey: string;
|
4727
|
+
bucketName: string;
|
4728
|
+
fileSize: number;
|
4729
|
+
fileUrl: string | null;
|
4730
|
+
}[];
|
4731
|
+
}[];
|
4732
|
+
company: {
|
4733
|
+
id: string;
|
4734
|
+
createdAt: Date;
|
4735
|
+
updatedAt: Date;
|
4736
|
+
deletedAt: Date | null;
|
4737
|
+
address?: string | null | undefined;
|
4738
|
+
name?: string | undefined;
|
4739
|
+
phone?: string | null | undefined;
|
4740
|
+
industry?: string | null | undefined;
|
4741
|
+
} | null;
|
4742
|
+
notes: string | null;
|
4743
|
+
contactProfile: string | null;
|
4744
|
+
socialProfileUrl: string | null;
|
4745
|
+
tags: {
|
4746
|
+
id: string;
|
4747
|
+
name: string;
|
4748
|
+
createdAt: Date;
|
4749
|
+
updatedAt: Date;
|
4750
|
+
deletedAt: Date | null;
|
4751
|
+
}[];
|
4752
|
+
contactEmails: {
|
4753
|
+
id: string;
|
4754
|
+
isPrimary: boolean;
|
4755
|
+
email: string;
|
4756
|
+
createdAt: Date;
|
4757
|
+
updatedAt: Date;
|
4758
|
+
deletedAt: Date | null;
|
4759
|
+
}[];
|
4760
|
+
contactPhones: {
|
4761
|
+
id: string;
|
4762
|
+
isPrimary: boolean;
|
4763
|
+
createdAt: Date;
|
4764
|
+
updatedAt: Date;
|
4765
|
+
deletedAt: Date | null;
|
4766
|
+
phone: string;
|
4767
|
+
}[];
|
4768
|
+
activityLogs?: {
|
4769
|
+
id: string;
|
4770
|
+
description: string;
|
4771
|
+
createdAt: Date;
|
4772
|
+
updatedAt: Date;
|
4773
|
+
deletedAt: Date | null;
|
4774
|
+
entityId: string;
|
4775
|
+
entityType: {
|
4776
|
+
id: string;
|
4777
|
+
description: string | null;
|
4778
|
+
createdAt: Date;
|
4779
|
+
updatedAt: Date;
|
4780
|
+
deletedAt: Date | null;
|
4781
|
+
entity: string;
|
4782
|
+
};
|
4783
|
+
}[] | undefined;
|
4784
|
+
};
|
4785
|
+
channelId: string;
|
4786
|
+
socialPlatformId: string;
|
4787
|
+
}>;
|
4788
|
+
actor: z.ZodObject<{
|
4789
|
+
id: z.ZodString;
|
4790
|
+
createdAt: z.ZodDate;
|
4791
|
+
updatedAt: z.ZodDate;
|
4792
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4793
|
+
name: z.ZodString;
|
4794
|
+
email: z.ZodString;
|
4795
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
4796
|
+
password: z.ZodString;
|
4797
|
+
address: z.ZodNullable<z.ZodString>;
|
4798
|
+
phone: z.ZodNullable<z.ZodString>;
|
4799
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
4800
|
+
roles: z.ZodArray<z.ZodObject<{
|
4801
|
+
id: z.ZodString;
|
4802
|
+
createdAt: z.ZodDate;
|
4803
|
+
updatedAt: z.ZodDate;
|
4804
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4805
|
+
systemName: z.ZodString;
|
4806
|
+
displayName: z.ZodString;
|
4807
|
+
description: z.ZodNullable<z.ZodString>;
|
4808
|
+
permissions: z.ZodArray<z.ZodObject<{
|
4809
|
+
id: z.ZodString;
|
4810
|
+
createdAt: z.ZodDate;
|
4811
|
+
updatedAt: z.ZodDate;
|
4812
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4813
|
+
systemName: z.ZodString;
|
4814
|
+
displayName: z.ZodString;
|
4815
|
+
description: z.ZodNullable<z.ZodString>;
|
4816
|
+
}, "strip", z.ZodTypeAny, {
|
4817
|
+
id: string;
|
4818
|
+
description: string | null;
|
4819
|
+
createdAt: Date;
|
4820
|
+
updatedAt: Date;
|
4821
|
+
deletedAt: Date | null;
|
4822
|
+
systemName: string;
|
4823
|
+
displayName: string;
|
4824
|
+
}, {
|
4825
|
+
id: string;
|
4826
|
+
description: string | null;
|
4827
|
+
createdAt: Date;
|
4828
|
+
updatedAt: Date;
|
4829
|
+
deletedAt: Date | null;
|
4830
|
+
systemName: string;
|
4831
|
+
displayName: string;
|
4832
|
+
}>, "many">;
|
4833
|
+
}, "strip", z.ZodTypeAny, {
|
4834
|
+
id: string;
|
4835
|
+
description: string | null;
|
4836
|
+
createdAt: Date;
|
4837
|
+
updatedAt: Date;
|
4838
|
+
deletedAt: Date | null;
|
4839
|
+
systemName: string;
|
4840
|
+
displayName: string;
|
4841
|
+
permissions: {
|
4842
|
+
id: string;
|
4843
|
+
description: string | null;
|
4844
|
+
createdAt: Date;
|
4845
|
+
updatedAt: Date;
|
4846
|
+
deletedAt: Date | null;
|
4847
|
+
systemName: string;
|
4848
|
+
displayName: string;
|
4849
|
+
}[];
|
4850
|
+
}, {
|
4851
|
+
id: string;
|
4852
|
+
description: string | null;
|
4853
|
+
createdAt: Date;
|
4854
|
+
updatedAt: Date;
|
4855
|
+
deletedAt: Date | null;
|
4856
|
+
systemName: string;
|
4857
|
+
displayName: string;
|
4858
|
+
permissions: {
|
4859
|
+
id: string;
|
4860
|
+
description: string | null;
|
4861
|
+
createdAt: Date;
|
4862
|
+
updatedAt: Date;
|
4863
|
+
deletedAt: Date | null;
|
4864
|
+
systemName: string;
|
4865
|
+
displayName: string;
|
4866
|
+
}[];
|
4867
|
+
}>, "many">;
|
4868
|
+
extension: z.ZodObject<{
|
4869
|
+
id: z.ZodString;
|
4870
|
+
createdAt: z.ZodDate;
|
4871
|
+
updatedAt: z.ZodDate;
|
4872
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4873
|
+
userId: z.ZodNullable<z.ZodString>;
|
4874
|
+
sipServerUrl: z.ZodString;
|
4875
|
+
sipUserName: z.ZodString;
|
4876
|
+
webphoneLoginUser: z.ZodString;
|
4877
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
4878
|
+
extensionName: z.ZodString;
|
4879
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
4880
|
+
}, "strip", z.ZodTypeAny, {
|
4881
|
+
id: string;
|
4882
|
+
createdAt: Date;
|
4883
|
+
updatedAt: Date;
|
4884
|
+
deletedAt: Date | null;
|
4885
|
+
userId: string | null;
|
4886
|
+
sipServerUrl: string;
|
4887
|
+
sipUserName: string;
|
4888
|
+
webphoneLoginUser: string;
|
4889
|
+
extensionId: string | null;
|
4890
|
+
extensionName: string;
|
4891
|
+
telephonySignature: string | null;
|
4892
|
+
}, {
|
4893
|
+
id: string;
|
4894
|
+
createdAt: Date;
|
4895
|
+
updatedAt: Date;
|
4896
|
+
deletedAt: Date | null;
|
4897
|
+
userId: string | null;
|
4898
|
+
sipServerUrl: string;
|
4899
|
+
sipUserName: string;
|
4900
|
+
webphoneLoginUser: string;
|
4901
|
+
extensionId: string | null;
|
4902
|
+
extensionName: string;
|
4903
|
+
telephonySignature: string | null;
|
4904
|
+
}>;
|
4905
|
+
}, "strip", z.ZodTypeAny, {
|
5164
4906
|
id: string;
|
5165
|
-
|
4907
|
+
address: string | null;
|
4908
|
+
name: string;
|
4909
|
+
email: string;
|
4910
|
+
createdAt: Date;
|
4911
|
+
updatedAt: Date;
|
4912
|
+
deletedAt: Date | null;
|
4913
|
+
emailVerifiedAt: Date | null;
|
4914
|
+
password: string;
|
4915
|
+
phone: string | null;
|
4916
|
+
notificationCount: number | null;
|
4917
|
+
roles: {
|
5166
4918
|
id: string;
|
5167
|
-
|
5168
|
-
|
5169
|
-
|
4919
|
+
description: string | null;
|
4920
|
+
createdAt: Date;
|
4921
|
+
updatedAt: Date;
|
4922
|
+
deletedAt: Date | null;
|
4923
|
+
systemName: string;
|
4924
|
+
displayName: string;
|
4925
|
+
permissions: {
|
4926
|
+
id: string;
|
4927
|
+
description: string | null;
|
4928
|
+
createdAt: Date;
|
4929
|
+
updatedAt: Date;
|
4930
|
+
deletedAt: Date | null;
|
4931
|
+
systemName: string;
|
4932
|
+
displayName: string;
|
4933
|
+
}[];
|
4934
|
+
}[];
|
4935
|
+
extension: {
|
4936
|
+
id: string;
|
4937
|
+
createdAt: Date;
|
4938
|
+
updatedAt: Date;
|
4939
|
+
deletedAt: Date | null;
|
4940
|
+
userId: string | null;
|
4941
|
+
sipServerUrl: string;
|
4942
|
+
sipUserName: string;
|
4943
|
+
webphoneLoginUser: string;
|
4944
|
+
extensionId: string | null;
|
4945
|
+
extensionName: string;
|
4946
|
+
telephonySignature: string | null;
|
5170
4947
|
};
|
4948
|
+
}, {
|
4949
|
+
id: string;
|
4950
|
+
address: string | null;
|
4951
|
+
name: string;
|
4952
|
+
email: string;
|
5171
4953
|
createdAt: Date;
|
5172
4954
|
updatedAt: Date;
|
5173
4955
|
deletedAt: Date | null;
|
5174
|
-
|
4956
|
+
emailVerifiedAt: Date | null;
|
4957
|
+
password: string;
|
4958
|
+
phone: string | null;
|
4959
|
+
notificationCount: number | null;
|
4960
|
+
roles: {
|
5175
4961
|
id: string;
|
5176
|
-
|
5177
|
-
address: string | null;
|
5178
|
-
name: string;
|
4962
|
+
description: string | null;
|
5179
4963
|
createdAt: Date;
|
5180
4964
|
updatedAt: Date;
|
5181
4965
|
deletedAt: Date | null;
|
5182
|
-
|
4966
|
+
systemName: string;
|
4967
|
+
displayName: string;
|
4968
|
+
permissions: {
|
5183
4969
|
id: string;
|
4970
|
+
description: string | null;
|
5184
4971
|
createdAt: Date;
|
5185
4972
|
updatedAt: Date;
|
5186
4973
|
deletedAt: Date | null;
|
5187
|
-
|
5188
|
-
|
5189
|
-
id: string;
|
5190
|
-
position: number;
|
5191
|
-
createdAt: Date;
|
5192
|
-
updatedAt: Date;
|
5193
|
-
deletedAt: Date | null;
|
5194
|
-
systemName: string;
|
5195
|
-
displayName: string;
|
5196
|
-
isDefault: boolean;
|
5197
|
-
isArchived: boolean;
|
5198
|
-
isRequired: boolean;
|
5199
|
-
isUnique: boolean;
|
5200
|
-
};
|
5201
|
-
textValue: string | null;
|
5202
|
-
booleanValue: boolean | null;
|
5203
|
-
numberValue: number | null;
|
5204
|
-
dateValue: Date | null;
|
5205
|
-
uploads: {
|
5206
|
-
id: string;
|
5207
|
-
status: string | null;
|
5208
|
-
createdAt: Date;
|
5209
|
-
updatedAt: Date;
|
5210
|
-
deletedAt: Date | null;
|
5211
|
-
fileName: string;
|
5212
|
-
fileKey: string;
|
5213
|
-
bucketName: string;
|
5214
|
-
fileSize: number;
|
5215
|
-
fileUrl: string | null;
|
5216
|
-
}[];
|
4974
|
+
systemName: string;
|
4975
|
+
displayName: string;
|
5217
4976
|
}[];
|
5218
|
-
|
4977
|
+
}[];
|
4978
|
+
extension: {
|
4979
|
+
id: string;
|
4980
|
+
createdAt: Date;
|
4981
|
+
updatedAt: Date;
|
4982
|
+
deletedAt: Date | null;
|
4983
|
+
userId: string | null;
|
4984
|
+
sipServerUrl: string;
|
4985
|
+
sipUserName: string;
|
4986
|
+
webphoneLoginUser: string;
|
4987
|
+
extensionId: string | null;
|
4988
|
+
extensionName: string;
|
4989
|
+
telephonySignature: string | null;
|
4990
|
+
};
|
4991
|
+
}>;
|
4992
|
+
assignee: z.ZodObject<{
|
4993
|
+
id: z.ZodString;
|
4994
|
+
createdAt: z.ZodDate;
|
4995
|
+
updatedAt: z.ZodDate;
|
4996
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4997
|
+
name: z.ZodString;
|
4998
|
+
email: z.ZodString;
|
4999
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
5000
|
+
password: z.ZodString;
|
5001
|
+
address: z.ZodNullable<z.ZodString>;
|
5002
|
+
phone: z.ZodNullable<z.ZodString>;
|
5003
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
5004
|
+
roles: z.ZodArray<z.ZodObject<{
|
5005
|
+
id: z.ZodString;
|
5006
|
+
createdAt: z.ZodDate;
|
5007
|
+
updatedAt: z.ZodDate;
|
5008
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5009
|
+
systemName: z.ZodString;
|
5010
|
+
displayName: z.ZodString;
|
5011
|
+
description: z.ZodNullable<z.ZodString>;
|
5012
|
+
permissions: z.ZodArray<z.ZodObject<{
|
5013
|
+
id: z.ZodString;
|
5014
|
+
createdAt: z.ZodDate;
|
5015
|
+
updatedAt: z.ZodDate;
|
5016
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5017
|
+
systemName: z.ZodString;
|
5018
|
+
displayName: z.ZodString;
|
5019
|
+
description: z.ZodNullable<z.ZodString>;
|
5020
|
+
}, "strip", z.ZodTypeAny, {
|
5219
5021
|
id: string;
|
5022
|
+
description: string | null;
|
5220
5023
|
createdAt: Date;
|
5221
5024
|
updatedAt: Date;
|
5222
5025
|
deletedAt: Date | null;
|
5223
|
-
|
5224
|
-
|
5225
|
-
|
5226
|
-
industry?: string | null | undefined;
|
5227
|
-
} | null;
|
5228
|
-
notes: string | null;
|
5229
|
-
contactProfile: string | null;
|
5230
|
-
socialProfileUrl: string | null;
|
5231
|
-
tags: {
|
5026
|
+
systemName: string;
|
5027
|
+
displayName: string;
|
5028
|
+
}, {
|
5232
5029
|
id: string;
|
5233
|
-
|
5030
|
+
description: string | null;
|
5234
5031
|
createdAt: Date;
|
5235
5032
|
updatedAt: Date;
|
5236
5033
|
deletedAt: Date | null;
|
5237
|
-
|
5238
|
-
|
5034
|
+
systemName: string;
|
5035
|
+
displayName: string;
|
5036
|
+
}>, "many">;
|
5037
|
+
}, "strip", z.ZodTypeAny, {
|
5038
|
+
id: string;
|
5039
|
+
description: string | null;
|
5040
|
+
createdAt: Date;
|
5041
|
+
updatedAt: Date;
|
5042
|
+
deletedAt: Date | null;
|
5043
|
+
systemName: string;
|
5044
|
+
displayName: string;
|
5045
|
+
permissions: {
|
5239
5046
|
id: string;
|
5240
|
-
|
5241
|
-
email: string;
|
5047
|
+
description: string | null;
|
5242
5048
|
createdAt: Date;
|
5243
5049
|
updatedAt: Date;
|
5244
5050
|
deletedAt: Date | null;
|
5051
|
+
systemName: string;
|
5052
|
+
displayName: string;
|
5245
5053
|
}[];
|
5246
|
-
|
5054
|
+
}, {
|
5055
|
+
id: string;
|
5056
|
+
description: string | null;
|
5057
|
+
createdAt: Date;
|
5058
|
+
updatedAt: Date;
|
5059
|
+
deletedAt: Date | null;
|
5060
|
+
systemName: string;
|
5061
|
+
displayName: string;
|
5062
|
+
permissions: {
|
5247
5063
|
id: string;
|
5248
|
-
|
5064
|
+
description: string | null;
|
5249
5065
|
createdAt: Date;
|
5250
5066
|
updatedAt: Date;
|
5251
5067
|
deletedAt: Date | null;
|
5252
|
-
|
5068
|
+
systemName: string;
|
5069
|
+
displayName: string;
|
5253
5070
|
}[];
|
5254
|
-
|
5071
|
+
}>, "many">;
|
5072
|
+
extension: z.ZodObject<{
|
5073
|
+
id: z.ZodString;
|
5074
|
+
createdAt: z.ZodDate;
|
5075
|
+
updatedAt: z.ZodDate;
|
5076
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5077
|
+
userId: z.ZodNullable<z.ZodString>;
|
5078
|
+
sipServerUrl: z.ZodString;
|
5079
|
+
sipUserName: z.ZodString;
|
5080
|
+
webphoneLoginUser: z.ZodString;
|
5081
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
5082
|
+
extensionName: z.ZodString;
|
5083
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
5084
|
+
}, "strip", z.ZodTypeAny, {
|
5085
|
+
id: string;
|
5086
|
+
createdAt: Date;
|
5087
|
+
updatedAt: Date;
|
5088
|
+
deletedAt: Date | null;
|
5089
|
+
userId: string | null;
|
5090
|
+
sipServerUrl: string;
|
5091
|
+
sipUserName: string;
|
5092
|
+
webphoneLoginUser: string;
|
5093
|
+
extensionId: string | null;
|
5094
|
+
extensionName: string;
|
5095
|
+
telephonySignature: string | null;
|
5096
|
+
}, {
|
5097
|
+
id: string;
|
5098
|
+
createdAt: Date;
|
5099
|
+
updatedAt: Date;
|
5100
|
+
deletedAt: Date | null;
|
5101
|
+
userId: string | null;
|
5102
|
+
sipServerUrl: string;
|
5103
|
+
sipUserName: string;
|
5104
|
+
webphoneLoginUser: string;
|
5105
|
+
extensionId: string | null;
|
5106
|
+
extensionName: string;
|
5107
|
+
telephonySignature: string | null;
|
5108
|
+
}>;
|
5109
|
+
}, "strip", z.ZodTypeAny, {
|
5110
|
+
id: string;
|
5111
|
+
address: string | null;
|
5112
|
+
name: string;
|
5113
|
+
email: string;
|
5114
|
+
createdAt: Date;
|
5115
|
+
updatedAt: Date;
|
5116
|
+
deletedAt: Date | null;
|
5117
|
+
emailVerifiedAt: Date | null;
|
5118
|
+
password: string;
|
5119
|
+
phone: string | null;
|
5120
|
+
notificationCount: number | null;
|
5121
|
+
roles: {
|
5122
|
+
id: string;
|
5123
|
+
description: string | null;
|
5124
|
+
createdAt: Date;
|
5125
|
+
updatedAt: Date;
|
5126
|
+
deletedAt: Date | null;
|
5127
|
+
systemName: string;
|
5128
|
+
displayName: string;
|
5129
|
+
permissions: {
|
5255
5130
|
id: string;
|
5256
|
-
description: string;
|
5131
|
+
description: string | null;
|
5257
5132
|
createdAt: Date;
|
5258
5133
|
updatedAt: Date;
|
5259
5134
|
deletedAt: Date | null;
|
5260
|
-
|
5261
|
-
|
5262
|
-
|
5263
|
-
|
5264
|
-
|
5265
|
-
|
5266
|
-
|
5267
|
-
|
5268
|
-
|
5269
|
-
|
5135
|
+
systemName: string;
|
5136
|
+
displayName: string;
|
5137
|
+
}[];
|
5138
|
+
}[];
|
5139
|
+
extension: {
|
5140
|
+
id: string;
|
5141
|
+
createdAt: Date;
|
5142
|
+
updatedAt: Date;
|
5143
|
+
deletedAt: Date | null;
|
5144
|
+
userId: string | null;
|
5145
|
+
sipServerUrl: string;
|
5146
|
+
sipUserName: string;
|
5147
|
+
webphoneLoginUser: string;
|
5148
|
+
extensionId: string | null;
|
5149
|
+
extensionName: string;
|
5150
|
+
telephonySignature: string | null;
|
5270
5151
|
};
|
5271
|
-
channelId: string;
|
5272
|
-
socialPlatformId: string;
|
5273
5152
|
}, {
|
5274
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5275
5153
|
id: string;
|
5276
|
-
|
5154
|
+
address: string | null;
|
5155
|
+
name: string;
|
5156
|
+
email: string;
|
5157
|
+
createdAt: Date;
|
5158
|
+
updatedAt: Date;
|
5159
|
+
deletedAt: Date | null;
|
5160
|
+
emailVerifiedAt: Date | null;
|
5161
|
+
password: string;
|
5162
|
+
phone: string | null;
|
5163
|
+
notificationCount: number | null;
|
5164
|
+
roles: {
|
5165
|
+
id: string;
|
5166
|
+
description: string | null;
|
5167
|
+
createdAt: Date;
|
5168
|
+
updatedAt: Date;
|
5169
|
+
deletedAt: Date | null;
|
5170
|
+
systemName: string;
|
5171
|
+
displayName: string;
|
5172
|
+
permissions: {
|
5173
|
+
id: string;
|
5174
|
+
description: string | null;
|
5175
|
+
createdAt: Date;
|
5176
|
+
updatedAt: Date;
|
5177
|
+
deletedAt: Date | null;
|
5178
|
+
systemName: string;
|
5179
|
+
displayName: string;
|
5180
|
+
}[];
|
5181
|
+
}[];
|
5182
|
+
extension: {
|
5183
|
+
id: string;
|
5184
|
+
createdAt: Date;
|
5185
|
+
updatedAt: Date;
|
5186
|
+
deletedAt: Date | null;
|
5187
|
+
userId: string | null;
|
5188
|
+
sipServerUrl: string;
|
5189
|
+
sipUserName: string;
|
5190
|
+
webphoneLoginUser: string;
|
5191
|
+
extensionId: string | null;
|
5192
|
+
extensionName: string;
|
5193
|
+
telephonySignature: string | null;
|
5194
|
+
};
|
5195
|
+
}>;
|
5196
|
+
channel: z.ZodObject<{
|
5197
|
+
id: z.ZodString;
|
5198
|
+
createdAt: z.ZodDate;
|
5199
|
+
updatedAt: z.ZodDate;
|
5200
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5201
|
+
name: z.ZodString;
|
5202
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
5203
|
+
metadata: z.ZodObject<{
|
5204
|
+
id: z.ZodString;
|
5205
|
+
name: z.ZodString;
|
5206
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
5207
|
+
channelSecret: z.ZodOptional<z.ZodString>;
|
5208
|
+
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
5209
|
+
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
5210
|
+
mobileNumber: z.ZodString;
|
5211
|
+
apiKey: z.ZodString;
|
5212
|
+
apiSecret: z.ZodString;
|
5213
|
+
}, "strip", z.ZodTypeAny, {
|
5214
|
+
mobileNumber: string;
|
5215
|
+
apiKey: string;
|
5216
|
+
apiSecret: string;
|
5217
|
+
}, {
|
5218
|
+
mobileNumber: string;
|
5219
|
+
apiKey: string;
|
5220
|
+
apiSecret: string;
|
5221
|
+
}>>;
|
5222
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
5223
|
+
}, "strip", z.ZodTypeAny, {
|
5224
|
+
id: string;
|
5225
|
+
name: string;
|
5226
|
+
accessToken?: string | undefined;
|
5227
|
+
additionalCredentials?: any;
|
5228
|
+
channelSecret?: string | undefined;
|
5229
|
+
vonageCredentials?: {
|
5230
|
+
mobileNumber: string;
|
5231
|
+
apiKey: string;
|
5232
|
+
apiSecret: string;
|
5233
|
+
} | undefined;
|
5234
|
+
lineRichMenuId?: string | null | undefined;
|
5235
|
+
}, {
|
5236
|
+
id: string;
|
5237
|
+
name: string;
|
5238
|
+
accessToken?: string | undefined;
|
5239
|
+
additionalCredentials?: any;
|
5240
|
+
channelSecret?: string | undefined;
|
5241
|
+
vonageCredentials?: {
|
5242
|
+
mobileNumber: string;
|
5243
|
+
apiKey: string;
|
5244
|
+
apiSecret: string;
|
5245
|
+
} | undefined;
|
5246
|
+
lineRichMenuId?: string | null | undefined;
|
5247
|
+
}>;
|
5248
|
+
brandName: z.ZodString;
|
5249
|
+
platformId: z.ZodString;
|
5250
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
5251
|
+
isReloginRequired: z.ZodBoolean;
|
5252
|
+
connectedUserName: z.ZodString;
|
5253
|
+
connectedUserId: z.ZodString;
|
5254
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
5255
|
+
id: z.ZodString;
|
5256
|
+
name: z.ZodString;
|
5257
|
+
botId: z.ZodString;
|
5258
|
+
integrationId: z.ZodString;
|
5259
|
+
accessToken: z.ZodString;
|
5260
|
+
}, "strip", z.ZodTypeAny, {
|
5277
5261
|
id: string;
|
5278
5262
|
name: string;
|
5279
|
-
|
5280
|
-
|
5281
|
-
|
5282
|
-
|
5283
|
-
updatedAt: Date;
|
5284
|
-
deletedAt: Date | null;
|
5285
|
-
contact: {
|
5263
|
+
accessToken: string;
|
5264
|
+
botId: string;
|
5265
|
+
integrationId: string;
|
5266
|
+
}, {
|
5286
5267
|
id: string;
|
5287
|
-
channel: string | null;
|
5288
|
-
address: string | null;
|
5289
5268
|
name: string;
|
5290
|
-
|
5291
|
-
|
5292
|
-
|
5293
|
-
|
5294
|
-
|
5295
|
-
|
5296
|
-
|
5297
|
-
|
5298
|
-
|
5299
|
-
|
5269
|
+
accessToken: string;
|
5270
|
+
botId: string;
|
5271
|
+
integrationId: string;
|
5272
|
+
}>>;
|
5273
|
+
actor: z.ZodObject<{
|
5274
|
+
id: z.ZodString;
|
5275
|
+
createdAt: z.ZodDate;
|
5276
|
+
updatedAt: z.ZodDate;
|
5277
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5278
|
+
name: z.ZodString;
|
5279
|
+
email: z.ZodString;
|
5280
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
5281
|
+
password: z.ZodString;
|
5282
|
+
address: z.ZodNullable<z.ZodString>;
|
5283
|
+
phone: z.ZodNullable<z.ZodString>;
|
5284
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
5285
|
+
roles: z.ZodArray<z.ZodObject<{
|
5286
|
+
id: z.ZodString;
|
5287
|
+
createdAt: z.ZodDate;
|
5288
|
+
updatedAt: z.ZodDate;
|
5289
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5290
|
+
systemName: z.ZodString;
|
5291
|
+
displayName: z.ZodString;
|
5292
|
+
description: z.ZodNullable<z.ZodString>;
|
5293
|
+
permissions: z.ZodArray<z.ZodObject<{
|
5294
|
+
id: z.ZodString;
|
5295
|
+
createdAt: z.ZodDate;
|
5296
|
+
updatedAt: z.ZodDate;
|
5297
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5298
|
+
systemName: z.ZodString;
|
5299
|
+
displayName: z.ZodString;
|
5300
|
+
description: z.ZodNullable<z.ZodString>;
|
5301
|
+
}, "strip", z.ZodTypeAny, {
|
5300
5302
|
id: string;
|
5301
|
-
|
5303
|
+
description: string | null;
|
5302
5304
|
createdAt: Date;
|
5303
5305
|
updatedAt: Date;
|
5304
5306
|
deletedAt: Date | null;
|
5305
5307
|
systemName: string;
|
5306
5308
|
displayName: string;
|
5307
|
-
|
5308
|
-
isArchived: boolean;
|
5309
|
-
isRequired: boolean;
|
5310
|
-
isUnique: boolean;
|
5311
|
-
};
|
5312
|
-
textValue: string | null;
|
5313
|
-
booleanValue: boolean | null;
|
5314
|
-
numberValue: number | null;
|
5315
|
-
dateValue: Date | null;
|
5316
|
-
uploads: {
|
5309
|
+
}, {
|
5317
5310
|
id: string;
|
5318
|
-
|
5311
|
+
description: string | null;
|
5319
5312
|
createdAt: Date;
|
5320
5313
|
updatedAt: Date;
|
5321
5314
|
deletedAt: Date | null;
|
5322
|
-
|
5323
|
-
|
5324
|
-
|
5325
|
-
|
5326
|
-
fileUrl: string | null;
|
5327
|
-
}[];
|
5328
|
-
}[];
|
5329
|
-
company: {
|
5330
|
-
id: string;
|
5331
|
-
createdAt: Date;
|
5332
|
-
updatedAt: Date;
|
5333
|
-
deletedAt: Date | null;
|
5334
|
-
address?: string | null | undefined;
|
5335
|
-
name?: string | undefined;
|
5336
|
-
phone?: string | null | undefined;
|
5337
|
-
industry?: string | null | undefined;
|
5338
|
-
} | null;
|
5339
|
-
notes: string | null;
|
5340
|
-
contactProfile: string | null;
|
5341
|
-
socialProfileUrl: string | null;
|
5342
|
-
tags: {
|
5343
|
-
id: string;
|
5344
|
-
name: string;
|
5345
|
-
createdAt: Date;
|
5346
|
-
updatedAt: Date;
|
5347
|
-
deletedAt: Date | null;
|
5348
|
-
}[];
|
5349
|
-
contactEmails: {
|
5350
|
-
id: string;
|
5351
|
-
isPrimary: boolean;
|
5352
|
-
email: string;
|
5353
|
-
createdAt: Date;
|
5354
|
-
updatedAt: Date;
|
5355
|
-
deletedAt: Date | null;
|
5356
|
-
}[];
|
5357
|
-
contactPhones: {
|
5315
|
+
systemName: string;
|
5316
|
+
displayName: string;
|
5317
|
+
}>, "many">;
|
5318
|
+
}, "strip", z.ZodTypeAny, {
|
5358
5319
|
id: string;
|
5359
|
-
|
5320
|
+
description: string | null;
|
5360
5321
|
createdAt: Date;
|
5361
5322
|
updatedAt: Date;
|
5362
5323
|
deletedAt: Date | null;
|
5363
|
-
|
5364
|
-
|
5365
|
-
|
5324
|
+
systemName: string;
|
5325
|
+
displayName: string;
|
5326
|
+
permissions: {
|
5327
|
+
id: string;
|
5328
|
+
description: string | null;
|
5329
|
+
createdAt: Date;
|
5330
|
+
updatedAt: Date;
|
5331
|
+
deletedAt: Date | null;
|
5332
|
+
systemName: string;
|
5333
|
+
displayName: string;
|
5334
|
+
}[];
|
5335
|
+
}, {
|
5366
5336
|
id: string;
|
5367
|
-
description: string;
|
5337
|
+
description: string | null;
|
5368
5338
|
createdAt: Date;
|
5369
5339
|
updatedAt: Date;
|
5370
5340
|
deletedAt: Date | null;
|
5371
|
-
|
5372
|
-
|
5341
|
+
systemName: string;
|
5342
|
+
displayName: string;
|
5343
|
+
permissions: {
|
5373
5344
|
id: string;
|
5374
5345
|
description: string | null;
|
5375
5346
|
createdAt: Date;
|
5376
5347
|
updatedAt: Date;
|
5377
5348
|
deletedAt: Date | null;
|
5378
|
-
|
5379
|
-
|
5380
|
-
|
5381
|
-
|
5382
|
-
|
5383
|
-
socialPlatformId: string;
|
5384
|
-
}>;
|
5385
|
-
assignee: z.ZodObject<{
|
5386
|
-
id: z.ZodString;
|
5387
|
-
createdAt: z.ZodDate;
|
5388
|
-
updatedAt: z.ZodDate;
|
5389
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
5390
|
-
name: z.ZodString;
|
5391
|
-
email: z.ZodString;
|
5392
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
5393
|
-
password: z.ZodString;
|
5394
|
-
address: z.ZodNullable<z.ZodString>;
|
5395
|
-
phone: z.ZodNullable<z.ZodString>;
|
5396
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
5397
|
-
roles: z.ZodArray<z.ZodObject<{
|
5398
|
-
id: z.ZodString;
|
5399
|
-
createdAt: z.ZodDate;
|
5400
|
-
updatedAt: z.ZodDate;
|
5401
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
5402
|
-
systemName: z.ZodString;
|
5403
|
-
displayName: z.ZodString;
|
5404
|
-
description: z.ZodNullable<z.ZodString>;
|
5405
|
-
permissions: z.ZodArray<z.ZodObject<{
|
5349
|
+
systemName: string;
|
5350
|
+
displayName: string;
|
5351
|
+
}[];
|
5352
|
+
}>, "many">;
|
5353
|
+
extension: z.ZodObject<{
|
5406
5354
|
id: z.ZodString;
|
5407
5355
|
createdAt: z.ZodDate;
|
5408
5356
|
updatedAt: z.ZodDate;
|
5409
5357
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5410
|
-
|
5411
|
-
|
5412
|
-
|
5358
|
+
userId: z.ZodNullable<z.ZodString>;
|
5359
|
+
sipServerUrl: z.ZodString;
|
5360
|
+
sipUserName: z.ZodString;
|
5361
|
+
webphoneLoginUser: z.ZodString;
|
5362
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
5363
|
+
extensionName: z.ZodString;
|
5364
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
5413
5365
|
}, "strip", z.ZodTypeAny, {
|
5414
5366
|
id: string;
|
5415
|
-
description: string | null;
|
5416
5367
|
createdAt: Date;
|
5417
5368
|
updatedAt: Date;
|
5418
5369
|
deletedAt: Date | null;
|
5419
|
-
|
5420
|
-
|
5370
|
+
userId: string | null;
|
5371
|
+
sipServerUrl: string;
|
5372
|
+
sipUserName: string;
|
5373
|
+
webphoneLoginUser: string;
|
5374
|
+
extensionId: string | null;
|
5375
|
+
extensionName: string;
|
5376
|
+
telephonySignature: string | null;
|
5421
5377
|
}, {
|
5422
5378
|
id: string;
|
5423
|
-
description: string | null;
|
5424
5379
|
createdAt: Date;
|
5425
5380
|
updatedAt: Date;
|
5426
5381
|
deletedAt: Date | null;
|
5427
|
-
|
5428
|
-
|
5429
|
-
|
5382
|
+
userId: string | null;
|
5383
|
+
sipServerUrl: string;
|
5384
|
+
sipUserName: string;
|
5385
|
+
webphoneLoginUser: string;
|
5386
|
+
extensionId: string | null;
|
5387
|
+
extensionName: string;
|
5388
|
+
telephonySignature: string | null;
|
5389
|
+
}>;
|
5430
5390
|
}, "strip", z.ZodTypeAny, {
|
5431
5391
|
id: string;
|
5432
|
-
|
5392
|
+
address: string | null;
|
5393
|
+
name: string;
|
5394
|
+
email: string;
|
5433
5395
|
createdAt: Date;
|
5434
5396
|
updatedAt: Date;
|
5435
5397
|
deletedAt: Date | null;
|
5436
|
-
|
5437
|
-
|
5438
|
-
|
5398
|
+
emailVerifiedAt: Date | null;
|
5399
|
+
password: string;
|
5400
|
+
phone: string | null;
|
5401
|
+
notificationCount: number | null;
|
5402
|
+
roles: {
|
5439
5403
|
id: string;
|
5440
5404
|
description: string | null;
|
5441
5405
|
createdAt: Date;
|
@@ -5443,16 +5407,42 @@ export declare const chatContract: {
|
|
5443
5407
|
deletedAt: Date | null;
|
5444
5408
|
systemName: string;
|
5445
5409
|
displayName: string;
|
5410
|
+
permissions: {
|
5411
|
+
id: string;
|
5412
|
+
description: string | null;
|
5413
|
+
createdAt: Date;
|
5414
|
+
updatedAt: Date;
|
5415
|
+
deletedAt: Date | null;
|
5416
|
+
systemName: string;
|
5417
|
+
displayName: string;
|
5418
|
+
}[];
|
5446
5419
|
}[];
|
5420
|
+
extension: {
|
5421
|
+
id: string;
|
5422
|
+
createdAt: Date;
|
5423
|
+
updatedAt: Date;
|
5424
|
+
deletedAt: Date | null;
|
5425
|
+
userId: string | null;
|
5426
|
+
sipServerUrl: string;
|
5427
|
+
sipUserName: string;
|
5428
|
+
webphoneLoginUser: string;
|
5429
|
+
extensionId: string | null;
|
5430
|
+
extensionName: string;
|
5431
|
+
telephonySignature: string | null;
|
5432
|
+
};
|
5447
5433
|
}, {
|
5448
5434
|
id: string;
|
5449
|
-
|
5435
|
+
address: string | null;
|
5436
|
+
name: string;
|
5437
|
+
email: string;
|
5450
5438
|
createdAt: Date;
|
5451
5439
|
updatedAt: Date;
|
5452
5440
|
deletedAt: Date | null;
|
5453
|
-
|
5454
|
-
|
5455
|
-
|
5441
|
+
emailVerifiedAt: Date | null;
|
5442
|
+
password: string;
|
5443
|
+
phone: string | null;
|
5444
|
+
notificationCount: number | null;
|
5445
|
+
roles: {
|
5456
5446
|
id: string;
|
5457
5447
|
description: string | null;
|
5458
5448
|
createdAt: Date;
|
@@ -5460,66 +5450,64 @@ export declare const chatContract: {
|
|
5460
5450
|
deletedAt: Date | null;
|
5461
5451
|
systemName: string;
|
5462
5452
|
displayName: string;
|
5453
|
+
permissions: {
|
5454
|
+
id: string;
|
5455
|
+
description: string | null;
|
5456
|
+
createdAt: Date;
|
5457
|
+
updatedAt: Date;
|
5458
|
+
deletedAt: Date | null;
|
5459
|
+
systemName: string;
|
5460
|
+
displayName: string;
|
5461
|
+
}[];
|
5463
5462
|
}[];
|
5464
|
-
|
5465
|
-
|
5466
|
-
|
5467
|
-
|
5468
|
-
|
5469
|
-
|
5470
|
-
|
5471
|
-
|
5472
|
-
|
5473
|
-
|
5474
|
-
|
5475
|
-
|
5476
|
-
|
5477
|
-
}, "strip", z.ZodTypeAny, {
|
5478
|
-
id: string;
|
5479
|
-
createdAt: Date;
|
5480
|
-
updatedAt: Date;
|
5481
|
-
deletedAt: Date | null;
|
5482
|
-
userId: string | null;
|
5483
|
-
sipServerUrl: string;
|
5484
|
-
sipUserName: string;
|
5485
|
-
webphoneLoginUser: string;
|
5486
|
-
extensionId: string | null;
|
5487
|
-
extensionName: string;
|
5488
|
-
telephonySignature: string | null;
|
5489
|
-
}, {
|
5490
|
-
id: string;
|
5491
|
-
createdAt: Date;
|
5492
|
-
updatedAt: Date;
|
5493
|
-
deletedAt: Date | null;
|
5494
|
-
userId: string | null;
|
5495
|
-
sipServerUrl: string;
|
5496
|
-
sipUserName: string;
|
5497
|
-
webphoneLoginUser: string;
|
5498
|
-
extensionId: string | null;
|
5499
|
-
extensionName: string;
|
5500
|
-
telephonySignature: string | null;
|
5463
|
+
extension: {
|
5464
|
+
id: string;
|
5465
|
+
createdAt: Date;
|
5466
|
+
updatedAt: Date;
|
5467
|
+
deletedAt: Date | null;
|
5468
|
+
userId: string | null;
|
5469
|
+
sipServerUrl: string;
|
5470
|
+
sipUserName: string;
|
5471
|
+
webphoneLoginUser: string;
|
5472
|
+
extensionId: string | null;
|
5473
|
+
extensionName: string;
|
5474
|
+
telephonySignature: string | null;
|
5475
|
+
};
|
5501
5476
|
}>;
|
5502
5477
|
}, "strip", z.ZodTypeAny, {
|
5478
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5503
5479
|
id: string;
|
5504
|
-
address: string | null;
|
5505
5480
|
name: string;
|
5506
|
-
|
5481
|
+
metadata: {
|
5482
|
+
id: string;
|
5483
|
+
name: string;
|
5484
|
+
accessToken?: string | undefined;
|
5485
|
+
additionalCredentials?: any;
|
5486
|
+
channelSecret?: string | undefined;
|
5487
|
+
vonageCredentials?: {
|
5488
|
+
mobileNumber: string;
|
5489
|
+
apiKey: string;
|
5490
|
+
apiSecret: string;
|
5491
|
+
} | undefined;
|
5492
|
+
lineRichMenuId?: string | null | undefined;
|
5493
|
+
};
|
5494
|
+
status: boolean;
|
5507
5495
|
createdAt: Date;
|
5508
5496
|
updatedAt: Date;
|
5509
5497
|
deletedAt: Date | null;
|
5510
|
-
|
5511
|
-
password: string;
|
5512
|
-
phone: string | null;
|
5513
|
-
notificationCount: number | null;
|
5514
|
-
roles: {
|
5498
|
+
actor: {
|
5515
5499
|
id: string;
|
5516
|
-
|
5500
|
+
address: string | null;
|
5501
|
+
name: string;
|
5502
|
+
email: string;
|
5517
5503
|
createdAt: Date;
|
5518
5504
|
updatedAt: Date;
|
5519
5505
|
deletedAt: Date | null;
|
5520
|
-
|
5521
|
-
|
5522
|
-
|
5506
|
+
emailVerifiedAt: Date | null;
|
5507
|
+
password: string;
|
5508
|
+
phone: string | null;
|
5509
|
+
notificationCount: number | null;
|
5510
|
+
roles: {
|
5523
5511
|
id: string;
|
5524
5512
|
description: string | null;
|
5525
5513
|
createdAt: Date;
|
@@ -5527,42 +5515,76 @@ export declare const chatContract: {
|
|
5527
5515
|
deletedAt: Date | null;
|
5528
5516
|
systemName: string;
|
5529
5517
|
displayName: string;
|
5518
|
+
permissions: {
|
5519
|
+
id: string;
|
5520
|
+
description: string | null;
|
5521
|
+
createdAt: Date;
|
5522
|
+
updatedAt: Date;
|
5523
|
+
deletedAt: Date | null;
|
5524
|
+
systemName: string;
|
5525
|
+
displayName: string;
|
5526
|
+
}[];
|
5530
5527
|
}[];
|
5531
|
-
|
5532
|
-
|
5533
|
-
|
5534
|
-
|
5535
|
-
|
5536
|
-
|
5537
|
-
|
5538
|
-
|
5539
|
-
|
5540
|
-
|
5541
|
-
|
5542
|
-
|
5543
|
-
|
5528
|
+
extension: {
|
5529
|
+
id: string;
|
5530
|
+
createdAt: Date;
|
5531
|
+
updatedAt: Date;
|
5532
|
+
deletedAt: Date | null;
|
5533
|
+
userId: string | null;
|
5534
|
+
sipServerUrl: string;
|
5535
|
+
sipUserName: string;
|
5536
|
+
webphoneLoginUser: string;
|
5537
|
+
extensionId: string | null;
|
5538
|
+
extensionName: string;
|
5539
|
+
telephonySignature: string | null;
|
5540
|
+
};
|
5544
5541
|
};
|
5542
|
+
brandName: string;
|
5543
|
+
platformId: string;
|
5544
|
+
isReloginRequired: boolean;
|
5545
|
+
connectedUserName: string;
|
5546
|
+
connectedUserId: string;
|
5547
|
+
botpressBot: {
|
5548
|
+
id: string;
|
5549
|
+
name: string;
|
5550
|
+
accessToken: string;
|
5551
|
+
botId: string;
|
5552
|
+
integrationId: string;
|
5553
|
+
} | null;
|
5545
5554
|
}, {
|
5555
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5546
5556
|
id: string;
|
5547
|
-
address: string | null;
|
5548
5557
|
name: string;
|
5549
|
-
|
5558
|
+
metadata: {
|
5559
|
+
id: string;
|
5560
|
+
name: string;
|
5561
|
+
accessToken?: string | undefined;
|
5562
|
+
additionalCredentials?: any;
|
5563
|
+
channelSecret?: string | undefined;
|
5564
|
+
vonageCredentials?: {
|
5565
|
+
mobileNumber: string;
|
5566
|
+
apiKey: string;
|
5567
|
+
apiSecret: string;
|
5568
|
+
} | undefined;
|
5569
|
+
lineRichMenuId?: string | null | undefined;
|
5570
|
+
};
|
5571
|
+
status: boolean;
|
5550
5572
|
createdAt: Date;
|
5551
5573
|
updatedAt: Date;
|
5552
5574
|
deletedAt: Date | null;
|
5553
|
-
|
5554
|
-
password: string;
|
5555
|
-
phone: string | null;
|
5556
|
-
notificationCount: number | null;
|
5557
|
-
roles: {
|
5575
|
+
actor: {
|
5558
5576
|
id: string;
|
5559
|
-
|
5577
|
+
address: string | null;
|
5578
|
+
name: string;
|
5579
|
+
email: string;
|
5560
5580
|
createdAt: Date;
|
5561
5581
|
updatedAt: Date;
|
5562
5582
|
deletedAt: Date | null;
|
5563
|
-
|
5564
|
-
|
5565
|
-
|
5583
|
+
emailVerifiedAt: Date | null;
|
5584
|
+
password: string;
|
5585
|
+
phone: string | null;
|
5586
|
+
notificationCount: number | null;
|
5587
|
+
roles: {
|
5566
5588
|
id: string;
|
5567
5589
|
description: string | null;
|
5568
5590
|
createdAt: Date;
|
@@ -5570,30 +5592,49 @@ export declare const chatContract: {
|
|
5570
5592
|
deletedAt: Date | null;
|
5571
5593
|
systemName: string;
|
5572
5594
|
displayName: string;
|
5595
|
+
permissions: {
|
5596
|
+
id: string;
|
5597
|
+
description: string | null;
|
5598
|
+
createdAt: Date;
|
5599
|
+
updatedAt: Date;
|
5600
|
+
deletedAt: Date | null;
|
5601
|
+
systemName: string;
|
5602
|
+
displayName: string;
|
5603
|
+
}[];
|
5573
5604
|
}[];
|
5574
|
-
|
5575
|
-
|
5576
|
-
|
5577
|
-
|
5578
|
-
|
5579
|
-
|
5580
|
-
|
5581
|
-
|
5582
|
-
|
5583
|
-
|
5584
|
-
|
5585
|
-
|
5586
|
-
|
5605
|
+
extension: {
|
5606
|
+
id: string;
|
5607
|
+
createdAt: Date;
|
5608
|
+
updatedAt: Date;
|
5609
|
+
deletedAt: Date | null;
|
5610
|
+
userId: string | null;
|
5611
|
+
sipServerUrl: string;
|
5612
|
+
sipUserName: string;
|
5613
|
+
webphoneLoginUser: string;
|
5614
|
+
extensionId: string | null;
|
5615
|
+
extensionName: string;
|
5616
|
+
telephonySignature: string | null;
|
5617
|
+
};
|
5587
5618
|
};
|
5619
|
+
brandName: string;
|
5620
|
+
platformId: string;
|
5621
|
+
isReloginRequired: boolean;
|
5622
|
+
connectedUserName: string;
|
5623
|
+
connectedUserId: string;
|
5624
|
+
botpressBot: {
|
5625
|
+
id: string;
|
5626
|
+
name: string;
|
5627
|
+
accessToken: string;
|
5628
|
+
botId: string;
|
5629
|
+
integrationId: string;
|
5630
|
+
} | null;
|
5588
5631
|
}>;
|
5589
|
-
|
5590
|
-
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
5591
|
-
isBotRoom: z.ZodBoolean;
|
5592
|
-
cxlog: z.ZodObject<{
|
5632
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
5593
5633
|
id: z.ZodString;
|
5594
5634
|
createdAt: z.ZodDate;
|
5595
5635
|
updatedAt: z.ZodDate;
|
5596
5636
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5637
|
+
}, {
|
5597
5638
|
caseId: z.ZodNumber;
|
5598
5639
|
entityId: z.ZodString;
|
5599
5640
|
entityName: z.ZodString;
|
@@ -5605,21 +5646,23 @@ export declare const chatContract: {
|
|
5605
5646
|
startedDate: z.ZodNullable<z.ZodDate>;
|
5606
5647
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
5607
5648
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
5608
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
5649
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
5609
5650
|
id: z.ZodString;
|
5610
5651
|
createdAt: z.ZodDate;
|
5611
5652
|
updatedAt: z.ZodDate;
|
5612
5653
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5654
|
+
}, {
|
5613
5655
|
note: z.ZodNullable<z.ZodString>;
|
5614
5656
|
disposition: z.ZodNullable<z.ZodString>;
|
5615
5657
|
type: z.ZodString;
|
5616
|
-
tags: z.ZodArray<z.ZodObject<{
|
5658
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5617
5659
|
id: z.ZodString;
|
5618
5660
|
createdAt: z.ZodDate;
|
5619
5661
|
updatedAt: z.ZodDate;
|
5620
5662
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5663
|
+
}, {
|
5621
5664
|
name: z.ZodString;
|
5622
|
-
}
|
5665
|
+
}>, "strip", z.ZodTypeAny, {
|
5623
5666
|
id: string;
|
5624
5667
|
name: string;
|
5625
5668
|
createdAt: Date;
|
@@ -5632,11 +5675,12 @@ export declare const chatContract: {
|
|
5632
5675
|
updatedAt: Date;
|
5633
5676
|
deletedAt: Date | null;
|
5634
5677
|
}>, "many">;
|
5635
|
-
categories: z.ZodArray<z.ZodObject<{
|
5678
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5636
5679
|
id: z.ZodString;
|
5637
5680
|
createdAt: z.ZodDate;
|
5638
5681
|
updatedAt: z.ZodDate;
|
5639
5682
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5683
|
+
}, {
|
5640
5684
|
value: z.ZodString;
|
5641
5685
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
5642
5686
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -5689,7 +5733,7 @@ export declare const chatContract: {
|
|
5689
5733
|
childCategoryList: any[];
|
5690
5734
|
}[];
|
5691
5735
|
}>, "many">;
|
5692
|
-
}
|
5736
|
+
}>, "strip", z.ZodTypeAny, {
|
5693
5737
|
id: string;
|
5694
5738
|
value: string;
|
5695
5739
|
createdAt: Date;
|
@@ -5768,7 +5812,7 @@ export declare const chatContract: {
|
|
5768
5812
|
numberValue: number | null;
|
5769
5813
|
dateValue: Date | null;
|
5770
5814
|
}>, "many">>>;
|
5771
|
-
}
|
5815
|
+
}>, "strip", z.ZodTypeAny, {
|
5772
5816
|
type: string;
|
5773
5817
|
id: string;
|
5774
5818
|
disposition: string | null;
|
@@ -5871,7 +5915,7 @@ export declare const chatContract: {
|
|
5871
5915
|
dateValue: Date | null;
|
5872
5916
|
}[] | null | undefined;
|
5873
5917
|
}>>;
|
5874
|
-
}
|
5918
|
+
}>, "strip", z.ZodTypeAny, {
|
5875
5919
|
id: string;
|
5876
5920
|
channel: string | null;
|
5877
5921
|
direction: string | null;
|
@@ -6008,15 +6052,16 @@ export declare const chatContract: {
|
|
6008
6052
|
}[] | null | undefined;
|
6009
6053
|
} | null;
|
6010
6054
|
}>;
|
6011
|
-
workflowRule: z.ZodObject<{
|
6055
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
6012
6056
|
id: z.ZodString;
|
6013
6057
|
createdAt: z.ZodDate;
|
6014
6058
|
updatedAt: z.ZodDate;
|
6015
6059
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6060
|
+
}, {
|
6016
6061
|
name: z.ZodString;
|
6017
6062
|
isActive: z.ZodBoolean;
|
6018
6063
|
type: z.ZodString;
|
6019
|
-
}
|
6064
|
+
}>, "strip", z.ZodTypeAny, {
|
6020
6065
|
type: string;
|
6021
6066
|
id: string;
|
6022
6067
|
name: string;
|
@@ -6033,8 +6078,9 @@ export declare const chatContract: {
|
|
6033
6078
|
deletedAt: Date | null;
|
6034
6079
|
isActive: boolean;
|
6035
6080
|
}>;
|
6081
|
+
}>, {
|
6036
6082
|
solveMessage: z.ZodString;
|
6037
|
-
}
|
6083
|
+
}>, "strip", z.ZodTypeAny, {
|
6038
6084
|
id: string;
|
6039
6085
|
channel: {
|
6040
6086
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -6044,8 +6090,8 @@ export declare const chatContract: {
|
|
6044
6090
|
id: string;
|
6045
6091
|
name: string;
|
6046
6092
|
accessToken?: string | undefined;
|
6047
|
-
channelSecret?: string | undefined;
|
6048
6093
|
additionalCredentials?: any;
|
6094
|
+
channelSecret?: string | undefined;
|
6049
6095
|
vonageCredentials?: {
|
6050
6096
|
mobileNumber: string;
|
6051
6097
|
apiKey: string;
|
@@ -6417,8 +6463,8 @@ export declare const chatContract: {
|
|
6417
6463
|
id: string;
|
6418
6464
|
name: string;
|
6419
6465
|
accessToken?: string | undefined;
|
6420
|
-
channelSecret?: string | undefined;
|
6421
6466
|
additionalCredentials?: any;
|
6467
|
+
channelSecret?: string | undefined;
|
6422
6468
|
vonageCredentials?: {
|
6423
6469
|
mobileNumber: string;
|
6424
6470
|
apiKey: string;
|
@@ -6781,7 +6827,7 @@ export declare const chatContract: {
|
|
6781
6827
|
};
|
6782
6828
|
solveMessage: string;
|
6783
6829
|
}>;
|
6784
|
-
}
|
6830
|
+
}>, "strip", z.ZodTypeAny, {
|
6785
6831
|
data: {
|
6786
6832
|
id: string;
|
6787
6833
|
channel: {
|
@@ -6792,8 +6838,8 @@ export declare const chatContract: {
|
|
6792
6838
|
id: string;
|
6793
6839
|
name: string;
|
6794
6840
|
accessToken?: string | undefined;
|
6795
|
-
channelSecret?: string | undefined;
|
6796
6841
|
additionalCredentials?: any;
|
6842
|
+
channelSecret?: string | undefined;
|
6797
6843
|
vonageCredentials?: {
|
6798
6844
|
mobileNumber: string;
|
6799
6845
|
apiKey: string;
|
@@ -7168,8 +7214,8 @@ export declare const chatContract: {
|
|
7168
7214
|
id: string;
|
7169
7215
|
name: string;
|
7170
7216
|
accessToken?: string | undefined;
|
7171
|
-
channelSecret?: string | undefined;
|
7172
7217
|
additionalCredentials?: any;
|
7218
|
+
channelSecret?: string | undefined;
|
7173
7219
|
vonageCredentials?: {
|
7174
7220
|
mobileNumber: string;
|
7175
7221
|
apiKey: string;
|
@@ -7545,17 +7591,6 @@ export declare const chatContract: {
|
|
7545
7591
|
error?: any;
|
7546
7592
|
}>;
|
7547
7593
|
};
|
7548
|
-
path: "chat/room/solve";
|
7549
|
-
headers: z.ZodObject<{
|
7550
|
-
'x-tenant': z.ZodString;
|
7551
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
7552
|
-
}, "strip", z.ZodTypeAny, {
|
7553
|
-
'x-tenant': string;
|
7554
|
-
'x-code'?: string | undefined;
|
7555
|
-
}, {
|
7556
|
-
'x-tenant': string;
|
7557
|
-
'x-code'?: string | undefined;
|
7558
|
-
}>;
|
7559
7594
|
};
|
7560
7595
|
};
|
7561
7596
|
//# sourceMappingURL=index.d.ts.map
|