@kl1/contracts 1.2.41-uat → 1.2.43-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/attribute/index.d.ts +4 -4
- package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
- package/dist/api-contracts/src/auth/index.d.ts +4 -4
- package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
- package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
- package/dist/api-contracts/src/botpress/index.d.ts +28 -28
- package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
- package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
- package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
- package/dist/api-contracts/src/category/index.d.ts +12 -12
- package/dist/api-contracts/src/category/schema.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +1482 -850
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +72 -40
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +86 -48
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +5325 -4547
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1491 -1329
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +1268 -995
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +244 -244
- package/dist/api-contracts/src/comment/schema.d.ts +68 -68
- package/dist/api-contracts/src/company/index.d.ts +4 -4
- package/dist/api-contracts/src/company/validation.d.ts +4 -4
- package/dist/api-contracts/src/contact/index.d.ts +246 -246
- package/dist/api-contracts/src/contact/schema.d.ts +26 -26
- package/dist/api-contracts/src/contact/validation.d.ts +134 -134
- package/dist/api-contracts/src/contract.d.ts +14104 -10759
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +311 -274
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +257 -226
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
- package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
- package/dist/api-contracts/src/extension/index.d.ts +4 -4
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1393 -1019
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +110 -85
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -80
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
- package/dist/api-contracts/src/instagram/index.d.ts +1132 -839
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
- package/dist/api-contracts/src/line/index.d.ts +1093 -832
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +4 -4
- package/dist/api-contracts/src/line/validation.d.ts +108 -77
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +2598 -2598
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
- package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
- package/dist/api-contracts/src/mail/room-contract.d.ts +1474 -1474
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
- package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +466 -466
- package/dist/api-contracts/src/messenger/index.d.ts +1135 -842
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
- package/dist/api-contracts/src/messenger/validation.d.ts +95 -76
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +26 -26
- package/dist/api-contracts/src/notification/schema.d.ts +18 -18
- package/dist/api-contracts/src/notification/validation.d.ts +10 -10
- package/dist/api-contracts/src/public-api/index.d.ts +84 -84
- package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
- package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
- package/dist/api-contracts/src/sms/index.d.ts +187 -131
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +8 -8
- package/dist/api-contracts/src/sms/validation.d.ts +2 -2
- package/dist/api-contracts/src/snippet/index.d.ts +42 -42
- package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
- package/dist/api-contracts/src/subscription/index.d.ts +184 -184
- package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
- package/dist/api-contracts/src/tag/index.d.ts +12 -12
- package/dist/api-contracts/src/tag/schema.d.ts +2 -2
- package/dist/api-contracts/src/telegram/index.d.ts +950 -739
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
- package/dist/api-contracts/src/ticket/index.d.ts +328 -328
- package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
- package/dist/api-contracts/src/user/index.d.ts +23 -23
- package/dist/api-contracts/src/user/schema.d.ts +2 -2
- package/dist/api-contracts/src/user/validation.d.ts +5 -5
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/viber/index.d.ts +962 -751
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/validation.d.ts +4 -4
- package/dist/api-contracts/src/webchat/index.d.ts +956 -745
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
- package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
- package/dist/api-contracts/src/whatsapp/index.d.ts +1186 -774
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +24 -24
- package/dist/api-contracts/src/widget/schema.d.ts +2 -2
- package/dist/api-contracts/src/widget/validation.d.ts +4 -4
- package/dist/api-contracts/src/workflow-rule/index.d.ts +338 -276
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/api-contracts/utils.d.ts +1 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +1 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +77 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +77 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -18,13 +18,13 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
18
18
|
picture: z.ZodOptional<z.ZodString>;
|
|
19
19
|
additionalCredentials: z.ZodAny;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
id: string;
|
|
22
21
|
name: string;
|
|
22
|
+
id: string;
|
|
23
23
|
picture?: string | undefined;
|
|
24
24
|
additionalCredentials?: any;
|
|
25
25
|
}, {
|
|
26
|
-
id: string;
|
|
27
26
|
name: string;
|
|
27
|
+
id: string;
|
|
28
28
|
picture?: string | undefined;
|
|
29
29
|
additionalCredentials?: any;
|
|
30
30
|
}>;
|
|
@@ -36,16 +36,16 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
36
36
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
37
37
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
name: string;
|
|
39
40
|
channel: string | null;
|
|
40
41
|
address: string | null;
|
|
41
|
-
name: string;
|
|
42
42
|
notes: string | null;
|
|
43
43
|
contactProfile: string | null;
|
|
44
44
|
socialProfileUrl: string | null;
|
|
45
45
|
}, {
|
|
46
|
+
name: string;
|
|
46
47
|
channel: string | null;
|
|
47
48
|
address: string | null;
|
|
48
|
-
name: string;
|
|
49
49
|
notes: string | null;
|
|
50
50
|
contactProfile: string | null;
|
|
51
51
|
socialProfileUrl: string | null;
|
|
@@ -53,15 +53,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
55
55
|
metadata: {
|
|
56
|
-
id: string;
|
|
57
56
|
name: string;
|
|
57
|
+
id: string;
|
|
58
58
|
picture?: string | undefined;
|
|
59
59
|
additionalCredentials?: any;
|
|
60
60
|
};
|
|
61
61
|
contact: {
|
|
62
|
+
name: string;
|
|
62
63
|
channel: string | null;
|
|
63
64
|
address: string | null;
|
|
64
|
-
name: string;
|
|
65
65
|
notes: string | null;
|
|
66
66
|
contactProfile: string | null;
|
|
67
67
|
socialProfileUrl: string | null;
|
|
@@ -71,15 +71,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
71
71
|
}, {
|
|
72
72
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
73
73
|
metadata: {
|
|
74
|
-
id: string;
|
|
75
74
|
name: string;
|
|
75
|
+
id: string;
|
|
76
76
|
picture?: string | undefined;
|
|
77
77
|
additionalCredentials?: any;
|
|
78
78
|
};
|
|
79
79
|
contact: {
|
|
80
|
+
name: string;
|
|
80
81
|
channel: string | null;
|
|
81
82
|
address: string | null;
|
|
82
|
-
name: string;
|
|
83
83
|
notes: string | null;
|
|
84
84
|
contactProfile: string | null;
|
|
85
85
|
socialProfileUrl: string | null;
|
|
@@ -93,13 +93,13 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
93
93
|
address: z.ZodNullable<z.ZodString>;
|
|
94
94
|
phone: z.ZodNullable<z.ZodString>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
address: string | null;
|
|
97
96
|
name: string;
|
|
97
|
+
address: string | null;
|
|
98
98
|
email: string;
|
|
99
99
|
phone: string | null;
|
|
100
100
|
}, {
|
|
101
|
-
address: string | null;
|
|
102
101
|
name: string;
|
|
102
|
+
address: string | null;
|
|
103
103
|
email: string;
|
|
104
104
|
phone: string | null;
|
|
105
105
|
}>>;
|
|
@@ -121,10 +121,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
121
121
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
122
122
|
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
123
123
|
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
124
|
-
|
|
124
|
+
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
125
|
+
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
|
+
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
|
125
127
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
126
128
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
127
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
|
|
129
|
+
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
|
128
130
|
}, "strip", z.ZodTypeAny, {
|
|
129
131
|
wabaBusinessId?: string | null | undefined;
|
|
130
132
|
wabaExternalId?: string | null | undefined;
|
|
@@ -132,10 +134,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
132
134
|
email?: string | null | undefined;
|
|
133
135
|
clientId?: string | null | undefined;
|
|
134
136
|
channelId?: string | null | undefined;
|
|
135
|
-
|
|
137
|
+
waapiInstanceId?: string | null | undefined;
|
|
138
|
+
qr?: string | null | undefined;
|
|
139
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
136
140
|
apiKey?: string | undefined;
|
|
137
141
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
138
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
142
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
139
143
|
}, {
|
|
140
144
|
wabaBusinessId?: string | null | undefined;
|
|
141
145
|
wabaExternalId?: string | null | undefined;
|
|
@@ -143,10 +147,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
143
147
|
email?: string | null | undefined;
|
|
144
148
|
clientId?: string | null | undefined;
|
|
145
149
|
channelId?: string | null | undefined;
|
|
146
|
-
|
|
150
|
+
waapiInstanceId?: string | null | undefined;
|
|
151
|
+
qr?: string | null | undefined;
|
|
152
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
147
153
|
apiKey?: string | undefined;
|
|
148
154
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
149
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
155
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
150
156
|
}>>;
|
|
151
157
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
152
158
|
mobileNumber: z.ZodString;
|
|
@@ -163,9 +169,10 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
163
169
|
}>>;
|
|
164
170
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
165
171
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
172
|
+
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
166
173
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
id: string;
|
|
168
174
|
name: string;
|
|
175
|
+
id: string;
|
|
169
176
|
accessToken?: string | undefined;
|
|
170
177
|
channelSecret?: string | undefined;
|
|
171
178
|
additionalCredentials?: any;
|
|
@@ -177,10 +184,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
177
184
|
email?: string | null | undefined;
|
|
178
185
|
clientId?: string | null | undefined;
|
|
179
186
|
channelId?: string | null | undefined;
|
|
180
|
-
|
|
187
|
+
waapiInstanceId?: string | null | undefined;
|
|
188
|
+
qr?: string | null | undefined;
|
|
189
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
181
190
|
apiKey?: string | undefined;
|
|
182
191
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
183
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
192
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
184
193
|
} | undefined;
|
|
185
194
|
vonageCredentials?: {
|
|
186
195
|
apiKey: string;
|
|
@@ -189,9 +198,10 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
189
198
|
} | undefined;
|
|
190
199
|
lineRichMenuId?: string | null | undefined;
|
|
191
200
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
201
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
192
202
|
}, {
|
|
193
|
-
id: string;
|
|
194
203
|
name: string;
|
|
204
|
+
id: string;
|
|
195
205
|
accessToken?: string | undefined;
|
|
196
206
|
channelSecret?: string | undefined;
|
|
197
207
|
additionalCredentials?: any;
|
|
@@ -203,10 +213,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
203
213
|
email?: string | null | undefined;
|
|
204
214
|
clientId?: string | null | undefined;
|
|
205
215
|
channelId?: string | null | undefined;
|
|
206
|
-
|
|
216
|
+
waapiInstanceId?: string | null | undefined;
|
|
217
|
+
qr?: string | null | undefined;
|
|
218
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
207
219
|
apiKey?: string | undefined;
|
|
208
220
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
209
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
221
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
210
222
|
} | undefined;
|
|
211
223
|
vonageCredentials?: {
|
|
212
224
|
apiKey: string;
|
|
@@ -215,6 +227,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
215
227
|
} | undefined;
|
|
216
228
|
lineRichMenuId?: string | null | undefined;
|
|
217
229
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
230
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
218
231
|
}>;
|
|
219
232
|
platformId: z.ZodString;
|
|
220
233
|
brandName: z.ZodString;
|
|
@@ -229,25 +242,25 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
229
242
|
address: z.ZodNullable<z.ZodString>;
|
|
230
243
|
phone: z.ZodNullable<z.ZodString>;
|
|
231
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
name: string;
|
|
232
246
|
id: string;
|
|
233
247
|
address: string | null;
|
|
234
|
-
name: string;
|
|
235
248
|
email: string;
|
|
236
249
|
phone: string | null;
|
|
237
250
|
}, {
|
|
251
|
+
name: string;
|
|
238
252
|
id: string;
|
|
239
253
|
address: string | null;
|
|
240
|
-
name: string;
|
|
241
254
|
email: string;
|
|
242
255
|
phone: string | null;
|
|
243
256
|
}>>;
|
|
244
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
name: string;
|
|
245
259
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
246
260
|
id: string;
|
|
247
|
-
name: string;
|
|
248
261
|
metadata: {
|
|
249
|
-
id: string;
|
|
250
262
|
name: string;
|
|
263
|
+
id: string;
|
|
251
264
|
accessToken?: string | undefined;
|
|
252
265
|
channelSecret?: string | undefined;
|
|
253
266
|
additionalCredentials?: any;
|
|
@@ -259,10 +272,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
259
272
|
email?: string | null | undefined;
|
|
260
273
|
clientId?: string | null | undefined;
|
|
261
274
|
channelId?: string | null | undefined;
|
|
262
|
-
|
|
275
|
+
waapiInstanceId?: string | null | undefined;
|
|
276
|
+
qr?: string | null | undefined;
|
|
277
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
263
278
|
apiKey?: string | undefined;
|
|
264
279
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
265
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
280
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
266
281
|
} | undefined;
|
|
267
282
|
vonageCredentials?: {
|
|
268
283
|
apiKey: string;
|
|
@@ -271,6 +286,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
271
286
|
} | undefined;
|
|
272
287
|
lineRichMenuId?: string | null | undefined;
|
|
273
288
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
289
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
274
290
|
};
|
|
275
291
|
status: boolean;
|
|
276
292
|
brandName: string;
|
|
@@ -279,19 +295,19 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
279
295
|
connectedUserId?: string | null | undefined;
|
|
280
296
|
lineRichMenuId?: string | null | undefined;
|
|
281
297
|
actor?: {
|
|
298
|
+
name: string;
|
|
282
299
|
id: string;
|
|
283
300
|
address: string | null;
|
|
284
|
-
name: string;
|
|
285
301
|
email: string;
|
|
286
302
|
phone: string | null;
|
|
287
303
|
} | undefined;
|
|
288
304
|
}, {
|
|
305
|
+
name: string;
|
|
289
306
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
290
307
|
id: string;
|
|
291
|
-
name: string;
|
|
292
308
|
metadata: {
|
|
293
|
-
id: string;
|
|
294
309
|
name: string;
|
|
310
|
+
id: string;
|
|
295
311
|
accessToken?: string | undefined;
|
|
296
312
|
channelSecret?: string | undefined;
|
|
297
313
|
additionalCredentials?: any;
|
|
@@ -303,10 +319,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
303
319
|
email?: string | null | undefined;
|
|
304
320
|
clientId?: string | null | undefined;
|
|
305
321
|
channelId?: string | null | undefined;
|
|
306
|
-
|
|
322
|
+
waapiInstanceId?: string | null | undefined;
|
|
323
|
+
qr?: string | null | undefined;
|
|
324
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
307
325
|
apiKey?: string | undefined;
|
|
308
326
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
309
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
327
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
310
328
|
} | undefined;
|
|
311
329
|
vonageCredentials?: {
|
|
312
330
|
apiKey: string;
|
|
@@ -315,6 +333,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
315
333
|
} | undefined;
|
|
316
334
|
lineRichMenuId?: string | null | undefined;
|
|
317
335
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
336
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
318
337
|
};
|
|
319
338
|
status: boolean;
|
|
320
339
|
brandName: string;
|
|
@@ -323,9 +342,9 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
323
342
|
connectedUserId?: string | null | undefined;
|
|
324
343
|
lineRichMenuId?: string | null | undefined;
|
|
325
344
|
actor?: {
|
|
345
|
+
name: string;
|
|
326
346
|
id: string;
|
|
327
347
|
address: string | null;
|
|
328
|
-
name: string;
|
|
329
348
|
email: string;
|
|
330
349
|
phone: string | null;
|
|
331
350
|
} | undefined;
|
|
@@ -333,12 +352,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
333
352
|
}, "strip", z.ZodTypeAny, {
|
|
334
353
|
id: string;
|
|
335
354
|
channel: {
|
|
355
|
+
name: string;
|
|
336
356
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
337
357
|
id: string;
|
|
338
|
-
name: string;
|
|
339
358
|
metadata: {
|
|
340
|
-
id: string;
|
|
341
359
|
name: string;
|
|
360
|
+
id: string;
|
|
342
361
|
accessToken?: string | undefined;
|
|
343
362
|
channelSecret?: string | undefined;
|
|
344
363
|
additionalCredentials?: any;
|
|
@@ -350,10 +369,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
350
369
|
email?: string | null | undefined;
|
|
351
370
|
clientId?: string | null | undefined;
|
|
352
371
|
channelId?: string | null | undefined;
|
|
353
|
-
|
|
372
|
+
waapiInstanceId?: string | null | undefined;
|
|
373
|
+
qr?: string | null | undefined;
|
|
374
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
354
375
|
apiKey?: string | undefined;
|
|
355
376
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
356
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
377
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
357
378
|
} | undefined;
|
|
358
379
|
vonageCredentials?: {
|
|
359
380
|
apiKey: string;
|
|
@@ -362,6 +383,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
362
383
|
} | undefined;
|
|
363
384
|
lineRichMenuId?: string | null | undefined;
|
|
364
385
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
386
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
365
387
|
};
|
|
366
388
|
status: boolean;
|
|
367
389
|
brandName: string;
|
|
@@ -370,17 +392,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
370
392
|
connectedUserId?: string | null | undefined;
|
|
371
393
|
lineRichMenuId?: string | null | undefined;
|
|
372
394
|
actor?: {
|
|
395
|
+
name: string;
|
|
373
396
|
id: string;
|
|
374
397
|
address: string | null;
|
|
375
|
-
name: string;
|
|
376
398
|
email: string;
|
|
377
399
|
phone: string | null;
|
|
378
400
|
} | undefined;
|
|
379
401
|
};
|
|
380
402
|
direction: "incoming" | "outgoing" | "system";
|
|
381
403
|
actor: {
|
|
382
|
-
address: string | null;
|
|
383
404
|
name: string;
|
|
405
|
+
address: string | null;
|
|
384
406
|
email: string;
|
|
385
407
|
phone: string | null;
|
|
386
408
|
} | null;
|
|
@@ -388,15 +410,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
388
410
|
platformContact: {
|
|
389
411
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
390
412
|
metadata: {
|
|
391
|
-
id: string;
|
|
392
413
|
name: string;
|
|
414
|
+
id: string;
|
|
393
415
|
picture?: string | undefined;
|
|
394
416
|
additionalCredentials?: any;
|
|
395
417
|
};
|
|
396
418
|
contact: {
|
|
419
|
+
name: string;
|
|
397
420
|
channel: string | null;
|
|
398
421
|
address: string | null;
|
|
399
|
-
name: string;
|
|
400
422
|
notes: string | null;
|
|
401
423
|
contactProfile: string | null;
|
|
402
424
|
socialProfileUrl: string | null;
|
|
@@ -409,12 +431,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
409
431
|
}, {
|
|
410
432
|
id: string;
|
|
411
433
|
channel: {
|
|
434
|
+
name: string;
|
|
412
435
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
413
436
|
id: string;
|
|
414
|
-
name: string;
|
|
415
437
|
metadata: {
|
|
416
|
-
id: string;
|
|
417
438
|
name: string;
|
|
439
|
+
id: string;
|
|
418
440
|
accessToken?: string | undefined;
|
|
419
441
|
channelSecret?: string | undefined;
|
|
420
442
|
additionalCredentials?: any;
|
|
@@ -426,10 +448,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
426
448
|
email?: string | null | undefined;
|
|
427
449
|
clientId?: string | null | undefined;
|
|
428
450
|
channelId?: string | null | undefined;
|
|
429
|
-
|
|
451
|
+
waapiInstanceId?: string | null | undefined;
|
|
452
|
+
qr?: string | null | undefined;
|
|
453
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
430
454
|
apiKey?: string | undefined;
|
|
431
455
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
432
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
456
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
433
457
|
} | undefined;
|
|
434
458
|
vonageCredentials?: {
|
|
435
459
|
apiKey: string;
|
|
@@ -438,6 +462,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
438
462
|
} | undefined;
|
|
439
463
|
lineRichMenuId?: string | null | undefined;
|
|
440
464
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
465
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
441
466
|
};
|
|
442
467
|
status: boolean;
|
|
443
468
|
brandName: string;
|
|
@@ -446,17 +471,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
446
471
|
connectedUserId?: string | null | undefined;
|
|
447
472
|
lineRichMenuId?: string | null | undefined;
|
|
448
473
|
actor?: {
|
|
474
|
+
name: string;
|
|
449
475
|
id: string;
|
|
450
476
|
address: string | null;
|
|
451
|
-
name: string;
|
|
452
477
|
email: string;
|
|
453
478
|
phone: string | null;
|
|
454
479
|
} | undefined;
|
|
455
480
|
};
|
|
456
481
|
direction: "incoming" | "outgoing" | "system";
|
|
457
482
|
actor: {
|
|
458
|
-
address: string | null;
|
|
459
483
|
name: string;
|
|
484
|
+
address: string | null;
|
|
460
485
|
email: string;
|
|
461
486
|
phone: string | null;
|
|
462
487
|
} | null;
|
|
@@ -464,15 +489,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
464
489
|
platformContact: {
|
|
465
490
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
466
491
|
metadata: {
|
|
467
|
-
id: string;
|
|
468
492
|
name: string;
|
|
493
|
+
id: string;
|
|
469
494
|
picture?: string | undefined;
|
|
470
495
|
additionalCredentials?: any;
|
|
471
496
|
};
|
|
472
497
|
contact: {
|
|
498
|
+
name: string;
|
|
473
499
|
channel: string | null;
|
|
474
500
|
address: string | null;
|
|
475
|
-
name: string;
|
|
476
501
|
notes: string | null;
|
|
477
502
|
contactProfile: string | null;
|
|
478
503
|
socialProfileUrl: string | null;
|
|
@@ -486,7 +511,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
486
511
|
message: z.ZodObject<{
|
|
487
512
|
message: z.ZodOptional<z.ZodString>;
|
|
488
513
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
489
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
514
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
490
515
|
readAt: z.ZodOptional<z.ZodDate>;
|
|
491
516
|
metadata: z.ZodOptional<z.ZodAny>;
|
|
492
517
|
platformId: z.ZodOptional<z.ZodString>;
|
|
@@ -519,22 +544,22 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
519
544
|
address: z.ZodNullable<z.ZodString>;
|
|
520
545
|
phone: z.ZodNullable<z.ZodString>;
|
|
521
546
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
address: string | null;
|
|
523
547
|
name: string;
|
|
548
|
+
address: string | null;
|
|
524
549
|
email: string;
|
|
525
550
|
phone: string | null;
|
|
526
551
|
}, {
|
|
527
|
-
address: string | null;
|
|
528
552
|
name: string;
|
|
553
|
+
address: string | null;
|
|
529
554
|
email: string;
|
|
530
555
|
phone: string | null;
|
|
531
556
|
}>;
|
|
532
557
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
558
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
534
559
|
direction: "incoming" | "outgoing" | "system";
|
|
535
560
|
sender: {
|
|
536
|
-
address: string | null;
|
|
537
561
|
name: string;
|
|
562
|
+
address: string | null;
|
|
538
563
|
email: string;
|
|
539
564
|
phone: string | null;
|
|
540
565
|
};
|
|
@@ -556,11 +581,11 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
556
581
|
fileSize: number;
|
|
557
582
|
} | undefined;
|
|
558
583
|
}, {
|
|
559
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
584
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
560
585
|
direction: "incoming" | "outgoing" | "system";
|
|
561
586
|
sender: {
|
|
562
|
-
address: string | null;
|
|
563
587
|
name: string;
|
|
588
|
+
address: string | null;
|
|
564
589
|
email: string;
|
|
565
590
|
phone: string | null;
|
|
566
591
|
};
|
|
@@ -584,11 +609,11 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
584
609
|
}>;
|
|
585
610
|
}, "strip", z.ZodTypeAny, {
|
|
586
611
|
message: {
|
|
587
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
612
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
588
613
|
direction: "incoming" | "outgoing" | "system";
|
|
589
614
|
sender: {
|
|
590
|
-
address: string | null;
|
|
591
615
|
name: string;
|
|
616
|
+
address: string | null;
|
|
592
617
|
email: string;
|
|
593
618
|
phone: string | null;
|
|
594
619
|
};
|
|
@@ -613,12 +638,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
613
638
|
room: {
|
|
614
639
|
id: string;
|
|
615
640
|
channel: {
|
|
641
|
+
name: string;
|
|
616
642
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
617
643
|
id: string;
|
|
618
|
-
name: string;
|
|
619
644
|
metadata: {
|
|
620
|
-
id: string;
|
|
621
645
|
name: string;
|
|
646
|
+
id: string;
|
|
622
647
|
accessToken?: string | undefined;
|
|
623
648
|
channelSecret?: string | undefined;
|
|
624
649
|
additionalCredentials?: any;
|
|
@@ -630,10 +655,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
630
655
|
email?: string | null | undefined;
|
|
631
656
|
clientId?: string | null | undefined;
|
|
632
657
|
channelId?: string | null | undefined;
|
|
633
|
-
|
|
658
|
+
waapiInstanceId?: string | null | undefined;
|
|
659
|
+
qr?: string | null | undefined;
|
|
660
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
634
661
|
apiKey?: string | undefined;
|
|
635
662
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
636
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
663
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
637
664
|
} | undefined;
|
|
638
665
|
vonageCredentials?: {
|
|
639
666
|
apiKey: string;
|
|
@@ -642,6 +669,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
642
669
|
} | undefined;
|
|
643
670
|
lineRichMenuId?: string | null | undefined;
|
|
644
671
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
672
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
645
673
|
};
|
|
646
674
|
status: boolean;
|
|
647
675
|
brandName: string;
|
|
@@ -650,17 +678,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
650
678
|
connectedUserId?: string | null | undefined;
|
|
651
679
|
lineRichMenuId?: string | null | undefined;
|
|
652
680
|
actor?: {
|
|
681
|
+
name: string;
|
|
653
682
|
id: string;
|
|
654
683
|
address: string | null;
|
|
655
|
-
name: string;
|
|
656
684
|
email: string;
|
|
657
685
|
phone: string | null;
|
|
658
686
|
} | undefined;
|
|
659
687
|
};
|
|
660
688
|
direction: "incoming" | "outgoing" | "system";
|
|
661
689
|
actor: {
|
|
662
|
-
address: string | null;
|
|
663
690
|
name: string;
|
|
691
|
+
address: string | null;
|
|
664
692
|
email: string;
|
|
665
693
|
phone: string | null;
|
|
666
694
|
} | null;
|
|
@@ -668,15 +696,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
668
696
|
platformContact: {
|
|
669
697
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
670
698
|
metadata: {
|
|
671
|
-
id: string;
|
|
672
699
|
name: string;
|
|
700
|
+
id: string;
|
|
673
701
|
picture?: string | undefined;
|
|
674
702
|
additionalCredentials?: any;
|
|
675
703
|
};
|
|
676
704
|
contact: {
|
|
705
|
+
name: string;
|
|
677
706
|
channel: string | null;
|
|
678
707
|
address: string | null;
|
|
679
|
-
name: string;
|
|
680
708
|
notes: string | null;
|
|
681
709
|
contactProfile: string | null;
|
|
682
710
|
socialProfileUrl: string | null;
|
|
@@ -691,11 +719,11 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
691
719
|
stickerId: number;
|
|
692
720
|
}, {
|
|
693
721
|
message: {
|
|
694
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
722
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
695
723
|
direction: "incoming" | "outgoing" | "system";
|
|
696
724
|
sender: {
|
|
697
|
-
address: string | null;
|
|
698
725
|
name: string;
|
|
726
|
+
address: string | null;
|
|
699
727
|
email: string;
|
|
700
728
|
phone: string | null;
|
|
701
729
|
};
|
|
@@ -720,12 +748,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
720
748
|
room: {
|
|
721
749
|
id: string;
|
|
722
750
|
channel: {
|
|
751
|
+
name: string;
|
|
723
752
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
724
753
|
id: string;
|
|
725
|
-
name: string;
|
|
726
754
|
metadata: {
|
|
727
|
-
id: string;
|
|
728
755
|
name: string;
|
|
756
|
+
id: string;
|
|
729
757
|
accessToken?: string | undefined;
|
|
730
758
|
channelSecret?: string | undefined;
|
|
731
759
|
additionalCredentials?: any;
|
|
@@ -737,10 +765,12 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
737
765
|
email?: string | null | undefined;
|
|
738
766
|
clientId?: string | null | undefined;
|
|
739
767
|
channelId?: string | null | undefined;
|
|
740
|
-
|
|
768
|
+
waapiInstanceId?: string | null | undefined;
|
|
769
|
+
qr?: string | null | undefined;
|
|
770
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
741
771
|
apiKey?: string | undefined;
|
|
742
772
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
743
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
|
773
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
744
774
|
} | undefined;
|
|
745
775
|
vonageCredentials?: {
|
|
746
776
|
apiKey: string;
|
|
@@ -749,6 +779,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
749
779
|
} | undefined;
|
|
750
780
|
lineRichMenuId?: string | null | undefined;
|
|
751
781
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
782
|
+
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
752
783
|
};
|
|
753
784
|
status: boolean;
|
|
754
785
|
brandName: string;
|
|
@@ -757,17 +788,17 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
757
788
|
connectedUserId?: string | null | undefined;
|
|
758
789
|
lineRichMenuId?: string | null | undefined;
|
|
759
790
|
actor?: {
|
|
791
|
+
name: string;
|
|
760
792
|
id: string;
|
|
761
793
|
address: string | null;
|
|
762
|
-
name: string;
|
|
763
794
|
email: string;
|
|
764
795
|
phone: string | null;
|
|
765
796
|
} | undefined;
|
|
766
797
|
};
|
|
767
798
|
direction: "incoming" | "outgoing" | "system";
|
|
768
799
|
actor: {
|
|
769
|
-
address: string | null;
|
|
770
800
|
name: string;
|
|
801
|
+
address: string | null;
|
|
771
802
|
email: string;
|
|
772
803
|
phone: string | null;
|
|
773
804
|
} | null;
|
|
@@ -775,15 +806,15 @@ export declare const SendLineStickerSchema: z.ZodObject<{
|
|
|
775
806
|
platformContact: {
|
|
776
807
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
777
808
|
metadata: {
|
|
778
|
-
id: string;
|
|
779
809
|
name: string;
|
|
810
|
+
id: string;
|
|
780
811
|
picture?: string | undefined;
|
|
781
812
|
additionalCredentials?: any;
|
|
782
813
|
};
|
|
783
814
|
contact: {
|
|
815
|
+
name: string;
|
|
784
816
|
channel: string | null;
|
|
785
817
|
address: string | null;
|
|
786
|
-
name: string;
|
|
787
818
|
notes: string | null;
|
|
788
819
|
contactProfile: string | null;
|
|
789
820
|
socialProfileUrl: string | null;
|