@kl1/contracts 1.0.99-uat → 1.0.99

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