@kl1/contracts 1.0.99 → 1.1.1-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/index.js +23 -80
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -80
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +165 -54
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +24 -8
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +76 -7
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +647 -655
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +73 -7
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +73 -7
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +73 -7
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +4 -388
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +0 -7
- package/dist/src/user/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +73 -7
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -25580,7 +25580,7 @@ export declare const apiContract: {
|
|
25580
25580
|
responses: {
|
25581
25581
|
201: import("zod").ZodObject<{
|
25582
25582
|
requestId: import("zod").ZodString;
|
25583
|
-
|
25583
|
+
role: import("zod").ZodObject<{
|
25584
25584
|
id: import("zod").ZodString;
|
25585
25585
|
createdAt: import("zod").ZodDate;
|
25586
25586
|
updatedAt: import("zod").ZodDate;
|
@@ -25785,7 +25785,7 @@ export declare const apiContract: {
|
|
25785
25785
|
};
|
25786
25786
|
}>;
|
25787
25787
|
}, "strip", import("zod").ZodTypeAny, {
|
25788
|
-
|
25788
|
+
role: {
|
25789
25789
|
id: string;
|
25790
25790
|
address: string | null;
|
25791
25791
|
name: string;
|
@@ -25831,7 +25831,7 @@ export declare const apiContract: {
|
|
25831
25831
|
};
|
25832
25832
|
requestId: string;
|
25833
25833
|
}, {
|
25834
|
-
|
25834
|
+
role: {
|
25835
25835
|
id: string;
|
25836
25836
|
address: string | null;
|
25837
25837
|
name: string;
|
@@ -25943,389 +25943,6 @@ export declare const apiContract: {
|
|
25943
25943
|
'x-client-timezone'?: string | undefined;
|
25944
25944
|
}>>>;
|
25945
25945
|
};
|
25946
|
-
updateUserProfile: {
|
25947
|
-
body: import("zod").ZodObject<{
|
25948
|
-
password: import("zod").ZodString;
|
25949
|
-
}, "strip", import("zod").ZodTypeAny, {
|
25950
|
-
password: string;
|
25951
|
-
}, {
|
25952
|
-
password: string;
|
25953
|
-
}>;
|
25954
|
-
summary: "Update a user profile.";
|
25955
|
-
method: "PATCH";
|
25956
|
-
pathParams: import("zod").ZodObject<{
|
25957
|
-
id: import("zod").ZodString;
|
25958
|
-
}, "strip", import("zod").ZodTypeAny, {
|
25959
|
-
id: string;
|
25960
|
-
}, {
|
25961
|
-
id: string;
|
25962
|
-
}>;
|
25963
|
-
responses: {
|
25964
|
-
201: import("zod").ZodObject<{
|
25965
|
-
requestId: import("zod").ZodString;
|
25966
|
-
user: import("zod").ZodObject<{
|
25967
|
-
id: import("zod").ZodString;
|
25968
|
-
createdAt: import("zod").ZodDate;
|
25969
|
-
updatedAt: import("zod").ZodDate;
|
25970
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25971
|
-
name: import("zod").ZodString;
|
25972
|
-
email: import("zod").ZodString;
|
25973
|
-
emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25974
|
-
password: import("zod").ZodString;
|
25975
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
25976
|
-
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
25977
|
-
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
25978
|
-
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
25979
|
-
id: import("zod").ZodString;
|
25980
|
-
createdAt: import("zod").ZodDate;
|
25981
|
-
updatedAt: import("zod").ZodDate;
|
25982
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25983
|
-
systemName: import("zod").ZodString;
|
25984
|
-
displayName: import("zod").ZodString;
|
25985
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
25986
|
-
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
25987
|
-
id: import("zod").ZodString;
|
25988
|
-
createdAt: import("zod").ZodDate;
|
25989
|
-
updatedAt: import("zod").ZodDate;
|
25990
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
25991
|
-
systemName: import("zod").ZodString;
|
25992
|
-
displayName: import("zod").ZodString;
|
25993
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
25994
|
-
}, "strip", import("zod").ZodTypeAny, {
|
25995
|
-
id: string;
|
25996
|
-
description: string | null;
|
25997
|
-
createdAt: Date;
|
25998
|
-
updatedAt: Date;
|
25999
|
-
deletedAt: Date | null;
|
26000
|
-
systemName: string;
|
26001
|
-
displayName: string;
|
26002
|
-
}, {
|
26003
|
-
id: string;
|
26004
|
-
description: string | null;
|
26005
|
-
createdAt: Date;
|
26006
|
-
updatedAt: Date;
|
26007
|
-
deletedAt: Date | null;
|
26008
|
-
systemName: string;
|
26009
|
-
displayName: string;
|
26010
|
-
}>, "many">;
|
26011
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26012
|
-
id: string;
|
26013
|
-
description: string | null;
|
26014
|
-
createdAt: Date;
|
26015
|
-
updatedAt: Date;
|
26016
|
-
deletedAt: Date | null;
|
26017
|
-
systemName: string;
|
26018
|
-
displayName: string;
|
26019
|
-
permissions: {
|
26020
|
-
id: string;
|
26021
|
-
description: string | null;
|
26022
|
-
createdAt: Date;
|
26023
|
-
updatedAt: Date;
|
26024
|
-
deletedAt: Date | null;
|
26025
|
-
systemName: string;
|
26026
|
-
displayName: string;
|
26027
|
-
}[];
|
26028
|
-
}, {
|
26029
|
-
id: string;
|
26030
|
-
description: string | null;
|
26031
|
-
createdAt: Date;
|
26032
|
-
updatedAt: Date;
|
26033
|
-
deletedAt: Date | null;
|
26034
|
-
systemName: string;
|
26035
|
-
displayName: string;
|
26036
|
-
permissions: {
|
26037
|
-
id: string;
|
26038
|
-
description: string | null;
|
26039
|
-
createdAt: Date;
|
26040
|
-
updatedAt: Date;
|
26041
|
-
deletedAt: Date | null;
|
26042
|
-
systemName: string;
|
26043
|
-
displayName: string;
|
26044
|
-
}[];
|
26045
|
-
}>, "many">;
|
26046
|
-
extension: import("zod").ZodObject<{
|
26047
|
-
id: import("zod").ZodString;
|
26048
|
-
createdAt: import("zod").ZodDate;
|
26049
|
-
updatedAt: import("zod").ZodDate;
|
26050
|
-
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
26051
|
-
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
26052
|
-
sipServerUrl: import("zod").ZodString;
|
26053
|
-
sipUserName: import("zod").ZodString;
|
26054
|
-
webphoneLoginUser: import("zod").ZodString;
|
26055
|
-
extensionId: import("zod").ZodNullable<import("zod").ZodString>;
|
26056
|
-
extensionName: import("zod").ZodString;
|
26057
|
-
telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
|
26058
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26059
|
-
id: string;
|
26060
|
-
createdAt: Date;
|
26061
|
-
updatedAt: Date;
|
26062
|
-
deletedAt: Date | null;
|
26063
|
-
userId: string | null;
|
26064
|
-
sipServerUrl: string;
|
26065
|
-
sipUserName: string;
|
26066
|
-
webphoneLoginUser: string;
|
26067
|
-
extensionId: string | null;
|
26068
|
-
extensionName: string;
|
26069
|
-
telephonySignature: string | null;
|
26070
|
-
}, {
|
26071
|
-
id: string;
|
26072
|
-
createdAt: Date;
|
26073
|
-
updatedAt: Date;
|
26074
|
-
deletedAt: Date | null;
|
26075
|
-
userId: string | null;
|
26076
|
-
sipServerUrl: string;
|
26077
|
-
sipUserName: string;
|
26078
|
-
webphoneLoginUser: string;
|
26079
|
-
extensionId: string | null;
|
26080
|
-
extensionName: string;
|
26081
|
-
telephonySignature: string | null;
|
26082
|
-
}>;
|
26083
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26084
|
-
id: string;
|
26085
|
-
address: string | null;
|
26086
|
-
name: string;
|
26087
|
-
email: string;
|
26088
|
-
createdAt: Date;
|
26089
|
-
updatedAt: Date;
|
26090
|
-
deletedAt: Date | null;
|
26091
|
-
emailVerifiedAt: Date | null;
|
26092
|
-
password: string;
|
26093
|
-
phone: string | null;
|
26094
|
-
notificationCount: number | null;
|
26095
|
-
roles: {
|
26096
|
-
id: string;
|
26097
|
-
description: string | null;
|
26098
|
-
createdAt: Date;
|
26099
|
-
updatedAt: Date;
|
26100
|
-
deletedAt: Date | null;
|
26101
|
-
systemName: string;
|
26102
|
-
displayName: string;
|
26103
|
-
permissions: {
|
26104
|
-
id: string;
|
26105
|
-
description: string | null;
|
26106
|
-
createdAt: Date;
|
26107
|
-
updatedAt: Date;
|
26108
|
-
deletedAt: Date | null;
|
26109
|
-
systemName: string;
|
26110
|
-
displayName: string;
|
26111
|
-
}[];
|
26112
|
-
}[];
|
26113
|
-
extension: {
|
26114
|
-
id: string;
|
26115
|
-
createdAt: Date;
|
26116
|
-
updatedAt: Date;
|
26117
|
-
deletedAt: Date | null;
|
26118
|
-
userId: string | null;
|
26119
|
-
sipServerUrl: string;
|
26120
|
-
sipUserName: string;
|
26121
|
-
webphoneLoginUser: string;
|
26122
|
-
extensionId: string | null;
|
26123
|
-
extensionName: string;
|
26124
|
-
telephonySignature: string | null;
|
26125
|
-
};
|
26126
|
-
}, {
|
26127
|
-
id: string;
|
26128
|
-
address: string | null;
|
26129
|
-
name: string;
|
26130
|
-
email: string;
|
26131
|
-
createdAt: Date;
|
26132
|
-
updatedAt: Date;
|
26133
|
-
deletedAt: Date | null;
|
26134
|
-
emailVerifiedAt: Date | null;
|
26135
|
-
password: string;
|
26136
|
-
phone: string | null;
|
26137
|
-
notificationCount: number | null;
|
26138
|
-
roles: {
|
26139
|
-
id: string;
|
26140
|
-
description: string | null;
|
26141
|
-
createdAt: Date;
|
26142
|
-
updatedAt: Date;
|
26143
|
-
deletedAt: Date | null;
|
26144
|
-
systemName: string;
|
26145
|
-
displayName: string;
|
26146
|
-
permissions: {
|
26147
|
-
id: string;
|
26148
|
-
description: string | null;
|
26149
|
-
createdAt: Date;
|
26150
|
-
updatedAt: Date;
|
26151
|
-
deletedAt: Date | null;
|
26152
|
-
systemName: string;
|
26153
|
-
displayName: string;
|
26154
|
-
}[];
|
26155
|
-
}[];
|
26156
|
-
extension: {
|
26157
|
-
id: string;
|
26158
|
-
createdAt: Date;
|
26159
|
-
updatedAt: Date;
|
26160
|
-
deletedAt: Date | null;
|
26161
|
-
userId: string | null;
|
26162
|
-
sipServerUrl: string;
|
26163
|
-
sipUserName: string;
|
26164
|
-
webphoneLoginUser: string;
|
26165
|
-
extensionId: string | null;
|
26166
|
-
extensionName: string;
|
26167
|
-
telephonySignature: string | null;
|
26168
|
-
};
|
26169
|
-
}>;
|
26170
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26171
|
-
user: {
|
26172
|
-
id: string;
|
26173
|
-
address: string | null;
|
26174
|
-
name: string;
|
26175
|
-
email: string;
|
26176
|
-
createdAt: Date;
|
26177
|
-
updatedAt: Date;
|
26178
|
-
deletedAt: Date | null;
|
26179
|
-
emailVerifiedAt: Date | null;
|
26180
|
-
password: string;
|
26181
|
-
phone: string | null;
|
26182
|
-
notificationCount: number | null;
|
26183
|
-
roles: {
|
26184
|
-
id: string;
|
26185
|
-
description: string | null;
|
26186
|
-
createdAt: Date;
|
26187
|
-
updatedAt: Date;
|
26188
|
-
deletedAt: Date | null;
|
26189
|
-
systemName: string;
|
26190
|
-
displayName: string;
|
26191
|
-
permissions: {
|
26192
|
-
id: string;
|
26193
|
-
description: string | null;
|
26194
|
-
createdAt: Date;
|
26195
|
-
updatedAt: Date;
|
26196
|
-
deletedAt: Date | null;
|
26197
|
-
systemName: string;
|
26198
|
-
displayName: string;
|
26199
|
-
}[];
|
26200
|
-
}[];
|
26201
|
-
extension: {
|
26202
|
-
id: string;
|
26203
|
-
createdAt: Date;
|
26204
|
-
updatedAt: Date;
|
26205
|
-
deletedAt: Date | null;
|
26206
|
-
userId: string | null;
|
26207
|
-
sipServerUrl: string;
|
26208
|
-
sipUserName: string;
|
26209
|
-
webphoneLoginUser: string;
|
26210
|
-
extensionId: string | null;
|
26211
|
-
extensionName: string;
|
26212
|
-
telephonySignature: string | null;
|
26213
|
-
};
|
26214
|
-
};
|
26215
|
-
requestId: string;
|
26216
|
-
}, {
|
26217
|
-
user: {
|
26218
|
-
id: string;
|
26219
|
-
address: string | null;
|
26220
|
-
name: string;
|
26221
|
-
email: string;
|
26222
|
-
createdAt: Date;
|
26223
|
-
updatedAt: Date;
|
26224
|
-
deletedAt: Date | null;
|
26225
|
-
emailVerifiedAt: Date | null;
|
26226
|
-
password: string;
|
26227
|
-
phone: string | null;
|
26228
|
-
notificationCount: number | null;
|
26229
|
-
roles: {
|
26230
|
-
id: string;
|
26231
|
-
description: string | null;
|
26232
|
-
createdAt: Date;
|
26233
|
-
updatedAt: Date;
|
26234
|
-
deletedAt: Date | null;
|
26235
|
-
systemName: string;
|
26236
|
-
displayName: string;
|
26237
|
-
permissions: {
|
26238
|
-
id: string;
|
26239
|
-
description: string | null;
|
26240
|
-
createdAt: Date;
|
26241
|
-
updatedAt: Date;
|
26242
|
-
deletedAt: Date | null;
|
26243
|
-
systemName: string;
|
26244
|
-
displayName: string;
|
26245
|
-
}[];
|
26246
|
-
}[];
|
26247
|
-
extension: {
|
26248
|
-
id: string;
|
26249
|
-
createdAt: Date;
|
26250
|
-
updatedAt: Date;
|
26251
|
-
deletedAt: Date | null;
|
26252
|
-
userId: string | null;
|
26253
|
-
sipServerUrl: string;
|
26254
|
-
sipUserName: string;
|
26255
|
-
webphoneLoginUser: string;
|
26256
|
-
extensionId: string | null;
|
26257
|
-
extensionName: string;
|
26258
|
-
telephonySignature: string | null;
|
26259
|
-
};
|
26260
|
-
};
|
26261
|
-
requestId: string;
|
26262
|
-
}>;
|
26263
|
-
400: import("zod").ZodObject<{
|
26264
|
-
message: import("zod").ZodString;
|
26265
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26266
|
-
message: string;
|
26267
|
-
}, {
|
26268
|
-
message: string;
|
26269
|
-
}>;
|
26270
|
-
401: import("zod").ZodObject<{
|
26271
|
-
message: import("zod").ZodString;
|
26272
|
-
error: import("zod").ZodAny;
|
26273
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26274
|
-
message: string;
|
26275
|
-
error?: any;
|
26276
|
-
}, {
|
26277
|
-
message: string;
|
26278
|
-
error?: any;
|
26279
|
-
}>;
|
26280
|
-
404: import("zod").ZodObject<{
|
26281
|
-
message: import("zod").ZodString;
|
26282
|
-
error: import("zod").ZodAny;
|
26283
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26284
|
-
message: string;
|
26285
|
-
error?: any;
|
26286
|
-
}, {
|
26287
|
-
message: string;
|
26288
|
-
error?: any;
|
26289
|
-
}>;
|
26290
|
-
422: import("zod").ZodObject<{
|
26291
|
-
message: import("zod").ZodString;
|
26292
|
-
error: import("zod").ZodAny;
|
26293
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26294
|
-
message: string;
|
26295
|
-
error?: any;
|
26296
|
-
}, {
|
26297
|
-
message: string;
|
26298
|
-
error?: any;
|
26299
|
-
}>;
|
26300
|
-
500: import("zod").ZodObject<{
|
26301
|
-
message: import("zod").ZodString;
|
26302
|
-
error: import("zod").ZodAny;
|
26303
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26304
|
-
message: string;
|
26305
|
-
error?: any;
|
26306
|
-
}, {
|
26307
|
-
message: string;
|
26308
|
-
error?: any;
|
26309
|
-
}>;
|
26310
|
-
};
|
26311
|
-
path: "user/profile/:id";
|
26312
|
-
headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
26313
|
-
'x-tenant': import("zod").ZodString;
|
26314
|
-
authorization: import("zod").ZodString;
|
26315
|
-
'x-code': import("zod").ZodOptional<import("zod").ZodString>;
|
26316
|
-
'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
|
26317
|
-
}, "strip", import("zod").ZodTypeAny, {
|
26318
|
-
'x-tenant': string;
|
26319
|
-
authorization: string;
|
26320
|
-
'x-client-timezone': string;
|
26321
|
-
'x-code'?: string | undefined;
|
26322
|
-
}, {
|
26323
|
-
'x-tenant': string;
|
26324
|
-
authorization: string;
|
26325
|
-
'x-code'?: string | undefined;
|
26326
|
-
'x-client-timezone'?: string | undefined;
|
26327
|
-
}>>>;
|
26328
|
-
};
|
26329
25946
|
deleteUser: {
|
26330
25947
|
body: null;
|
26331
25948
|
summary: "Delete a user.";
|
@@ -83021,6 +82638,7 @@ export declare const platformContract: {
|
|
83021
82638
|
createdAt: import("zod").ZodString;
|
83022
82639
|
updatedAt: import("zod").ZodString;
|
83023
82640
|
platformContact: import("zod").ZodObject<{
|
82641
|
+
id: import("zod").ZodString;
|
83024
82642
|
channelId: import("zod").ZodString;
|
83025
82643
|
socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
|
83026
82644
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
@@ -83064,6 +82682,7 @@ export declare const platformContract: {
|
|
83064
82682
|
}>;
|
83065
82683
|
}, "strip", import("zod").ZodTypeAny, {
|
83066
82684
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82685
|
+
id: string;
|
83067
82686
|
metadata: {
|
83068
82687
|
id: string;
|
83069
82688
|
name: string;
|
@@ -83082,6 +82701,7 @@ export declare const platformContract: {
|
|
83082
82701
|
socialPlatformId: string | null;
|
83083
82702
|
}, {
|
83084
82703
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82704
|
+
id: string;
|
83085
82705
|
metadata: {
|
83086
82706
|
id: string;
|
83087
82707
|
name: string;
|
@@ -83100,21 +82720,37 @@ export declare const platformContract: {
|
|
83100
82720
|
socialPlatformId: string | null;
|
83101
82721
|
}>;
|
83102
82722
|
actor: import("zod").ZodNullable<import("zod").ZodObject<{
|
82723
|
+
id: import("zod").ZodString;
|
83103
82724
|
name: import("zod").ZodString;
|
83104
82725
|
email: import("zod").ZodString;
|
83105
82726
|
address: import("zod").ZodNullable<import("zod").ZodString>;
|
83106
82727
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
83107
82728
|
}, "strip", import("zod").ZodTypeAny, {
|
82729
|
+
id: string;
|
83108
82730
|
address: string | null;
|
83109
82731
|
name: string;
|
83110
82732
|
email: string;
|
83111
82733
|
phone: string | null;
|
83112
82734
|
}, {
|
82735
|
+
id: string;
|
83113
82736
|
address: string | null;
|
83114
82737
|
name: string;
|
83115
82738
|
email: string;
|
83116
82739
|
phone: string | null;
|
83117
82740
|
}>>;
|
82741
|
+
assignee: import("zod").ZodNullable<import("zod").ZodObject<{
|
82742
|
+
id: import("zod").ZodString;
|
82743
|
+
name: import("zod").ZodString;
|
82744
|
+
email: import("zod").ZodString;
|
82745
|
+
}, "strip", import("zod").ZodTypeAny, {
|
82746
|
+
id: string;
|
82747
|
+
name: string;
|
82748
|
+
email: string;
|
82749
|
+
}, {
|
82750
|
+
id: string;
|
82751
|
+
name: string;
|
82752
|
+
email: string;
|
82753
|
+
}>>;
|
83118
82754
|
channel: import("zod").ZodObject<{
|
83119
82755
|
id: import("zod").ZodString;
|
83120
82756
|
name: import("zod").ZodString;
|
@@ -83209,6 +82845,7 @@ export declare const platformContract: {
|
|
83209
82845
|
phone: string | null;
|
83210
82846
|
} | undefined;
|
83211
82847
|
}>;
|
82848
|
+
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
83212
82849
|
}, "strip", import("zod").ZodTypeAny, {
|
83213
82850
|
id: string;
|
83214
82851
|
channel: {
|
@@ -83239,6 +82876,7 @@ export declare const platformContract: {
|
|
83239
82876
|
createdAt: string;
|
83240
82877
|
updatedAt: string;
|
83241
82878
|
actor: {
|
82879
|
+
id: string;
|
83242
82880
|
address: string | null;
|
83243
82881
|
name: string;
|
83244
82882
|
email: string;
|
@@ -83247,6 +82885,7 @@ export declare const platformContract: {
|
|
83247
82885
|
isLatest: boolean;
|
83248
82886
|
platformContact: {
|
83249
82887
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82888
|
+
id: string;
|
83250
82889
|
metadata: {
|
83251
82890
|
id: string;
|
83252
82891
|
name: string;
|
@@ -83264,8 +82903,14 @@ export declare const platformContract: {
|
|
83264
82903
|
channelId: string;
|
83265
82904
|
socialPlatformId: string | null;
|
83266
82905
|
};
|
82906
|
+
assignee: {
|
82907
|
+
id: string;
|
82908
|
+
name: string;
|
82909
|
+
email: string;
|
82910
|
+
} | null;
|
83267
82911
|
lastMessage?: string | undefined;
|
83268
82912
|
handleTime?: number | undefined;
|
82913
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
83269
82914
|
}, {
|
83270
82915
|
id: string;
|
83271
82916
|
channel: {
|
@@ -83296,6 +82941,7 @@ export declare const platformContract: {
|
|
83296
82941
|
createdAt: string;
|
83297
82942
|
updatedAt: string;
|
83298
82943
|
actor: {
|
82944
|
+
id: string;
|
83299
82945
|
address: string | null;
|
83300
82946
|
name: string;
|
83301
82947
|
email: string;
|
@@ -83304,6 +82950,7 @@ export declare const platformContract: {
|
|
83304
82950
|
isLatest: boolean;
|
83305
82951
|
platformContact: {
|
83306
82952
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
82953
|
+
id: string;
|
83307
82954
|
metadata: {
|
83308
82955
|
id: string;
|
83309
82956
|
name: string;
|
@@ -83321,8 +82968,14 @@ export declare const platformContract: {
|
|
83321
82968
|
channelId: string;
|
83322
82969
|
socialPlatformId: string | null;
|
83323
82970
|
};
|
82971
|
+
assignee: {
|
82972
|
+
id: string;
|
82973
|
+
name: string;
|
82974
|
+
email: string;
|
82975
|
+
} | null;
|
83324
82976
|
lastMessage?: string | undefined;
|
83325
82977
|
handleTime?: number | undefined;
|
82978
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
83326
82979
|
}>;
|
83327
82980
|
message: import("zod").ZodObject<{
|
83328
82981
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -83487,6 +83140,7 @@ export declare const platformContract: {
|
|
83487
83140
|
createdAt: string;
|
83488
83141
|
updatedAt: string;
|
83489
83142
|
actor: {
|
83143
|
+
id: string;
|
83490
83144
|
address: string | null;
|
83491
83145
|
name: string;
|
83492
83146
|
email: string;
|
@@ -83495,6 +83149,7 @@ export declare const platformContract: {
|
|
83495
83149
|
isLatest: boolean;
|
83496
83150
|
platformContact: {
|
83497
83151
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
83152
|
+
id: string;
|
83498
83153
|
metadata: {
|
83499
83154
|
id: string;
|
83500
83155
|
name: string;
|
@@ -83512,8 +83167,14 @@ export declare const platformContract: {
|
|
83512
83167
|
channelId: string;
|
83513
83168
|
socialPlatformId: string | null;
|
83514
83169
|
};
|
83170
|
+
assignee: {
|
83171
|
+
id: string;
|
83172
|
+
name: string;
|
83173
|
+
email: string;
|
83174
|
+
} | null;
|
83515
83175
|
lastMessage?: string | undefined;
|
83516
83176
|
handleTime?: number | undefined;
|
83177
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
83517
83178
|
};
|
83518
83179
|
}, {
|
83519
83180
|
message: {
|
@@ -83574,6 +83235,7 @@ export declare const platformContract: {
|
|
83574
83235
|
createdAt: string;
|
83575
83236
|
updatedAt: string;
|
83576
83237
|
actor: {
|
83238
|
+
id: string;
|
83577
83239
|
address: string | null;
|
83578
83240
|
name: string;
|
83579
83241
|
email: string;
|
@@ -83582,6 +83244,7 @@ export declare const platformContract: {
|
|
83582
83244
|
isLatest: boolean;
|
83583
83245
|
platformContact: {
|
83584
83246
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
83247
|
+
id: string;
|
83585
83248
|
metadata: {
|
83586
83249
|
id: string;
|
83587
83250
|
name: string;
|
@@ -83599,8 +83262,14 @@ export declare const platformContract: {
|
|
83599
83262
|
channelId: string;
|
83600
83263
|
socialPlatformId: string | null;
|
83601
83264
|
};
|
83265
|
+
assignee: {
|
83266
|
+
id: string;
|
83267
|
+
name: string;
|
83268
|
+
email: string;
|
83269
|
+
} | null;
|
83602
83270
|
lastMessage?: string | undefined;
|
83603
83271
|
handleTime?: number | undefined;
|
83272
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
83604
83273
|
};
|
83605
83274
|
}>;
|
83606
83275
|
method: "POST";
|
@@ -83632,7 +83301,9 @@ export declare const platformContract: {
|
|
83632
83301
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
83633
83302
|
lastMessage: import("zod").ZodString;
|
83634
83303
|
handleTime: import("zod").ZodNumber;
|
83635
|
-
|
83304
|
+
closedAt: import("zod").ZodDate;
|
83305
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
83306
|
+
status: import("zod").ZodNumber;
|
83636
83307
|
unreadCount: import("zod").ZodNumber;
|
83637
83308
|
firstResponseAt: import("zod").ZodDate;
|
83638
83309
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -85557,6 +85228,7 @@ export declare const platformContract: {
|
|
85557
85228
|
connectedUserId: string;
|
85558
85229
|
};
|
85559
85230
|
direction: "incoming" | "outgoing" | "system";
|
85231
|
+
status: number;
|
85560
85232
|
createdAt: Date;
|
85561
85233
|
updatedAt: Date;
|
85562
85234
|
deletedAt: Date | null;
|
@@ -85607,7 +85279,6 @@ export declare const platformContract: {
|
|
85607
85279
|
firstResponseTime: number;
|
85608
85280
|
lastMessage: string;
|
85609
85281
|
handleTime: number;
|
85610
|
-
closeAt: Date;
|
85611
85282
|
unreadCount: number;
|
85612
85283
|
firstResponseAt: Date;
|
85613
85284
|
isLatest: boolean;
|
@@ -85767,6 +85438,8 @@ export declare const platformContract: {
|
|
85767
85438
|
telephonySignature: string | null;
|
85768
85439
|
};
|
85769
85440
|
};
|
85441
|
+
closedAt: Date;
|
85442
|
+
lastMessageAt: Date | null;
|
85770
85443
|
cxlog: {
|
85771
85444
|
id: string;
|
85772
85445
|
channel: string | null;
|
@@ -85869,6 +85542,7 @@ export declare const platformContract: {
|
|
85869
85542
|
connectedUserId: string;
|
85870
85543
|
};
|
85871
85544
|
direction: "incoming" | "outgoing" | "system";
|
85545
|
+
status: number;
|
85872
85546
|
createdAt: Date;
|
85873
85547
|
updatedAt: Date;
|
85874
85548
|
deletedAt: Date | null;
|
@@ -85919,7 +85593,6 @@ export declare const platformContract: {
|
|
85919
85593
|
firstResponseTime: number;
|
85920
85594
|
lastMessage: string;
|
85921
85595
|
handleTime: number;
|
85922
|
-
closeAt: Date;
|
85923
85596
|
unreadCount: number;
|
85924
85597
|
firstResponseAt: Date;
|
85925
85598
|
isLatest: boolean;
|
@@ -86079,6 +85752,8 @@ export declare const platformContract: {
|
|
86079
85752
|
telephonySignature: string | null;
|
86080
85753
|
};
|
86081
85754
|
};
|
85755
|
+
closedAt: Date;
|
85756
|
+
lastMessageAt: Date | null;
|
86082
85757
|
cxlog: {
|
86083
85758
|
id: string;
|
86084
85759
|
channel: string | null;
|
@@ -87927,6 +87602,7 @@ export declare const platformContract: {
|
|
87927
87602
|
connectedUserId: string;
|
87928
87603
|
};
|
87929
87604
|
direction: "incoming" | "outgoing" | "system";
|
87605
|
+
status: number;
|
87930
87606
|
createdAt: Date;
|
87931
87607
|
updatedAt: Date;
|
87932
87608
|
deletedAt: Date | null;
|
@@ -87977,7 +87653,6 @@ export declare const platformContract: {
|
|
87977
87653
|
firstResponseTime: number;
|
87978
87654
|
lastMessage: string;
|
87979
87655
|
handleTime: number;
|
87980
|
-
closeAt: Date;
|
87981
87656
|
unreadCount: number;
|
87982
87657
|
firstResponseAt: Date;
|
87983
87658
|
isLatest: boolean;
|
@@ -88137,6 +87812,8 @@ export declare const platformContract: {
|
|
88137
87812
|
telephonySignature: string | null;
|
88138
87813
|
};
|
88139
87814
|
};
|
87815
|
+
closedAt: Date;
|
87816
|
+
lastMessageAt: Date | null;
|
88140
87817
|
cxlog: {
|
88141
87818
|
id: string;
|
88142
87819
|
channel: string | null;
|
@@ -88565,6 +88242,7 @@ export declare const platformContract: {
|
|
88565
88242
|
connectedUserId: string;
|
88566
88243
|
};
|
88567
88244
|
direction: "incoming" | "outgoing" | "system";
|
88245
|
+
status: number;
|
88568
88246
|
createdAt: Date;
|
88569
88247
|
updatedAt: Date;
|
88570
88248
|
deletedAt: Date | null;
|
@@ -88615,7 +88293,6 @@ export declare const platformContract: {
|
|
88615
88293
|
firstResponseTime: number;
|
88616
88294
|
lastMessage: string;
|
88617
88295
|
handleTime: number;
|
88618
|
-
closeAt: Date;
|
88619
88296
|
unreadCount: number;
|
88620
88297
|
firstResponseAt: Date;
|
88621
88298
|
isLatest: boolean;
|
@@ -88775,6 +88452,8 @@ export declare const platformContract: {
|
|
88775
88452
|
telephonySignature: string | null;
|
88776
88453
|
};
|
88777
88454
|
};
|
88455
|
+
closedAt: Date;
|
88456
|
+
lastMessageAt: Date | null;
|
88778
88457
|
cxlog: {
|
88779
88458
|
id: string;
|
88780
88459
|
channel: string | null;
|
@@ -89205,6 +88884,7 @@ export declare const platformContract: {
|
|
89205
88884
|
connectedUserId: string;
|
89206
88885
|
};
|
89207
88886
|
direction: "incoming" | "outgoing" | "system";
|
88887
|
+
status: number;
|
89208
88888
|
createdAt: Date;
|
89209
88889
|
updatedAt: Date;
|
89210
88890
|
deletedAt: Date | null;
|
@@ -89255,7 +88935,6 @@ export declare const platformContract: {
|
|
89255
88935
|
firstResponseTime: number;
|
89256
88936
|
lastMessage: string;
|
89257
88937
|
handleTime: number;
|
89258
|
-
closeAt: Date;
|
89259
88938
|
unreadCount: number;
|
89260
88939
|
firstResponseAt: Date;
|
89261
88940
|
isLatest: boolean;
|
@@ -89415,6 +89094,8 @@ export declare const platformContract: {
|
|
89415
89094
|
telephonySignature: string | null;
|
89416
89095
|
};
|
89417
89096
|
};
|
89097
|
+
closedAt: Date;
|
89098
|
+
lastMessageAt: Date | null;
|
89418
89099
|
cxlog: {
|
89419
89100
|
id: string;
|
89420
89101
|
channel: string | null;
|
@@ -89846,6 +89527,7 @@ export declare const platformContract: {
|
|
89846
89527
|
connectedUserId: string;
|
89847
89528
|
};
|
89848
89529
|
direction: "incoming" | "outgoing" | "system";
|
89530
|
+
status: number;
|
89849
89531
|
createdAt: Date;
|
89850
89532
|
updatedAt: Date;
|
89851
89533
|
deletedAt: Date | null;
|
@@ -89896,7 +89578,6 @@ export declare const platformContract: {
|
|
89896
89578
|
firstResponseTime: number;
|
89897
89579
|
lastMessage: string;
|
89898
89580
|
handleTime: number;
|
89899
|
-
closeAt: Date;
|
89900
89581
|
unreadCount: number;
|
89901
89582
|
firstResponseAt: Date;
|
89902
89583
|
isLatest: boolean;
|
@@ -90056,6 +89737,8 @@ export declare const platformContract: {
|
|
90056
89737
|
telephonySignature: string | null;
|
90057
89738
|
};
|
90058
89739
|
};
|
89740
|
+
closedAt: Date;
|
89741
|
+
lastMessageAt: Date | null;
|
90059
89742
|
cxlog: {
|
90060
89743
|
id: string;
|
90061
89744
|
channel: string | null;
|
@@ -90970,6 +90653,7 @@ export declare const platformContract: {
|
|
90970
90653
|
createdAt: import("zod").ZodString;
|
90971
90654
|
updatedAt: import("zod").ZodString;
|
90972
90655
|
platformContact: import("zod").ZodObject<{
|
90656
|
+
id: import("zod").ZodString;
|
90973
90657
|
channelId: import("zod").ZodString;
|
90974
90658
|
socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
|
90975
90659
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
@@ -91013,6 +90697,7 @@ export declare const platformContract: {
|
|
91013
90697
|
}>;
|
91014
90698
|
}, "strip", import("zod").ZodTypeAny, {
|
91015
90699
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90700
|
+
id: string;
|
91016
90701
|
metadata: {
|
91017
90702
|
id: string;
|
91018
90703
|
name: string;
|
@@ -91031,6 +90716,7 @@ export declare const platformContract: {
|
|
91031
90716
|
socialPlatformId: string | null;
|
91032
90717
|
}, {
|
91033
90718
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90719
|
+
id: string;
|
91034
90720
|
metadata: {
|
91035
90721
|
id: string;
|
91036
90722
|
name: string;
|
@@ -91049,21 +90735,37 @@ export declare const platformContract: {
|
|
91049
90735
|
socialPlatformId: string | null;
|
91050
90736
|
}>;
|
91051
90737
|
actor: import("zod").ZodNullable<import("zod").ZodObject<{
|
90738
|
+
id: import("zod").ZodString;
|
91052
90739
|
name: import("zod").ZodString;
|
91053
90740
|
email: import("zod").ZodString;
|
91054
90741
|
address: import("zod").ZodNullable<import("zod").ZodString>;
|
91055
90742
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
91056
90743
|
}, "strip", import("zod").ZodTypeAny, {
|
90744
|
+
id: string;
|
91057
90745
|
address: string | null;
|
91058
90746
|
name: string;
|
91059
90747
|
email: string;
|
91060
90748
|
phone: string | null;
|
91061
90749
|
}, {
|
90750
|
+
id: string;
|
91062
90751
|
address: string | null;
|
91063
90752
|
name: string;
|
91064
90753
|
email: string;
|
91065
90754
|
phone: string | null;
|
91066
90755
|
}>>;
|
90756
|
+
assignee: import("zod").ZodNullable<import("zod").ZodObject<{
|
90757
|
+
id: import("zod").ZodString;
|
90758
|
+
name: import("zod").ZodString;
|
90759
|
+
email: import("zod").ZodString;
|
90760
|
+
}, "strip", import("zod").ZodTypeAny, {
|
90761
|
+
id: string;
|
90762
|
+
name: string;
|
90763
|
+
email: string;
|
90764
|
+
}, {
|
90765
|
+
id: string;
|
90766
|
+
name: string;
|
90767
|
+
email: string;
|
90768
|
+
}>>;
|
91067
90769
|
channel: import("zod").ZodObject<{
|
91068
90770
|
id: import("zod").ZodString;
|
91069
90771
|
name: import("zod").ZodString;
|
@@ -91158,6 +90860,7 @@ export declare const platformContract: {
|
|
91158
90860
|
phone: string | null;
|
91159
90861
|
} | undefined;
|
91160
90862
|
}>;
|
90863
|
+
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
91161
90864
|
}, "strip", import("zod").ZodTypeAny, {
|
91162
90865
|
id: string;
|
91163
90866
|
channel: {
|
@@ -91188,6 +90891,7 @@ export declare const platformContract: {
|
|
91188
90891
|
createdAt: string;
|
91189
90892
|
updatedAt: string;
|
91190
90893
|
actor: {
|
90894
|
+
id: string;
|
91191
90895
|
address: string | null;
|
91192
90896
|
name: string;
|
91193
90897
|
email: string;
|
@@ -91196,6 +90900,7 @@ export declare const platformContract: {
|
|
91196
90900
|
isLatest: boolean;
|
91197
90901
|
platformContact: {
|
91198
90902
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90903
|
+
id: string;
|
91199
90904
|
metadata: {
|
91200
90905
|
id: string;
|
91201
90906
|
name: string;
|
@@ -91213,8 +90918,14 @@ export declare const platformContract: {
|
|
91213
90918
|
channelId: string;
|
91214
90919
|
socialPlatformId: string | null;
|
91215
90920
|
};
|
90921
|
+
assignee: {
|
90922
|
+
id: string;
|
90923
|
+
name: string;
|
90924
|
+
email: string;
|
90925
|
+
} | null;
|
91216
90926
|
lastMessage?: string | undefined;
|
91217
90927
|
handleTime?: number | undefined;
|
90928
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
91218
90929
|
}, {
|
91219
90930
|
id: string;
|
91220
90931
|
channel: {
|
@@ -91245,6 +90956,7 @@ export declare const platformContract: {
|
|
91245
90956
|
createdAt: string;
|
91246
90957
|
updatedAt: string;
|
91247
90958
|
actor: {
|
90959
|
+
id: string;
|
91248
90960
|
address: string | null;
|
91249
90961
|
name: string;
|
91250
90962
|
email: string;
|
@@ -91253,6 +90965,7 @@ export declare const platformContract: {
|
|
91253
90965
|
isLatest: boolean;
|
91254
90966
|
platformContact: {
|
91255
90967
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
90968
|
+
id: string;
|
91256
90969
|
metadata: {
|
91257
90970
|
id: string;
|
91258
90971
|
name: string;
|
@@ -91270,8 +90983,14 @@ export declare const platformContract: {
|
|
91270
90983
|
channelId: string;
|
91271
90984
|
socialPlatformId: string | null;
|
91272
90985
|
};
|
90986
|
+
assignee: {
|
90987
|
+
id: string;
|
90988
|
+
name: string;
|
90989
|
+
email: string;
|
90990
|
+
} | null;
|
91273
90991
|
lastMessage?: string | undefined;
|
91274
90992
|
handleTime?: number | undefined;
|
90993
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
91275
90994
|
}>;
|
91276
90995
|
message: import("zod").ZodObject<{
|
91277
90996
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -91436,6 +91155,7 @@ export declare const platformContract: {
|
|
91436
91155
|
createdAt: string;
|
91437
91156
|
updatedAt: string;
|
91438
91157
|
actor: {
|
91158
|
+
id: string;
|
91439
91159
|
address: string | null;
|
91440
91160
|
name: string;
|
91441
91161
|
email: string;
|
@@ -91444,6 +91164,7 @@ export declare const platformContract: {
|
|
91444
91164
|
isLatest: boolean;
|
91445
91165
|
platformContact: {
|
91446
91166
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
91167
|
+
id: string;
|
91447
91168
|
metadata: {
|
91448
91169
|
id: string;
|
91449
91170
|
name: string;
|
@@ -91461,8 +91182,14 @@ export declare const platformContract: {
|
|
91461
91182
|
channelId: string;
|
91462
91183
|
socialPlatformId: string | null;
|
91463
91184
|
};
|
91185
|
+
assignee: {
|
91186
|
+
id: string;
|
91187
|
+
name: string;
|
91188
|
+
email: string;
|
91189
|
+
} | null;
|
91464
91190
|
lastMessage?: string | undefined;
|
91465
91191
|
handleTime?: number | undefined;
|
91192
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
91466
91193
|
};
|
91467
91194
|
}, {
|
91468
91195
|
message: {
|
@@ -91523,6 +91250,7 @@ export declare const platformContract: {
|
|
91523
91250
|
createdAt: string;
|
91524
91251
|
updatedAt: string;
|
91525
91252
|
actor: {
|
91253
|
+
id: string;
|
91526
91254
|
address: string | null;
|
91527
91255
|
name: string;
|
91528
91256
|
email: string;
|
@@ -91531,6 +91259,7 @@ export declare const platformContract: {
|
|
91531
91259
|
isLatest: boolean;
|
91532
91260
|
platformContact: {
|
91533
91261
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
91262
|
+
id: string;
|
91534
91263
|
metadata: {
|
91535
91264
|
id: string;
|
91536
91265
|
name: string;
|
@@ -91548,8 +91277,14 @@ export declare const platformContract: {
|
|
91548
91277
|
channelId: string;
|
91549
91278
|
socialPlatformId: string | null;
|
91550
91279
|
};
|
91280
|
+
assignee: {
|
91281
|
+
id: string;
|
91282
|
+
name: string;
|
91283
|
+
email: string;
|
91284
|
+
} | null;
|
91551
91285
|
lastMessage?: string | undefined;
|
91552
91286
|
handleTime?: number | undefined;
|
91287
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
91553
91288
|
};
|
91554
91289
|
}>;
|
91555
91290
|
method: "POST";
|
@@ -91581,7 +91316,9 @@ export declare const platformContract: {
|
|
91581
91316
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
91582
91317
|
lastMessage: import("zod").ZodString;
|
91583
91318
|
handleTime: import("zod").ZodNumber;
|
91584
|
-
|
91319
|
+
closedAt: import("zod").ZodDate;
|
91320
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
91321
|
+
status: import("zod").ZodNumber;
|
91585
91322
|
unreadCount: import("zod").ZodNumber;
|
91586
91323
|
firstResponseAt: import("zod").ZodDate;
|
91587
91324
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -93506,6 +93243,7 @@ export declare const platformContract: {
|
|
93506
93243
|
connectedUserId: string;
|
93507
93244
|
};
|
93508
93245
|
direction: "incoming" | "outgoing" | "system";
|
93246
|
+
status: number;
|
93509
93247
|
createdAt: Date;
|
93510
93248
|
updatedAt: Date;
|
93511
93249
|
deletedAt: Date | null;
|
@@ -93556,7 +93294,6 @@ export declare const platformContract: {
|
|
93556
93294
|
firstResponseTime: number;
|
93557
93295
|
lastMessage: string;
|
93558
93296
|
handleTime: number;
|
93559
|
-
closeAt: Date;
|
93560
93297
|
unreadCount: number;
|
93561
93298
|
firstResponseAt: Date;
|
93562
93299
|
isLatest: boolean;
|
@@ -93716,6 +93453,8 @@ export declare const platformContract: {
|
|
93716
93453
|
telephonySignature: string | null;
|
93717
93454
|
};
|
93718
93455
|
};
|
93456
|
+
closedAt: Date;
|
93457
|
+
lastMessageAt: Date | null;
|
93719
93458
|
cxlog: {
|
93720
93459
|
id: string;
|
93721
93460
|
channel: string | null;
|
@@ -93818,6 +93557,7 @@ export declare const platformContract: {
|
|
93818
93557
|
connectedUserId: string;
|
93819
93558
|
};
|
93820
93559
|
direction: "incoming" | "outgoing" | "system";
|
93560
|
+
status: number;
|
93821
93561
|
createdAt: Date;
|
93822
93562
|
updatedAt: Date;
|
93823
93563
|
deletedAt: Date | null;
|
@@ -93868,7 +93608,6 @@ export declare const platformContract: {
|
|
93868
93608
|
firstResponseTime: number;
|
93869
93609
|
lastMessage: string;
|
93870
93610
|
handleTime: number;
|
93871
|
-
closeAt: Date;
|
93872
93611
|
unreadCount: number;
|
93873
93612
|
firstResponseAt: Date;
|
93874
93613
|
isLatest: boolean;
|
@@ -94028,6 +93767,8 @@ export declare const platformContract: {
|
|
94028
93767
|
telephonySignature: string | null;
|
94029
93768
|
};
|
94030
93769
|
};
|
93770
|
+
closedAt: Date;
|
93771
|
+
lastMessageAt: Date | null;
|
94031
93772
|
cxlog: {
|
94032
93773
|
id: string;
|
94033
93774
|
channel: string | null;
|
@@ -95876,6 +95617,7 @@ export declare const platformContract: {
|
|
95876
95617
|
connectedUserId: string;
|
95877
95618
|
};
|
95878
95619
|
direction: "incoming" | "outgoing" | "system";
|
95620
|
+
status: number;
|
95879
95621
|
createdAt: Date;
|
95880
95622
|
updatedAt: Date;
|
95881
95623
|
deletedAt: Date | null;
|
@@ -95926,7 +95668,6 @@ export declare const platformContract: {
|
|
95926
95668
|
firstResponseTime: number;
|
95927
95669
|
lastMessage: string;
|
95928
95670
|
handleTime: number;
|
95929
|
-
closeAt: Date;
|
95930
95671
|
unreadCount: number;
|
95931
95672
|
firstResponseAt: Date;
|
95932
95673
|
isLatest: boolean;
|
@@ -96086,6 +95827,8 @@ export declare const platformContract: {
|
|
96086
95827
|
telephonySignature: string | null;
|
96087
95828
|
};
|
96088
95829
|
};
|
95830
|
+
closedAt: Date;
|
95831
|
+
lastMessageAt: Date | null;
|
96089
95832
|
cxlog: {
|
96090
95833
|
id: string;
|
96091
95834
|
channel: string | null;
|
@@ -96514,6 +96257,7 @@ export declare const platformContract: {
|
|
96514
96257
|
connectedUserId: string;
|
96515
96258
|
};
|
96516
96259
|
direction: "incoming" | "outgoing" | "system";
|
96260
|
+
status: number;
|
96517
96261
|
createdAt: Date;
|
96518
96262
|
updatedAt: Date;
|
96519
96263
|
deletedAt: Date | null;
|
@@ -96564,7 +96308,6 @@ export declare const platformContract: {
|
|
96564
96308
|
firstResponseTime: number;
|
96565
96309
|
lastMessage: string;
|
96566
96310
|
handleTime: number;
|
96567
|
-
closeAt: Date;
|
96568
96311
|
unreadCount: number;
|
96569
96312
|
firstResponseAt: Date;
|
96570
96313
|
isLatest: boolean;
|
@@ -96724,6 +96467,8 @@ export declare const platformContract: {
|
|
96724
96467
|
telephonySignature: string | null;
|
96725
96468
|
};
|
96726
96469
|
};
|
96470
|
+
closedAt: Date;
|
96471
|
+
lastMessageAt: Date | null;
|
96727
96472
|
cxlog: {
|
96728
96473
|
id: string;
|
96729
96474
|
channel: string | null;
|
@@ -97154,6 +96899,7 @@ export declare const platformContract: {
|
|
97154
96899
|
connectedUserId: string;
|
97155
96900
|
};
|
97156
96901
|
direction: "incoming" | "outgoing" | "system";
|
96902
|
+
status: number;
|
97157
96903
|
createdAt: Date;
|
97158
96904
|
updatedAt: Date;
|
97159
96905
|
deletedAt: Date | null;
|
@@ -97204,7 +96950,6 @@ export declare const platformContract: {
|
|
97204
96950
|
firstResponseTime: number;
|
97205
96951
|
lastMessage: string;
|
97206
96952
|
handleTime: number;
|
97207
|
-
closeAt: Date;
|
97208
96953
|
unreadCount: number;
|
97209
96954
|
firstResponseAt: Date;
|
97210
96955
|
isLatest: boolean;
|
@@ -97364,6 +97109,8 @@ export declare const platformContract: {
|
|
97364
97109
|
telephonySignature: string | null;
|
97365
97110
|
};
|
97366
97111
|
};
|
97112
|
+
closedAt: Date;
|
97113
|
+
lastMessageAt: Date | null;
|
97367
97114
|
cxlog: {
|
97368
97115
|
id: string;
|
97369
97116
|
channel: string | null;
|
@@ -97795,6 +97542,7 @@ export declare const platformContract: {
|
|
97795
97542
|
connectedUserId: string;
|
97796
97543
|
};
|
97797
97544
|
direction: "incoming" | "outgoing" | "system";
|
97545
|
+
status: number;
|
97798
97546
|
createdAt: Date;
|
97799
97547
|
updatedAt: Date;
|
97800
97548
|
deletedAt: Date | null;
|
@@ -97845,7 +97593,6 @@ export declare const platformContract: {
|
|
97845
97593
|
firstResponseTime: number;
|
97846
97594
|
lastMessage: string;
|
97847
97595
|
handleTime: number;
|
97848
|
-
closeAt: Date;
|
97849
97596
|
unreadCount: number;
|
97850
97597
|
firstResponseAt: Date;
|
97851
97598
|
isLatest: boolean;
|
@@ -98005,6 +97752,8 @@ export declare const platformContract: {
|
|
98005
97752
|
telephonySignature: string | null;
|
98006
97753
|
};
|
98007
97754
|
};
|
97755
|
+
closedAt: Date;
|
97756
|
+
lastMessageAt: Date | null;
|
98008
97757
|
cxlog: {
|
98009
97758
|
id: string;
|
98010
97759
|
channel: string | null;
|
@@ -99595,6 +99344,7 @@ export declare const platformContract: {
|
|
99595
99344
|
createdAt: import("zod").ZodString;
|
99596
99345
|
updatedAt: import("zod").ZodString;
|
99597
99346
|
platformContact: import("zod").ZodObject<{
|
99347
|
+
id: import("zod").ZodString;
|
99598
99348
|
channelId: import("zod").ZodString;
|
99599
99349
|
socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
|
99600
99350
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
@@ -99638,6 +99388,7 @@ export declare const platformContract: {
|
|
99638
99388
|
}>;
|
99639
99389
|
}, "strip", import("zod").ZodTypeAny, {
|
99640
99390
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99391
|
+
id: string;
|
99641
99392
|
metadata: {
|
99642
99393
|
id: string;
|
99643
99394
|
name: string;
|
@@ -99656,6 +99407,7 @@ export declare const platformContract: {
|
|
99656
99407
|
socialPlatformId: string | null;
|
99657
99408
|
}, {
|
99658
99409
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99410
|
+
id: string;
|
99659
99411
|
metadata: {
|
99660
99412
|
id: string;
|
99661
99413
|
name: string;
|
@@ -99674,21 +99426,37 @@ export declare const platformContract: {
|
|
99674
99426
|
socialPlatformId: string | null;
|
99675
99427
|
}>;
|
99676
99428
|
actor: import("zod").ZodNullable<import("zod").ZodObject<{
|
99429
|
+
id: import("zod").ZodString;
|
99677
99430
|
name: import("zod").ZodString;
|
99678
99431
|
email: import("zod").ZodString;
|
99679
99432
|
address: import("zod").ZodNullable<import("zod").ZodString>;
|
99680
99433
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
99681
99434
|
}, "strip", import("zod").ZodTypeAny, {
|
99435
|
+
id: string;
|
99682
99436
|
address: string | null;
|
99683
99437
|
name: string;
|
99684
99438
|
email: string;
|
99685
99439
|
phone: string | null;
|
99686
99440
|
}, {
|
99441
|
+
id: string;
|
99687
99442
|
address: string | null;
|
99688
99443
|
name: string;
|
99689
99444
|
email: string;
|
99690
99445
|
phone: string | null;
|
99691
99446
|
}>>;
|
99447
|
+
assignee: import("zod").ZodNullable<import("zod").ZodObject<{
|
99448
|
+
id: import("zod").ZodString;
|
99449
|
+
name: import("zod").ZodString;
|
99450
|
+
email: import("zod").ZodString;
|
99451
|
+
}, "strip", import("zod").ZodTypeAny, {
|
99452
|
+
id: string;
|
99453
|
+
name: string;
|
99454
|
+
email: string;
|
99455
|
+
}, {
|
99456
|
+
id: string;
|
99457
|
+
name: string;
|
99458
|
+
email: string;
|
99459
|
+
}>>;
|
99692
99460
|
channel: import("zod").ZodObject<{
|
99693
99461
|
id: import("zod").ZodString;
|
99694
99462
|
name: import("zod").ZodString;
|
@@ -99783,6 +99551,7 @@ export declare const platformContract: {
|
|
99783
99551
|
phone: string | null;
|
99784
99552
|
} | undefined;
|
99785
99553
|
}>;
|
99554
|
+
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
99786
99555
|
}, "strip", import("zod").ZodTypeAny, {
|
99787
99556
|
id: string;
|
99788
99557
|
channel: {
|
@@ -99813,6 +99582,7 @@ export declare const platformContract: {
|
|
99813
99582
|
createdAt: string;
|
99814
99583
|
updatedAt: string;
|
99815
99584
|
actor: {
|
99585
|
+
id: string;
|
99816
99586
|
address: string | null;
|
99817
99587
|
name: string;
|
99818
99588
|
email: string;
|
@@ -99821,6 +99591,7 @@ export declare const platformContract: {
|
|
99821
99591
|
isLatest: boolean;
|
99822
99592
|
platformContact: {
|
99823
99593
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99594
|
+
id: string;
|
99824
99595
|
metadata: {
|
99825
99596
|
id: string;
|
99826
99597
|
name: string;
|
@@ -99838,8 +99609,14 @@ export declare const platformContract: {
|
|
99838
99609
|
channelId: string;
|
99839
99610
|
socialPlatformId: string | null;
|
99840
99611
|
};
|
99612
|
+
assignee: {
|
99613
|
+
id: string;
|
99614
|
+
name: string;
|
99615
|
+
email: string;
|
99616
|
+
} | null;
|
99841
99617
|
lastMessage?: string | undefined;
|
99842
99618
|
handleTime?: number | undefined;
|
99619
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
99843
99620
|
}, {
|
99844
99621
|
id: string;
|
99845
99622
|
channel: {
|
@@ -99870,6 +99647,206 @@ export declare const platformContract: {
|
|
99870
99647
|
createdAt: string;
|
99871
99648
|
updatedAt: string;
|
99872
99649
|
actor: {
|
99650
|
+
id: string;
|
99651
|
+
address: string | null;
|
99652
|
+
name: string;
|
99653
|
+
email: string;
|
99654
|
+
phone: string | null;
|
99655
|
+
} | null;
|
99656
|
+
isLatest: boolean;
|
99657
|
+
platformContact: {
|
99658
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99659
|
+
id: string;
|
99660
|
+
metadata: {
|
99661
|
+
id: string;
|
99662
|
+
name: string;
|
99663
|
+
picture?: string | undefined;
|
99664
|
+
additionalCredentials?: any;
|
99665
|
+
};
|
99666
|
+
contact: {
|
99667
|
+
channel: string | null;
|
99668
|
+
address: string | null;
|
99669
|
+
name: string;
|
99670
|
+
notes: string | null;
|
99671
|
+
contactProfile: string | null;
|
99672
|
+
socialProfileUrl: string | null;
|
99673
|
+
};
|
99674
|
+
channelId: string;
|
99675
|
+
socialPlatformId: string | null;
|
99676
|
+
};
|
99677
|
+
assignee: {
|
99678
|
+
id: string;
|
99679
|
+
name: string;
|
99680
|
+
email: string;
|
99681
|
+
} | null;
|
99682
|
+
lastMessage?: string | undefined;
|
99683
|
+
handleTime?: number | undefined;
|
99684
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
99685
|
+
}>;
|
99686
|
+
message: import("zod").ZodObject<{
|
99687
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
99688
|
+
direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
|
99689
|
+
type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
99690
|
+
readAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
99691
|
+
metadata: import("zod").ZodOptional<import("zod").ZodAny>;
|
99692
|
+
platformId: import("zod").ZodOptional<import("zod").ZodString>;
|
99693
|
+
platformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
99694
|
+
replyPlatformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
99695
|
+
template: import("zod").ZodOptional<import("zod").ZodAny>;
|
99696
|
+
locale: import("zod").ZodOptional<import("zod").ZodEnum<["mm", "en", "th", ""]>>;
|
99697
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
99698
|
+
previewUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
99699
|
+
imageSetId: import("zod").ZodOptional<import("zod").ZodString>;
|
99700
|
+
upload: import("zod").ZodOptional<import("zod").ZodObject<{
|
99701
|
+
bucketName: import("zod").ZodString;
|
99702
|
+
fileName: import("zod").ZodString;
|
99703
|
+
fileSize: import("zod").ZodNumber;
|
99704
|
+
fileKey: import("zod").ZodString;
|
99705
|
+
}, "strip", import("zod").ZodTypeAny, {
|
99706
|
+
fileName: string;
|
99707
|
+
fileKey: string;
|
99708
|
+
bucketName: string;
|
99709
|
+
fileSize: number;
|
99710
|
+
}, {
|
99711
|
+
fileName: string;
|
99712
|
+
fileKey: string;
|
99713
|
+
bucketName: string;
|
99714
|
+
fileSize: number;
|
99715
|
+
}>>;
|
99716
|
+
sender: import("zod").ZodObject<{
|
99717
|
+
id: import("zod").ZodString;
|
99718
|
+
name: import("zod").ZodString;
|
99719
|
+
email: import("zod").ZodString;
|
99720
|
+
address: import("zod").ZodNullable<import("zod").ZodString>;
|
99721
|
+
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
99722
|
+
}, "strip", import("zod").ZodTypeAny, {
|
99723
|
+
id: string;
|
99724
|
+
address: string | null;
|
99725
|
+
name: string;
|
99726
|
+
email: string;
|
99727
|
+
phone: string | null;
|
99728
|
+
}, {
|
99729
|
+
id: string;
|
99730
|
+
address: string | null;
|
99731
|
+
name: string;
|
99732
|
+
email: string;
|
99733
|
+
phone: string | null;
|
99734
|
+
}>;
|
99735
|
+
}, "strip", import("zod").ZodTypeAny, {
|
99736
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
99737
|
+
direction: "incoming" | "outgoing" | "system";
|
99738
|
+
sender: {
|
99739
|
+
id: string;
|
99740
|
+
address: string | null;
|
99741
|
+
name: string;
|
99742
|
+
email: string;
|
99743
|
+
phone: string | null;
|
99744
|
+
};
|
99745
|
+
message?: string | undefined;
|
99746
|
+
readAt?: Date | undefined;
|
99747
|
+
metadata?: any;
|
99748
|
+
platformId?: string | undefined;
|
99749
|
+
platformMessageId?: string | undefined;
|
99750
|
+
replyPlatformMessageId?: string | undefined;
|
99751
|
+
template?: any;
|
99752
|
+
locale?: "" | "th" | "mm" | "en" | undefined;
|
99753
|
+
url?: string | undefined;
|
99754
|
+
previewUrl?: string | undefined;
|
99755
|
+
imageSetId?: string | undefined;
|
99756
|
+
upload?: {
|
99757
|
+
fileName: string;
|
99758
|
+
fileKey: string;
|
99759
|
+
bucketName: string;
|
99760
|
+
fileSize: number;
|
99761
|
+
} | undefined;
|
99762
|
+
}, {
|
99763
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
99764
|
+
direction: "incoming" | "outgoing" | "system";
|
99765
|
+
sender: {
|
99766
|
+
id: string;
|
99767
|
+
address: string | null;
|
99768
|
+
name: string;
|
99769
|
+
email: string;
|
99770
|
+
phone: string | null;
|
99771
|
+
};
|
99772
|
+
message?: string | undefined;
|
99773
|
+
readAt?: Date | undefined;
|
99774
|
+
metadata?: any;
|
99775
|
+
platformId?: string | undefined;
|
99776
|
+
platformMessageId?: string | undefined;
|
99777
|
+
replyPlatformMessageId?: string | undefined;
|
99778
|
+
template?: any;
|
99779
|
+
locale?: "" | "th" | "mm" | "en" | undefined;
|
99780
|
+
url?: string | undefined;
|
99781
|
+
previewUrl?: string | undefined;
|
99782
|
+
imageSetId?: string | undefined;
|
99783
|
+
upload?: {
|
99784
|
+
fileName: string;
|
99785
|
+
fileKey: string;
|
99786
|
+
bucketName: string;
|
99787
|
+
fileSize: number;
|
99788
|
+
} | undefined;
|
99789
|
+
}>;
|
99790
|
+
}, "strip", import("zod").ZodTypeAny, {
|
99791
|
+
message: {
|
99792
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
99793
|
+
direction: "incoming" | "outgoing" | "system";
|
99794
|
+
sender: {
|
99795
|
+
id: string;
|
99796
|
+
address: string | null;
|
99797
|
+
name: string;
|
99798
|
+
email: string;
|
99799
|
+
phone: string | null;
|
99800
|
+
};
|
99801
|
+
message?: string | undefined;
|
99802
|
+
readAt?: Date | undefined;
|
99803
|
+
metadata?: any;
|
99804
|
+
platformId?: string | undefined;
|
99805
|
+
platformMessageId?: string | undefined;
|
99806
|
+
replyPlatformMessageId?: string | undefined;
|
99807
|
+
template?: any;
|
99808
|
+
locale?: "" | "th" | "mm" | "en" | undefined;
|
99809
|
+
url?: string | undefined;
|
99810
|
+
previewUrl?: string | undefined;
|
99811
|
+
imageSetId?: string | undefined;
|
99812
|
+
upload?: {
|
99813
|
+
fileName: string;
|
99814
|
+
fileKey: string;
|
99815
|
+
bucketName: string;
|
99816
|
+
fileSize: number;
|
99817
|
+
} | undefined;
|
99818
|
+
};
|
99819
|
+
room: {
|
99820
|
+
id: string;
|
99821
|
+
channel: {
|
99822
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99823
|
+
id: string;
|
99824
|
+
name: string;
|
99825
|
+
metadata: {
|
99826
|
+
id: string;
|
99827
|
+
name: string;
|
99828
|
+
accessToken: string;
|
99829
|
+
channelSecret?: string | undefined;
|
99830
|
+
additionalCredentials?: any;
|
99831
|
+
};
|
99832
|
+
status: boolean;
|
99833
|
+
brandName: string;
|
99834
|
+
platformId: string;
|
99835
|
+
connectedUserName?: string | null | undefined;
|
99836
|
+
connectedUserId?: string | null | undefined;
|
99837
|
+
actor?: {
|
99838
|
+
id: string;
|
99839
|
+
address: string | null;
|
99840
|
+
name: string;
|
99841
|
+
email: string;
|
99842
|
+
phone: string | null;
|
99843
|
+
} | undefined;
|
99844
|
+
};
|
99845
|
+
direction: "incoming" | "outgoing" | "system";
|
99846
|
+
createdAt: string;
|
99847
|
+
updatedAt: string;
|
99848
|
+
actor: {
|
99849
|
+
id: string;
|
99873
99850
|
address: string | null;
|
99874
99851
|
name: string;
|
99875
99852
|
email: string;
|
@@ -99878,6 +99855,7 @@ export declare const platformContract: {
|
|
99878
99855
|
isLatest: boolean;
|
99879
99856
|
platformContact: {
|
99880
99857
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99858
|
+
id: string;
|
99881
99859
|
metadata: {
|
99882
99860
|
id: string;
|
99883
99861
|
name: string;
|
@@ -99895,199 +99873,14 @@ export declare const platformContract: {
|
|
99895
99873
|
channelId: string;
|
99896
99874
|
socialPlatformId: string | null;
|
99897
99875
|
};
|
99898
|
-
|
99899
|
-
handleTime?: number | undefined;
|
99900
|
-
}>;
|
99901
|
-
message: import("zod").ZodObject<{
|
99902
|
-
message: import("zod").ZodOptional<import("zod").ZodString>;
|
99903
|
-
direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
|
99904
|
-
type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
99905
|
-
readAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
99906
|
-
metadata: import("zod").ZodOptional<import("zod").ZodAny>;
|
99907
|
-
platformId: import("zod").ZodOptional<import("zod").ZodString>;
|
99908
|
-
platformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
99909
|
-
replyPlatformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
|
99910
|
-
template: import("zod").ZodOptional<import("zod").ZodAny>;
|
99911
|
-
locale: import("zod").ZodOptional<import("zod").ZodEnum<["mm", "en", "th", ""]>>;
|
99912
|
-
url: import("zod").ZodOptional<import("zod").ZodString>;
|
99913
|
-
previewUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
99914
|
-
imageSetId: import("zod").ZodOptional<import("zod").ZodString>;
|
99915
|
-
upload: import("zod").ZodOptional<import("zod").ZodObject<{
|
99916
|
-
bucketName: import("zod").ZodString;
|
99917
|
-
fileName: import("zod").ZodString;
|
99918
|
-
fileSize: import("zod").ZodNumber;
|
99919
|
-
fileKey: import("zod").ZodString;
|
99920
|
-
}, "strip", import("zod").ZodTypeAny, {
|
99921
|
-
fileName: string;
|
99922
|
-
fileKey: string;
|
99923
|
-
bucketName: string;
|
99924
|
-
fileSize: number;
|
99925
|
-
}, {
|
99926
|
-
fileName: string;
|
99927
|
-
fileKey: string;
|
99928
|
-
bucketName: string;
|
99929
|
-
fileSize: number;
|
99930
|
-
}>>;
|
99931
|
-
sender: import("zod").ZodObject<{
|
99932
|
-
id: import("zod").ZodString;
|
99933
|
-
name: import("zod").ZodString;
|
99934
|
-
email: import("zod").ZodString;
|
99935
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
99936
|
-
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
99937
|
-
}, "strip", import("zod").ZodTypeAny, {
|
99876
|
+
assignee: {
|
99938
99877
|
id: string;
|
99939
|
-
address: string | null;
|
99940
99878
|
name: string;
|
99941
99879
|
email: string;
|
99942
|
-
phone: string | null;
|
99943
|
-
}, {
|
99944
|
-
id: string;
|
99945
|
-
address: string | null;
|
99946
|
-
name: string;
|
99947
|
-
email: string;
|
99948
|
-
phone: string | null;
|
99949
|
-
}>;
|
99950
|
-
}, "strip", import("zod").ZodTypeAny, {
|
99951
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
99952
|
-
direction: "incoming" | "outgoing" | "system";
|
99953
|
-
sender: {
|
99954
|
-
id: string;
|
99955
|
-
address: string | null;
|
99956
|
-
name: string;
|
99957
|
-
email: string;
|
99958
|
-
phone: string | null;
|
99959
|
-
};
|
99960
|
-
message?: string | undefined;
|
99961
|
-
readAt?: Date | undefined;
|
99962
|
-
metadata?: any;
|
99963
|
-
platformId?: string | undefined;
|
99964
|
-
platformMessageId?: string | undefined;
|
99965
|
-
replyPlatformMessageId?: string | undefined;
|
99966
|
-
template?: any;
|
99967
|
-
locale?: "" | "th" | "mm" | "en" | undefined;
|
99968
|
-
url?: string | undefined;
|
99969
|
-
previewUrl?: string | undefined;
|
99970
|
-
imageSetId?: string | undefined;
|
99971
|
-
upload?: {
|
99972
|
-
fileName: string;
|
99973
|
-
fileKey: string;
|
99974
|
-
bucketName: string;
|
99975
|
-
fileSize: number;
|
99976
|
-
} | undefined;
|
99977
|
-
}, {
|
99978
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
99979
|
-
direction: "incoming" | "outgoing" | "system";
|
99980
|
-
sender: {
|
99981
|
-
id: string;
|
99982
|
-
address: string | null;
|
99983
|
-
name: string;
|
99984
|
-
email: string;
|
99985
|
-
phone: string | null;
|
99986
|
-
};
|
99987
|
-
message?: string | undefined;
|
99988
|
-
readAt?: Date | undefined;
|
99989
|
-
metadata?: any;
|
99990
|
-
platformId?: string | undefined;
|
99991
|
-
platformMessageId?: string | undefined;
|
99992
|
-
replyPlatformMessageId?: string | undefined;
|
99993
|
-
template?: any;
|
99994
|
-
locale?: "" | "th" | "mm" | "en" | undefined;
|
99995
|
-
url?: string | undefined;
|
99996
|
-
previewUrl?: string | undefined;
|
99997
|
-
imageSetId?: string | undefined;
|
99998
|
-
upload?: {
|
99999
|
-
fileName: string;
|
100000
|
-
fileKey: string;
|
100001
|
-
bucketName: string;
|
100002
|
-
fileSize: number;
|
100003
|
-
} | undefined;
|
100004
|
-
}>;
|
100005
|
-
}, "strip", import("zod").ZodTypeAny, {
|
100006
|
-
message: {
|
100007
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
100008
|
-
direction: "incoming" | "outgoing" | "system";
|
100009
|
-
sender: {
|
100010
|
-
id: string;
|
100011
|
-
address: string | null;
|
100012
|
-
name: string;
|
100013
|
-
email: string;
|
100014
|
-
phone: string | null;
|
100015
|
-
};
|
100016
|
-
message?: string | undefined;
|
100017
|
-
readAt?: Date | undefined;
|
100018
|
-
metadata?: any;
|
100019
|
-
platformId?: string | undefined;
|
100020
|
-
platformMessageId?: string | undefined;
|
100021
|
-
replyPlatformMessageId?: string | undefined;
|
100022
|
-
template?: any;
|
100023
|
-
locale?: "" | "th" | "mm" | "en" | undefined;
|
100024
|
-
url?: string | undefined;
|
100025
|
-
previewUrl?: string | undefined;
|
100026
|
-
imageSetId?: string | undefined;
|
100027
|
-
upload?: {
|
100028
|
-
fileName: string;
|
100029
|
-
fileKey: string;
|
100030
|
-
bucketName: string;
|
100031
|
-
fileSize: number;
|
100032
|
-
} | undefined;
|
100033
|
-
};
|
100034
|
-
room: {
|
100035
|
-
id: string;
|
100036
|
-
channel: {
|
100037
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
100038
|
-
id: string;
|
100039
|
-
name: string;
|
100040
|
-
metadata: {
|
100041
|
-
id: string;
|
100042
|
-
name: string;
|
100043
|
-
accessToken: string;
|
100044
|
-
channelSecret?: string | undefined;
|
100045
|
-
additionalCredentials?: any;
|
100046
|
-
};
|
100047
|
-
status: boolean;
|
100048
|
-
brandName: string;
|
100049
|
-
platformId: string;
|
100050
|
-
connectedUserName?: string | null | undefined;
|
100051
|
-
connectedUserId?: string | null | undefined;
|
100052
|
-
actor?: {
|
100053
|
-
id: string;
|
100054
|
-
address: string | null;
|
100055
|
-
name: string;
|
100056
|
-
email: string;
|
100057
|
-
phone: string | null;
|
100058
|
-
} | undefined;
|
100059
|
-
};
|
100060
|
-
direction: "incoming" | "outgoing" | "system";
|
100061
|
-
createdAt: string;
|
100062
|
-
updatedAt: string;
|
100063
|
-
actor: {
|
100064
|
-
address: string | null;
|
100065
|
-
name: string;
|
100066
|
-
email: string;
|
100067
|
-
phone: string | null;
|
100068
99880
|
} | null;
|
100069
|
-
isLatest: boolean;
|
100070
|
-
platformContact: {
|
100071
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
100072
|
-
metadata: {
|
100073
|
-
id: string;
|
100074
|
-
name: string;
|
100075
|
-
picture?: string | undefined;
|
100076
|
-
additionalCredentials?: any;
|
100077
|
-
};
|
100078
|
-
contact: {
|
100079
|
-
channel: string | null;
|
100080
|
-
address: string | null;
|
100081
|
-
name: string;
|
100082
|
-
notes: string | null;
|
100083
|
-
contactProfile: string | null;
|
100084
|
-
socialProfileUrl: string | null;
|
100085
|
-
};
|
100086
|
-
channelId: string;
|
100087
|
-
socialPlatformId: string | null;
|
100088
|
-
};
|
100089
99881
|
lastMessage?: string | undefined;
|
100090
99882
|
handleTime?: number | undefined;
|
99883
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
100091
99884
|
};
|
100092
99885
|
}, {
|
100093
99886
|
message: {
|
@@ -100148,6 +99941,7 @@ export declare const platformContract: {
|
|
100148
99941
|
createdAt: string;
|
100149
99942
|
updatedAt: string;
|
100150
99943
|
actor: {
|
99944
|
+
id: string;
|
100151
99945
|
address: string | null;
|
100152
99946
|
name: string;
|
100153
99947
|
email: string;
|
@@ -100156,6 +99950,7 @@ export declare const platformContract: {
|
|
100156
99950
|
isLatest: boolean;
|
100157
99951
|
platformContact: {
|
100158
99952
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
99953
|
+
id: string;
|
100159
99954
|
metadata: {
|
100160
99955
|
id: string;
|
100161
99956
|
name: string;
|
@@ -100173,8 +99968,14 @@ export declare const platformContract: {
|
|
100173
99968
|
channelId: string;
|
100174
99969
|
socialPlatformId: string | null;
|
100175
99970
|
};
|
99971
|
+
assignee: {
|
99972
|
+
id: string;
|
99973
|
+
name: string;
|
99974
|
+
email: string;
|
99975
|
+
} | null;
|
100176
99976
|
lastMessage?: string | undefined;
|
100177
99977
|
handleTime?: number | undefined;
|
99978
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
100178
99979
|
};
|
100179
99980
|
}>;
|
100180
99981
|
method: "POST";
|
@@ -100206,7 +100007,9 @@ export declare const platformContract: {
|
|
100206
100007
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
100207
100008
|
lastMessage: import("zod").ZodString;
|
100208
100009
|
handleTime: import("zod").ZodNumber;
|
100209
|
-
|
100010
|
+
closedAt: import("zod").ZodDate;
|
100011
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
100012
|
+
status: import("zod").ZodNumber;
|
100210
100013
|
unreadCount: import("zod").ZodNumber;
|
100211
100014
|
firstResponseAt: import("zod").ZodDate;
|
100212
100015
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -102131,6 +101934,7 @@ export declare const platformContract: {
|
|
102131
101934
|
connectedUserId: string;
|
102132
101935
|
};
|
102133
101936
|
direction: "incoming" | "outgoing" | "system";
|
101937
|
+
status: number;
|
102134
101938
|
createdAt: Date;
|
102135
101939
|
updatedAt: Date;
|
102136
101940
|
deletedAt: Date | null;
|
@@ -102181,7 +101985,6 @@ export declare const platformContract: {
|
|
102181
101985
|
firstResponseTime: number;
|
102182
101986
|
lastMessage: string;
|
102183
101987
|
handleTime: number;
|
102184
|
-
closeAt: Date;
|
102185
101988
|
unreadCount: number;
|
102186
101989
|
firstResponseAt: Date;
|
102187
101990
|
isLatest: boolean;
|
@@ -102341,6 +102144,8 @@ export declare const platformContract: {
|
|
102341
102144
|
telephonySignature: string | null;
|
102342
102145
|
};
|
102343
102146
|
};
|
102147
|
+
closedAt: Date;
|
102148
|
+
lastMessageAt: Date | null;
|
102344
102149
|
cxlog: {
|
102345
102150
|
id: string;
|
102346
102151
|
channel: string | null;
|
@@ -102443,6 +102248,7 @@ export declare const platformContract: {
|
|
102443
102248
|
connectedUserId: string;
|
102444
102249
|
};
|
102445
102250
|
direction: "incoming" | "outgoing" | "system";
|
102251
|
+
status: number;
|
102446
102252
|
createdAt: Date;
|
102447
102253
|
updatedAt: Date;
|
102448
102254
|
deletedAt: Date | null;
|
@@ -102493,7 +102299,6 @@ export declare const platformContract: {
|
|
102493
102299
|
firstResponseTime: number;
|
102494
102300
|
lastMessage: string;
|
102495
102301
|
handleTime: number;
|
102496
|
-
closeAt: Date;
|
102497
102302
|
unreadCount: number;
|
102498
102303
|
firstResponseAt: Date;
|
102499
102304
|
isLatest: boolean;
|
@@ -102653,6 +102458,8 @@ export declare const platformContract: {
|
|
102653
102458
|
telephonySignature: string | null;
|
102654
102459
|
};
|
102655
102460
|
};
|
102461
|
+
closedAt: Date;
|
102462
|
+
lastMessageAt: Date | null;
|
102656
102463
|
cxlog: {
|
102657
102464
|
id: string;
|
102658
102465
|
channel: string | null;
|
@@ -104501,6 +104308,7 @@ export declare const platformContract: {
|
|
104501
104308
|
connectedUserId: string;
|
104502
104309
|
};
|
104503
104310
|
direction: "incoming" | "outgoing" | "system";
|
104311
|
+
status: number;
|
104504
104312
|
createdAt: Date;
|
104505
104313
|
updatedAt: Date;
|
104506
104314
|
deletedAt: Date | null;
|
@@ -104551,7 +104359,6 @@ export declare const platformContract: {
|
|
104551
104359
|
firstResponseTime: number;
|
104552
104360
|
lastMessage: string;
|
104553
104361
|
handleTime: number;
|
104554
|
-
closeAt: Date;
|
104555
104362
|
unreadCount: number;
|
104556
104363
|
firstResponseAt: Date;
|
104557
104364
|
isLatest: boolean;
|
@@ -104711,6 +104518,8 @@ export declare const platformContract: {
|
|
104711
104518
|
telephonySignature: string | null;
|
104712
104519
|
};
|
104713
104520
|
};
|
104521
|
+
closedAt: Date;
|
104522
|
+
lastMessageAt: Date | null;
|
104714
104523
|
cxlog: {
|
104715
104524
|
id: string;
|
104716
104525
|
channel: string | null;
|
@@ -105139,6 +104948,7 @@ export declare const platformContract: {
|
|
105139
104948
|
connectedUserId: string;
|
105140
104949
|
};
|
105141
104950
|
direction: "incoming" | "outgoing" | "system";
|
104951
|
+
status: number;
|
105142
104952
|
createdAt: Date;
|
105143
104953
|
updatedAt: Date;
|
105144
104954
|
deletedAt: Date | null;
|
@@ -105189,7 +104999,6 @@ export declare const platformContract: {
|
|
105189
104999
|
firstResponseTime: number;
|
105190
105000
|
lastMessage: string;
|
105191
105001
|
handleTime: number;
|
105192
|
-
closeAt: Date;
|
105193
105002
|
unreadCount: number;
|
105194
105003
|
firstResponseAt: Date;
|
105195
105004
|
isLatest: boolean;
|
@@ -105349,6 +105158,8 @@ export declare const platformContract: {
|
|
105349
105158
|
telephonySignature: string | null;
|
105350
105159
|
};
|
105351
105160
|
};
|
105161
|
+
closedAt: Date;
|
105162
|
+
lastMessageAt: Date | null;
|
105352
105163
|
cxlog: {
|
105353
105164
|
id: string;
|
105354
105165
|
channel: string | null;
|
@@ -105779,6 +105590,7 @@ export declare const platformContract: {
|
|
105779
105590
|
connectedUserId: string;
|
105780
105591
|
};
|
105781
105592
|
direction: "incoming" | "outgoing" | "system";
|
105593
|
+
status: number;
|
105782
105594
|
createdAt: Date;
|
105783
105595
|
updatedAt: Date;
|
105784
105596
|
deletedAt: Date | null;
|
@@ -105829,7 +105641,6 @@ export declare const platformContract: {
|
|
105829
105641
|
firstResponseTime: number;
|
105830
105642
|
lastMessage: string;
|
105831
105643
|
handleTime: number;
|
105832
|
-
closeAt: Date;
|
105833
105644
|
unreadCount: number;
|
105834
105645
|
firstResponseAt: Date;
|
105835
105646
|
isLatest: boolean;
|
@@ -105989,6 +105800,8 @@ export declare const platformContract: {
|
|
105989
105800
|
telephonySignature: string | null;
|
105990
105801
|
};
|
105991
105802
|
};
|
105803
|
+
closedAt: Date;
|
105804
|
+
lastMessageAt: Date | null;
|
105992
105805
|
cxlog: {
|
105993
105806
|
id: string;
|
105994
105807
|
channel: string | null;
|
@@ -106420,6 +106233,7 @@ export declare const platformContract: {
|
|
106420
106233
|
connectedUserId: string;
|
106421
106234
|
};
|
106422
106235
|
direction: "incoming" | "outgoing" | "system";
|
106236
|
+
status: number;
|
106423
106237
|
createdAt: Date;
|
106424
106238
|
updatedAt: Date;
|
106425
106239
|
deletedAt: Date | null;
|
@@ -106470,7 +106284,6 @@ export declare const platformContract: {
|
|
106470
106284
|
firstResponseTime: number;
|
106471
106285
|
lastMessage: string;
|
106472
106286
|
handleTime: number;
|
106473
|
-
closeAt: Date;
|
106474
106287
|
unreadCount: number;
|
106475
106288
|
firstResponseAt: Date;
|
106476
106289
|
isLatest: boolean;
|
@@ -106630,6 +106443,8 @@ export declare const platformContract: {
|
|
106630
106443
|
telephonySignature: string | null;
|
106631
106444
|
};
|
106632
106445
|
};
|
106446
|
+
closedAt: Date;
|
106447
|
+
lastMessageAt: Date | null;
|
106633
106448
|
cxlog: {
|
106634
106449
|
id: string;
|
106635
106450
|
channel: string | null;
|
@@ -109310,6 +109125,7 @@ export declare const platformContract: {
|
|
109310
109125
|
createdAt: import("zod").ZodString;
|
109311
109126
|
updatedAt: import("zod").ZodString;
|
109312
109127
|
platformContact: import("zod").ZodObject<{
|
109128
|
+
id: import("zod").ZodString;
|
109313
109129
|
channelId: import("zod").ZodString;
|
109314
109130
|
socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
|
109315
109131
|
type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
@@ -109353,6 +109169,7 @@ export declare const platformContract: {
|
|
109353
109169
|
}>;
|
109354
109170
|
}, "strip", import("zod").ZodTypeAny, {
|
109355
109171
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109172
|
+
id: string;
|
109356
109173
|
metadata: {
|
109357
109174
|
id: string;
|
109358
109175
|
name: string;
|
@@ -109371,6 +109188,7 @@ export declare const platformContract: {
|
|
109371
109188
|
socialPlatformId: string | null;
|
109372
109189
|
}, {
|
109373
109190
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109191
|
+
id: string;
|
109374
109192
|
metadata: {
|
109375
109193
|
id: string;
|
109376
109194
|
name: string;
|
@@ -109389,21 +109207,37 @@ export declare const platformContract: {
|
|
109389
109207
|
socialPlatformId: string | null;
|
109390
109208
|
}>;
|
109391
109209
|
actor: import("zod").ZodNullable<import("zod").ZodObject<{
|
109210
|
+
id: import("zod").ZodString;
|
109392
109211
|
name: import("zod").ZodString;
|
109393
109212
|
email: import("zod").ZodString;
|
109394
109213
|
address: import("zod").ZodNullable<import("zod").ZodString>;
|
109395
109214
|
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
109396
109215
|
}, "strip", import("zod").ZodTypeAny, {
|
109216
|
+
id: string;
|
109397
109217
|
address: string | null;
|
109398
109218
|
name: string;
|
109399
109219
|
email: string;
|
109400
109220
|
phone: string | null;
|
109401
109221
|
}, {
|
109222
|
+
id: string;
|
109402
109223
|
address: string | null;
|
109403
109224
|
name: string;
|
109404
109225
|
email: string;
|
109405
109226
|
phone: string | null;
|
109406
109227
|
}>>;
|
109228
|
+
assignee: import("zod").ZodNullable<import("zod").ZodObject<{
|
109229
|
+
id: import("zod").ZodString;
|
109230
|
+
name: import("zod").ZodString;
|
109231
|
+
email: import("zod").ZodString;
|
109232
|
+
}, "strip", import("zod").ZodTypeAny, {
|
109233
|
+
id: string;
|
109234
|
+
name: string;
|
109235
|
+
email: string;
|
109236
|
+
}, {
|
109237
|
+
id: string;
|
109238
|
+
name: string;
|
109239
|
+
email: string;
|
109240
|
+
}>>;
|
109407
109241
|
channel: import("zod").ZodObject<{
|
109408
109242
|
id: import("zod").ZodString;
|
109409
109243
|
name: import("zod").ZodString;
|
@@ -109498,6 +109332,7 @@ export declare const platformContract: {
|
|
109498
109332
|
phone: string | null;
|
109499
109333
|
} | undefined;
|
109500
109334
|
}>;
|
109335
|
+
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
109501
109336
|
}, "strip", import("zod").ZodTypeAny, {
|
109502
109337
|
id: string;
|
109503
109338
|
channel: {
|
@@ -109528,6 +109363,7 @@ export declare const platformContract: {
|
|
109528
109363
|
createdAt: string;
|
109529
109364
|
updatedAt: string;
|
109530
109365
|
actor: {
|
109366
|
+
id: string;
|
109531
109367
|
address: string | null;
|
109532
109368
|
name: string;
|
109533
109369
|
email: string;
|
@@ -109536,6 +109372,7 @@ export declare const platformContract: {
|
|
109536
109372
|
isLatest: boolean;
|
109537
109373
|
platformContact: {
|
109538
109374
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109375
|
+
id: string;
|
109539
109376
|
metadata: {
|
109540
109377
|
id: string;
|
109541
109378
|
name: string;
|
@@ -109553,8 +109390,14 @@ export declare const platformContract: {
|
|
109553
109390
|
channelId: string;
|
109554
109391
|
socialPlatformId: string | null;
|
109555
109392
|
};
|
109393
|
+
assignee: {
|
109394
|
+
id: string;
|
109395
|
+
name: string;
|
109396
|
+
email: string;
|
109397
|
+
} | null;
|
109556
109398
|
lastMessage?: string | undefined;
|
109557
109399
|
handleTime?: number | undefined;
|
109400
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
109558
109401
|
}, {
|
109559
109402
|
id: string;
|
109560
109403
|
channel: {
|
@@ -109585,6 +109428,7 @@ export declare const platformContract: {
|
|
109585
109428
|
createdAt: string;
|
109586
109429
|
updatedAt: string;
|
109587
109430
|
actor: {
|
109431
|
+
id: string;
|
109588
109432
|
address: string | null;
|
109589
109433
|
name: string;
|
109590
109434
|
email: string;
|
@@ -109593,6 +109437,7 @@ export declare const platformContract: {
|
|
109593
109437
|
isLatest: boolean;
|
109594
109438
|
platformContact: {
|
109595
109439
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109440
|
+
id: string;
|
109596
109441
|
metadata: {
|
109597
109442
|
id: string;
|
109598
109443
|
name: string;
|
@@ -109610,8 +109455,14 @@ export declare const platformContract: {
|
|
109610
109455
|
channelId: string;
|
109611
109456
|
socialPlatformId: string | null;
|
109612
109457
|
};
|
109458
|
+
assignee: {
|
109459
|
+
id: string;
|
109460
|
+
name: string;
|
109461
|
+
email: string;
|
109462
|
+
} | null;
|
109613
109463
|
lastMessage?: string | undefined;
|
109614
109464
|
handleTime?: number | undefined;
|
109465
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
109615
109466
|
}>;
|
109616
109467
|
message: import("zod").ZodObject<{
|
109617
109468
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
@@ -109776,6 +109627,7 @@ export declare const platformContract: {
|
|
109776
109627
|
createdAt: string;
|
109777
109628
|
updatedAt: string;
|
109778
109629
|
actor: {
|
109630
|
+
id: string;
|
109779
109631
|
address: string | null;
|
109780
109632
|
name: string;
|
109781
109633
|
email: string;
|
@@ -109784,6 +109636,7 @@ export declare const platformContract: {
|
|
109784
109636
|
isLatest: boolean;
|
109785
109637
|
platformContact: {
|
109786
109638
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109639
|
+
id: string;
|
109787
109640
|
metadata: {
|
109788
109641
|
id: string;
|
109789
109642
|
name: string;
|
@@ -109801,8 +109654,14 @@ export declare const platformContract: {
|
|
109801
109654
|
channelId: string;
|
109802
109655
|
socialPlatformId: string | null;
|
109803
109656
|
};
|
109657
|
+
assignee: {
|
109658
|
+
id: string;
|
109659
|
+
name: string;
|
109660
|
+
email: string;
|
109661
|
+
} | null;
|
109804
109662
|
lastMessage?: string | undefined;
|
109805
109663
|
handleTime?: number | undefined;
|
109664
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
109806
109665
|
};
|
109807
109666
|
}, {
|
109808
109667
|
message: {
|
@@ -109863,6 +109722,7 @@ export declare const platformContract: {
|
|
109863
109722
|
createdAt: string;
|
109864
109723
|
updatedAt: string;
|
109865
109724
|
actor: {
|
109725
|
+
id: string;
|
109866
109726
|
address: string | null;
|
109867
109727
|
name: string;
|
109868
109728
|
email: string;
|
@@ -109871,6 +109731,7 @@ export declare const platformContract: {
|
|
109871
109731
|
isLatest: boolean;
|
109872
109732
|
platformContact: {
|
109873
109733
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
109734
|
+
id: string;
|
109874
109735
|
metadata: {
|
109875
109736
|
id: string;
|
109876
109737
|
name: string;
|
@@ -109888,8 +109749,14 @@ export declare const platformContract: {
|
|
109888
109749
|
channelId: string;
|
109889
109750
|
socialPlatformId: string | null;
|
109890
109751
|
};
|
109752
|
+
assignee: {
|
109753
|
+
id: string;
|
109754
|
+
name: string;
|
109755
|
+
email: string;
|
109756
|
+
} | null;
|
109891
109757
|
lastMessage?: string | undefined;
|
109892
109758
|
handleTime?: number | undefined;
|
109759
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
109893
109760
|
};
|
109894
109761
|
}>;
|
109895
109762
|
method: "POST";
|
@@ -109921,7 +109788,9 @@ export declare const platformContract: {
|
|
109921
109788
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
109922
109789
|
lastMessage: import("zod").ZodString;
|
109923
109790
|
handleTime: import("zod").ZodNumber;
|
109924
|
-
|
109791
|
+
closedAt: import("zod").ZodDate;
|
109792
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
109793
|
+
status: import("zod").ZodNumber;
|
109925
109794
|
unreadCount: import("zod").ZodNumber;
|
109926
109795
|
firstResponseAt: import("zod").ZodDate;
|
109927
109796
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -111846,6 +111715,7 @@ export declare const platformContract: {
|
|
111846
111715
|
connectedUserId: string;
|
111847
111716
|
};
|
111848
111717
|
direction: "incoming" | "outgoing" | "system";
|
111718
|
+
status: number;
|
111849
111719
|
createdAt: Date;
|
111850
111720
|
updatedAt: Date;
|
111851
111721
|
deletedAt: Date | null;
|
@@ -111896,7 +111766,6 @@ export declare const platformContract: {
|
|
111896
111766
|
firstResponseTime: number;
|
111897
111767
|
lastMessage: string;
|
111898
111768
|
handleTime: number;
|
111899
|
-
closeAt: Date;
|
111900
111769
|
unreadCount: number;
|
111901
111770
|
firstResponseAt: Date;
|
111902
111771
|
isLatest: boolean;
|
@@ -112056,6 +111925,8 @@ export declare const platformContract: {
|
|
112056
111925
|
telephonySignature: string | null;
|
112057
111926
|
};
|
112058
111927
|
};
|
111928
|
+
closedAt: Date;
|
111929
|
+
lastMessageAt: Date | null;
|
112059
111930
|
cxlog: {
|
112060
111931
|
id: string;
|
112061
111932
|
channel: string | null;
|
@@ -112158,6 +112029,7 @@ export declare const platformContract: {
|
|
112158
112029
|
connectedUserId: string;
|
112159
112030
|
};
|
112160
112031
|
direction: "incoming" | "outgoing" | "system";
|
112032
|
+
status: number;
|
112161
112033
|
createdAt: Date;
|
112162
112034
|
updatedAt: Date;
|
112163
112035
|
deletedAt: Date | null;
|
@@ -112208,7 +112080,6 @@ export declare const platformContract: {
|
|
112208
112080
|
firstResponseTime: number;
|
112209
112081
|
lastMessage: string;
|
112210
112082
|
handleTime: number;
|
112211
|
-
closeAt: Date;
|
112212
112083
|
unreadCount: number;
|
112213
112084
|
firstResponseAt: Date;
|
112214
112085
|
isLatest: boolean;
|
@@ -112368,6 +112239,8 @@ export declare const platformContract: {
|
|
112368
112239
|
telephonySignature: string | null;
|
112369
112240
|
};
|
112370
112241
|
};
|
112242
|
+
closedAt: Date;
|
112243
|
+
lastMessageAt: Date | null;
|
112371
112244
|
cxlog: {
|
112372
112245
|
id: string;
|
112373
112246
|
channel: string | null;
|
@@ -114216,6 +114089,7 @@ export declare const platformContract: {
|
|
114216
114089
|
connectedUserId: string;
|
114217
114090
|
};
|
114218
114091
|
direction: "incoming" | "outgoing" | "system";
|
114092
|
+
status: number;
|
114219
114093
|
createdAt: Date;
|
114220
114094
|
updatedAt: Date;
|
114221
114095
|
deletedAt: Date | null;
|
@@ -114266,7 +114140,6 @@ export declare const platformContract: {
|
|
114266
114140
|
firstResponseTime: number;
|
114267
114141
|
lastMessage: string;
|
114268
114142
|
handleTime: number;
|
114269
|
-
closeAt: Date;
|
114270
114143
|
unreadCount: number;
|
114271
114144
|
firstResponseAt: Date;
|
114272
114145
|
isLatest: boolean;
|
@@ -114426,6 +114299,8 @@ export declare const platformContract: {
|
|
114426
114299
|
telephonySignature: string | null;
|
114427
114300
|
};
|
114428
114301
|
};
|
114302
|
+
closedAt: Date;
|
114303
|
+
lastMessageAt: Date | null;
|
114429
114304
|
cxlog: {
|
114430
114305
|
id: string;
|
114431
114306
|
channel: string | null;
|
@@ -114854,6 +114729,7 @@ export declare const platformContract: {
|
|
114854
114729
|
connectedUserId: string;
|
114855
114730
|
};
|
114856
114731
|
direction: "incoming" | "outgoing" | "system";
|
114732
|
+
status: number;
|
114857
114733
|
createdAt: Date;
|
114858
114734
|
updatedAt: Date;
|
114859
114735
|
deletedAt: Date | null;
|
@@ -114904,7 +114780,6 @@ export declare const platformContract: {
|
|
114904
114780
|
firstResponseTime: number;
|
114905
114781
|
lastMessage: string;
|
114906
114782
|
handleTime: number;
|
114907
|
-
closeAt: Date;
|
114908
114783
|
unreadCount: number;
|
114909
114784
|
firstResponseAt: Date;
|
114910
114785
|
isLatest: boolean;
|
@@ -115064,6 +114939,8 @@ export declare const platformContract: {
|
|
115064
114939
|
telephonySignature: string | null;
|
115065
114940
|
};
|
115066
114941
|
};
|
114942
|
+
closedAt: Date;
|
114943
|
+
lastMessageAt: Date | null;
|
115067
114944
|
cxlog: {
|
115068
114945
|
id: string;
|
115069
114946
|
channel: string | null;
|
@@ -115494,6 +115371,7 @@ export declare const platformContract: {
|
|
115494
115371
|
connectedUserId: string;
|
115495
115372
|
};
|
115496
115373
|
direction: "incoming" | "outgoing" | "system";
|
115374
|
+
status: number;
|
115497
115375
|
createdAt: Date;
|
115498
115376
|
updatedAt: Date;
|
115499
115377
|
deletedAt: Date | null;
|
@@ -115544,7 +115422,6 @@ export declare const platformContract: {
|
|
115544
115422
|
firstResponseTime: number;
|
115545
115423
|
lastMessage: string;
|
115546
115424
|
handleTime: number;
|
115547
|
-
closeAt: Date;
|
115548
115425
|
unreadCount: number;
|
115549
115426
|
firstResponseAt: Date;
|
115550
115427
|
isLatest: boolean;
|
@@ -115704,6 +115581,8 @@ export declare const platformContract: {
|
|
115704
115581
|
telephonySignature: string | null;
|
115705
115582
|
};
|
115706
115583
|
};
|
115584
|
+
closedAt: Date;
|
115585
|
+
lastMessageAt: Date | null;
|
115707
115586
|
cxlog: {
|
115708
115587
|
id: string;
|
115709
115588
|
channel: string | null;
|
@@ -116135,6 +116014,7 @@ export declare const platformContract: {
|
|
116135
116014
|
connectedUserId: string;
|
116136
116015
|
};
|
116137
116016
|
direction: "incoming" | "outgoing" | "system";
|
116017
|
+
status: number;
|
116138
116018
|
createdAt: Date;
|
116139
116019
|
updatedAt: Date;
|
116140
116020
|
deletedAt: Date | null;
|
@@ -116185,7 +116065,6 @@ export declare const platformContract: {
|
|
116185
116065
|
firstResponseTime: number;
|
116186
116066
|
lastMessage: string;
|
116187
116067
|
handleTime: number;
|
116188
|
-
closeAt: Date;
|
116189
116068
|
unreadCount: number;
|
116190
116069
|
firstResponseAt: Date;
|
116191
116070
|
isLatest: boolean;
|
@@ -116345,6 +116224,8 @@ export declare const platformContract: {
|
|
116345
116224
|
telephonySignature: string | null;
|
116346
116225
|
};
|
116347
116226
|
};
|
116227
|
+
closedAt: Date;
|
116228
|
+
lastMessageAt: Date | null;
|
116348
116229
|
cxlog: {
|
116349
116230
|
id: string;
|
116350
116231
|
channel: string | null;
|
@@ -117473,7 +117354,9 @@ export declare const chatContract: {
|
|
117473
117354
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
117474
117355
|
lastMessage: import("zod").ZodString;
|
117475
117356
|
handleTime: import("zod").ZodNumber;
|
117476
|
-
|
117357
|
+
closedAt: import("zod").ZodDate;
|
117358
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
117359
|
+
status: import("zod").ZodNumber;
|
117477
117360
|
unreadCount: import("zod").ZodNumber;
|
117478
117361
|
firstResponseAt: import("zod").ZodDate;
|
117479
117362
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -119398,6 +119281,7 @@ export declare const chatContract: {
|
|
119398
119281
|
connectedUserId: string;
|
119399
119282
|
};
|
119400
119283
|
direction: "incoming" | "outgoing" | "system";
|
119284
|
+
status: number;
|
119401
119285
|
createdAt: Date;
|
119402
119286
|
updatedAt: Date;
|
119403
119287
|
deletedAt: Date | null;
|
@@ -119448,7 +119332,6 @@ export declare const chatContract: {
|
|
119448
119332
|
firstResponseTime: number;
|
119449
119333
|
lastMessage: string;
|
119450
119334
|
handleTime: number;
|
119451
|
-
closeAt: Date;
|
119452
119335
|
unreadCount: number;
|
119453
119336
|
firstResponseAt: Date;
|
119454
119337
|
isLatest: boolean;
|
@@ -119608,6 +119491,8 @@ export declare const chatContract: {
|
|
119608
119491
|
telephonySignature: string | null;
|
119609
119492
|
};
|
119610
119493
|
};
|
119494
|
+
closedAt: Date;
|
119495
|
+
lastMessageAt: Date | null;
|
119611
119496
|
cxlog: {
|
119612
119497
|
id: string;
|
119613
119498
|
channel: string | null;
|
@@ -119710,6 +119595,7 @@ export declare const chatContract: {
|
|
119710
119595
|
connectedUserId: string;
|
119711
119596
|
};
|
119712
119597
|
direction: "incoming" | "outgoing" | "system";
|
119598
|
+
status: number;
|
119713
119599
|
createdAt: Date;
|
119714
119600
|
updatedAt: Date;
|
119715
119601
|
deletedAt: Date | null;
|
@@ -119760,7 +119646,6 @@ export declare const chatContract: {
|
|
119760
119646
|
firstResponseTime: number;
|
119761
119647
|
lastMessage: string;
|
119762
119648
|
handleTime: number;
|
119763
|
-
closeAt: Date;
|
119764
119649
|
unreadCount: number;
|
119765
119650
|
firstResponseAt: Date;
|
119766
119651
|
isLatest: boolean;
|
@@ -119920,6 +119805,8 @@ export declare const chatContract: {
|
|
119920
119805
|
telephonySignature: string | null;
|
119921
119806
|
};
|
119922
119807
|
};
|
119808
|
+
closedAt: Date;
|
119809
|
+
lastMessageAt: Date | null;
|
119923
119810
|
cxlog: {
|
119924
119811
|
id: string;
|
119925
119812
|
channel: string | null;
|
@@ -120034,6 +119921,7 @@ export declare const chatContract: {
|
|
120034
119921
|
connectedUserId: string;
|
120035
119922
|
};
|
120036
119923
|
direction: "incoming" | "outgoing" | "system";
|
119924
|
+
status: number;
|
120037
119925
|
createdAt: Date;
|
120038
119926
|
updatedAt: Date;
|
120039
119927
|
deletedAt: Date | null;
|
@@ -120084,7 +119972,6 @@ export declare const chatContract: {
|
|
120084
119972
|
firstResponseTime: number;
|
120085
119973
|
lastMessage: string;
|
120086
119974
|
handleTime: number;
|
120087
|
-
closeAt: Date;
|
120088
119975
|
unreadCount: number;
|
120089
119976
|
firstResponseAt: Date;
|
120090
119977
|
isLatest: boolean;
|
@@ -120244,6 +120131,8 @@ export declare const chatContract: {
|
|
120244
120131
|
telephonySignature: string | null;
|
120245
120132
|
};
|
120246
120133
|
};
|
120134
|
+
closedAt: Date;
|
120135
|
+
lastMessageAt: Date | null;
|
120247
120136
|
cxlog: {
|
120248
120137
|
id: string;
|
120249
120138
|
channel: string | null;
|
@@ -120356,6 +120245,7 @@ export declare const chatContract: {
|
|
120356
120245
|
connectedUserId: string;
|
120357
120246
|
};
|
120358
120247
|
direction: "incoming" | "outgoing" | "system";
|
120248
|
+
status: number;
|
120359
120249
|
createdAt: Date;
|
120360
120250
|
updatedAt: Date;
|
120361
120251
|
deletedAt: Date | null;
|
@@ -120406,7 +120296,6 @@ export declare const chatContract: {
|
|
120406
120296
|
firstResponseTime: number;
|
120407
120297
|
lastMessage: string;
|
120408
120298
|
handleTime: number;
|
120409
|
-
closeAt: Date;
|
120410
120299
|
unreadCount: number;
|
120411
120300
|
firstResponseAt: Date;
|
120412
120301
|
isLatest: boolean;
|
@@ -120566,6 +120455,8 @@ export declare const chatContract: {
|
|
120566
120455
|
telephonySignature: string | null;
|
120567
120456
|
};
|
120568
120457
|
};
|
120458
|
+
closedAt: Date;
|
120459
|
+
lastMessageAt: Date | null;
|
120569
120460
|
cxlog: {
|
120570
120461
|
id: string;
|
120571
120462
|
channel: string | null;
|
@@ -121613,7 +121504,9 @@ export declare const chatContract: {
|
|
121613
121504
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
121614
121505
|
lastMessage: import("zod").ZodString;
|
121615
121506
|
handleTime: import("zod").ZodNumber;
|
121616
|
-
|
121507
|
+
closedAt: import("zod").ZodDate;
|
121508
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
121509
|
+
status: import("zod").ZodNumber;
|
121617
121510
|
unreadCount: import("zod").ZodNumber;
|
121618
121511
|
firstResponseAt: import("zod").ZodDate;
|
121619
121512
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -123538,6 +123431,7 @@ export declare const chatContract: {
|
|
123538
123431
|
connectedUserId: string;
|
123539
123432
|
};
|
123540
123433
|
direction: "incoming" | "outgoing" | "system";
|
123434
|
+
status: number;
|
123541
123435
|
createdAt: Date;
|
123542
123436
|
updatedAt: Date;
|
123543
123437
|
deletedAt: Date | null;
|
@@ -123588,7 +123482,6 @@ export declare const chatContract: {
|
|
123588
123482
|
firstResponseTime: number;
|
123589
123483
|
lastMessage: string;
|
123590
123484
|
handleTime: number;
|
123591
|
-
closeAt: Date;
|
123592
123485
|
unreadCount: number;
|
123593
123486
|
firstResponseAt: Date;
|
123594
123487
|
isLatest: boolean;
|
@@ -123748,6 +123641,8 @@ export declare const chatContract: {
|
|
123748
123641
|
telephonySignature: string | null;
|
123749
123642
|
};
|
123750
123643
|
};
|
123644
|
+
closedAt: Date;
|
123645
|
+
lastMessageAt: Date | null;
|
123751
123646
|
cxlog: {
|
123752
123647
|
id: string;
|
123753
123648
|
channel: string | null;
|
@@ -123850,6 +123745,7 @@ export declare const chatContract: {
|
|
123850
123745
|
connectedUserId: string;
|
123851
123746
|
};
|
123852
123747
|
direction: "incoming" | "outgoing" | "system";
|
123748
|
+
status: number;
|
123853
123749
|
createdAt: Date;
|
123854
123750
|
updatedAt: Date;
|
123855
123751
|
deletedAt: Date | null;
|
@@ -123900,7 +123796,6 @@ export declare const chatContract: {
|
|
123900
123796
|
firstResponseTime: number;
|
123901
123797
|
lastMessage: string;
|
123902
123798
|
handleTime: number;
|
123903
|
-
closeAt: Date;
|
123904
123799
|
unreadCount: number;
|
123905
123800
|
firstResponseAt: Date;
|
123906
123801
|
isLatest: boolean;
|
@@ -124060,6 +123955,8 @@ export declare const chatContract: {
|
|
124060
123955
|
telephonySignature: string | null;
|
124061
123956
|
};
|
124062
123957
|
};
|
123958
|
+
closedAt: Date;
|
123959
|
+
lastMessageAt: Date | null;
|
124063
123960
|
cxlog: {
|
124064
123961
|
id: string;
|
124065
123962
|
channel: string | null;
|
@@ -124164,6 +124061,7 @@ export declare const chatContract: {
|
|
124164
124061
|
connectedUserId: string;
|
124165
124062
|
};
|
124166
124063
|
direction: "incoming" | "outgoing" | "system";
|
124064
|
+
status: number;
|
124167
124065
|
createdAt: Date;
|
124168
124066
|
updatedAt: Date;
|
124169
124067
|
deletedAt: Date | null;
|
@@ -124214,7 +124112,6 @@ export declare const chatContract: {
|
|
124214
124112
|
firstResponseTime: number;
|
124215
124113
|
lastMessage: string;
|
124216
124114
|
handleTime: number;
|
124217
|
-
closeAt: Date;
|
124218
124115
|
unreadCount: number;
|
124219
124116
|
firstResponseAt: Date;
|
124220
124117
|
isLatest: boolean;
|
@@ -124374,6 +124271,8 @@ export declare const chatContract: {
|
|
124374
124271
|
telephonySignature: string | null;
|
124375
124272
|
};
|
124376
124273
|
};
|
124274
|
+
closedAt: Date;
|
124275
|
+
lastMessageAt: Date | null;
|
124377
124276
|
cxlog: {
|
124378
124277
|
id: string;
|
124379
124278
|
channel: string | null;
|
@@ -124479,6 +124378,7 @@ export declare const chatContract: {
|
|
124479
124378
|
connectedUserId: string;
|
124480
124379
|
};
|
124481
124380
|
direction: "incoming" | "outgoing" | "system";
|
124381
|
+
status: number;
|
124482
124382
|
createdAt: Date;
|
124483
124383
|
updatedAt: Date;
|
124484
124384
|
deletedAt: Date | null;
|
@@ -124529,7 +124429,6 @@ export declare const chatContract: {
|
|
124529
124429
|
firstResponseTime: number;
|
124530
124430
|
lastMessage: string;
|
124531
124431
|
handleTime: number;
|
124532
|
-
closeAt: Date;
|
124533
124432
|
unreadCount: number;
|
124534
124433
|
firstResponseAt: Date;
|
124535
124434
|
isLatest: boolean;
|
@@ -124689,6 +124588,8 @@ export declare const chatContract: {
|
|
124689
124588
|
telephonySignature: string | null;
|
124690
124589
|
};
|
124691
124590
|
};
|
124591
|
+
closedAt: Date;
|
124592
|
+
lastMessageAt: Date | null;
|
124692
124593
|
cxlog: {
|
124693
124594
|
id: string;
|
124694
124595
|
channel: string | null;
|
@@ -124990,6 +124891,7 @@ export declare const chatContract: {
|
|
124990
124891
|
stickerId: number;
|
124991
124892
|
}>>;
|
124992
124893
|
file: import("zod").ZodOptional<import("zod").ZodType<File, import("zod").ZodTypeDef, File>>;
|
124894
|
+
messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
|
124993
124895
|
}, "strip", import("zod").ZodTypeAny, {
|
124994
124896
|
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
124995
124897
|
roomId: string;
|
@@ -125052,6 +124954,7 @@ export declare const chatContract: {
|
|
125052
124954
|
stickerId: number;
|
125053
124955
|
} | undefined;
|
125054
124956
|
file?: File | undefined;
|
124957
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
125055
124958
|
}, {
|
125056
124959
|
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
125057
124960
|
roomId: string;
|
@@ -125114,6 +125017,7 @@ export declare const chatContract: {
|
|
125114
125017
|
stickerId: number;
|
125115
125018
|
} | undefined;
|
125116
125019
|
file?: File | undefined;
|
125020
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
125117
125021
|
}>;
|
125118
125022
|
summary: "Send message to room";
|
125119
125023
|
method: "POST";
|
@@ -125145,7 +125049,9 @@ export declare const chatContract: {
|
|
125145
125049
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
125146
125050
|
lastMessage: import("zod").ZodString;
|
125147
125051
|
handleTime: import("zod").ZodNumber;
|
125148
|
-
|
125052
|
+
closedAt: import("zod").ZodDate;
|
125053
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
125054
|
+
status: import("zod").ZodNumber;
|
125149
125055
|
unreadCount: import("zod").ZodNumber;
|
125150
125056
|
firstResponseAt: import("zod").ZodDate;
|
125151
125057
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -127070,6 +126976,7 @@ export declare const chatContract: {
|
|
127070
126976
|
connectedUserId: string;
|
127071
126977
|
};
|
127072
126978
|
direction: "incoming" | "outgoing" | "system";
|
126979
|
+
status: number;
|
127073
126980
|
createdAt: Date;
|
127074
126981
|
updatedAt: Date;
|
127075
126982
|
deletedAt: Date | null;
|
@@ -127120,7 +127027,6 @@ export declare const chatContract: {
|
|
127120
127027
|
firstResponseTime: number;
|
127121
127028
|
lastMessage: string;
|
127122
127029
|
handleTime: number;
|
127123
|
-
closeAt: Date;
|
127124
127030
|
unreadCount: number;
|
127125
127031
|
firstResponseAt: Date;
|
127126
127032
|
isLatest: boolean;
|
@@ -127280,6 +127186,8 @@ export declare const chatContract: {
|
|
127280
127186
|
telephonySignature: string | null;
|
127281
127187
|
};
|
127282
127188
|
};
|
127189
|
+
closedAt: Date;
|
127190
|
+
lastMessageAt: Date | null;
|
127283
127191
|
cxlog: {
|
127284
127192
|
id: string;
|
127285
127193
|
channel: string | null;
|
@@ -127382,6 +127290,7 @@ export declare const chatContract: {
|
|
127382
127290
|
connectedUserId: string;
|
127383
127291
|
};
|
127384
127292
|
direction: "incoming" | "outgoing" | "system";
|
127293
|
+
status: number;
|
127385
127294
|
createdAt: Date;
|
127386
127295
|
updatedAt: Date;
|
127387
127296
|
deletedAt: Date | null;
|
@@ -127432,7 +127341,6 @@ export declare const chatContract: {
|
|
127432
127341
|
firstResponseTime: number;
|
127433
127342
|
lastMessage: string;
|
127434
127343
|
handleTime: number;
|
127435
|
-
closeAt: Date;
|
127436
127344
|
unreadCount: number;
|
127437
127345
|
firstResponseAt: Date;
|
127438
127346
|
isLatest: boolean;
|
@@ -127592,6 +127500,8 @@ export declare const chatContract: {
|
|
127592
127500
|
telephonySignature: string | null;
|
127593
127501
|
};
|
127594
127502
|
};
|
127503
|
+
closedAt: Date;
|
127504
|
+
lastMessageAt: Date | null;
|
127595
127505
|
cxlog: {
|
127596
127506
|
id: string;
|
127597
127507
|
channel: string | null;
|
@@ -129440,6 +129350,7 @@ export declare const chatContract: {
|
|
129440
129350
|
connectedUserId: string;
|
129441
129351
|
};
|
129442
129352
|
direction: "incoming" | "outgoing" | "system";
|
129353
|
+
status: number;
|
129443
129354
|
createdAt: Date;
|
129444
129355
|
updatedAt: Date;
|
129445
129356
|
deletedAt: Date | null;
|
@@ -129490,7 +129401,6 @@ export declare const chatContract: {
|
|
129490
129401
|
firstResponseTime: number;
|
129491
129402
|
lastMessage: string;
|
129492
129403
|
handleTime: number;
|
129493
|
-
closeAt: Date;
|
129494
129404
|
unreadCount: number;
|
129495
129405
|
firstResponseAt: Date;
|
129496
129406
|
isLatest: boolean;
|
@@ -129650,6 +129560,8 @@ export declare const chatContract: {
|
|
129650
129560
|
telephonySignature: string | null;
|
129651
129561
|
};
|
129652
129562
|
};
|
129563
|
+
closedAt: Date;
|
129564
|
+
lastMessageAt: Date | null;
|
129653
129565
|
cxlog: {
|
129654
129566
|
id: string;
|
129655
129567
|
channel: string | null;
|
@@ -130078,6 +129990,7 @@ export declare const chatContract: {
|
|
130078
129990
|
connectedUserId: string;
|
130079
129991
|
};
|
130080
129992
|
direction: "incoming" | "outgoing" | "system";
|
129993
|
+
status: number;
|
130081
129994
|
createdAt: Date;
|
130082
129995
|
updatedAt: Date;
|
130083
129996
|
deletedAt: Date | null;
|
@@ -130128,7 +130041,6 @@ export declare const chatContract: {
|
|
130128
130041
|
firstResponseTime: number;
|
130129
130042
|
lastMessage: string;
|
130130
130043
|
handleTime: number;
|
130131
|
-
closeAt: Date;
|
130132
130044
|
unreadCount: number;
|
130133
130045
|
firstResponseAt: Date;
|
130134
130046
|
isLatest: boolean;
|
@@ -130288,6 +130200,8 @@ export declare const chatContract: {
|
|
130288
130200
|
telephonySignature: string | null;
|
130289
130201
|
};
|
130290
130202
|
};
|
130203
|
+
closedAt: Date;
|
130204
|
+
lastMessageAt: Date | null;
|
130291
130205
|
cxlog: {
|
130292
130206
|
id: string;
|
130293
130207
|
channel: string | null;
|
@@ -130718,6 +130632,7 @@ export declare const chatContract: {
|
|
130718
130632
|
connectedUserId: string;
|
130719
130633
|
};
|
130720
130634
|
direction: "incoming" | "outgoing" | "system";
|
130635
|
+
status: number;
|
130721
130636
|
createdAt: Date;
|
130722
130637
|
updatedAt: Date;
|
130723
130638
|
deletedAt: Date | null;
|
@@ -130768,7 +130683,6 @@ export declare const chatContract: {
|
|
130768
130683
|
firstResponseTime: number;
|
130769
130684
|
lastMessage: string;
|
130770
130685
|
handleTime: number;
|
130771
|
-
closeAt: Date;
|
130772
130686
|
unreadCount: number;
|
130773
130687
|
firstResponseAt: Date;
|
130774
130688
|
isLatest: boolean;
|
@@ -130928,6 +130842,8 @@ export declare const chatContract: {
|
|
130928
130842
|
telephonySignature: string | null;
|
130929
130843
|
};
|
130930
130844
|
};
|
130845
|
+
closedAt: Date;
|
130846
|
+
lastMessageAt: Date | null;
|
130931
130847
|
cxlog: {
|
130932
130848
|
id: string;
|
130933
130849
|
channel: string | null;
|
@@ -131359,6 +131275,7 @@ export declare const chatContract: {
|
|
131359
131275
|
connectedUserId: string;
|
131360
131276
|
};
|
131361
131277
|
direction: "incoming" | "outgoing" | "system";
|
131278
|
+
status: number;
|
131362
131279
|
createdAt: Date;
|
131363
131280
|
updatedAt: Date;
|
131364
131281
|
deletedAt: Date | null;
|
@@ -131409,7 +131326,6 @@ export declare const chatContract: {
|
|
131409
131326
|
firstResponseTime: number;
|
131410
131327
|
lastMessage: string;
|
131411
131328
|
handleTime: number;
|
131412
|
-
closeAt: Date;
|
131413
131329
|
unreadCount: number;
|
131414
131330
|
firstResponseAt: Date;
|
131415
131331
|
isLatest: boolean;
|
@@ -131569,6 +131485,8 @@ export declare const chatContract: {
|
|
131569
131485
|
telephonySignature: string | null;
|
131570
131486
|
};
|
131571
131487
|
};
|
131488
|
+
closedAt: Date;
|
131489
|
+
lastMessageAt: Date | null;
|
131572
131490
|
cxlog: {
|
131573
131491
|
id: string;
|
131574
131492
|
channel: string | null;
|
@@ -131964,7 +131882,9 @@ export declare const chatContract: {
|
|
131964
131882
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
131965
131883
|
lastMessage: import("zod").ZodString;
|
131966
131884
|
handleTime: import("zod").ZodNumber;
|
131967
|
-
|
131885
|
+
closedAt: import("zod").ZodDate;
|
131886
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
131887
|
+
status: import("zod").ZodNumber;
|
131968
131888
|
unreadCount: import("zod").ZodNumber;
|
131969
131889
|
firstResponseAt: import("zod").ZodDate;
|
131970
131890
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -133889,6 +133809,7 @@ export declare const chatContract: {
|
|
133889
133809
|
connectedUserId: string;
|
133890
133810
|
};
|
133891
133811
|
direction: "incoming" | "outgoing" | "system";
|
133812
|
+
status: number;
|
133892
133813
|
createdAt: Date;
|
133893
133814
|
updatedAt: Date;
|
133894
133815
|
deletedAt: Date | null;
|
@@ -133939,7 +133860,6 @@ export declare const chatContract: {
|
|
133939
133860
|
firstResponseTime: number;
|
133940
133861
|
lastMessage: string;
|
133941
133862
|
handleTime: number;
|
133942
|
-
closeAt: Date;
|
133943
133863
|
unreadCount: number;
|
133944
133864
|
firstResponseAt: Date;
|
133945
133865
|
isLatest: boolean;
|
@@ -134099,6 +134019,8 @@ export declare const chatContract: {
|
|
134099
134019
|
telephonySignature: string | null;
|
134100
134020
|
};
|
134101
134021
|
};
|
134022
|
+
closedAt: Date;
|
134023
|
+
lastMessageAt: Date | null;
|
134102
134024
|
cxlog: {
|
134103
134025
|
id: string;
|
134104
134026
|
channel: string | null;
|
@@ -134201,6 +134123,7 @@ export declare const chatContract: {
|
|
134201
134123
|
connectedUserId: string;
|
134202
134124
|
};
|
134203
134125
|
direction: "incoming" | "outgoing" | "system";
|
134126
|
+
status: number;
|
134204
134127
|
createdAt: Date;
|
134205
134128
|
updatedAt: Date;
|
134206
134129
|
deletedAt: Date | null;
|
@@ -134251,7 +134174,6 @@ export declare const chatContract: {
|
|
134251
134174
|
firstResponseTime: number;
|
134252
134175
|
lastMessage: string;
|
134253
134176
|
handleTime: number;
|
134254
|
-
closeAt: Date;
|
134255
134177
|
unreadCount: number;
|
134256
134178
|
firstResponseAt: Date;
|
134257
134179
|
isLatest: boolean;
|
@@ -134411,6 +134333,8 @@ export declare const chatContract: {
|
|
134411
134333
|
telephonySignature: string | null;
|
134412
134334
|
};
|
134413
134335
|
};
|
134336
|
+
closedAt: Date;
|
134337
|
+
lastMessageAt: Date | null;
|
134414
134338
|
cxlog: {
|
134415
134339
|
id: string;
|
134416
134340
|
channel: string | null;
|
@@ -136259,6 +136183,7 @@ export declare const chatContract: {
|
|
136259
136183
|
connectedUserId: string;
|
136260
136184
|
};
|
136261
136185
|
direction: "incoming" | "outgoing" | "system";
|
136186
|
+
status: number;
|
136262
136187
|
createdAt: Date;
|
136263
136188
|
updatedAt: Date;
|
136264
136189
|
deletedAt: Date | null;
|
@@ -136309,7 +136234,6 @@ export declare const chatContract: {
|
|
136309
136234
|
firstResponseTime: number;
|
136310
136235
|
lastMessage: string;
|
136311
136236
|
handleTime: number;
|
136312
|
-
closeAt: Date;
|
136313
136237
|
unreadCount: number;
|
136314
136238
|
firstResponseAt: Date;
|
136315
136239
|
isLatest: boolean;
|
@@ -136469,6 +136393,8 @@ export declare const chatContract: {
|
|
136469
136393
|
telephonySignature: string | null;
|
136470
136394
|
};
|
136471
136395
|
};
|
136396
|
+
closedAt: Date;
|
136397
|
+
lastMessageAt: Date | null;
|
136472
136398
|
cxlog: {
|
136473
136399
|
id: string;
|
136474
136400
|
channel: string | null;
|
@@ -136897,6 +136823,7 @@ export declare const chatContract: {
|
|
136897
136823
|
connectedUserId: string;
|
136898
136824
|
};
|
136899
136825
|
direction: "incoming" | "outgoing" | "system";
|
136826
|
+
status: number;
|
136900
136827
|
createdAt: Date;
|
136901
136828
|
updatedAt: Date;
|
136902
136829
|
deletedAt: Date | null;
|
@@ -136947,7 +136874,6 @@ export declare const chatContract: {
|
|
136947
136874
|
firstResponseTime: number;
|
136948
136875
|
lastMessage: string;
|
136949
136876
|
handleTime: number;
|
136950
|
-
closeAt: Date;
|
136951
136877
|
unreadCount: number;
|
136952
136878
|
firstResponseAt: Date;
|
136953
136879
|
isLatest: boolean;
|
@@ -137107,6 +137033,8 @@ export declare const chatContract: {
|
|
137107
137033
|
telephonySignature: string | null;
|
137108
137034
|
};
|
137109
137035
|
};
|
137036
|
+
closedAt: Date;
|
137037
|
+
lastMessageAt: Date | null;
|
137110
137038
|
cxlog: {
|
137111
137039
|
id: string;
|
137112
137040
|
channel: string | null;
|
@@ -137537,6 +137465,7 @@ export declare const chatContract: {
|
|
137537
137465
|
connectedUserId: string;
|
137538
137466
|
};
|
137539
137467
|
direction: "incoming" | "outgoing" | "system";
|
137468
|
+
status: number;
|
137540
137469
|
createdAt: Date;
|
137541
137470
|
updatedAt: Date;
|
137542
137471
|
deletedAt: Date | null;
|
@@ -137587,7 +137516,6 @@ export declare const chatContract: {
|
|
137587
137516
|
firstResponseTime: number;
|
137588
137517
|
lastMessage: string;
|
137589
137518
|
handleTime: number;
|
137590
|
-
closeAt: Date;
|
137591
137519
|
unreadCount: number;
|
137592
137520
|
firstResponseAt: Date;
|
137593
137521
|
isLatest: boolean;
|
@@ -137747,6 +137675,8 @@ export declare const chatContract: {
|
|
137747
137675
|
telephonySignature: string | null;
|
137748
137676
|
};
|
137749
137677
|
};
|
137678
|
+
closedAt: Date;
|
137679
|
+
lastMessageAt: Date | null;
|
137750
137680
|
cxlog: {
|
137751
137681
|
id: string;
|
137752
137682
|
channel: string | null;
|
@@ -138181,6 +138111,7 @@ export declare const chatContract: {
|
|
138181
138111
|
connectedUserId: string;
|
138182
138112
|
};
|
138183
138113
|
direction: "incoming" | "outgoing" | "system";
|
138114
|
+
status: number;
|
138184
138115
|
createdAt: Date;
|
138185
138116
|
updatedAt: Date;
|
138186
138117
|
deletedAt: Date | null;
|
@@ -138231,7 +138162,6 @@ export declare const chatContract: {
|
|
138231
138162
|
firstResponseTime: number;
|
138232
138163
|
lastMessage: string;
|
138233
138164
|
handleTime: number;
|
138234
|
-
closeAt: Date;
|
138235
138165
|
unreadCount: number;
|
138236
138166
|
firstResponseAt: Date;
|
138237
138167
|
isLatest: boolean;
|
@@ -138391,6 +138321,8 @@ export declare const chatContract: {
|
|
138391
138321
|
telephonySignature: string | null;
|
138392
138322
|
};
|
138393
138323
|
};
|
138324
|
+
closedAt: Date;
|
138325
|
+
lastMessageAt: Date | null;
|
138394
138326
|
cxlog: {
|
138395
138327
|
id: string;
|
138396
138328
|
channel: string | null;
|
@@ -139050,6 +138982,7 @@ export declare const chatContract: {
|
|
139050
138982
|
connectedUserId: string;
|
139051
138983
|
}>;
|
139052
138984
|
direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
|
138985
|
+
status: import("zod").ZodNumber;
|
139053
138986
|
createdAt: import("zod").ZodDate;
|
139054
138987
|
updatedAt: import("zod").ZodDate;
|
139055
138988
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
@@ -139260,7 +139193,6 @@ export declare const chatContract: {
|
|
139260
139193
|
firstResponseTime: import("zod").ZodNumber;
|
139261
139194
|
lastMessage: import("zod").ZodString;
|
139262
139195
|
handleTime: import("zod").ZodNumber;
|
139263
|
-
closeAt: import("zod").ZodDate;
|
139264
139196
|
unreadCount: import("zod").ZodNumber;
|
139265
139197
|
firstResponseAt: import("zod").ZodDate;
|
139266
139198
|
isLatest: import("zod").ZodBoolean;
|
@@ -140402,6 +140334,8 @@ export declare const chatContract: {
|
|
140402
140334
|
telephonySignature: string | null;
|
140403
140335
|
};
|
140404
140336
|
}>;
|
140337
|
+
closedAt: import("zod").ZodDate;
|
140338
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
140405
140339
|
cxlog: import("zod").ZodObject<{
|
140406
140340
|
id: import("zod").ZodString;
|
140407
140341
|
createdAt: import("zod").ZodDate;
|
@@ -140615,6 +140549,7 @@ export declare const chatContract: {
|
|
140615
140549
|
connectedUserId: string;
|
140616
140550
|
};
|
140617
140551
|
direction: "incoming" | "outgoing" | "system";
|
140552
|
+
status: number;
|
140618
140553
|
createdAt: Date;
|
140619
140554
|
updatedAt: Date;
|
140620
140555
|
deletedAt: Date | null;
|
@@ -140665,7 +140600,6 @@ export declare const chatContract: {
|
|
140665
140600
|
firstResponseTime: number;
|
140666
140601
|
lastMessage: string;
|
140667
140602
|
handleTime: number;
|
140668
|
-
closeAt: Date;
|
140669
140603
|
unreadCount: number;
|
140670
140604
|
firstResponseAt: Date;
|
140671
140605
|
isLatest: boolean;
|
@@ -140825,6 +140759,8 @@ export declare const chatContract: {
|
|
140825
140759
|
telephonySignature: string | null;
|
140826
140760
|
};
|
140827
140761
|
};
|
140762
|
+
closedAt: Date;
|
140763
|
+
lastMessageAt: Date | null;
|
140828
140764
|
cxlog: {
|
140829
140765
|
id: string;
|
140830
140766
|
channel: string | null;
|
@@ -140928,6 +140864,7 @@ export declare const chatContract: {
|
|
140928
140864
|
connectedUserId: string;
|
140929
140865
|
};
|
140930
140866
|
direction: "incoming" | "outgoing" | "system";
|
140867
|
+
status: number;
|
140931
140868
|
createdAt: Date;
|
140932
140869
|
updatedAt: Date;
|
140933
140870
|
deletedAt: Date | null;
|
@@ -140978,7 +140915,6 @@ export declare const chatContract: {
|
|
140978
140915
|
firstResponseTime: number;
|
140979
140916
|
lastMessage: string;
|
140980
140917
|
handleTime: number;
|
140981
|
-
closeAt: Date;
|
140982
140918
|
unreadCount: number;
|
140983
140919
|
firstResponseAt: Date;
|
140984
140920
|
isLatest: boolean;
|
@@ -141138,6 +141074,8 @@ export declare const chatContract: {
|
|
141138
141074
|
telephonySignature: string | null;
|
141139
141075
|
};
|
141140
141076
|
};
|
141077
|
+
closedAt: Date;
|
141078
|
+
lastMessageAt: Date | null;
|
141141
141079
|
cxlog: {
|
141142
141080
|
id: string;
|
141143
141081
|
channel: string | null;
|
@@ -141243,6 +141181,7 @@ export declare const chatContract: {
|
|
141243
141181
|
connectedUserId: string;
|
141244
141182
|
};
|
141245
141183
|
direction: "incoming" | "outgoing" | "system";
|
141184
|
+
status: number;
|
141246
141185
|
createdAt: Date;
|
141247
141186
|
updatedAt: Date;
|
141248
141187
|
deletedAt: Date | null;
|
@@ -141293,7 +141232,6 @@ export declare const chatContract: {
|
|
141293
141232
|
firstResponseTime: number;
|
141294
141233
|
lastMessage: string;
|
141295
141234
|
handleTime: number;
|
141296
|
-
closeAt: Date;
|
141297
141235
|
unreadCount: number;
|
141298
141236
|
firstResponseAt: Date;
|
141299
141237
|
isLatest: boolean;
|
@@ -141453,6 +141391,8 @@ export declare const chatContract: {
|
|
141453
141391
|
telephonySignature: string | null;
|
141454
141392
|
};
|
141455
141393
|
};
|
141394
|
+
closedAt: Date;
|
141395
|
+
lastMessageAt: Date | null;
|
141456
141396
|
cxlog: {
|
141457
141397
|
id: string;
|
141458
141398
|
channel: string | null;
|
@@ -141559,6 +141499,7 @@ export declare const chatContract: {
|
|
141559
141499
|
connectedUserId: string;
|
141560
141500
|
};
|
141561
141501
|
direction: "incoming" | "outgoing" | "system";
|
141502
|
+
status: number;
|
141562
141503
|
createdAt: Date;
|
141563
141504
|
updatedAt: Date;
|
141564
141505
|
deletedAt: Date | null;
|
@@ -141609,7 +141550,6 @@ export declare const chatContract: {
|
|
141609
141550
|
firstResponseTime: number;
|
141610
141551
|
lastMessage: string;
|
141611
141552
|
handleTime: number;
|
141612
|
-
closeAt: Date;
|
141613
141553
|
unreadCount: number;
|
141614
141554
|
firstResponseAt: Date;
|
141615
141555
|
isLatest: boolean;
|
@@ -141769,6 +141709,8 @@ export declare const chatContract: {
|
|
141769
141709
|
telephonySignature: string | null;
|
141770
141710
|
};
|
141771
141711
|
};
|
141712
|
+
closedAt: Date;
|
141713
|
+
lastMessageAt: Date | null;
|
141772
141714
|
cxlog: {
|
141773
141715
|
id: string;
|
141774
141716
|
channel: string | null;
|
@@ -141859,7 +141801,9 @@ export declare const chatContract: {
|
|
141859
141801
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
141860
141802
|
lastMessage: import("zod").ZodString;
|
141861
141803
|
handleTime: import("zod").ZodNumber;
|
141862
|
-
|
141804
|
+
closedAt: import("zod").ZodDate;
|
141805
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
141806
|
+
status: import("zod").ZodNumber;
|
141863
141807
|
unreadCount: import("zod").ZodNumber;
|
141864
141808
|
firstResponseAt: import("zod").ZodDate;
|
141865
141809
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -143784,6 +143728,7 @@ export declare const chatContract: {
|
|
143784
143728
|
connectedUserId: string;
|
143785
143729
|
};
|
143786
143730
|
direction: "incoming" | "outgoing" | "system";
|
143731
|
+
status: number;
|
143787
143732
|
createdAt: Date;
|
143788
143733
|
updatedAt: Date;
|
143789
143734
|
deletedAt: Date | null;
|
@@ -143834,7 +143779,6 @@ export declare const chatContract: {
|
|
143834
143779
|
firstResponseTime: number;
|
143835
143780
|
lastMessage: string;
|
143836
143781
|
handleTime: number;
|
143837
|
-
closeAt: Date;
|
143838
143782
|
unreadCount: number;
|
143839
143783
|
firstResponseAt: Date;
|
143840
143784
|
isLatest: boolean;
|
@@ -143994,6 +143938,8 @@ export declare const chatContract: {
|
|
143994
143938
|
telephonySignature: string | null;
|
143995
143939
|
};
|
143996
143940
|
};
|
143941
|
+
closedAt: Date;
|
143942
|
+
lastMessageAt: Date | null;
|
143997
143943
|
cxlog: {
|
143998
143944
|
id: string;
|
143999
143945
|
channel: string | null;
|
@@ -144096,6 +144042,7 @@ export declare const chatContract: {
|
|
144096
144042
|
connectedUserId: string;
|
144097
144043
|
};
|
144098
144044
|
direction: "incoming" | "outgoing" | "system";
|
144045
|
+
status: number;
|
144099
144046
|
createdAt: Date;
|
144100
144047
|
updatedAt: Date;
|
144101
144048
|
deletedAt: Date | null;
|
@@ -144146,7 +144093,6 @@ export declare const chatContract: {
|
|
144146
144093
|
firstResponseTime: number;
|
144147
144094
|
lastMessage: string;
|
144148
144095
|
handleTime: number;
|
144149
|
-
closeAt: Date;
|
144150
144096
|
unreadCount: number;
|
144151
144097
|
firstResponseAt: Date;
|
144152
144098
|
isLatest: boolean;
|
@@ -144306,6 +144252,8 @@ export declare const chatContract: {
|
|
144306
144252
|
telephonySignature: string | null;
|
144307
144253
|
};
|
144308
144254
|
};
|
144255
|
+
closedAt: Date;
|
144256
|
+
lastMessageAt: Date | null;
|
144309
144257
|
cxlog: {
|
144310
144258
|
id: string;
|
144311
144259
|
channel: string | null;
|
@@ -144410,6 +144358,7 @@ export declare const chatContract: {
|
|
144410
144358
|
connectedUserId: string;
|
144411
144359
|
};
|
144412
144360
|
direction: "incoming" | "outgoing" | "system";
|
144361
|
+
status: number;
|
144413
144362
|
createdAt: Date;
|
144414
144363
|
updatedAt: Date;
|
144415
144364
|
deletedAt: Date | null;
|
@@ -144460,7 +144409,6 @@ export declare const chatContract: {
|
|
144460
144409
|
firstResponseTime: number;
|
144461
144410
|
lastMessage: string;
|
144462
144411
|
handleTime: number;
|
144463
|
-
closeAt: Date;
|
144464
144412
|
unreadCount: number;
|
144465
144413
|
firstResponseAt: Date;
|
144466
144414
|
isLatest: boolean;
|
@@ -144620,6 +144568,8 @@ export declare const chatContract: {
|
|
144620
144568
|
telephonySignature: string | null;
|
144621
144569
|
};
|
144622
144570
|
};
|
144571
|
+
closedAt: Date;
|
144572
|
+
lastMessageAt: Date | null;
|
144623
144573
|
cxlog: {
|
144624
144574
|
id: string;
|
144625
144575
|
channel: string | null;
|
@@ -144725,6 +144675,7 @@ export declare const chatContract: {
|
|
144725
144675
|
connectedUserId: string;
|
144726
144676
|
};
|
144727
144677
|
direction: "incoming" | "outgoing" | "system";
|
144678
|
+
status: number;
|
144728
144679
|
createdAt: Date;
|
144729
144680
|
updatedAt: Date;
|
144730
144681
|
deletedAt: Date | null;
|
@@ -144775,7 +144726,6 @@ export declare const chatContract: {
|
|
144775
144726
|
firstResponseTime: number;
|
144776
144727
|
lastMessage: string;
|
144777
144728
|
handleTime: number;
|
144778
|
-
closeAt: Date;
|
144779
144729
|
unreadCount: number;
|
144780
144730
|
firstResponseAt: Date;
|
144781
144731
|
isLatest: boolean;
|
@@ -144935,6 +144885,8 @@ export declare const chatContract: {
|
|
144935
144885
|
telephonySignature: string | null;
|
144936
144886
|
};
|
144937
144887
|
};
|
144888
|
+
closedAt: Date;
|
144889
|
+
lastMessageAt: Date | null;
|
144938
144890
|
cxlog: {
|
144939
144891
|
id: string;
|
144940
144892
|
channel: string | null;
|
@@ -145011,7 +144963,9 @@ export declare const chatContract: {
|
|
145011
144963
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
145012
144964
|
lastMessage: import("zod").ZodString;
|
145013
144965
|
handleTime: import("zod").ZodNumber;
|
145014
|
-
|
144966
|
+
closedAt: import("zod").ZodDate;
|
144967
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
144968
|
+
status: import("zod").ZodNumber;
|
145015
144969
|
unreadCount: import("zod").ZodNumber;
|
145016
144970
|
firstResponseAt: import("zod").ZodDate;
|
145017
144971
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -146936,6 +146890,7 @@ export declare const chatContract: {
|
|
146936
146890
|
connectedUserId: string;
|
146937
146891
|
};
|
146938
146892
|
direction: "incoming" | "outgoing" | "system";
|
146893
|
+
status: number;
|
146939
146894
|
createdAt: Date;
|
146940
146895
|
updatedAt: Date;
|
146941
146896
|
deletedAt: Date | null;
|
@@ -146986,7 +146941,6 @@ export declare const chatContract: {
|
|
146986
146941
|
firstResponseTime: number;
|
146987
146942
|
lastMessage: string;
|
146988
146943
|
handleTime: number;
|
146989
|
-
closeAt: Date;
|
146990
146944
|
unreadCount: number;
|
146991
146945
|
firstResponseAt: Date;
|
146992
146946
|
isLatest: boolean;
|
@@ -147146,6 +147100,8 @@ export declare const chatContract: {
|
|
147146
147100
|
telephonySignature: string | null;
|
147147
147101
|
};
|
147148
147102
|
};
|
147103
|
+
closedAt: Date;
|
147104
|
+
lastMessageAt: Date | null;
|
147149
147105
|
cxlog: {
|
147150
147106
|
id: string;
|
147151
147107
|
channel: string | null;
|
@@ -147248,6 +147204,7 @@ export declare const chatContract: {
|
|
147248
147204
|
connectedUserId: string;
|
147249
147205
|
};
|
147250
147206
|
direction: "incoming" | "outgoing" | "system";
|
147207
|
+
status: number;
|
147251
147208
|
createdAt: Date;
|
147252
147209
|
updatedAt: Date;
|
147253
147210
|
deletedAt: Date | null;
|
@@ -147298,7 +147255,6 @@ export declare const chatContract: {
|
|
147298
147255
|
firstResponseTime: number;
|
147299
147256
|
lastMessage: string;
|
147300
147257
|
handleTime: number;
|
147301
|
-
closeAt: Date;
|
147302
147258
|
unreadCount: number;
|
147303
147259
|
firstResponseAt: Date;
|
147304
147260
|
isLatest: boolean;
|
@@ -147458,6 +147414,8 @@ export declare const chatContract: {
|
|
147458
147414
|
telephonySignature: string | null;
|
147459
147415
|
};
|
147460
147416
|
};
|
147417
|
+
closedAt: Date;
|
147418
|
+
lastMessageAt: Date | null;
|
147461
147419
|
cxlog: {
|
147462
147420
|
id: string;
|
147463
147421
|
channel: string | null;
|
@@ -147562,6 +147520,7 @@ export declare const chatContract: {
|
|
147562
147520
|
connectedUserId: string;
|
147563
147521
|
};
|
147564
147522
|
direction: "incoming" | "outgoing" | "system";
|
147523
|
+
status: number;
|
147565
147524
|
createdAt: Date;
|
147566
147525
|
updatedAt: Date;
|
147567
147526
|
deletedAt: Date | null;
|
@@ -147612,7 +147571,6 @@ export declare const chatContract: {
|
|
147612
147571
|
firstResponseTime: number;
|
147613
147572
|
lastMessage: string;
|
147614
147573
|
handleTime: number;
|
147615
|
-
closeAt: Date;
|
147616
147574
|
unreadCount: number;
|
147617
147575
|
firstResponseAt: Date;
|
147618
147576
|
isLatest: boolean;
|
@@ -147772,6 +147730,8 @@ export declare const chatContract: {
|
|
147772
147730
|
telephonySignature: string | null;
|
147773
147731
|
};
|
147774
147732
|
};
|
147733
|
+
closedAt: Date;
|
147734
|
+
lastMessageAt: Date | null;
|
147775
147735
|
cxlog: {
|
147776
147736
|
id: string;
|
147777
147737
|
channel: string | null;
|
@@ -147877,6 +147837,7 @@ export declare const chatContract: {
|
|
147877
147837
|
connectedUserId: string;
|
147878
147838
|
};
|
147879
147839
|
direction: "incoming" | "outgoing" | "system";
|
147840
|
+
status: number;
|
147880
147841
|
createdAt: Date;
|
147881
147842
|
updatedAt: Date;
|
147882
147843
|
deletedAt: Date | null;
|
@@ -147927,7 +147888,6 @@ export declare const chatContract: {
|
|
147927
147888
|
firstResponseTime: number;
|
147928
147889
|
lastMessage: string;
|
147929
147890
|
handleTime: number;
|
147930
|
-
closeAt: Date;
|
147931
147891
|
unreadCount: number;
|
147932
147892
|
firstResponseAt: Date;
|
147933
147893
|
isLatest: boolean;
|
@@ -148087,6 +148047,8 @@ export declare const chatContract: {
|
|
148087
148047
|
telephonySignature: string | null;
|
148088
148048
|
};
|
148089
148049
|
};
|
148050
|
+
closedAt: Date;
|
148051
|
+
lastMessageAt: Date | null;
|
148090
148052
|
cxlog: {
|
148091
148053
|
id: string;
|
148092
148054
|
channel: string | null;
|
@@ -148535,6 +148497,7 @@ export declare const chatContract: {
|
|
148535
148497
|
connectedUserId: string;
|
148536
148498
|
}>;
|
148537
148499
|
direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
|
148500
|
+
status: import("zod").ZodNumber;
|
148538
148501
|
createdAt: import("zod").ZodDate;
|
148539
148502
|
updatedAt: import("zod").ZodDate;
|
148540
148503
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
@@ -148745,7 +148708,6 @@ export declare const chatContract: {
|
|
148745
148708
|
firstResponseTime: import("zod").ZodNumber;
|
148746
148709
|
lastMessage: import("zod").ZodString;
|
148747
148710
|
handleTime: import("zod").ZodNumber;
|
148748
|
-
closeAt: import("zod").ZodDate;
|
148749
148711
|
unreadCount: import("zod").ZodNumber;
|
148750
148712
|
firstResponseAt: import("zod").ZodDate;
|
148751
148713
|
isLatest: import("zod").ZodBoolean;
|
@@ -149887,6 +149849,8 @@ export declare const chatContract: {
|
|
149887
149849
|
telephonySignature: string | null;
|
149888
149850
|
};
|
149889
149851
|
}>;
|
149852
|
+
closedAt: import("zod").ZodDate;
|
149853
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
149890
149854
|
cxlog: import("zod").ZodObject<{
|
149891
149855
|
id: import("zod").ZodString;
|
149892
149856
|
createdAt: import("zod").ZodDate;
|
@@ -150787,6 +150751,7 @@ export declare const chatContract: {
|
|
150787
150751
|
connectedUserId: string;
|
150788
150752
|
};
|
150789
150753
|
direction: "incoming" | "outgoing" | "system";
|
150754
|
+
status: number;
|
150790
150755
|
createdAt: Date;
|
150791
150756
|
updatedAt: Date;
|
150792
150757
|
deletedAt: Date | null;
|
@@ -150934,7 +150899,6 @@ export declare const chatContract: {
|
|
150934
150899
|
firstResponseTime: number;
|
150935
150900
|
lastMessage: string;
|
150936
150901
|
handleTime: number;
|
150937
|
-
closeAt: Date;
|
150938
150902
|
unreadCount: number;
|
150939
150903
|
firstResponseAt: Date;
|
150940
150904
|
isLatest: boolean;
|
@@ -151094,6 +151058,8 @@ export declare const chatContract: {
|
|
151094
151058
|
telephonySignature: string | null;
|
151095
151059
|
};
|
151096
151060
|
};
|
151061
|
+
closedAt: Date;
|
151062
|
+
lastMessageAt: Date | null;
|
151097
151063
|
cxlog: {
|
151098
151064
|
id: string;
|
151099
151065
|
channel: string | null;
|
@@ -151197,6 +151163,7 @@ export declare const chatContract: {
|
|
151197
151163
|
connectedUserId: string;
|
151198
151164
|
};
|
151199
151165
|
direction: "incoming" | "outgoing" | "system";
|
151166
|
+
status: number;
|
151200
151167
|
createdAt: Date;
|
151201
151168
|
updatedAt: Date;
|
151202
151169
|
deletedAt: Date | null;
|
@@ -151344,7 +151311,6 @@ export declare const chatContract: {
|
|
151344
151311
|
firstResponseTime: number;
|
151345
151312
|
lastMessage: string;
|
151346
151313
|
handleTime: number;
|
151347
|
-
closeAt: Date;
|
151348
151314
|
unreadCount: number;
|
151349
151315
|
firstResponseAt: Date;
|
151350
151316
|
isLatest: boolean;
|
@@ -151504,6 +151470,8 @@ export declare const chatContract: {
|
|
151504
151470
|
telephonySignature: string | null;
|
151505
151471
|
};
|
151506
151472
|
};
|
151473
|
+
closedAt: Date;
|
151474
|
+
lastMessageAt: Date | null;
|
151507
151475
|
cxlog: {
|
151508
151476
|
id: string;
|
151509
151477
|
channel: string | null;
|
@@ -151609,6 +151577,7 @@ export declare const chatContract: {
|
|
151609
151577
|
connectedUserId: string;
|
151610
151578
|
};
|
151611
151579
|
direction: "incoming" | "outgoing" | "system";
|
151580
|
+
status: number;
|
151612
151581
|
createdAt: Date;
|
151613
151582
|
updatedAt: Date;
|
151614
151583
|
deletedAt: Date | null;
|
@@ -151756,7 +151725,6 @@ export declare const chatContract: {
|
|
151756
151725
|
firstResponseTime: number;
|
151757
151726
|
lastMessage: string;
|
151758
151727
|
handleTime: number;
|
151759
|
-
closeAt: Date;
|
151760
151728
|
unreadCount: number;
|
151761
151729
|
firstResponseAt: Date;
|
151762
151730
|
isLatest: boolean;
|
@@ -151916,6 +151884,8 @@ export declare const chatContract: {
|
|
151916
151884
|
telephonySignature: string | null;
|
151917
151885
|
};
|
151918
151886
|
};
|
151887
|
+
closedAt: Date;
|
151888
|
+
lastMessageAt: Date | null;
|
151919
151889
|
cxlog: {
|
151920
151890
|
id: string;
|
151921
151891
|
channel: string | null;
|
@@ -152022,6 +151992,7 @@ export declare const chatContract: {
|
|
152022
151992
|
connectedUserId: string;
|
152023
151993
|
};
|
152024
151994
|
direction: "incoming" | "outgoing" | "system";
|
151995
|
+
status: number;
|
152025
151996
|
createdAt: Date;
|
152026
151997
|
updatedAt: Date;
|
152027
151998
|
deletedAt: Date | null;
|
@@ -152169,7 +152140,6 @@ export declare const chatContract: {
|
|
152169
152140
|
firstResponseTime: number;
|
152170
152141
|
lastMessage: string;
|
152171
152142
|
handleTime: number;
|
152172
|
-
closeAt: Date;
|
152173
152143
|
unreadCount: number;
|
152174
152144
|
firstResponseAt: Date;
|
152175
152145
|
isLatest: boolean;
|
@@ -152329,6 +152299,8 @@ export declare const chatContract: {
|
|
152329
152299
|
telephonySignature: string | null;
|
152330
152300
|
};
|
152331
152301
|
};
|
152302
|
+
closedAt: Date;
|
152303
|
+
lastMessageAt: Date | null;
|
152332
152304
|
cxlog: {
|
152333
152305
|
id: string;
|
152334
152306
|
channel: string | null;
|
@@ -152768,6 +152740,7 @@ export declare const chatContract: {
|
|
152768
152740
|
connectedUserId: string;
|
152769
152741
|
}>;
|
152770
152742
|
direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
|
152743
|
+
status: import("zod").ZodNumber;
|
152771
152744
|
createdAt: import("zod").ZodDate;
|
152772
152745
|
updatedAt: import("zod").ZodDate;
|
152773
152746
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
@@ -152978,7 +152951,6 @@ export declare const chatContract: {
|
|
152978
152951
|
firstResponseTime: import("zod").ZodNumber;
|
152979
152952
|
lastMessage: import("zod").ZodString;
|
152980
152953
|
handleTime: import("zod").ZodNumber;
|
152981
|
-
closeAt: import("zod").ZodDate;
|
152982
152954
|
unreadCount: import("zod").ZodNumber;
|
152983
152955
|
firstResponseAt: import("zod").ZodDate;
|
152984
152956
|
isLatest: import("zod").ZodBoolean;
|
@@ -154120,6 +154092,8 @@ export declare const chatContract: {
|
|
154120
154092
|
telephonySignature: string | null;
|
154121
154093
|
};
|
154122
154094
|
}>;
|
154095
|
+
closedAt: import("zod").ZodDate;
|
154096
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
154123
154097
|
cxlog: import("zod").ZodObject<{
|
154124
154098
|
id: import("zod").ZodString;
|
154125
154099
|
createdAt: import("zod").ZodDate;
|
@@ -154334,6 +154308,7 @@ export declare const chatContract: {
|
|
154334
154308
|
};
|
154335
154309
|
direction: "incoming" | "outgoing" | "system";
|
154336
154310
|
description: string | null;
|
154311
|
+
status: number;
|
154337
154312
|
createdAt: Date;
|
154338
154313
|
updatedAt: Date;
|
154339
154314
|
deletedAt: Date | null;
|
@@ -154384,7 +154359,6 @@ export declare const chatContract: {
|
|
154384
154359
|
firstResponseTime: number;
|
154385
154360
|
lastMessage: string;
|
154386
154361
|
handleTime: number;
|
154387
|
-
closeAt: Date;
|
154388
154362
|
unreadCount: number;
|
154389
154363
|
firstResponseAt: Date;
|
154390
154364
|
isLatest: boolean;
|
@@ -154544,6 +154518,8 @@ export declare const chatContract: {
|
|
154544
154518
|
telephonySignature: string | null;
|
154545
154519
|
};
|
154546
154520
|
};
|
154521
|
+
closedAt: Date;
|
154522
|
+
lastMessageAt: Date | null;
|
154547
154523
|
cxlog: {
|
154548
154524
|
id: string;
|
154549
154525
|
channel: string | null;
|
@@ -154647,6 +154623,7 @@ export declare const chatContract: {
|
|
154647
154623
|
};
|
154648
154624
|
direction: "incoming" | "outgoing" | "system";
|
154649
154625
|
description: string | null;
|
154626
|
+
status: number;
|
154650
154627
|
createdAt: Date;
|
154651
154628
|
updatedAt: Date;
|
154652
154629
|
deletedAt: Date | null;
|
@@ -154697,7 +154674,6 @@ export declare const chatContract: {
|
|
154697
154674
|
firstResponseTime: number;
|
154698
154675
|
lastMessage: string;
|
154699
154676
|
handleTime: number;
|
154700
|
-
closeAt: Date;
|
154701
154677
|
unreadCount: number;
|
154702
154678
|
firstResponseAt: Date;
|
154703
154679
|
isLatest: boolean;
|
@@ -154857,6 +154833,8 @@ export declare const chatContract: {
|
|
154857
154833
|
telephonySignature: string | null;
|
154858
154834
|
};
|
154859
154835
|
};
|
154836
|
+
closedAt: Date;
|
154837
|
+
lastMessageAt: Date | null;
|
154860
154838
|
cxlog: {
|
154861
154839
|
id: string;
|
154862
154840
|
channel: string | null;
|
@@ -154962,6 +154940,7 @@ export declare const chatContract: {
|
|
154962
154940
|
};
|
154963
154941
|
direction: "incoming" | "outgoing" | "system";
|
154964
154942
|
description: string | null;
|
154943
|
+
status: number;
|
154965
154944
|
createdAt: Date;
|
154966
154945
|
updatedAt: Date;
|
154967
154946
|
deletedAt: Date | null;
|
@@ -155012,7 +154991,6 @@ export declare const chatContract: {
|
|
155012
154991
|
firstResponseTime: number;
|
155013
154992
|
lastMessage: string;
|
155014
154993
|
handleTime: number;
|
155015
|
-
closeAt: Date;
|
155016
154994
|
unreadCount: number;
|
155017
154995
|
firstResponseAt: Date;
|
155018
154996
|
isLatest: boolean;
|
@@ -155172,6 +155150,8 @@ export declare const chatContract: {
|
|
155172
155150
|
telephonySignature: string | null;
|
155173
155151
|
};
|
155174
155152
|
};
|
155153
|
+
closedAt: Date;
|
155154
|
+
lastMessageAt: Date | null;
|
155175
155155
|
cxlog: {
|
155176
155156
|
id: string;
|
155177
155157
|
channel: string | null;
|
@@ -155278,6 +155258,7 @@ export declare const chatContract: {
|
|
155278
155258
|
};
|
155279
155259
|
direction: "incoming" | "outgoing" | "system";
|
155280
155260
|
description: string | null;
|
155261
|
+
status: number;
|
155281
155262
|
createdAt: Date;
|
155282
155263
|
updatedAt: Date;
|
155283
155264
|
deletedAt: Date | null;
|
@@ -155328,7 +155309,6 @@ export declare const chatContract: {
|
|
155328
155309
|
firstResponseTime: number;
|
155329
155310
|
lastMessage: string;
|
155330
155311
|
handleTime: number;
|
155331
|
-
closeAt: Date;
|
155332
155312
|
unreadCount: number;
|
155333
155313
|
firstResponseAt: Date;
|
155334
155314
|
isLatest: boolean;
|
@@ -155488,6 +155468,8 @@ export declare const chatContract: {
|
|
155488
155468
|
telephonySignature: string | null;
|
155489
155469
|
};
|
155490
155470
|
};
|
155471
|
+
closedAt: Date;
|
155472
|
+
lastMessageAt: Date | null;
|
155491
155473
|
cxlog: {
|
155492
155474
|
id: string;
|
155493
155475
|
channel: string | null;
|
@@ -155576,7 +155558,9 @@ export declare const chatContract: {
|
|
155576
155558
|
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
155577
155559
|
lastMessage: import("zod").ZodString;
|
155578
155560
|
handleTime: import("zod").ZodNumber;
|
155579
|
-
|
155561
|
+
closedAt: import("zod").ZodDate;
|
155562
|
+
lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
155563
|
+
status: import("zod").ZodNumber;
|
155580
155564
|
unreadCount: import("zod").ZodNumber;
|
155581
155565
|
firstResponseAt: import("zod").ZodDate;
|
155582
155566
|
firstResponseTime: import("zod").ZodNumber;
|
@@ -157501,6 +157485,7 @@ export declare const chatContract: {
|
|
157501
157485
|
connectedUserId: string;
|
157502
157486
|
};
|
157503
157487
|
direction: "incoming" | "outgoing" | "system";
|
157488
|
+
status: number;
|
157504
157489
|
createdAt: Date;
|
157505
157490
|
updatedAt: Date;
|
157506
157491
|
deletedAt: Date | null;
|
@@ -157551,7 +157536,6 @@ export declare const chatContract: {
|
|
157551
157536
|
firstResponseTime: number;
|
157552
157537
|
lastMessage: string;
|
157553
157538
|
handleTime: number;
|
157554
|
-
closeAt: Date;
|
157555
157539
|
unreadCount: number;
|
157556
157540
|
firstResponseAt: Date;
|
157557
157541
|
isLatest: boolean;
|
@@ -157711,6 +157695,8 @@ export declare const chatContract: {
|
|
157711
157695
|
telephonySignature: string | null;
|
157712
157696
|
};
|
157713
157697
|
};
|
157698
|
+
closedAt: Date;
|
157699
|
+
lastMessageAt: Date | null;
|
157714
157700
|
cxlog: {
|
157715
157701
|
id: string;
|
157716
157702
|
channel: string | null;
|
@@ -157813,6 +157799,7 @@ export declare const chatContract: {
|
|
157813
157799
|
connectedUserId: string;
|
157814
157800
|
};
|
157815
157801
|
direction: "incoming" | "outgoing" | "system";
|
157802
|
+
status: number;
|
157816
157803
|
createdAt: Date;
|
157817
157804
|
updatedAt: Date;
|
157818
157805
|
deletedAt: Date | null;
|
@@ -157863,7 +157850,6 @@ export declare const chatContract: {
|
|
157863
157850
|
firstResponseTime: number;
|
157864
157851
|
lastMessage: string;
|
157865
157852
|
handleTime: number;
|
157866
|
-
closeAt: Date;
|
157867
157853
|
unreadCount: number;
|
157868
157854
|
firstResponseAt: Date;
|
157869
157855
|
isLatest: boolean;
|
@@ -158023,6 +158009,8 @@ export declare const chatContract: {
|
|
158023
158009
|
telephonySignature: string | null;
|
158024
158010
|
};
|
158025
158011
|
};
|
158012
|
+
closedAt: Date;
|
158013
|
+
lastMessageAt: Date | null;
|
158026
158014
|
cxlog: {
|
158027
158015
|
id: string;
|
158028
158016
|
channel: string | null;
|
@@ -158127,6 +158115,7 @@ export declare const chatContract: {
|
|
158127
158115
|
connectedUserId: string;
|
158128
158116
|
};
|
158129
158117
|
direction: "incoming" | "outgoing" | "system";
|
158118
|
+
status: number;
|
158130
158119
|
createdAt: Date;
|
158131
158120
|
updatedAt: Date;
|
158132
158121
|
deletedAt: Date | null;
|
@@ -158177,7 +158166,6 @@ export declare const chatContract: {
|
|
158177
158166
|
firstResponseTime: number;
|
158178
158167
|
lastMessage: string;
|
158179
158168
|
handleTime: number;
|
158180
|
-
closeAt: Date;
|
158181
158169
|
unreadCount: number;
|
158182
158170
|
firstResponseAt: Date;
|
158183
158171
|
isLatest: boolean;
|
@@ -158337,6 +158325,8 @@ export declare const chatContract: {
|
|
158337
158325
|
telephonySignature: string | null;
|
158338
158326
|
};
|
158339
158327
|
};
|
158328
|
+
closedAt: Date;
|
158329
|
+
lastMessageAt: Date | null;
|
158340
158330
|
cxlog: {
|
158341
158331
|
id: string;
|
158342
158332
|
channel: string | null;
|
@@ -158445,6 +158435,7 @@ export declare const chatContract: {
|
|
158445
158435
|
connectedUserId: string;
|
158446
158436
|
};
|
158447
158437
|
direction: "incoming" | "outgoing" | "system";
|
158438
|
+
status: number;
|
158448
158439
|
createdAt: Date;
|
158449
158440
|
updatedAt: Date;
|
158450
158441
|
deletedAt: Date | null;
|
@@ -158495,7 +158486,6 @@ export declare const chatContract: {
|
|
158495
158486
|
firstResponseTime: number;
|
158496
158487
|
lastMessage: string;
|
158497
158488
|
handleTime: number;
|
158498
|
-
closeAt: Date;
|
158499
158489
|
unreadCount: number;
|
158500
158490
|
firstResponseAt: Date;
|
158501
158491
|
isLatest: boolean;
|
@@ -158655,6 +158645,8 @@ export declare const chatContract: {
|
|
158655
158645
|
telephonySignature: string | null;
|
158656
158646
|
};
|
158657
158647
|
};
|
158648
|
+
closedAt: Date;
|
158649
|
+
lastMessageAt: Date | null;
|
158658
158650
|
cxlog: {
|
158659
158651
|
id: string;
|
158660
158652
|
channel: string | null;
|