@kl1/contracts 1.1.2-uat → 1.1.3

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.
@@ -23234,10 +23234,13 @@ export declare const apiContract: {
23234
23234
  method: "GET";
23235
23235
  query: import("zod").ZodObject<{
23236
23236
  selectedDate: import("zod").ZodString;
23237
+ direction: import("zod").ZodOptional<import("zod").ZodString>;
23237
23238
  }, "strip", import("zod").ZodTypeAny, {
23238
23239
  selectedDate: string;
23240
+ direction?: string | undefined;
23239
23241
  }, {
23240
23242
  selectedDate: string;
23243
+ direction?: string | undefined;
23241
23244
  }>;
23242
23245
  responses: {
23243
23246
  200: import("zod").ZodObject<{
@@ -25580,7 +25583,7 @@ export declare const apiContract: {
25580
25583
  responses: {
25581
25584
  201: import("zod").ZodObject<{
25582
25585
  requestId: import("zod").ZodString;
25583
- role: import("zod").ZodObject<{
25586
+ user: import("zod").ZodObject<{
25584
25587
  id: import("zod").ZodString;
25585
25588
  createdAt: import("zod").ZodDate;
25586
25589
  updatedAt: import("zod").ZodDate;
@@ -25785,7 +25788,7 @@ export declare const apiContract: {
25785
25788
  };
25786
25789
  }>;
25787
25790
  }, "strip", import("zod").ZodTypeAny, {
25788
- role: {
25791
+ user: {
25789
25792
  id: string;
25790
25793
  address: string | null;
25791
25794
  name: string;
@@ -25831,7 +25834,7 @@ export declare const apiContract: {
25831
25834
  };
25832
25835
  requestId: string;
25833
25836
  }, {
25834
- role: {
25837
+ user: {
25835
25838
  id: string;
25836
25839
  address: string | null;
25837
25840
  name: string;
@@ -83021,7 +83024,6 @@ export declare const platformContract: {
83021
83024
  createdAt: import("zod").ZodString;
83022
83025
  updatedAt: import("zod").ZodString;
83023
83026
  platformContact: import("zod").ZodObject<{
83024
- id: import("zod").ZodString;
83025
83027
  channelId: import("zod").ZodString;
83026
83028
  socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
83027
83029
  type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
@@ -83065,7 +83067,6 @@ export declare const platformContract: {
83065
83067
  }>;
83066
83068
  }, "strip", import("zod").ZodTypeAny, {
83067
83069
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
83068
- id: string;
83069
83070
  metadata: {
83070
83071
  id: string;
83071
83072
  name: string;
@@ -83084,7 +83085,6 @@ export declare const platformContract: {
83084
83085
  socialPlatformId: string | null;
83085
83086
  }, {
83086
83087
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
83087
- id: string;
83088
83088
  metadata: {
83089
83089
  id: string;
83090
83090
  name: string;
@@ -83103,37 +83103,21 @@ export declare const platformContract: {
83103
83103
  socialPlatformId: string | null;
83104
83104
  }>;
83105
83105
  actor: import("zod").ZodNullable<import("zod").ZodObject<{
83106
- id: import("zod").ZodString;
83107
83106
  name: import("zod").ZodString;
83108
83107
  email: import("zod").ZodString;
83109
83108
  address: import("zod").ZodNullable<import("zod").ZodString>;
83110
83109
  phone: import("zod").ZodNullable<import("zod").ZodString>;
83111
83110
  }, "strip", import("zod").ZodTypeAny, {
83112
- id: string;
83113
83111
  address: string | null;
83114
83112
  name: string;
83115
83113
  email: string;
83116
83114
  phone: string | null;
83117
83115
  }, {
83118
- id: string;
83119
83116
  address: string | null;
83120
83117
  name: string;
83121
83118
  email: string;
83122
83119
  phone: string | null;
83123
83120
  }>>;
83124
- assignee: import("zod").ZodNullable<import("zod").ZodObject<{
83125
- id: import("zod").ZodString;
83126
- name: import("zod").ZodString;
83127
- email: import("zod").ZodString;
83128
- }, "strip", import("zod").ZodTypeAny, {
83129
- id: string;
83130
- name: string;
83131
- email: string;
83132
- }, {
83133
- id: string;
83134
- name: string;
83135
- email: string;
83136
- }>>;
83137
83121
  channel: import("zod").ZodObject<{
83138
83122
  id: import("zod").ZodString;
83139
83123
  name: import("zod").ZodString;
@@ -83228,7 +83212,6 @@ export declare const platformContract: {
83228
83212
  phone: string | null;
83229
83213
  } | undefined;
83230
83214
  }>;
83231
- messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
83232
83215
  }, "strip", import("zod").ZodTypeAny, {
83233
83216
  id: string;
83234
83217
  channel: {
@@ -83259,7 +83242,6 @@ export declare const platformContract: {
83259
83242
  createdAt: string;
83260
83243
  updatedAt: string;
83261
83244
  actor: {
83262
- id: string;
83263
83245
  address: string | null;
83264
83246
  name: string;
83265
83247
  email: string;
@@ -83268,7 +83250,6 @@ export declare const platformContract: {
83268
83250
  isLatest: boolean;
83269
83251
  platformContact: {
83270
83252
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
83271
- id: string;
83272
83253
  metadata: {
83273
83254
  id: string;
83274
83255
  name: string;
@@ -83286,14 +83267,8 @@ export declare const platformContract: {
83286
83267
  channelId: string;
83287
83268
  socialPlatformId: string | null;
83288
83269
  };
83289
- assignee: {
83290
- id: string;
83291
- name: string;
83292
- email: string;
83293
- } | null;
83294
83270
  lastMessage?: string | undefined;
83295
83271
  handleTime?: number | undefined;
83296
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
83297
83272
  }, {
83298
83273
  id: string;
83299
83274
  channel: {
@@ -83324,7 +83299,6 @@ export declare const platformContract: {
83324
83299
  createdAt: string;
83325
83300
  updatedAt: string;
83326
83301
  actor: {
83327
- id: string;
83328
83302
  address: string | null;
83329
83303
  name: string;
83330
83304
  email: string;
@@ -83333,7 +83307,6 @@ export declare const platformContract: {
83333
83307
  isLatest: boolean;
83334
83308
  platformContact: {
83335
83309
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
83336
- id: string;
83337
83310
  metadata: {
83338
83311
  id: string;
83339
83312
  name: string;
@@ -83351,14 +83324,8 @@ export declare const platformContract: {
83351
83324
  channelId: string;
83352
83325
  socialPlatformId: string | null;
83353
83326
  };
83354
- assignee: {
83355
- id: string;
83356
- name: string;
83357
- email: string;
83358
- } | null;
83359
83327
  lastMessage?: string | undefined;
83360
83328
  handleTime?: number | undefined;
83361
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
83362
83329
  }>;
83363
83330
  message: import("zod").ZodObject<{
83364
83331
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -83523,7 +83490,6 @@ export declare const platformContract: {
83523
83490
  createdAt: string;
83524
83491
  updatedAt: string;
83525
83492
  actor: {
83526
- id: string;
83527
83493
  address: string | null;
83528
83494
  name: string;
83529
83495
  email: string;
@@ -83532,7 +83498,6 @@ export declare const platformContract: {
83532
83498
  isLatest: boolean;
83533
83499
  platformContact: {
83534
83500
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
83535
- id: string;
83536
83501
  metadata: {
83537
83502
  id: string;
83538
83503
  name: string;
@@ -83550,14 +83515,8 @@ export declare const platformContract: {
83550
83515
  channelId: string;
83551
83516
  socialPlatformId: string | null;
83552
83517
  };
83553
- assignee: {
83554
- id: string;
83555
- name: string;
83556
- email: string;
83557
- } | null;
83558
83518
  lastMessage?: string | undefined;
83559
83519
  handleTime?: number | undefined;
83560
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
83561
83520
  };
83562
83521
  }, {
83563
83522
  message: {
@@ -83618,7 +83577,6 @@ export declare const platformContract: {
83618
83577
  createdAt: string;
83619
83578
  updatedAt: string;
83620
83579
  actor: {
83621
- id: string;
83622
83580
  address: string | null;
83623
83581
  name: string;
83624
83582
  email: string;
@@ -83627,7 +83585,6 @@ export declare const platformContract: {
83627
83585
  isLatest: boolean;
83628
83586
  platformContact: {
83629
83587
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
83630
- id: string;
83631
83588
  metadata: {
83632
83589
  id: string;
83633
83590
  name: string;
@@ -83645,14 +83602,8 @@ export declare const platformContract: {
83645
83602
  channelId: string;
83646
83603
  socialPlatformId: string | null;
83647
83604
  };
83648
- assignee: {
83649
- id: string;
83650
- name: string;
83651
- email: string;
83652
- } | null;
83653
83605
  lastMessage?: string | undefined;
83654
83606
  handleTime?: number | undefined;
83655
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
83656
83607
  };
83657
83608
  }>;
83658
83609
  method: "POST";
@@ -83684,9 +83635,7 @@ export declare const platformContract: {
83684
83635
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
83685
83636
  lastMessage: import("zod").ZodString;
83686
83637
  handleTime: import("zod").ZodNumber;
83687
- closedAt: import("zod").ZodDate;
83688
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
83689
- status: import("zod").ZodNumber;
83638
+ closeAt: import("zod").ZodDate;
83690
83639
  unreadCount: import("zod").ZodNumber;
83691
83640
  firstResponseAt: import("zod").ZodDate;
83692
83641
  firstResponseTime: import("zod").ZodNumber;
@@ -85611,7 +85560,6 @@ export declare const platformContract: {
85611
85560
  connectedUserId: string;
85612
85561
  };
85613
85562
  direction: "incoming" | "outgoing" | "system";
85614
- status: number;
85615
85563
  createdAt: Date;
85616
85564
  updatedAt: Date;
85617
85565
  deletedAt: Date | null;
@@ -85662,6 +85610,7 @@ export declare const platformContract: {
85662
85610
  firstResponseTime: number;
85663
85611
  lastMessage: string;
85664
85612
  handleTime: number;
85613
+ closeAt: Date;
85665
85614
  unreadCount: number;
85666
85615
  firstResponseAt: Date;
85667
85616
  isLatest: boolean;
@@ -85821,8 +85770,6 @@ export declare const platformContract: {
85821
85770
  telephonySignature: string | null;
85822
85771
  };
85823
85772
  };
85824
- closedAt: Date;
85825
- lastMessageAt: Date | null;
85826
85773
  cxlog: {
85827
85774
  id: string;
85828
85775
  channel: string | null;
@@ -85925,7 +85872,6 @@ export declare const platformContract: {
85925
85872
  connectedUserId: string;
85926
85873
  };
85927
85874
  direction: "incoming" | "outgoing" | "system";
85928
- status: number;
85929
85875
  createdAt: Date;
85930
85876
  updatedAt: Date;
85931
85877
  deletedAt: Date | null;
@@ -85976,6 +85922,7 @@ export declare const platformContract: {
85976
85922
  firstResponseTime: number;
85977
85923
  lastMessage: string;
85978
85924
  handleTime: number;
85925
+ closeAt: Date;
85979
85926
  unreadCount: number;
85980
85927
  firstResponseAt: Date;
85981
85928
  isLatest: boolean;
@@ -86135,8 +86082,6 @@ export declare const platformContract: {
86135
86082
  telephonySignature: string | null;
86136
86083
  };
86137
86084
  };
86138
- closedAt: Date;
86139
- lastMessageAt: Date | null;
86140
86085
  cxlog: {
86141
86086
  id: string;
86142
86087
  channel: string | null;
@@ -87985,7 +87930,6 @@ export declare const platformContract: {
87985
87930
  connectedUserId: string;
87986
87931
  };
87987
87932
  direction: "incoming" | "outgoing" | "system";
87988
- status: number;
87989
87933
  createdAt: Date;
87990
87934
  updatedAt: Date;
87991
87935
  deletedAt: Date | null;
@@ -88036,6 +87980,7 @@ export declare const platformContract: {
88036
87980
  firstResponseTime: number;
88037
87981
  lastMessage: string;
88038
87982
  handleTime: number;
87983
+ closeAt: Date;
88039
87984
  unreadCount: number;
88040
87985
  firstResponseAt: Date;
88041
87986
  isLatest: boolean;
@@ -88195,8 +88140,6 @@ export declare const platformContract: {
88195
88140
  telephonySignature: string | null;
88196
88141
  };
88197
88142
  };
88198
- closedAt: Date;
88199
- lastMessageAt: Date | null;
88200
88143
  cxlog: {
88201
88144
  id: string;
88202
88145
  channel: string | null;
@@ -88625,7 +88568,6 @@ export declare const platformContract: {
88625
88568
  connectedUserId: string;
88626
88569
  };
88627
88570
  direction: "incoming" | "outgoing" | "system";
88628
- status: number;
88629
88571
  createdAt: Date;
88630
88572
  updatedAt: Date;
88631
88573
  deletedAt: Date | null;
@@ -88676,6 +88618,7 @@ export declare const platformContract: {
88676
88618
  firstResponseTime: number;
88677
88619
  lastMessage: string;
88678
88620
  handleTime: number;
88621
+ closeAt: Date;
88679
88622
  unreadCount: number;
88680
88623
  firstResponseAt: Date;
88681
88624
  isLatest: boolean;
@@ -88835,8 +88778,6 @@ export declare const platformContract: {
88835
88778
  telephonySignature: string | null;
88836
88779
  };
88837
88780
  };
88838
- closedAt: Date;
88839
- lastMessageAt: Date | null;
88840
88781
  cxlog: {
88841
88782
  id: string;
88842
88783
  channel: string | null;
@@ -89267,7 +89208,6 @@ export declare const platformContract: {
89267
89208
  connectedUserId: string;
89268
89209
  };
89269
89210
  direction: "incoming" | "outgoing" | "system";
89270
- status: number;
89271
89211
  createdAt: Date;
89272
89212
  updatedAt: Date;
89273
89213
  deletedAt: Date | null;
@@ -89318,6 +89258,7 @@ export declare const platformContract: {
89318
89258
  firstResponseTime: number;
89319
89259
  lastMessage: string;
89320
89260
  handleTime: number;
89261
+ closeAt: Date;
89321
89262
  unreadCount: number;
89322
89263
  firstResponseAt: Date;
89323
89264
  isLatest: boolean;
@@ -89477,8 +89418,6 @@ export declare const platformContract: {
89477
89418
  telephonySignature: string | null;
89478
89419
  };
89479
89420
  };
89480
- closedAt: Date;
89481
- lastMessageAt: Date | null;
89482
89421
  cxlog: {
89483
89422
  id: string;
89484
89423
  channel: string | null;
@@ -89910,7 +89849,6 @@ export declare const platformContract: {
89910
89849
  connectedUserId: string;
89911
89850
  };
89912
89851
  direction: "incoming" | "outgoing" | "system";
89913
- status: number;
89914
89852
  createdAt: Date;
89915
89853
  updatedAt: Date;
89916
89854
  deletedAt: Date | null;
@@ -89961,6 +89899,7 @@ export declare const platformContract: {
89961
89899
  firstResponseTime: number;
89962
89900
  lastMessage: string;
89963
89901
  handleTime: number;
89902
+ closeAt: Date;
89964
89903
  unreadCount: number;
89965
89904
  firstResponseAt: Date;
89966
89905
  isLatest: boolean;
@@ -90120,8 +90059,6 @@ export declare const platformContract: {
90120
90059
  telephonySignature: string | null;
90121
90060
  };
90122
90061
  };
90123
- closedAt: Date;
90124
- lastMessageAt: Date | null;
90125
90062
  cxlog: {
90126
90063
  id: string;
90127
90064
  channel: string | null;
@@ -91036,7 +90973,6 @@ export declare const platformContract: {
91036
90973
  createdAt: import("zod").ZodString;
91037
90974
  updatedAt: import("zod").ZodString;
91038
90975
  platformContact: import("zod").ZodObject<{
91039
- id: import("zod").ZodString;
91040
90976
  channelId: import("zod").ZodString;
91041
90977
  socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
91042
90978
  type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
@@ -91080,7 +91016,6 @@ export declare const platformContract: {
91080
91016
  }>;
91081
91017
  }, "strip", import("zod").ZodTypeAny, {
91082
91018
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
91083
- id: string;
91084
91019
  metadata: {
91085
91020
  id: string;
91086
91021
  name: string;
@@ -91099,7 +91034,6 @@ export declare const platformContract: {
91099
91034
  socialPlatformId: string | null;
91100
91035
  }, {
91101
91036
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
91102
- id: string;
91103
91037
  metadata: {
91104
91038
  id: string;
91105
91039
  name: string;
@@ -91118,37 +91052,21 @@ export declare const platformContract: {
91118
91052
  socialPlatformId: string | null;
91119
91053
  }>;
91120
91054
  actor: import("zod").ZodNullable<import("zod").ZodObject<{
91121
- id: import("zod").ZodString;
91122
91055
  name: import("zod").ZodString;
91123
91056
  email: import("zod").ZodString;
91124
91057
  address: import("zod").ZodNullable<import("zod").ZodString>;
91125
91058
  phone: import("zod").ZodNullable<import("zod").ZodString>;
91126
91059
  }, "strip", import("zod").ZodTypeAny, {
91127
- id: string;
91128
91060
  address: string | null;
91129
91061
  name: string;
91130
91062
  email: string;
91131
91063
  phone: string | null;
91132
91064
  }, {
91133
- id: string;
91134
91065
  address: string | null;
91135
91066
  name: string;
91136
91067
  email: string;
91137
91068
  phone: string | null;
91138
91069
  }>>;
91139
- assignee: import("zod").ZodNullable<import("zod").ZodObject<{
91140
- id: import("zod").ZodString;
91141
- name: import("zod").ZodString;
91142
- email: import("zod").ZodString;
91143
- }, "strip", import("zod").ZodTypeAny, {
91144
- id: string;
91145
- name: string;
91146
- email: string;
91147
- }, {
91148
- id: string;
91149
- name: string;
91150
- email: string;
91151
- }>>;
91152
91070
  channel: import("zod").ZodObject<{
91153
91071
  id: import("zod").ZodString;
91154
91072
  name: import("zod").ZodString;
@@ -91243,7 +91161,6 @@ export declare const platformContract: {
91243
91161
  phone: string | null;
91244
91162
  } | undefined;
91245
91163
  }>;
91246
- messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
91247
91164
  }, "strip", import("zod").ZodTypeAny, {
91248
91165
  id: string;
91249
91166
  channel: {
@@ -91274,7 +91191,6 @@ export declare const platformContract: {
91274
91191
  createdAt: string;
91275
91192
  updatedAt: string;
91276
91193
  actor: {
91277
- id: string;
91278
91194
  address: string | null;
91279
91195
  name: string;
91280
91196
  email: string;
@@ -91283,7 +91199,6 @@ export declare const platformContract: {
91283
91199
  isLatest: boolean;
91284
91200
  platformContact: {
91285
91201
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
91286
- id: string;
91287
91202
  metadata: {
91288
91203
  id: string;
91289
91204
  name: string;
@@ -91301,14 +91216,8 @@ export declare const platformContract: {
91301
91216
  channelId: string;
91302
91217
  socialPlatformId: string | null;
91303
91218
  };
91304
- assignee: {
91305
- id: string;
91306
- name: string;
91307
- email: string;
91308
- } | null;
91309
91219
  lastMessage?: string | undefined;
91310
91220
  handleTime?: number | undefined;
91311
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
91312
91221
  }, {
91313
91222
  id: string;
91314
91223
  channel: {
@@ -91339,7 +91248,6 @@ export declare const platformContract: {
91339
91248
  createdAt: string;
91340
91249
  updatedAt: string;
91341
91250
  actor: {
91342
- id: string;
91343
91251
  address: string | null;
91344
91252
  name: string;
91345
91253
  email: string;
@@ -91348,7 +91256,6 @@ export declare const platformContract: {
91348
91256
  isLatest: boolean;
91349
91257
  platformContact: {
91350
91258
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
91351
- id: string;
91352
91259
  metadata: {
91353
91260
  id: string;
91354
91261
  name: string;
@@ -91366,14 +91273,8 @@ export declare const platformContract: {
91366
91273
  channelId: string;
91367
91274
  socialPlatformId: string | null;
91368
91275
  };
91369
- assignee: {
91370
- id: string;
91371
- name: string;
91372
- email: string;
91373
- } | null;
91374
91276
  lastMessage?: string | undefined;
91375
91277
  handleTime?: number | undefined;
91376
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
91377
91278
  }>;
91378
91279
  message: import("zod").ZodObject<{
91379
91280
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -91538,7 +91439,6 @@ export declare const platformContract: {
91538
91439
  createdAt: string;
91539
91440
  updatedAt: string;
91540
91441
  actor: {
91541
- id: string;
91542
91442
  address: string | null;
91543
91443
  name: string;
91544
91444
  email: string;
@@ -91547,7 +91447,6 @@ export declare const platformContract: {
91547
91447
  isLatest: boolean;
91548
91448
  platformContact: {
91549
91449
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
91550
- id: string;
91551
91450
  metadata: {
91552
91451
  id: string;
91553
91452
  name: string;
@@ -91565,14 +91464,8 @@ export declare const platformContract: {
91565
91464
  channelId: string;
91566
91465
  socialPlatformId: string | null;
91567
91466
  };
91568
- assignee: {
91569
- id: string;
91570
- name: string;
91571
- email: string;
91572
- } | null;
91573
91467
  lastMessage?: string | undefined;
91574
91468
  handleTime?: number | undefined;
91575
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
91576
91469
  };
91577
91470
  }, {
91578
91471
  message: {
@@ -91633,7 +91526,6 @@ export declare const platformContract: {
91633
91526
  createdAt: string;
91634
91527
  updatedAt: string;
91635
91528
  actor: {
91636
- id: string;
91637
91529
  address: string | null;
91638
91530
  name: string;
91639
91531
  email: string;
@@ -91642,7 +91534,6 @@ export declare const platformContract: {
91642
91534
  isLatest: boolean;
91643
91535
  platformContact: {
91644
91536
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
91645
- id: string;
91646
91537
  metadata: {
91647
91538
  id: string;
91648
91539
  name: string;
@@ -91660,14 +91551,8 @@ export declare const platformContract: {
91660
91551
  channelId: string;
91661
91552
  socialPlatformId: string | null;
91662
91553
  };
91663
- assignee: {
91664
- id: string;
91665
- name: string;
91666
- email: string;
91667
- } | null;
91668
91554
  lastMessage?: string | undefined;
91669
91555
  handleTime?: number | undefined;
91670
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
91671
91556
  };
91672
91557
  }>;
91673
91558
  method: "POST";
@@ -91699,9 +91584,7 @@ export declare const platformContract: {
91699
91584
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
91700
91585
  lastMessage: import("zod").ZodString;
91701
91586
  handleTime: import("zod").ZodNumber;
91702
- closedAt: import("zod").ZodDate;
91703
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
91704
- status: import("zod").ZodNumber;
91587
+ closeAt: import("zod").ZodDate;
91705
91588
  unreadCount: import("zod").ZodNumber;
91706
91589
  firstResponseAt: import("zod").ZodDate;
91707
91590
  firstResponseTime: import("zod").ZodNumber;
@@ -93626,7 +93509,6 @@ export declare const platformContract: {
93626
93509
  connectedUserId: string;
93627
93510
  };
93628
93511
  direction: "incoming" | "outgoing" | "system";
93629
- status: number;
93630
93512
  createdAt: Date;
93631
93513
  updatedAt: Date;
93632
93514
  deletedAt: Date | null;
@@ -93677,6 +93559,7 @@ export declare const platformContract: {
93677
93559
  firstResponseTime: number;
93678
93560
  lastMessage: string;
93679
93561
  handleTime: number;
93562
+ closeAt: Date;
93680
93563
  unreadCount: number;
93681
93564
  firstResponseAt: Date;
93682
93565
  isLatest: boolean;
@@ -93836,8 +93719,6 @@ export declare const platformContract: {
93836
93719
  telephonySignature: string | null;
93837
93720
  };
93838
93721
  };
93839
- closedAt: Date;
93840
- lastMessageAt: Date | null;
93841
93722
  cxlog: {
93842
93723
  id: string;
93843
93724
  channel: string | null;
@@ -93940,7 +93821,6 @@ export declare const platformContract: {
93940
93821
  connectedUserId: string;
93941
93822
  };
93942
93823
  direction: "incoming" | "outgoing" | "system";
93943
- status: number;
93944
93824
  createdAt: Date;
93945
93825
  updatedAt: Date;
93946
93826
  deletedAt: Date | null;
@@ -93991,6 +93871,7 @@ export declare const platformContract: {
93991
93871
  firstResponseTime: number;
93992
93872
  lastMessage: string;
93993
93873
  handleTime: number;
93874
+ closeAt: Date;
93994
93875
  unreadCount: number;
93995
93876
  firstResponseAt: Date;
93996
93877
  isLatest: boolean;
@@ -94150,8 +94031,6 @@ export declare const platformContract: {
94150
94031
  telephonySignature: string | null;
94151
94032
  };
94152
94033
  };
94153
- closedAt: Date;
94154
- lastMessageAt: Date | null;
94155
94034
  cxlog: {
94156
94035
  id: string;
94157
94036
  channel: string | null;
@@ -96000,7 +95879,6 @@ export declare const platformContract: {
96000
95879
  connectedUserId: string;
96001
95880
  };
96002
95881
  direction: "incoming" | "outgoing" | "system";
96003
- status: number;
96004
95882
  createdAt: Date;
96005
95883
  updatedAt: Date;
96006
95884
  deletedAt: Date | null;
@@ -96051,6 +95929,7 @@ export declare const platformContract: {
96051
95929
  firstResponseTime: number;
96052
95930
  lastMessage: string;
96053
95931
  handleTime: number;
95932
+ closeAt: Date;
96054
95933
  unreadCount: number;
96055
95934
  firstResponseAt: Date;
96056
95935
  isLatest: boolean;
@@ -96210,8 +96089,6 @@ export declare const platformContract: {
96210
96089
  telephonySignature: string | null;
96211
96090
  };
96212
96091
  };
96213
- closedAt: Date;
96214
- lastMessageAt: Date | null;
96215
96092
  cxlog: {
96216
96093
  id: string;
96217
96094
  channel: string | null;
@@ -96640,7 +96517,6 @@ export declare const platformContract: {
96640
96517
  connectedUserId: string;
96641
96518
  };
96642
96519
  direction: "incoming" | "outgoing" | "system";
96643
- status: number;
96644
96520
  createdAt: Date;
96645
96521
  updatedAt: Date;
96646
96522
  deletedAt: Date | null;
@@ -96691,6 +96567,7 @@ export declare const platformContract: {
96691
96567
  firstResponseTime: number;
96692
96568
  lastMessage: string;
96693
96569
  handleTime: number;
96570
+ closeAt: Date;
96694
96571
  unreadCount: number;
96695
96572
  firstResponseAt: Date;
96696
96573
  isLatest: boolean;
@@ -96850,8 +96727,6 @@ export declare const platformContract: {
96850
96727
  telephonySignature: string | null;
96851
96728
  };
96852
96729
  };
96853
- closedAt: Date;
96854
- lastMessageAt: Date | null;
96855
96730
  cxlog: {
96856
96731
  id: string;
96857
96732
  channel: string | null;
@@ -97282,7 +97157,6 @@ export declare const platformContract: {
97282
97157
  connectedUserId: string;
97283
97158
  };
97284
97159
  direction: "incoming" | "outgoing" | "system";
97285
- status: number;
97286
97160
  createdAt: Date;
97287
97161
  updatedAt: Date;
97288
97162
  deletedAt: Date | null;
@@ -97333,6 +97207,7 @@ export declare const platformContract: {
97333
97207
  firstResponseTime: number;
97334
97208
  lastMessage: string;
97335
97209
  handleTime: number;
97210
+ closeAt: Date;
97336
97211
  unreadCount: number;
97337
97212
  firstResponseAt: Date;
97338
97213
  isLatest: boolean;
@@ -97492,8 +97367,6 @@ export declare const platformContract: {
97492
97367
  telephonySignature: string | null;
97493
97368
  };
97494
97369
  };
97495
- closedAt: Date;
97496
- lastMessageAt: Date | null;
97497
97370
  cxlog: {
97498
97371
  id: string;
97499
97372
  channel: string | null;
@@ -97925,7 +97798,6 @@ export declare const platformContract: {
97925
97798
  connectedUserId: string;
97926
97799
  };
97927
97800
  direction: "incoming" | "outgoing" | "system";
97928
- status: number;
97929
97801
  createdAt: Date;
97930
97802
  updatedAt: Date;
97931
97803
  deletedAt: Date | null;
@@ -97976,6 +97848,7 @@ export declare const platformContract: {
97976
97848
  firstResponseTime: number;
97977
97849
  lastMessage: string;
97978
97850
  handleTime: number;
97851
+ closeAt: Date;
97979
97852
  unreadCount: number;
97980
97853
  firstResponseAt: Date;
97981
97854
  isLatest: boolean;
@@ -98135,8 +98008,6 @@ export declare const platformContract: {
98135
98008
  telephonySignature: string | null;
98136
98009
  };
98137
98010
  };
98138
- closedAt: Date;
98139
- lastMessageAt: Date | null;
98140
98011
  cxlog: {
98141
98012
  id: string;
98142
98013
  channel: string | null;
@@ -99727,7 +99598,6 @@ export declare const platformContract: {
99727
99598
  createdAt: import("zod").ZodString;
99728
99599
  updatedAt: import("zod").ZodString;
99729
99600
  platformContact: import("zod").ZodObject<{
99730
- id: import("zod").ZodString;
99731
99601
  channelId: import("zod").ZodString;
99732
99602
  socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
99733
99603
  type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
@@ -99771,7 +99641,6 @@ export declare const platformContract: {
99771
99641
  }>;
99772
99642
  }, "strip", import("zod").ZodTypeAny, {
99773
99643
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
99774
- id: string;
99775
99644
  metadata: {
99776
99645
  id: string;
99777
99646
  name: string;
@@ -99790,7 +99659,6 @@ export declare const platformContract: {
99790
99659
  socialPlatformId: string | null;
99791
99660
  }, {
99792
99661
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
99793
- id: string;
99794
99662
  metadata: {
99795
99663
  id: string;
99796
99664
  name: string;
@@ -99809,37 +99677,21 @@ export declare const platformContract: {
99809
99677
  socialPlatformId: string | null;
99810
99678
  }>;
99811
99679
  actor: import("zod").ZodNullable<import("zod").ZodObject<{
99812
- id: import("zod").ZodString;
99813
99680
  name: import("zod").ZodString;
99814
99681
  email: import("zod").ZodString;
99815
99682
  address: import("zod").ZodNullable<import("zod").ZodString>;
99816
99683
  phone: import("zod").ZodNullable<import("zod").ZodString>;
99817
99684
  }, "strip", import("zod").ZodTypeAny, {
99818
- id: string;
99819
99685
  address: string | null;
99820
99686
  name: string;
99821
99687
  email: string;
99822
99688
  phone: string | null;
99823
99689
  }, {
99824
- id: string;
99825
99690
  address: string | null;
99826
99691
  name: string;
99827
99692
  email: string;
99828
99693
  phone: string | null;
99829
99694
  }>>;
99830
- assignee: import("zod").ZodNullable<import("zod").ZodObject<{
99831
- id: import("zod").ZodString;
99832
- name: import("zod").ZodString;
99833
- email: import("zod").ZodString;
99834
- }, "strip", import("zod").ZodTypeAny, {
99835
- id: string;
99836
- name: string;
99837
- email: string;
99838
- }, {
99839
- id: string;
99840
- name: string;
99841
- email: string;
99842
- }>>;
99843
99695
  channel: import("zod").ZodObject<{
99844
99696
  id: import("zod").ZodString;
99845
99697
  name: import("zod").ZodString;
@@ -99934,7 +99786,6 @@ export declare const platformContract: {
99934
99786
  phone: string | null;
99935
99787
  } | undefined;
99936
99788
  }>;
99937
- messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
99938
99789
  }, "strip", import("zod").ZodTypeAny, {
99939
99790
  id: string;
99940
99791
  channel: {
@@ -99965,7 +99816,6 @@ export declare const platformContract: {
99965
99816
  createdAt: string;
99966
99817
  updatedAt: string;
99967
99818
  actor: {
99968
- id: string;
99969
99819
  address: string | null;
99970
99820
  name: string;
99971
99821
  email: string;
@@ -99974,7 +99824,6 @@ export declare const platformContract: {
99974
99824
  isLatest: boolean;
99975
99825
  platformContact: {
99976
99826
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
99977
- id: string;
99978
99827
  metadata: {
99979
99828
  id: string;
99980
99829
  name: string;
@@ -99992,14 +99841,8 @@ export declare const platformContract: {
99992
99841
  channelId: string;
99993
99842
  socialPlatformId: string | null;
99994
99843
  };
99995
- assignee: {
99996
- id: string;
99997
- name: string;
99998
- email: string;
99999
- } | null;
100000
99844
  lastMessage?: string | undefined;
100001
99845
  handleTime?: number | undefined;
100002
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
100003
99846
  }, {
100004
99847
  id: string;
100005
99848
  channel: {
@@ -100030,7 +99873,6 @@ export declare const platformContract: {
100030
99873
  createdAt: string;
100031
99874
  updatedAt: string;
100032
99875
  actor: {
100033
- id: string;
100034
99876
  address: string | null;
100035
99877
  name: string;
100036
99878
  email: string;
@@ -100039,7 +99881,6 @@ export declare const platformContract: {
100039
99881
  isLatest: boolean;
100040
99882
  platformContact: {
100041
99883
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
100042
- id: string;
100043
99884
  metadata: {
100044
99885
  id: string;
100045
99886
  name: string;
@@ -100057,14 +99898,8 @@ export declare const platformContract: {
100057
99898
  channelId: string;
100058
99899
  socialPlatformId: string | null;
100059
99900
  };
100060
- assignee: {
100061
- id: string;
100062
- name: string;
100063
- email: string;
100064
- } | null;
100065
99901
  lastMessage?: string | undefined;
100066
99902
  handleTime?: number | undefined;
100067
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
100068
99903
  }>;
100069
99904
  message: import("zod").ZodObject<{
100070
99905
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -100229,7 +100064,6 @@ export declare const platformContract: {
100229
100064
  createdAt: string;
100230
100065
  updatedAt: string;
100231
100066
  actor: {
100232
- id: string;
100233
100067
  address: string | null;
100234
100068
  name: string;
100235
100069
  email: string;
@@ -100238,7 +100072,6 @@ export declare const platformContract: {
100238
100072
  isLatest: boolean;
100239
100073
  platformContact: {
100240
100074
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
100241
- id: string;
100242
100075
  metadata: {
100243
100076
  id: string;
100244
100077
  name: string;
@@ -100256,14 +100089,8 @@ export declare const platformContract: {
100256
100089
  channelId: string;
100257
100090
  socialPlatformId: string | null;
100258
100091
  };
100259
- assignee: {
100260
- id: string;
100261
- name: string;
100262
- email: string;
100263
- } | null;
100264
100092
  lastMessage?: string | undefined;
100265
100093
  handleTime?: number | undefined;
100266
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
100267
100094
  };
100268
100095
  }, {
100269
100096
  message: {
@@ -100324,7 +100151,6 @@ export declare const platformContract: {
100324
100151
  createdAt: string;
100325
100152
  updatedAt: string;
100326
100153
  actor: {
100327
- id: string;
100328
100154
  address: string | null;
100329
100155
  name: string;
100330
100156
  email: string;
@@ -100333,7 +100159,6 @@ export declare const platformContract: {
100333
100159
  isLatest: boolean;
100334
100160
  platformContact: {
100335
100161
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
100336
- id: string;
100337
100162
  metadata: {
100338
100163
  id: string;
100339
100164
  name: string;
@@ -100351,14 +100176,8 @@ export declare const platformContract: {
100351
100176
  channelId: string;
100352
100177
  socialPlatformId: string | null;
100353
100178
  };
100354
- assignee: {
100355
- id: string;
100356
- name: string;
100357
- email: string;
100358
- } | null;
100359
100179
  lastMessage?: string | undefined;
100360
100180
  handleTime?: number | undefined;
100361
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
100362
100181
  };
100363
100182
  }>;
100364
100183
  method: "POST";
@@ -100390,9 +100209,7 @@ export declare const platformContract: {
100390
100209
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
100391
100210
  lastMessage: import("zod").ZodString;
100392
100211
  handleTime: import("zod").ZodNumber;
100393
- closedAt: import("zod").ZodDate;
100394
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
100395
- status: import("zod").ZodNumber;
100212
+ closeAt: import("zod").ZodDate;
100396
100213
  unreadCount: import("zod").ZodNumber;
100397
100214
  firstResponseAt: import("zod").ZodDate;
100398
100215
  firstResponseTime: import("zod").ZodNumber;
@@ -102317,7 +102134,6 @@ export declare const platformContract: {
102317
102134
  connectedUserId: string;
102318
102135
  };
102319
102136
  direction: "incoming" | "outgoing" | "system";
102320
- status: number;
102321
102137
  createdAt: Date;
102322
102138
  updatedAt: Date;
102323
102139
  deletedAt: Date | null;
@@ -102368,6 +102184,7 @@ export declare const platformContract: {
102368
102184
  firstResponseTime: number;
102369
102185
  lastMessage: string;
102370
102186
  handleTime: number;
102187
+ closeAt: Date;
102371
102188
  unreadCount: number;
102372
102189
  firstResponseAt: Date;
102373
102190
  isLatest: boolean;
@@ -102527,8 +102344,6 @@ export declare const platformContract: {
102527
102344
  telephonySignature: string | null;
102528
102345
  };
102529
102346
  };
102530
- closedAt: Date;
102531
- lastMessageAt: Date | null;
102532
102347
  cxlog: {
102533
102348
  id: string;
102534
102349
  channel: string | null;
@@ -102631,7 +102446,6 @@ export declare const platformContract: {
102631
102446
  connectedUserId: string;
102632
102447
  };
102633
102448
  direction: "incoming" | "outgoing" | "system";
102634
- status: number;
102635
102449
  createdAt: Date;
102636
102450
  updatedAt: Date;
102637
102451
  deletedAt: Date | null;
@@ -102682,6 +102496,7 @@ export declare const platformContract: {
102682
102496
  firstResponseTime: number;
102683
102497
  lastMessage: string;
102684
102498
  handleTime: number;
102499
+ closeAt: Date;
102685
102500
  unreadCount: number;
102686
102501
  firstResponseAt: Date;
102687
102502
  isLatest: boolean;
@@ -102841,8 +102656,6 @@ export declare const platformContract: {
102841
102656
  telephonySignature: string | null;
102842
102657
  };
102843
102658
  };
102844
- closedAt: Date;
102845
- lastMessageAt: Date | null;
102846
102659
  cxlog: {
102847
102660
  id: string;
102848
102661
  channel: string | null;
@@ -104691,7 +104504,6 @@ export declare const platformContract: {
104691
104504
  connectedUserId: string;
104692
104505
  };
104693
104506
  direction: "incoming" | "outgoing" | "system";
104694
- status: number;
104695
104507
  createdAt: Date;
104696
104508
  updatedAt: Date;
104697
104509
  deletedAt: Date | null;
@@ -104742,6 +104554,7 @@ export declare const platformContract: {
104742
104554
  firstResponseTime: number;
104743
104555
  lastMessage: string;
104744
104556
  handleTime: number;
104557
+ closeAt: Date;
104745
104558
  unreadCount: number;
104746
104559
  firstResponseAt: Date;
104747
104560
  isLatest: boolean;
@@ -104901,8 +104714,6 @@ export declare const platformContract: {
104901
104714
  telephonySignature: string | null;
104902
104715
  };
104903
104716
  };
104904
- closedAt: Date;
104905
- lastMessageAt: Date | null;
104906
104717
  cxlog: {
104907
104718
  id: string;
104908
104719
  channel: string | null;
@@ -105331,7 +105142,6 @@ export declare const platformContract: {
105331
105142
  connectedUserId: string;
105332
105143
  };
105333
105144
  direction: "incoming" | "outgoing" | "system";
105334
- status: number;
105335
105145
  createdAt: Date;
105336
105146
  updatedAt: Date;
105337
105147
  deletedAt: Date | null;
@@ -105382,6 +105192,7 @@ export declare const platformContract: {
105382
105192
  firstResponseTime: number;
105383
105193
  lastMessage: string;
105384
105194
  handleTime: number;
105195
+ closeAt: Date;
105385
105196
  unreadCount: number;
105386
105197
  firstResponseAt: Date;
105387
105198
  isLatest: boolean;
@@ -105541,8 +105352,6 @@ export declare const platformContract: {
105541
105352
  telephonySignature: string | null;
105542
105353
  };
105543
105354
  };
105544
- closedAt: Date;
105545
- lastMessageAt: Date | null;
105546
105355
  cxlog: {
105547
105356
  id: string;
105548
105357
  channel: string | null;
@@ -105973,7 +105782,6 @@ export declare const platformContract: {
105973
105782
  connectedUserId: string;
105974
105783
  };
105975
105784
  direction: "incoming" | "outgoing" | "system";
105976
- status: number;
105977
105785
  createdAt: Date;
105978
105786
  updatedAt: Date;
105979
105787
  deletedAt: Date | null;
@@ -106024,6 +105832,7 @@ export declare const platformContract: {
106024
105832
  firstResponseTime: number;
106025
105833
  lastMessage: string;
106026
105834
  handleTime: number;
105835
+ closeAt: Date;
106027
105836
  unreadCount: number;
106028
105837
  firstResponseAt: Date;
106029
105838
  isLatest: boolean;
@@ -106183,8 +105992,6 @@ export declare const platformContract: {
106183
105992
  telephonySignature: string | null;
106184
105993
  };
106185
105994
  };
106186
- closedAt: Date;
106187
- lastMessageAt: Date | null;
106188
105995
  cxlog: {
106189
105996
  id: string;
106190
105997
  channel: string | null;
@@ -106616,7 +106423,6 @@ export declare const platformContract: {
106616
106423
  connectedUserId: string;
106617
106424
  };
106618
106425
  direction: "incoming" | "outgoing" | "system";
106619
- status: number;
106620
106426
  createdAt: Date;
106621
106427
  updatedAt: Date;
106622
106428
  deletedAt: Date | null;
@@ -106667,6 +106473,7 @@ export declare const platformContract: {
106667
106473
  firstResponseTime: number;
106668
106474
  lastMessage: string;
106669
106475
  handleTime: number;
106476
+ closeAt: Date;
106670
106477
  unreadCount: number;
106671
106478
  firstResponseAt: Date;
106672
106479
  isLatest: boolean;
@@ -106826,8 +106633,6 @@ export declare const platformContract: {
106826
106633
  telephonySignature: string | null;
106827
106634
  };
106828
106635
  };
106829
- closedAt: Date;
106830
- lastMessageAt: Date | null;
106831
106636
  cxlog: {
106832
106637
  id: string;
106833
106638
  channel: string | null;
@@ -109508,7 +109313,6 @@ export declare const platformContract: {
109508
109313
  createdAt: import("zod").ZodString;
109509
109314
  updatedAt: import("zod").ZodString;
109510
109315
  platformContact: import("zod").ZodObject<{
109511
- id: import("zod").ZodString;
109512
109316
  channelId: import("zod").ZodString;
109513
109317
  socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
109514
109318
  type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
@@ -109552,7 +109356,6 @@ export declare const platformContract: {
109552
109356
  }>;
109553
109357
  }, "strip", import("zod").ZodTypeAny, {
109554
109358
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
109555
- id: string;
109556
109359
  metadata: {
109557
109360
  id: string;
109558
109361
  name: string;
@@ -109571,7 +109374,6 @@ export declare const platformContract: {
109571
109374
  socialPlatformId: string | null;
109572
109375
  }, {
109573
109376
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
109574
- id: string;
109575
109377
  metadata: {
109576
109378
  id: string;
109577
109379
  name: string;
@@ -109590,37 +109392,21 @@ export declare const platformContract: {
109590
109392
  socialPlatformId: string | null;
109591
109393
  }>;
109592
109394
  actor: import("zod").ZodNullable<import("zod").ZodObject<{
109593
- id: import("zod").ZodString;
109594
109395
  name: import("zod").ZodString;
109595
109396
  email: import("zod").ZodString;
109596
109397
  address: import("zod").ZodNullable<import("zod").ZodString>;
109597
109398
  phone: import("zod").ZodNullable<import("zod").ZodString>;
109598
109399
  }, "strip", import("zod").ZodTypeAny, {
109599
- id: string;
109600
109400
  address: string | null;
109601
109401
  name: string;
109602
109402
  email: string;
109603
109403
  phone: string | null;
109604
109404
  }, {
109605
- id: string;
109606
109405
  address: string | null;
109607
109406
  name: string;
109608
109407
  email: string;
109609
109408
  phone: string | null;
109610
109409
  }>>;
109611
- assignee: import("zod").ZodNullable<import("zod").ZodObject<{
109612
- id: import("zod").ZodString;
109613
- name: import("zod").ZodString;
109614
- email: import("zod").ZodString;
109615
- }, "strip", import("zod").ZodTypeAny, {
109616
- id: string;
109617
- name: string;
109618
- email: string;
109619
- }, {
109620
- id: string;
109621
- name: string;
109622
- email: string;
109623
- }>>;
109624
109410
  channel: import("zod").ZodObject<{
109625
109411
  id: import("zod").ZodString;
109626
109412
  name: import("zod").ZodString;
@@ -109715,7 +109501,6 @@ export declare const platformContract: {
109715
109501
  phone: string | null;
109716
109502
  } | undefined;
109717
109503
  }>;
109718
- messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
109719
109504
  }, "strip", import("zod").ZodTypeAny, {
109720
109505
  id: string;
109721
109506
  channel: {
@@ -109746,7 +109531,6 @@ export declare const platformContract: {
109746
109531
  createdAt: string;
109747
109532
  updatedAt: string;
109748
109533
  actor: {
109749
- id: string;
109750
109534
  address: string | null;
109751
109535
  name: string;
109752
109536
  email: string;
@@ -109755,7 +109539,6 @@ export declare const platformContract: {
109755
109539
  isLatest: boolean;
109756
109540
  platformContact: {
109757
109541
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
109758
- id: string;
109759
109542
  metadata: {
109760
109543
  id: string;
109761
109544
  name: string;
@@ -109773,14 +109556,8 @@ export declare const platformContract: {
109773
109556
  channelId: string;
109774
109557
  socialPlatformId: string | null;
109775
109558
  };
109776
- assignee: {
109777
- id: string;
109778
- name: string;
109779
- email: string;
109780
- } | null;
109781
109559
  lastMessage?: string | undefined;
109782
109560
  handleTime?: number | undefined;
109783
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
109784
109561
  }, {
109785
109562
  id: string;
109786
109563
  channel: {
@@ -109811,7 +109588,6 @@ export declare const platformContract: {
109811
109588
  createdAt: string;
109812
109589
  updatedAt: string;
109813
109590
  actor: {
109814
- id: string;
109815
109591
  address: string | null;
109816
109592
  name: string;
109817
109593
  email: string;
@@ -109820,7 +109596,6 @@ export declare const platformContract: {
109820
109596
  isLatest: boolean;
109821
109597
  platformContact: {
109822
109598
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
109823
- id: string;
109824
109599
  metadata: {
109825
109600
  id: string;
109826
109601
  name: string;
@@ -109838,14 +109613,8 @@ export declare const platformContract: {
109838
109613
  channelId: string;
109839
109614
  socialPlatformId: string | null;
109840
109615
  };
109841
- assignee: {
109842
- id: string;
109843
- name: string;
109844
- email: string;
109845
- } | null;
109846
109616
  lastMessage?: string | undefined;
109847
109617
  handleTime?: number | undefined;
109848
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
109849
109618
  }>;
109850
109619
  message: import("zod").ZodObject<{
109851
109620
  message: import("zod").ZodOptional<import("zod").ZodString>;
@@ -110010,7 +109779,6 @@ export declare const platformContract: {
110010
109779
  createdAt: string;
110011
109780
  updatedAt: string;
110012
109781
  actor: {
110013
- id: string;
110014
109782
  address: string | null;
110015
109783
  name: string;
110016
109784
  email: string;
@@ -110019,7 +109787,6 @@ export declare const platformContract: {
110019
109787
  isLatest: boolean;
110020
109788
  platformContact: {
110021
109789
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
110022
- id: string;
110023
109790
  metadata: {
110024
109791
  id: string;
110025
109792
  name: string;
@@ -110037,14 +109804,8 @@ export declare const platformContract: {
110037
109804
  channelId: string;
110038
109805
  socialPlatformId: string | null;
110039
109806
  };
110040
- assignee: {
110041
- id: string;
110042
- name: string;
110043
- email: string;
110044
- } | null;
110045
109807
  lastMessage?: string | undefined;
110046
109808
  handleTime?: number | undefined;
110047
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
110048
109809
  };
110049
109810
  }, {
110050
109811
  message: {
@@ -110105,7 +109866,6 @@ export declare const platformContract: {
110105
109866
  createdAt: string;
110106
109867
  updatedAt: string;
110107
109868
  actor: {
110108
- id: string;
110109
109869
  address: string | null;
110110
109870
  name: string;
110111
109871
  email: string;
@@ -110114,7 +109874,6 @@ export declare const platformContract: {
110114
109874
  isLatest: boolean;
110115
109875
  platformContact: {
110116
109876
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
110117
- id: string;
110118
109877
  metadata: {
110119
109878
  id: string;
110120
109879
  name: string;
@@ -110132,14 +109891,8 @@ export declare const platformContract: {
110132
109891
  channelId: string;
110133
109892
  socialPlatformId: string | null;
110134
109893
  };
110135
- assignee: {
110136
- id: string;
110137
- name: string;
110138
- email: string;
110139
- } | null;
110140
109894
  lastMessage?: string | undefined;
110141
109895
  handleTime?: number | undefined;
110142
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
110143
109896
  };
110144
109897
  }>;
110145
109898
  method: "POST";
@@ -110171,9 +109924,7 @@ export declare const platformContract: {
110171
109924
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
110172
109925
  lastMessage: import("zod").ZodString;
110173
109926
  handleTime: import("zod").ZodNumber;
110174
- closedAt: import("zod").ZodDate;
110175
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
110176
- status: import("zod").ZodNumber;
109927
+ closeAt: import("zod").ZodDate;
110177
109928
  unreadCount: import("zod").ZodNumber;
110178
109929
  firstResponseAt: import("zod").ZodDate;
110179
109930
  firstResponseTime: import("zod").ZodNumber;
@@ -112098,7 +111849,6 @@ export declare const platformContract: {
112098
111849
  connectedUserId: string;
112099
111850
  };
112100
111851
  direction: "incoming" | "outgoing" | "system";
112101
- status: number;
112102
111852
  createdAt: Date;
112103
111853
  updatedAt: Date;
112104
111854
  deletedAt: Date | null;
@@ -112149,6 +111899,7 @@ export declare const platformContract: {
112149
111899
  firstResponseTime: number;
112150
111900
  lastMessage: string;
112151
111901
  handleTime: number;
111902
+ closeAt: Date;
112152
111903
  unreadCount: number;
112153
111904
  firstResponseAt: Date;
112154
111905
  isLatest: boolean;
@@ -112308,8 +112059,6 @@ export declare const platformContract: {
112308
112059
  telephonySignature: string | null;
112309
112060
  };
112310
112061
  };
112311
- closedAt: Date;
112312
- lastMessageAt: Date | null;
112313
112062
  cxlog: {
112314
112063
  id: string;
112315
112064
  channel: string | null;
@@ -112412,7 +112161,6 @@ export declare const platformContract: {
112412
112161
  connectedUserId: string;
112413
112162
  };
112414
112163
  direction: "incoming" | "outgoing" | "system";
112415
- status: number;
112416
112164
  createdAt: Date;
112417
112165
  updatedAt: Date;
112418
112166
  deletedAt: Date | null;
@@ -112463,6 +112211,7 @@ export declare const platformContract: {
112463
112211
  firstResponseTime: number;
112464
112212
  lastMessage: string;
112465
112213
  handleTime: number;
112214
+ closeAt: Date;
112466
112215
  unreadCount: number;
112467
112216
  firstResponseAt: Date;
112468
112217
  isLatest: boolean;
@@ -112622,8 +112371,6 @@ export declare const platformContract: {
112622
112371
  telephonySignature: string | null;
112623
112372
  };
112624
112373
  };
112625
- closedAt: Date;
112626
- lastMessageAt: Date | null;
112627
112374
  cxlog: {
112628
112375
  id: string;
112629
112376
  channel: string | null;
@@ -114472,7 +114219,6 @@ export declare const platformContract: {
114472
114219
  connectedUserId: string;
114473
114220
  };
114474
114221
  direction: "incoming" | "outgoing" | "system";
114475
- status: number;
114476
114222
  createdAt: Date;
114477
114223
  updatedAt: Date;
114478
114224
  deletedAt: Date | null;
@@ -114523,6 +114269,7 @@ export declare const platformContract: {
114523
114269
  firstResponseTime: number;
114524
114270
  lastMessage: string;
114525
114271
  handleTime: number;
114272
+ closeAt: Date;
114526
114273
  unreadCount: number;
114527
114274
  firstResponseAt: Date;
114528
114275
  isLatest: boolean;
@@ -114682,8 +114429,6 @@ export declare const platformContract: {
114682
114429
  telephonySignature: string | null;
114683
114430
  };
114684
114431
  };
114685
- closedAt: Date;
114686
- lastMessageAt: Date | null;
114687
114432
  cxlog: {
114688
114433
  id: string;
114689
114434
  channel: string | null;
@@ -115112,7 +114857,6 @@ export declare const platformContract: {
115112
114857
  connectedUserId: string;
115113
114858
  };
115114
114859
  direction: "incoming" | "outgoing" | "system";
115115
- status: number;
115116
114860
  createdAt: Date;
115117
114861
  updatedAt: Date;
115118
114862
  deletedAt: Date | null;
@@ -115163,6 +114907,7 @@ export declare const platformContract: {
115163
114907
  firstResponseTime: number;
115164
114908
  lastMessage: string;
115165
114909
  handleTime: number;
114910
+ closeAt: Date;
115166
114911
  unreadCount: number;
115167
114912
  firstResponseAt: Date;
115168
114913
  isLatest: boolean;
@@ -115322,8 +115067,6 @@ export declare const platformContract: {
115322
115067
  telephonySignature: string | null;
115323
115068
  };
115324
115069
  };
115325
- closedAt: Date;
115326
- lastMessageAt: Date | null;
115327
115070
  cxlog: {
115328
115071
  id: string;
115329
115072
  channel: string | null;
@@ -115754,7 +115497,6 @@ export declare const platformContract: {
115754
115497
  connectedUserId: string;
115755
115498
  };
115756
115499
  direction: "incoming" | "outgoing" | "system";
115757
- status: number;
115758
115500
  createdAt: Date;
115759
115501
  updatedAt: Date;
115760
115502
  deletedAt: Date | null;
@@ -115805,6 +115547,7 @@ export declare const platformContract: {
115805
115547
  firstResponseTime: number;
115806
115548
  lastMessage: string;
115807
115549
  handleTime: number;
115550
+ closeAt: Date;
115808
115551
  unreadCount: number;
115809
115552
  firstResponseAt: Date;
115810
115553
  isLatest: boolean;
@@ -115964,8 +115707,6 @@ export declare const platformContract: {
115964
115707
  telephonySignature: string | null;
115965
115708
  };
115966
115709
  };
115967
- closedAt: Date;
115968
- lastMessageAt: Date | null;
115969
115710
  cxlog: {
115970
115711
  id: string;
115971
115712
  channel: string | null;
@@ -116397,7 +116138,6 @@ export declare const platformContract: {
116397
116138
  connectedUserId: string;
116398
116139
  };
116399
116140
  direction: "incoming" | "outgoing" | "system";
116400
- status: number;
116401
116141
  createdAt: Date;
116402
116142
  updatedAt: Date;
116403
116143
  deletedAt: Date | null;
@@ -116448,6 +116188,7 @@ export declare const platformContract: {
116448
116188
  firstResponseTime: number;
116449
116189
  lastMessage: string;
116450
116190
  handleTime: number;
116191
+ closeAt: Date;
116451
116192
  unreadCount: number;
116452
116193
  firstResponseAt: Date;
116453
116194
  isLatest: boolean;
@@ -116607,8 +116348,6 @@ export declare const platformContract: {
116607
116348
  telephonySignature: string | null;
116608
116349
  };
116609
116350
  };
116610
- closedAt: Date;
116611
- lastMessageAt: Date | null;
116612
116351
  cxlog: {
116613
116352
  id: string;
116614
116353
  channel: string | null;
@@ -117737,9 +117476,7 @@ export declare const chatContract: {
117737
117476
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
117738
117477
  lastMessage: import("zod").ZodString;
117739
117478
  handleTime: import("zod").ZodNumber;
117740
- closedAt: import("zod").ZodDate;
117741
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
117742
- status: import("zod").ZodNumber;
117479
+ closeAt: import("zod").ZodDate;
117743
117480
  unreadCount: import("zod").ZodNumber;
117744
117481
  firstResponseAt: import("zod").ZodDate;
117745
117482
  firstResponseTime: import("zod").ZodNumber;
@@ -119664,7 +119401,6 @@ export declare const chatContract: {
119664
119401
  connectedUserId: string;
119665
119402
  };
119666
119403
  direction: "incoming" | "outgoing" | "system";
119667
- status: number;
119668
119404
  createdAt: Date;
119669
119405
  updatedAt: Date;
119670
119406
  deletedAt: Date | null;
@@ -119715,6 +119451,7 @@ export declare const chatContract: {
119715
119451
  firstResponseTime: number;
119716
119452
  lastMessage: string;
119717
119453
  handleTime: number;
119454
+ closeAt: Date;
119718
119455
  unreadCount: number;
119719
119456
  firstResponseAt: Date;
119720
119457
  isLatest: boolean;
@@ -119874,8 +119611,6 @@ export declare const chatContract: {
119874
119611
  telephonySignature: string | null;
119875
119612
  };
119876
119613
  };
119877
- closedAt: Date;
119878
- lastMessageAt: Date | null;
119879
119614
  cxlog: {
119880
119615
  id: string;
119881
119616
  channel: string | null;
@@ -119978,7 +119713,6 @@ export declare const chatContract: {
119978
119713
  connectedUserId: string;
119979
119714
  };
119980
119715
  direction: "incoming" | "outgoing" | "system";
119981
- status: number;
119982
119716
  createdAt: Date;
119983
119717
  updatedAt: Date;
119984
119718
  deletedAt: Date | null;
@@ -120029,6 +119763,7 @@ export declare const chatContract: {
120029
119763
  firstResponseTime: number;
120030
119764
  lastMessage: string;
120031
119765
  handleTime: number;
119766
+ closeAt: Date;
120032
119767
  unreadCount: number;
120033
119768
  firstResponseAt: Date;
120034
119769
  isLatest: boolean;
@@ -120188,8 +119923,6 @@ export declare const chatContract: {
120188
119923
  telephonySignature: string | null;
120189
119924
  };
120190
119925
  };
120191
- closedAt: Date;
120192
- lastMessageAt: Date | null;
120193
119926
  cxlog: {
120194
119927
  id: string;
120195
119928
  channel: string | null;
@@ -120304,7 +120037,6 @@ export declare const chatContract: {
120304
120037
  connectedUserId: string;
120305
120038
  };
120306
120039
  direction: "incoming" | "outgoing" | "system";
120307
- status: number;
120308
120040
  createdAt: Date;
120309
120041
  updatedAt: Date;
120310
120042
  deletedAt: Date | null;
@@ -120355,6 +120087,7 @@ export declare const chatContract: {
120355
120087
  firstResponseTime: number;
120356
120088
  lastMessage: string;
120357
120089
  handleTime: number;
120090
+ closeAt: Date;
120358
120091
  unreadCount: number;
120359
120092
  firstResponseAt: Date;
120360
120093
  isLatest: boolean;
@@ -120514,8 +120247,6 @@ export declare const chatContract: {
120514
120247
  telephonySignature: string | null;
120515
120248
  };
120516
120249
  };
120517
- closedAt: Date;
120518
- lastMessageAt: Date | null;
120519
120250
  cxlog: {
120520
120251
  id: string;
120521
120252
  channel: string | null;
@@ -120628,7 +120359,6 @@ export declare const chatContract: {
120628
120359
  connectedUserId: string;
120629
120360
  };
120630
120361
  direction: "incoming" | "outgoing" | "system";
120631
- status: number;
120632
120362
  createdAt: Date;
120633
120363
  updatedAt: Date;
120634
120364
  deletedAt: Date | null;
@@ -120679,6 +120409,7 @@ export declare const chatContract: {
120679
120409
  firstResponseTime: number;
120680
120410
  lastMessage: string;
120681
120411
  handleTime: number;
120412
+ closeAt: Date;
120682
120413
  unreadCount: number;
120683
120414
  firstResponseAt: Date;
120684
120415
  isLatest: boolean;
@@ -120838,8 +120569,6 @@ export declare const chatContract: {
120838
120569
  telephonySignature: string | null;
120839
120570
  };
120840
120571
  };
120841
- closedAt: Date;
120842
- lastMessageAt: Date | null;
120843
120572
  cxlog: {
120844
120573
  id: string;
120845
120574
  channel: string | null;
@@ -121887,9 +121616,7 @@ export declare const chatContract: {
121887
121616
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
121888
121617
  lastMessage: import("zod").ZodString;
121889
121618
  handleTime: import("zod").ZodNumber;
121890
- closedAt: import("zod").ZodDate;
121891
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
121892
- status: import("zod").ZodNumber;
121619
+ closeAt: import("zod").ZodDate;
121893
121620
  unreadCount: import("zod").ZodNumber;
121894
121621
  firstResponseAt: import("zod").ZodDate;
121895
121622
  firstResponseTime: import("zod").ZodNumber;
@@ -123814,7 +123541,6 @@ export declare const chatContract: {
123814
123541
  connectedUserId: string;
123815
123542
  };
123816
123543
  direction: "incoming" | "outgoing" | "system";
123817
- status: number;
123818
123544
  createdAt: Date;
123819
123545
  updatedAt: Date;
123820
123546
  deletedAt: Date | null;
@@ -123865,6 +123591,7 @@ export declare const chatContract: {
123865
123591
  firstResponseTime: number;
123866
123592
  lastMessage: string;
123867
123593
  handleTime: number;
123594
+ closeAt: Date;
123868
123595
  unreadCount: number;
123869
123596
  firstResponseAt: Date;
123870
123597
  isLatest: boolean;
@@ -124024,8 +123751,6 @@ export declare const chatContract: {
124024
123751
  telephonySignature: string | null;
124025
123752
  };
124026
123753
  };
124027
- closedAt: Date;
124028
- lastMessageAt: Date | null;
124029
123754
  cxlog: {
124030
123755
  id: string;
124031
123756
  channel: string | null;
@@ -124128,7 +123853,6 @@ export declare const chatContract: {
124128
123853
  connectedUserId: string;
124129
123854
  };
124130
123855
  direction: "incoming" | "outgoing" | "system";
124131
- status: number;
124132
123856
  createdAt: Date;
124133
123857
  updatedAt: Date;
124134
123858
  deletedAt: Date | null;
@@ -124179,6 +123903,7 @@ export declare const chatContract: {
124179
123903
  firstResponseTime: number;
124180
123904
  lastMessage: string;
124181
123905
  handleTime: number;
123906
+ closeAt: Date;
124182
123907
  unreadCount: number;
124183
123908
  firstResponseAt: Date;
124184
123909
  isLatest: boolean;
@@ -124338,8 +124063,6 @@ export declare const chatContract: {
124338
124063
  telephonySignature: string | null;
124339
124064
  };
124340
124065
  };
124341
- closedAt: Date;
124342
- lastMessageAt: Date | null;
124343
124066
  cxlog: {
124344
124067
  id: string;
124345
124068
  channel: string | null;
@@ -124444,7 +124167,6 @@ export declare const chatContract: {
124444
124167
  connectedUserId: string;
124445
124168
  };
124446
124169
  direction: "incoming" | "outgoing" | "system";
124447
- status: number;
124448
124170
  createdAt: Date;
124449
124171
  updatedAt: Date;
124450
124172
  deletedAt: Date | null;
@@ -124495,6 +124217,7 @@ export declare const chatContract: {
124495
124217
  firstResponseTime: number;
124496
124218
  lastMessage: string;
124497
124219
  handleTime: number;
124220
+ closeAt: Date;
124498
124221
  unreadCount: number;
124499
124222
  firstResponseAt: Date;
124500
124223
  isLatest: boolean;
@@ -124654,8 +124377,6 @@ export declare const chatContract: {
124654
124377
  telephonySignature: string | null;
124655
124378
  };
124656
124379
  };
124657
- closedAt: Date;
124658
- lastMessageAt: Date | null;
124659
124380
  cxlog: {
124660
124381
  id: string;
124661
124382
  channel: string | null;
@@ -124761,7 +124482,6 @@ export declare const chatContract: {
124761
124482
  connectedUserId: string;
124762
124483
  };
124763
124484
  direction: "incoming" | "outgoing" | "system";
124764
- status: number;
124765
124485
  createdAt: Date;
124766
124486
  updatedAt: Date;
124767
124487
  deletedAt: Date | null;
@@ -124812,6 +124532,7 @@ export declare const chatContract: {
124812
124532
  firstResponseTime: number;
124813
124533
  lastMessage: string;
124814
124534
  handleTime: number;
124535
+ closeAt: Date;
124815
124536
  unreadCount: number;
124816
124537
  firstResponseAt: Date;
124817
124538
  isLatest: boolean;
@@ -124971,8 +124692,6 @@ export declare const chatContract: {
124971
124692
  telephonySignature: string | null;
124972
124693
  };
124973
124694
  };
124974
- closedAt: Date;
124975
- lastMessageAt: Date | null;
124976
124695
  cxlog: {
124977
124696
  id: string;
124978
124697
  channel: string | null;
@@ -125274,7 +124993,6 @@ export declare const chatContract: {
125274
124993
  stickerId: number;
125275
124994
  }>>;
125276
124995
  file: import("zod").ZodOptional<import("zod").ZodType<File, import("zod").ZodTypeDef, File>>;
125277
- messengerTags: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"post_purchase_update">, import("zod").ZodLiteral<"account_update">, import("zod").ZodLiteral<"confirmed_event_update">]>>;
125278
124996
  }, "strip", import("zod").ZodTypeAny, {
125279
124997
  messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
125280
124998
  roomId: string;
@@ -125337,7 +125055,6 @@ export declare const chatContract: {
125337
125055
  stickerId: number;
125338
125056
  } | undefined;
125339
125057
  file?: File | undefined;
125340
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
125341
125058
  }, {
125342
125059
  messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
125343
125060
  roomId: string;
@@ -125400,7 +125117,6 @@ export declare const chatContract: {
125400
125117
  stickerId: number;
125401
125118
  } | undefined;
125402
125119
  file?: File | undefined;
125403
- messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
125404
125120
  }>;
125405
125121
  summary: "Send message to room";
125406
125122
  method: "POST";
@@ -125432,9 +125148,7 @@ export declare const chatContract: {
125432
125148
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
125433
125149
  lastMessage: import("zod").ZodString;
125434
125150
  handleTime: import("zod").ZodNumber;
125435
- closedAt: import("zod").ZodDate;
125436
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
125437
- status: import("zod").ZodNumber;
125151
+ closeAt: import("zod").ZodDate;
125438
125152
  unreadCount: import("zod").ZodNumber;
125439
125153
  firstResponseAt: import("zod").ZodDate;
125440
125154
  firstResponseTime: import("zod").ZodNumber;
@@ -127359,7 +127073,6 @@ export declare const chatContract: {
127359
127073
  connectedUserId: string;
127360
127074
  };
127361
127075
  direction: "incoming" | "outgoing" | "system";
127362
- status: number;
127363
127076
  createdAt: Date;
127364
127077
  updatedAt: Date;
127365
127078
  deletedAt: Date | null;
@@ -127410,6 +127123,7 @@ export declare const chatContract: {
127410
127123
  firstResponseTime: number;
127411
127124
  lastMessage: string;
127412
127125
  handleTime: number;
127126
+ closeAt: Date;
127413
127127
  unreadCount: number;
127414
127128
  firstResponseAt: Date;
127415
127129
  isLatest: boolean;
@@ -127569,8 +127283,6 @@ export declare const chatContract: {
127569
127283
  telephonySignature: string | null;
127570
127284
  };
127571
127285
  };
127572
- closedAt: Date;
127573
- lastMessageAt: Date | null;
127574
127286
  cxlog: {
127575
127287
  id: string;
127576
127288
  channel: string | null;
@@ -127673,7 +127385,6 @@ export declare const chatContract: {
127673
127385
  connectedUserId: string;
127674
127386
  };
127675
127387
  direction: "incoming" | "outgoing" | "system";
127676
- status: number;
127677
127388
  createdAt: Date;
127678
127389
  updatedAt: Date;
127679
127390
  deletedAt: Date | null;
@@ -127724,6 +127435,7 @@ export declare const chatContract: {
127724
127435
  firstResponseTime: number;
127725
127436
  lastMessage: string;
127726
127437
  handleTime: number;
127438
+ closeAt: Date;
127727
127439
  unreadCount: number;
127728
127440
  firstResponseAt: Date;
127729
127441
  isLatest: boolean;
@@ -127883,8 +127595,6 @@ export declare const chatContract: {
127883
127595
  telephonySignature: string | null;
127884
127596
  };
127885
127597
  };
127886
- closedAt: Date;
127887
- lastMessageAt: Date | null;
127888
127598
  cxlog: {
127889
127599
  id: string;
127890
127600
  channel: string | null;
@@ -129733,7 +129443,6 @@ export declare const chatContract: {
129733
129443
  connectedUserId: string;
129734
129444
  };
129735
129445
  direction: "incoming" | "outgoing" | "system";
129736
- status: number;
129737
129446
  createdAt: Date;
129738
129447
  updatedAt: Date;
129739
129448
  deletedAt: Date | null;
@@ -129784,6 +129493,7 @@ export declare const chatContract: {
129784
129493
  firstResponseTime: number;
129785
129494
  lastMessage: string;
129786
129495
  handleTime: number;
129496
+ closeAt: Date;
129787
129497
  unreadCount: number;
129788
129498
  firstResponseAt: Date;
129789
129499
  isLatest: boolean;
@@ -129943,8 +129653,6 @@ export declare const chatContract: {
129943
129653
  telephonySignature: string | null;
129944
129654
  };
129945
129655
  };
129946
- closedAt: Date;
129947
- lastMessageAt: Date | null;
129948
129656
  cxlog: {
129949
129657
  id: string;
129950
129658
  channel: string | null;
@@ -130373,7 +130081,6 @@ export declare const chatContract: {
130373
130081
  connectedUserId: string;
130374
130082
  };
130375
130083
  direction: "incoming" | "outgoing" | "system";
130376
- status: number;
130377
130084
  createdAt: Date;
130378
130085
  updatedAt: Date;
130379
130086
  deletedAt: Date | null;
@@ -130424,6 +130131,7 @@ export declare const chatContract: {
130424
130131
  firstResponseTime: number;
130425
130132
  lastMessage: string;
130426
130133
  handleTime: number;
130134
+ closeAt: Date;
130427
130135
  unreadCount: number;
130428
130136
  firstResponseAt: Date;
130429
130137
  isLatest: boolean;
@@ -130583,8 +130291,6 @@ export declare const chatContract: {
130583
130291
  telephonySignature: string | null;
130584
130292
  };
130585
130293
  };
130586
- closedAt: Date;
130587
- lastMessageAt: Date | null;
130588
130294
  cxlog: {
130589
130295
  id: string;
130590
130296
  channel: string | null;
@@ -131015,7 +130721,6 @@ export declare const chatContract: {
131015
130721
  connectedUserId: string;
131016
130722
  };
131017
130723
  direction: "incoming" | "outgoing" | "system";
131018
- status: number;
131019
130724
  createdAt: Date;
131020
130725
  updatedAt: Date;
131021
130726
  deletedAt: Date | null;
@@ -131066,6 +130771,7 @@ export declare const chatContract: {
131066
130771
  firstResponseTime: number;
131067
130772
  lastMessage: string;
131068
130773
  handleTime: number;
130774
+ closeAt: Date;
131069
130775
  unreadCount: number;
131070
130776
  firstResponseAt: Date;
131071
130777
  isLatest: boolean;
@@ -131225,8 +130931,6 @@ export declare const chatContract: {
131225
130931
  telephonySignature: string | null;
131226
130932
  };
131227
130933
  };
131228
- closedAt: Date;
131229
- lastMessageAt: Date | null;
131230
130934
  cxlog: {
131231
130935
  id: string;
131232
130936
  channel: string | null;
@@ -131658,7 +131362,6 @@ export declare const chatContract: {
131658
131362
  connectedUserId: string;
131659
131363
  };
131660
131364
  direction: "incoming" | "outgoing" | "system";
131661
- status: number;
131662
131365
  createdAt: Date;
131663
131366
  updatedAt: Date;
131664
131367
  deletedAt: Date | null;
@@ -131709,6 +131412,7 @@ export declare const chatContract: {
131709
131412
  firstResponseTime: number;
131710
131413
  lastMessage: string;
131711
131414
  handleTime: number;
131415
+ closeAt: Date;
131712
131416
  unreadCount: number;
131713
131417
  firstResponseAt: Date;
131714
131418
  isLatest: boolean;
@@ -131868,8 +131572,6 @@ export declare const chatContract: {
131868
131572
  telephonySignature: string | null;
131869
131573
  };
131870
131574
  };
131871
- closedAt: Date;
131872
- lastMessageAt: Date | null;
131873
131575
  cxlog: {
131874
131576
  id: string;
131875
131577
  channel: string | null;
@@ -132265,9 +131967,7 @@ export declare const chatContract: {
132265
131967
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
132266
131968
  lastMessage: import("zod").ZodString;
132267
131969
  handleTime: import("zod").ZodNumber;
132268
- closedAt: import("zod").ZodDate;
132269
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
132270
- status: import("zod").ZodNumber;
131970
+ closeAt: import("zod").ZodDate;
132271
131971
  unreadCount: import("zod").ZodNumber;
132272
131972
  firstResponseAt: import("zod").ZodDate;
132273
131973
  firstResponseTime: import("zod").ZodNumber;
@@ -134192,7 +133892,6 @@ export declare const chatContract: {
134192
133892
  connectedUserId: string;
134193
133893
  };
134194
133894
  direction: "incoming" | "outgoing" | "system";
134195
- status: number;
134196
133895
  createdAt: Date;
134197
133896
  updatedAt: Date;
134198
133897
  deletedAt: Date | null;
@@ -134243,6 +133942,7 @@ export declare const chatContract: {
134243
133942
  firstResponseTime: number;
134244
133943
  lastMessage: string;
134245
133944
  handleTime: number;
133945
+ closeAt: Date;
134246
133946
  unreadCount: number;
134247
133947
  firstResponseAt: Date;
134248
133948
  isLatest: boolean;
@@ -134402,8 +134102,6 @@ export declare const chatContract: {
134402
134102
  telephonySignature: string | null;
134403
134103
  };
134404
134104
  };
134405
- closedAt: Date;
134406
- lastMessageAt: Date | null;
134407
134105
  cxlog: {
134408
134106
  id: string;
134409
134107
  channel: string | null;
@@ -134506,7 +134204,6 @@ export declare const chatContract: {
134506
134204
  connectedUserId: string;
134507
134205
  };
134508
134206
  direction: "incoming" | "outgoing" | "system";
134509
- status: number;
134510
134207
  createdAt: Date;
134511
134208
  updatedAt: Date;
134512
134209
  deletedAt: Date | null;
@@ -134557,6 +134254,7 @@ export declare const chatContract: {
134557
134254
  firstResponseTime: number;
134558
134255
  lastMessage: string;
134559
134256
  handleTime: number;
134257
+ closeAt: Date;
134560
134258
  unreadCount: number;
134561
134259
  firstResponseAt: Date;
134562
134260
  isLatest: boolean;
@@ -134716,8 +134414,6 @@ export declare const chatContract: {
134716
134414
  telephonySignature: string | null;
134717
134415
  };
134718
134416
  };
134719
- closedAt: Date;
134720
- lastMessageAt: Date | null;
134721
134417
  cxlog: {
134722
134418
  id: string;
134723
134419
  channel: string | null;
@@ -136566,7 +136262,6 @@ export declare const chatContract: {
136566
136262
  connectedUserId: string;
136567
136263
  };
136568
136264
  direction: "incoming" | "outgoing" | "system";
136569
- status: number;
136570
136265
  createdAt: Date;
136571
136266
  updatedAt: Date;
136572
136267
  deletedAt: Date | null;
@@ -136617,6 +136312,7 @@ export declare const chatContract: {
136617
136312
  firstResponseTime: number;
136618
136313
  lastMessage: string;
136619
136314
  handleTime: number;
136315
+ closeAt: Date;
136620
136316
  unreadCount: number;
136621
136317
  firstResponseAt: Date;
136622
136318
  isLatest: boolean;
@@ -136776,8 +136472,6 @@ export declare const chatContract: {
136776
136472
  telephonySignature: string | null;
136777
136473
  };
136778
136474
  };
136779
- closedAt: Date;
136780
- lastMessageAt: Date | null;
136781
136475
  cxlog: {
136782
136476
  id: string;
136783
136477
  channel: string | null;
@@ -137206,7 +136900,6 @@ export declare const chatContract: {
137206
136900
  connectedUserId: string;
137207
136901
  };
137208
136902
  direction: "incoming" | "outgoing" | "system";
137209
- status: number;
137210
136903
  createdAt: Date;
137211
136904
  updatedAt: Date;
137212
136905
  deletedAt: Date | null;
@@ -137257,6 +136950,7 @@ export declare const chatContract: {
137257
136950
  firstResponseTime: number;
137258
136951
  lastMessage: string;
137259
136952
  handleTime: number;
136953
+ closeAt: Date;
137260
136954
  unreadCount: number;
137261
136955
  firstResponseAt: Date;
137262
136956
  isLatest: boolean;
@@ -137416,8 +137110,6 @@ export declare const chatContract: {
137416
137110
  telephonySignature: string | null;
137417
137111
  };
137418
137112
  };
137419
- closedAt: Date;
137420
- lastMessageAt: Date | null;
137421
137113
  cxlog: {
137422
137114
  id: string;
137423
137115
  channel: string | null;
@@ -137848,7 +137540,6 @@ export declare const chatContract: {
137848
137540
  connectedUserId: string;
137849
137541
  };
137850
137542
  direction: "incoming" | "outgoing" | "system";
137851
- status: number;
137852
137543
  createdAt: Date;
137853
137544
  updatedAt: Date;
137854
137545
  deletedAt: Date | null;
@@ -137899,6 +137590,7 @@ export declare const chatContract: {
137899
137590
  firstResponseTime: number;
137900
137591
  lastMessage: string;
137901
137592
  handleTime: number;
137593
+ closeAt: Date;
137902
137594
  unreadCount: number;
137903
137595
  firstResponseAt: Date;
137904
137596
  isLatest: boolean;
@@ -138058,8 +137750,6 @@ export declare const chatContract: {
138058
137750
  telephonySignature: string | null;
138059
137751
  };
138060
137752
  };
138061
- closedAt: Date;
138062
- lastMessageAt: Date | null;
138063
137753
  cxlog: {
138064
137754
  id: string;
138065
137755
  channel: string | null;
@@ -138494,7 +138184,6 @@ export declare const chatContract: {
138494
138184
  connectedUserId: string;
138495
138185
  };
138496
138186
  direction: "incoming" | "outgoing" | "system";
138497
- status: number;
138498
138187
  createdAt: Date;
138499
138188
  updatedAt: Date;
138500
138189
  deletedAt: Date | null;
@@ -138545,6 +138234,7 @@ export declare const chatContract: {
138545
138234
  firstResponseTime: number;
138546
138235
  lastMessage: string;
138547
138236
  handleTime: number;
138237
+ closeAt: Date;
138548
138238
  unreadCount: number;
138549
138239
  firstResponseAt: Date;
138550
138240
  isLatest: boolean;
@@ -138704,8 +138394,6 @@ export declare const chatContract: {
138704
138394
  telephonySignature: string | null;
138705
138395
  };
138706
138396
  };
138707
- closedAt: Date;
138708
- lastMessageAt: Date | null;
138709
138397
  cxlog: {
138710
138398
  id: string;
138711
138399
  channel: string | null;
@@ -139365,7 +139053,6 @@ export declare const chatContract: {
139365
139053
  connectedUserId: string;
139366
139054
  }>;
139367
139055
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
139368
- status: import("zod").ZodNumber;
139369
139056
  createdAt: import("zod").ZodDate;
139370
139057
  updatedAt: import("zod").ZodDate;
139371
139058
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
@@ -139576,6 +139263,7 @@ export declare const chatContract: {
139576
139263
  firstResponseTime: import("zod").ZodNumber;
139577
139264
  lastMessage: import("zod").ZodString;
139578
139265
  handleTime: import("zod").ZodNumber;
139266
+ closeAt: import("zod").ZodDate;
139579
139267
  unreadCount: import("zod").ZodNumber;
139580
139268
  firstResponseAt: import("zod").ZodDate;
139581
139269
  isLatest: import("zod").ZodBoolean;
@@ -140717,8 +140405,6 @@ export declare const chatContract: {
140717
140405
  telephonySignature: string | null;
140718
140406
  };
140719
140407
  }>;
140720
- closedAt: import("zod").ZodDate;
140721
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
140722
140408
  cxlog: import("zod").ZodObject<{
140723
140409
  id: import("zod").ZodString;
140724
140410
  createdAt: import("zod").ZodDate;
@@ -140932,7 +140618,6 @@ export declare const chatContract: {
140932
140618
  connectedUserId: string;
140933
140619
  };
140934
140620
  direction: "incoming" | "outgoing" | "system";
140935
- status: number;
140936
140621
  createdAt: Date;
140937
140622
  updatedAt: Date;
140938
140623
  deletedAt: Date | null;
@@ -140983,6 +140668,7 @@ export declare const chatContract: {
140983
140668
  firstResponseTime: number;
140984
140669
  lastMessage: string;
140985
140670
  handleTime: number;
140671
+ closeAt: Date;
140986
140672
  unreadCount: number;
140987
140673
  firstResponseAt: Date;
140988
140674
  isLatest: boolean;
@@ -141142,8 +140828,6 @@ export declare const chatContract: {
141142
140828
  telephonySignature: string | null;
141143
140829
  };
141144
140830
  };
141145
- closedAt: Date;
141146
- lastMessageAt: Date | null;
141147
140831
  cxlog: {
141148
140832
  id: string;
141149
140833
  channel: string | null;
@@ -141247,7 +140931,6 @@ export declare const chatContract: {
141247
140931
  connectedUserId: string;
141248
140932
  };
141249
140933
  direction: "incoming" | "outgoing" | "system";
141250
- status: number;
141251
140934
  createdAt: Date;
141252
140935
  updatedAt: Date;
141253
140936
  deletedAt: Date | null;
@@ -141298,6 +140981,7 @@ export declare const chatContract: {
141298
140981
  firstResponseTime: number;
141299
140982
  lastMessage: string;
141300
140983
  handleTime: number;
140984
+ closeAt: Date;
141301
140985
  unreadCount: number;
141302
140986
  firstResponseAt: Date;
141303
140987
  isLatest: boolean;
@@ -141457,8 +141141,6 @@ export declare const chatContract: {
141457
141141
  telephonySignature: string | null;
141458
141142
  };
141459
141143
  };
141460
- closedAt: Date;
141461
- lastMessageAt: Date | null;
141462
141144
  cxlog: {
141463
141145
  id: string;
141464
141146
  channel: string | null;
@@ -141564,7 +141246,6 @@ export declare const chatContract: {
141564
141246
  connectedUserId: string;
141565
141247
  };
141566
141248
  direction: "incoming" | "outgoing" | "system";
141567
- status: number;
141568
141249
  createdAt: Date;
141569
141250
  updatedAt: Date;
141570
141251
  deletedAt: Date | null;
@@ -141615,6 +141296,7 @@ export declare const chatContract: {
141615
141296
  firstResponseTime: number;
141616
141297
  lastMessage: string;
141617
141298
  handleTime: number;
141299
+ closeAt: Date;
141618
141300
  unreadCount: number;
141619
141301
  firstResponseAt: Date;
141620
141302
  isLatest: boolean;
@@ -141774,8 +141456,6 @@ export declare const chatContract: {
141774
141456
  telephonySignature: string | null;
141775
141457
  };
141776
141458
  };
141777
- closedAt: Date;
141778
- lastMessageAt: Date | null;
141779
141459
  cxlog: {
141780
141460
  id: string;
141781
141461
  channel: string | null;
@@ -141882,7 +141562,6 @@ export declare const chatContract: {
141882
141562
  connectedUserId: string;
141883
141563
  };
141884
141564
  direction: "incoming" | "outgoing" | "system";
141885
- status: number;
141886
141565
  createdAt: Date;
141887
141566
  updatedAt: Date;
141888
141567
  deletedAt: Date | null;
@@ -141933,6 +141612,7 @@ export declare const chatContract: {
141933
141612
  firstResponseTime: number;
141934
141613
  lastMessage: string;
141935
141614
  handleTime: number;
141615
+ closeAt: Date;
141936
141616
  unreadCount: number;
141937
141617
  firstResponseAt: Date;
141938
141618
  isLatest: boolean;
@@ -142092,8 +141772,6 @@ export declare const chatContract: {
142092
141772
  telephonySignature: string | null;
142093
141773
  };
142094
141774
  };
142095
- closedAt: Date;
142096
- lastMessageAt: Date | null;
142097
141775
  cxlog: {
142098
141776
  id: string;
142099
141777
  channel: string | null;
@@ -142184,9 +141862,7 @@ export declare const chatContract: {
142184
141862
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
142185
141863
  lastMessage: import("zod").ZodString;
142186
141864
  handleTime: import("zod").ZodNumber;
142187
- closedAt: import("zod").ZodDate;
142188
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
142189
- status: import("zod").ZodNumber;
141865
+ closeAt: import("zod").ZodDate;
142190
141866
  unreadCount: import("zod").ZodNumber;
142191
141867
  firstResponseAt: import("zod").ZodDate;
142192
141868
  firstResponseTime: import("zod").ZodNumber;
@@ -144111,7 +143787,6 @@ export declare const chatContract: {
144111
143787
  connectedUserId: string;
144112
143788
  };
144113
143789
  direction: "incoming" | "outgoing" | "system";
144114
- status: number;
144115
143790
  createdAt: Date;
144116
143791
  updatedAt: Date;
144117
143792
  deletedAt: Date | null;
@@ -144162,6 +143837,7 @@ export declare const chatContract: {
144162
143837
  firstResponseTime: number;
144163
143838
  lastMessage: string;
144164
143839
  handleTime: number;
143840
+ closeAt: Date;
144165
143841
  unreadCount: number;
144166
143842
  firstResponseAt: Date;
144167
143843
  isLatest: boolean;
@@ -144321,8 +143997,6 @@ export declare const chatContract: {
144321
143997
  telephonySignature: string | null;
144322
143998
  };
144323
143999
  };
144324
- closedAt: Date;
144325
- lastMessageAt: Date | null;
144326
144000
  cxlog: {
144327
144001
  id: string;
144328
144002
  channel: string | null;
@@ -144425,7 +144099,6 @@ export declare const chatContract: {
144425
144099
  connectedUserId: string;
144426
144100
  };
144427
144101
  direction: "incoming" | "outgoing" | "system";
144428
- status: number;
144429
144102
  createdAt: Date;
144430
144103
  updatedAt: Date;
144431
144104
  deletedAt: Date | null;
@@ -144476,6 +144149,7 @@ export declare const chatContract: {
144476
144149
  firstResponseTime: number;
144477
144150
  lastMessage: string;
144478
144151
  handleTime: number;
144152
+ closeAt: Date;
144479
144153
  unreadCount: number;
144480
144154
  firstResponseAt: Date;
144481
144155
  isLatest: boolean;
@@ -144635,8 +144309,6 @@ export declare const chatContract: {
144635
144309
  telephonySignature: string | null;
144636
144310
  };
144637
144311
  };
144638
- closedAt: Date;
144639
- lastMessageAt: Date | null;
144640
144312
  cxlog: {
144641
144313
  id: string;
144642
144314
  channel: string | null;
@@ -144741,7 +144413,6 @@ export declare const chatContract: {
144741
144413
  connectedUserId: string;
144742
144414
  };
144743
144415
  direction: "incoming" | "outgoing" | "system";
144744
- status: number;
144745
144416
  createdAt: Date;
144746
144417
  updatedAt: Date;
144747
144418
  deletedAt: Date | null;
@@ -144792,6 +144463,7 @@ export declare const chatContract: {
144792
144463
  firstResponseTime: number;
144793
144464
  lastMessage: string;
144794
144465
  handleTime: number;
144466
+ closeAt: Date;
144795
144467
  unreadCount: number;
144796
144468
  firstResponseAt: Date;
144797
144469
  isLatest: boolean;
@@ -144951,8 +144623,6 @@ export declare const chatContract: {
144951
144623
  telephonySignature: string | null;
144952
144624
  };
144953
144625
  };
144954
- closedAt: Date;
144955
- lastMessageAt: Date | null;
144956
144626
  cxlog: {
144957
144627
  id: string;
144958
144628
  channel: string | null;
@@ -145058,7 +144728,6 @@ export declare const chatContract: {
145058
144728
  connectedUserId: string;
145059
144729
  };
145060
144730
  direction: "incoming" | "outgoing" | "system";
145061
- status: number;
145062
144731
  createdAt: Date;
145063
144732
  updatedAt: Date;
145064
144733
  deletedAt: Date | null;
@@ -145109,6 +144778,7 @@ export declare const chatContract: {
145109
144778
  firstResponseTime: number;
145110
144779
  lastMessage: string;
145111
144780
  handleTime: number;
144781
+ closeAt: Date;
145112
144782
  unreadCount: number;
145113
144783
  firstResponseAt: Date;
145114
144784
  isLatest: boolean;
@@ -145268,8 +144938,6 @@ export declare const chatContract: {
145268
144938
  telephonySignature: string | null;
145269
144939
  };
145270
144940
  };
145271
- closedAt: Date;
145272
- lastMessageAt: Date | null;
145273
144941
  cxlog: {
145274
144942
  id: string;
145275
144943
  channel: string | null;
@@ -145346,9 +145014,7 @@ export declare const chatContract: {
145346
145014
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
145347
145015
  lastMessage: import("zod").ZodString;
145348
145016
  handleTime: import("zod").ZodNumber;
145349
- closedAt: import("zod").ZodDate;
145350
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
145351
- status: import("zod").ZodNumber;
145017
+ closeAt: import("zod").ZodDate;
145352
145018
  unreadCount: import("zod").ZodNumber;
145353
145019
  firstResponseAt: import("zod").ZodDate;
145354
145020
  firstResponseTime: import("zod").ZodNumber;
@@ -147273,7 +146939,6 @@ export declare const chatContract: {
147273
146939
  connectedUserId: string;
147274
146940
  };
147275
146941
  direction: "incoming" | "outgoing" | "system";
147276
- status: number;
147277
146942
  createdAt: Date;
147278
146943
  updatedAt: Date;
147279
146944
  deletedAt: Date | null;
@@ -147324,6 +146989,7 @@ export declare const chatContract: {
147324
146989
  firstResponseTime: number;
147325
146990
  lastMessage: string;
147326
146991
  handleTime: number;
146992
+ closeAt: Date;
147327
146993
  unreadCount: number;
147328
146994
  firstResponseAt: Date;
147329
146995
  isLatest: boolean;
@@ -147483,8 +147149,6 @@ export declare const chatContract: {
147483
147149
  telephonySignature: string | null;
147484
147150
  };
147485
147151
  };
147486
- closedAt: Date;
147487
- lastMessageAt: Date | null;
147488
147152
  cxlog: {
147489
147153
  id: string;
147490
147154
  channel: string | null;
@@ -147587,7 +147251,6 @@ export declare const chatContract: {
147587
147251
  connectedUserId: string;
147588
147252
  };
147589
147253
  direction: "incoming" | "outgoing" | "system";
147590
- status: number;
147591
147254
  createdAt: Date;
147592
147255
  updatedAt: Date;
147593
147256
  deletedAt: Date | null;
@@ -147638,6 +147301,7 @@ export declare const chatContract: {
147638
147301
  firstResponseTime: number;
147639
147302
  lastMessage: string;
147640
147303
  handleTime: number;
147304
+ closeAt: Date;
147641
147305
  unreadCount: number;
147642
147306
  firstResponseAt: Date;
147643
147307
  isLatest: boolean;
@@ -147797,8 +147461,6 @@ export declare const chatContract: {
147797
147461
  telephonySignature: string | null;
147798
147462
  };
147799
147463
  };
147800
- closedAt: Date;
147801
- lastMessageAt: Date | null;
147802
147464
  cxlog: {
147803
147465
  id: string;
147804
147466
  channel: string | null;
@@ -147903,7 +147565,6 @@ export declare const chatContract: {
147903
147565
  connectedUserId: string;
147904
147566
  };
147905
147567
  direction: "incoming" | "outgoing" | "system";
147906
- status: number;
147907
147568
  createdAt: Date;
147908
147569
  updatedAt: Date;
147909
147570
  deletedAt: Date | null;
@@ -147954,6 +147615,7 @@ export declare const chatContract: {
147954
147615
  firstResponseTime: number;
147955
147616
  lastMessage: string;
147956
147617
  handleTime: number;
147618
+ closeAt: Date;
147957
147619
  unreadCount: number;
147958
147620
  firstResponseAt: Date;
147959
147621
  isLatest: boolean;
@@ -148113,8 +147775,6 @@ export declare const chatContract: {
148113
147775
  telephonySignature: string | null;
148114
147776
  };
148115
147777
  };
148116
- closedAt: Date;
148117
- lastMessageAt: Date | null;
148118
147778
  cxlog: {
148119
147779
  id: string;
148120
147780
  channel: string | null;
@@ -148220,7 +147880,6 @@ export declare const chatContract: {
148220
147880
  connectedUserId: string;
148221
147881
  };
148222
147882
  direction: "incoming" | "outgoing" | "system";
148223
- status: number;
148224
147883
  createdAt: Date;
148225
147884
  updatedAt: Date;
148226
147885
  deletedAt: Date | null;
@@ -148271,6 +147930,7 @@ export declare const chatContract: {
148271
147930
  firstResponseTime: number;
148272
147931
  lastMessage: string;
148273
147932
  handleTime: number;
147933
+ closeAt: Date;
148274
147934
  unreadCount: number;
148275
147935
  firstResponseAt: Date;
148276
147936
  isLatest: boolean;
@@ -148430,8 +148090,6 @@ export declare const chatContract: {
148430
148090
  telephonySignature: string | null;
148431
148091
  };
148432
148092
  };
148433
- closedAt: Date;
148434
- lastMessageAt: Date | null;
148435
148093
  cxlog: {
148436
148094
  id: string;
148437
148095
  channel: string | null;
@@ -148880,7 +148538,6 @@ export declare const chatContract: {
148880
148538
  connectedUserId: string;
148881
148539
  }>;
148882
148540
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
148883
- status: import("zod").ZodNumber;
148884
148541
  createdAt: import("zod").ZodDate;
148885
148542
  updatedAt: import("zod").ZodDate;
148886
148543
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
@@ -149091,6 +148748,7 @@ export declare const chatContract: {
149091
148748
  firstResponseTime: import("zod").ZodNumber;
149092
148749
  lastMessage: import("zod").ZodString;
149093
148750
  handleTime: import("zod").ZodNumber;
148751
+ closeAt: import("zod").ZodDate;
149094
148752
  unreadCount: import("zod").ZodNumber;
149095
148753
  firstResponseAt: import("zod").ZodDate;
149096
148754
  isLatest: import("zod").ZodBoolean;
@@ -150232,8 +149890,6 @@ export declare const chatContract: {
150232
149890
  telephonySignature: string | null;
150233
149891
  };
150234
149892
  }>;
150235
- closedAt: import("zod").ZodDate;
150236
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
150237
149893
  cxlog: import("zod").ZodObject<{
150238
149894
  id: import("zod").ZodString;
150239
149895
  createdAt: import("zod").ZodDate;
@@ -151134,7 +150790,6 @@ export declare const chatContract: {
151134
150790
  connectedUserId: string;
151135
150791
  };
151136
150792
  direction: "incoming" | "outgoing" | "system";
151137
- status: number;
151138
150793
  createdAt: Date;
151139
150794
  updatedAt: Date;
151140
150795
  deletedAt: Date | null;
@@ -151282,6 +150937,7 @@ export declare const chatContract: {
151282
150937
  firstResponseTime: number;
151283
150938
  lastMessage: string;
151284
150939
  handleTime: number;
150940
+ closeAt: Date;
151285
150941
  unreadCount: number;
151286
150942
  firstResponseAt: Date;
151287
150943
  isLatest: boolean;
@@ -151441,8 +151097,6 @@ export declare const chatContract: {
151441
151097
  telephonySignature: string | null;
151442
151098
  };
151443
151099
  };
151444
- closedAt: Date;
151445
- lastMessageAt: Date | null;
151446
151100
  cxlog: {
151447
151101
  id: string;
151448
151102
  channel: string | null;
@@ -151546,7 +151200,6 @@ export declare const chatContract: {
151546
151200
  connectedUserId: string;
151547
151201
  };
151548
151202
  direction: "incoming" | "outgoing" | "system";
151549
- status: number;
151550
151203
  createdAt: Date;
151551
151204
  updatedAt: Date;
151552
151205
  deletedAt: Date | null;
@@ -151694,6 +151347,7 @@ export declare const chatContract: {
151694
151347
  firstResponseTime: number;
151695
151348
  lastMessage: string;
151696
151349
  handleTime: number;
151350
+ closeAt: Date;
151697
151351
  unreadCount: number;
151698
151352
  firstResponseAt: Date;
151699
151353
  isLatest: boolean;
@@ -151853,8 +151507,6 @@ export declare const chatContract: {
151853
151507
  telephonySignature: string | null;
151854
151508
  };
151855
151509
  };
151856
- closedAt: Date;
151857
- lastMessageAt: Date | null;
151858
151510
  cxlog: {
151859
151511
  id: string;
151860
151512
  channel: string | null;
@@ -151960,7 +151612,6 @@ export declare const chatContract: {
151960
151612
  connectedUserId: string;
151961
151613
  };
151962
151614
  direction: "incoming" | "outgoing" | "system";
151963
- status: number;
151964
151615
  createdAt: Date;
151965
151616
  updatedAt: Date;
151966
151617
  deletedAt: Date | null;
@@ -152108,6 +151759,7 @@ export declare const chatContract: {
152108
151759
  firstResponseTime: number;
152109
151760
  lastMessage: string;
152110
151761
  handleTime: number;
151762
+ closeAt: Date;
152111
151763
  unreadCount: number;
152112
151764
  firstResponseAt: Date;
152113
151765
  isLatest: boolean;
@@ -152267,8 +151919,6 @@ export declare const chatContract: {
152267
151919
  telephonySignature: string | null;
152268
151920
  };
152269
151921
  };
152270
- closedAt: Date;
152271
- lastMessageAt: Date | null;
152272
151922
  cxlog: {
152273
151923
  id: string;
152274
151924
  channel: string | null;
@@ -152375,7 +152025,6 @@ export declare const chatContract: {
152375
152025
  connectedUserId: string;
152376
152026
  };
152377
152027
  direction: "incoming" | "outgoing" | "system";
152378
- status: number;
152379
152028
  createdAt: Date;
152380
152029
  updatedAt: Date;
152381
152030
  deletedAt: Date | null;
@@ -152523,6 +152172,7 @@ export declare const chatContract: {
152523
152172
  firstResponseTime: number;
152524
152173
  lastMessage: string;
152525
152174
  handleTime: number;
152175
+ closeAt: Date;
152526
152176
  unreadCount: number;
152527
152177
  firstResponseAt: Date;
152528
152178
  isLatest: boolean;
@@ -152682,8 +152332,6 @@ export declare const chatContract: {
152682
152332
  telephonySignature: string | null;
152683
152333
  };
152684
152334
  };
152685
- closedAt: Date;
152686
- lastMessageAt: Date | null;
152687
152335
  cxlog: {
152688
152336
  id: string;
152689
152337
  channel: string | null;
@@ -153123,7 +152771,6 @@ export declare const chatContract: {
153123
152771
  connectedUserId: string;
153124
152772
  }>;
153125
152773
  direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
153126
- status: import("zod").ZodNumber;
153127
152774
  createdAt: import("zod").ZodDate;
153128
152775
  updatedAt: import("zod").ZodDate;
153129
152776
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
@@ -153334,6 +152981,7 @@ export declare const chatContract: {
153334
152981
  firstResponseTime: import("zod").ZodNumber;
153335
152982
  lastMessage: import("zod").ZodString;
153336
152983
  handleTime: import("zod").ZodNumber;
152984
+ closeAt: import("zod").ZodDate;
153337
152985
  unreadCount: import("zod").ZodNumber;
153338
152986
  firstResponseAt: import("zod").ZodDate;
153339
152987
  isLatest: import("zod").ZodBoolean;
@@ -154475,8 +154123,6 @@ export declare const chatContract: {
154475
154123
  telephonySignature: string | null;
154476
154124
  };
154477
154125
  }>;
154478
- closedAt: import("zod").ZodDate;
154479
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
154480
154126
  cxlog: import("zod").ZodObject<{
154481
154127
  id: import("zod").ZodString;
154482
154128
  createdAt: import("zod").ZodDate;
@@ -154691,7 +154337,6 @@ export declare const chatContract: {
154691
154337
  };
154692
154338
  direction: "incoming" | "outgoing" | "system";
154693
154339
  description: string | null;
154694
- status: number;
154695
154340
  createdAt: Date;
154696
154341
  updatedAt: Date;
154697
154342
  deletedAt: Date | null;
@@ -154742,6 +154387,7 @@ export declare const chatContract: {
154742
154387
  firstResponseTime: number;
154743
154388
  lastMessage: string;
154744
154389
  handleTime: number;
154390
+ closeAt: Date;
154745
154391
  unreadCount: number;
154746
154392
  firstResponseAt: Date;
154747
154393
  isLatest: boolean;
@@ -154901,8 +154547,6 @@ export declare const chatContract: {
154901
154547
  telephonySignature: string | null;
154902
154548
  };
154903
154549
  };
154904
- closedAt: Date;
154905
- lastMessageAt: Date | null;
154906
154550
  cxlog: {
154907
154551
  id: string;
154908
154552
  channel: string | null;
@@ -155006,7 +154650,6 @@ export declare const chatContract: {
155006
154650
  };
155007
154651
  direction: "incoming" | "outgoing" | "system";
155008
154652
  description: string | null;
155009
- status: number;
155010
154653
  createdAt: Date;
155011
154654
  updatedAt: Date;
155012
154655
  deletedAt: Date | null;
@@ -155057,6 +154700,7 @@ export declare const chatContract: {
155057
154700
  firstResponseTime: number;
155058
154701
  lastMessage: string;
155059
154702
  handleTime: number;
154703
+ closeAt: Date;
155060
154704
  unreadCount: number;
155061
154705
  firstResponseAt: Date;
155062
154706
  isLatest: boolean;
@@ -155216,8 +154860,6 @@ export declare const chatContract: {
155216
154860
  telephonySignature: string | null;
155217
154861
  };
155218
154862
  };
155219
- closedAt: Date;
155220
- lastMessageAt: Date | null;
155221
154863
  cxlog: {
155222
154864
  id: string;
155223
154865
  channel: string | null;
@@ -155323,7 +154965,6 @@ export declare const chatContract: {
155323
154965
  };
155324
154966
  direction: "incoming" | "outgoing" | "system";
155325
154967
  description: string | null;
155326
- status: number;
155327
154968
  createdAt: Date;
155328
154969
  updatedAt: Date;
155329
154970
  deletedAt: Date | null;
@@ -155374,6 +155015,7 @@ export declare const chatContract: {
155374
155015
  firstResponseTime: number;
155375
155016
  lastMessage: string;
155376
155017
  handleTime: number;
155018
+ closeAt: Date;
155377
155019
  unreadCount: number;
155378
155020
  firstResponseAt: Date;
155379
155021
  isLatest: boolean;
@@ -155533,8 +155175,6 @@ export declare const chatContract: {
155533
155175
  telephonySignature: string | null;
155534
155176
  };
155535
155177
  };
155536
- closedAt: Date;
155537
- lastMessageAt: Date | null;
155538
155178
  cxlog: {
155539
155179
  id: string;
155540
155180
  channel: string | null;
@@ -155641,7 +155281,6 @@ export declare const chatContract: {
155641
155281
  };
155642
155282
  direction: "incoming" | "outgoing" | "system";
155643
155283
  description: string | null;
155644
- status: number;
155645
155284
  createdAt: Date;
155646
155285
  updatedAt: Date;
155647
155286
  deletedAt: Date | null;
@@ -155692,6 +155331,7 @@ export declare const chatContract: {
155692
155331
  firstResponseTime: number;
155693
155332
  lastMessage: string;
155694
155333
  handleTime: number;
155334
+ closeAt: Date;
155695
155335
  unreadCount: number;
155696
155336
  firstResponseAt: Date;
155697
155337
  isLatest: boolean;
@@ -155851,8 +155491,6 @@ export declare const chatContract: {
155851
155491
  telephonySignature: string | null;
155852
155492
  };
155853
155493
  };
155854
- closedAt: Date;
155855
- lastMessageAt: Date | null;
155856
155494
  cxlog: {
155857
155495
  id: string;
155858
155496
  channel: string | null;
@@ -155941,9 +155579,7 @@ export declare const chatContract: {
155941
155579
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
155942
155580
  lastMessage: import("zod").ZodString;
155943
155581
  handleTime: import("zod").ZodNumber;
155944
- closedAt: import("zod").ZodDate;
155945
- lastMessageAt: import("zod").ZodNullable<import("zod").ZodDate>;
155946
- status: import("zod").ZodNumber;
155582
+ closeAt: import("zod").ZodDate;
155947
155583
  unreadCount: import("zod").ZodNumber;
155948
155584
  firstResponseAt: import("zod").ZodDate;
155949
155585
  firstResponseTime: import("zod").ZodNumber;
@@ -157868,7 +157504,6 @@ export declare const chatContract: {
157868
157504
  connectedUserId: string;
157869
157505
  };
157870
157506
  direction: "incoming" | "outgoing" | "system";
157871
- status: number;
157872
157507
  createdAt: Date;
157873
157508
  updatedAt: Date;
157874
157509
  deletedAt: Date | null;
@@ -157919,6 +157554,7 @@ export declare const chatContract: {
157919
157554
  firstResponseTime: number;
157920
157555
  lastMessage: string;
157921
157556
  handleTime: number;
157557
+ closeAt: Date;
157922
157558
  unreadCount: number;
157923
157559
  firstResponseAt: Date;
157924
157560
  isLatest: boolean;
@@ -158078,8 +157714,6 @@ export declare const chatContract: {
158078
157714
  telephonySignature: string | null;
158079
157715
  };
158080
157716
  };
158081
- closedAt: Date;
158082
- lastMessageAt: Date | null;
158083
157717
  cxlog: {
158084
157718
  id: string;
158085
157719
  channel: string | null;
@@ -158182,7 +157816,6 @@ export declare const chatContract: {
158182
157816
  connectedUserId: string;
158183
157817
  };
158184
157818
  direction: "incoming" | "outgoing" | "system";
158185
- status: number;
158186
157819
  createdAt: Date;
158187
157820
  updatedAt: Date;
158188
157821
  deletedAt: Date | null;
@@ -158233,6 +157866,7 @@ export declare const chatContract: {
158233
157866
  firstResponseTime: number;
158234
157867
  lastMessage: string;
158235
157868
  handleTime: number;
157869
+ closeAt: Date;
158236
157870
  unreadCount: number;
158237
157871
  firstResponseAt: Date;
158238
157872
  isLatest: boolean;
@@ -158392,8 +158026,6 @@ export declare const chatContract: {
158392
158026
  telephonySignature: string | null;
158393
158027
  };
158394
158028
  };
158395
- closedAt: Date;
158396
- lastMessageAt: Date | null;
158397
158029
  cxlog: {
158398
158030
  id: string;
158399
158031
  channel: string | null;
@@ -158498,7 +158130,6 @@ export declare const chatContract: {
158498
158130
  connectedUserId: string;
158499
158131
  };
158500
158132
  direction: "incoming" | "outgoing" | "system";
158501
- status: number;
158502
158133
  createdAt: Date;
158503
158134
  updatedAt: Date;
158504
158135
  deletedAt: Date | null;
@@ -158549,6 +158180,7 @@ export declare const chatContract: {
158549
158180
  firstResponseTime: number;
158550
158181
  lastMessage: string;
158551
158182
  handleTime: number;
158183
+ closeAt: Date;
158552
158184
  unreadCount: number;
158553
158185
  firstResponseAt: Date;
158554
158186
  isLatest: boolean;
@@ -158708,8 +158340,6 @@ export declare const chatContract: {
158708
158340
  telephonySignature: string | null;
158709
158341
  };
158710
158342
  };
158711
- closedAt: Date;
158712
- lastMessageAt: Date | null;
158713
158343
  cxlog: {
158714
158344
  id: string;
158715
158345
  channel: string | null;
@@ -158818,7 +158448,6 @@ export declare const chatContract: {
158818
158448
  connectedUserId: string;
158819
158449
  };
158820
158450
  direction: "incoming" | "outgoing" | "system";
158821
- status: number;
158822
158451
  createdAt: Date;
158823
158452
  updatedAt: Date;
158824
158453
  deletedAt: Date | null;
@@ -158869,6 +158498,7 @@ export declare const chatContract: {
158869
158498
  firstResponseTime: number;
158870
158499
  lastMessage: string;
158871
158500
  handleTime: number;
158501
+ closeAt: Date;
158872
158502
  unreadCount: number;
158873
158503
  firstResponseAt: Date;
158874
158504
  isLatest: boolean;
@@ -159028,8 +158658,6 @@ export declare const chatContract: {
159028
158658
  telephonySignature: string | null;
159029
158659
  };
159030
158660
  };
159031
- closedAt: Date;
159032
- lastMessageAt: Date | null;
159033
158661
  cxlog: {
159034
158662
  id: string;
159035
158663
  channel: string | null;