@kl1/contracts 1.3.0 → 1.3.2

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.
@@ -15,7 +15,7 @@ export declare const messengerContract: {
15
15
  lastMessage: z.ZodOptional<z.ZodString>;
16
16
  handleTime: z.ZodOptional<z.ZodNumber>;
17
17
  isLatest: z.ZodBoolean;
18
- direction: z.ZodEnum<[string, ...string[]]>;
18
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
19
19
  metadata: z.ZodOptional<z.ZodAny>;
20
20
  createdAt: z.ZodString;
21
21
  updatedAt: z.ZodString;
@@ -437,7 +437,7 @@ export declare const messengerContract: {
437
437
  connectedUserName?: string | null | undefined;
438
438
  connectedUserId?: string | null | undefined;
439
439
  };
440
- direction: string;
440
+ direction: "incoming" | "outgoing" | "system";
441
441
  createdAt: string;
442
442
  updatedAt: string;
443
443
  actor: {
@@ -529,7 +529,7 @@ export declare const messengerContract: {
529
529
  connectedUserName?: string | null | undefined;
530
530
  connectedUserId?: string | null | undefined;
531
531
  };
532
- direction: string;
532
+ direction: "incoming" | "outgoing" | "system";
533
533
  createdAt: string;
534
534
  updatedAt: string;
535
535
  actor: {
@@ -574,8 +574,8 @@ export declare const messengerContract: {
574
574
  message: z.ZodObject<{
575
575
  id: z.ZodOptional<z.ZodString>;
576
576
  message: z.ZodOptional<z.ZodString>;
577
- direction: z.ZodEnum<[string, ...string[]]>;
578
- type: z.ZodEnum<[string, ...string[]]>;
577
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
578
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
579
579
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
580
580
  metadata: z.ZodOptional<z.ZodAny>;
581
581
  platformId: z.ZodOptional<z.ZodString>;
@@ -632,7 +632,7 @@ export declare const messengerContract: {
632
632
  label: z.ZodOptional<z.ZodString>;
633
633
  }, "strip", z.ZodTypeAny, {
634
634
  type: string;
635
- direction: string;
635
+ direction: "incoming" | "outgoing" | "system";
636
636
  message?: string | undefined;
637
637
  id?: string | undefined;
638
638
  url?: string | undefined;
@@ -667,7 +667,7 @@ export declare const messengerContract: {
667
667
  editedAt?: string | Date | null | undefined;
668
668
  }, {
669
669
  type: string;
670
- direction: string;
670
+ direction: "incoming" | "outgoing" | "system";
671
671
  message?: string | undefined;
672
672
  id?: string | undefined;
673
673
  url?: string | undefined;
@@ -704,7 +704,7 @@ export declare const messengerContract: {
704
704
  }, "strip", z.ZodTypeAny, {
705
705
  message: {
706
706
  type: string;
707
- direction: string;
707
+ direction: "incoming" | "outgoing" | "system";
708
708
  message?: string | undefined;
709
709
  id?: string | undefined;
710
710
  url?: string | undefined;
@@ -789,7 +789,7 @@ export declare const messengerContract: {
789
789
  connectedUserName?: string | null | undefined;
790
790
  connectedUserId?: string | null | undefined;
791
791
  };
792
- direction: string;
792
+ direction: "incoming" | "outgoing" | "system";
793
793
  createdAt: string;
794
794
  updatedAt: string;
795
795
  actor: {
@@ -835,7 +835,7 @@ export declare const messengerContract: {
835
835
  }, {
836
836
  message: {
837
837
  type: string;
838
- direction: string;
838
+ direction: "incoming" | "outgoing" | "system";
839
839
  message?: string | undefined;
840
840
  id?: string | undefined;
841
841
  url?: string | undefined;
@@ -920,7 +920,7 @@ export declare const messengerContract: {
920
920
  connectedUserName?: string | null | undefined;
921
921
  connectedUserId?: string | null | undefined;
922
922
  };
923
- direction: string;
923
+ direction: "incoming" | "outgoing" | "system";
924
924
  createdAt: string;
925
925
  updatedAt: string;
926
926
  actor: {
@@ -977,8 +977,8 @@ export declare const messengerContract: {
977
977
  deletedAt: z.ZodNullable<z.ZodDate>;
978
978
  }, {
979
979
  message: z.ZodString;
980
- direction: z.ZodEnum<[string, ...string[]]>;
981
- type: z.ZodEnum<[string, ...string[]]>;
980
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
981
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
982
982
  readAt: z.ZodDate;
983
983
  metadata: z.ZodAny;
984
984
  platformId: z.ZodString;
@@ -1005,7 +1005,7 @@ export declare const messengerContract: {
1005
1005
  firstResponseTime: z.ZodNumber;
1006
1006
  isLatest: z.ZodBoolean;
1007
1007
  isBotRoom: z.ZodBoolean;
1008
- direction: z.ZodEnum<[string, ...string[]]>;
1008
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1009
1009
  platformContact: z.ZodObject<{
1010
1010
  id: z.ZodString;
1011
1011
  createdAt: z.ZodDate;
@@ -3690,7 +3690,7 @@ export declare const messengerContract: {
3690
3690
  integrationId: string;
3691
3691
  } | null;
3692
3692
  };
3693
- direction: string;
3693
+ direction: "incoming" | "outgoing" | "system";
3694
3694
  status: number;
3695
3695
  createdAt: Date;
3696
3696
  updatedAt: Date;
@@ -4119,7 +4119,7 @@ export declare const messengerContract: {
4119
4119
  integrationId: string;
4120
4120
  } | null;
4121
4121
  };
4122
- direction: string;
4122
+ direction: "incoming" | "outgoing" | "system";
4123
4123
  status: number;
4124
4124
  createdAt: Date;
4125
4125
  updatedAt: Date;
@@ -4493,8 +4493,8 @@ export declare const messengerContract: {
4493
4493
  deletedAt: z.ZodNullable<z.ZodDate>;
4494
4494
  }, {
4495
4495
  message: z.ZodString;
4496
- direction: z.ZodEnum<[string, ...string[]]>;
4497
- type: z.ZodEnum<[string, ...string[]]>;
4496
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4497
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4498
4498
  readAt: z.ZodDate;
4499
4499
  metadata: z.ZodAny;
4500
4500
  platformId: z.ZodString;
@@ -5160,7 +5160,7 @@ export declare const messengerContract: {
5160
5160
  message: string;
5161
5161
  id: string;
5162
5162
  url: string;
5163
- direction: string;
5163
+ direction: "incoming" | "outgoing" | "system";
5164
5164
  createdAt: Date;
5165
5165
  updatedAt: Date;
5166
5166
  deletedAt: Date | null;
@@ -5322,7 +5322,7 @@ export declare const messengerContract: {
5322
5322
  message: string;
5323
5323
  id: string;
5324
5324
  url: string;
5325
- direction: string;
5325
+ direction: "incoming" | "outgoing" | "system";
5326
5326
  createdAt: Date;
5327
5327
  updatedAt: Date;
5328
5328
  deletedAt: Date | null;
@@ -6128,8 +6128,8 @@ export declare const messengerContract: {
6128
6128
  deletedAt: z.ZodNullable<z.ZodDate>;
6129
6129
  }, {
6130
6130
  message: z.ZodString;
6131
- direction: z.ZodEnum<[string, ...string[]]>;
6132
- type: z.ZodEnum<[string, ...string[]]>;
6131
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6132
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6133
6133
  readAt: z.ZodDate;
6134
6134
  metadata: z.ZodAny;
6135
6135
  platformId: z.ZodString;
@@ -6156,7 +6156,7 @@ export declare const messengerContract: {
6156
6156
  firstResponseTime: z.ZodNumber;
6157
6157
  isLatest: z.ZodBoolean;
6158
6158
  isBotRoom: z.ZodBoolean;
6159
- direction: z.ZodEnum<[string, ...string[]]>;
6159
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6160
6160
  platformContact: z.ZodObject<{
6161
6161
  id: z.ZodString;
6162
6162
  createdAt: z.ZodDate;
@@ -8841,7 +8841,7 @@ export declare const messengerContract: {
8841
8841
  integrationId: string;
8842
8842
  } | null;
8843
8843
  };
8844
- direction: string;
8844
+ direction: "incoming" | "outgoing" | "system";
8845
8845
  status: number;
8846
8846
  createdAt: Date;
8847
8847
  updatedAt: Date;
@@ -9270,7 +9270,7 @@ export declare const messengerContract: {
9270
9270
  integrationId: string;
9271
9271
  } | null;
9272
9272
  };
9273
- direction: string;
9273
+ direction: "incoming" | "outgoing" | "system";
9274
9274
  status: number;
9275
9275
  createdAt: Date;
9276
9276
  updatedAt: Date;
@@ -9644,8 +9644,8 @@ export declare const messengerContract: {
9644
9644
  deletedAt: z.ZodNullable<z.ZodDate>;
9645
9645
  }, {
9646
9646
  message: z.ZodString;
9647
- direction: z.ZodEnum<[string, ...string[]]>;
9648
- type: z.ZodEnum<[string, ...string[]]>;
9647
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9648
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
9649
9649
  readAt: z.ZodDate;
9650
9650
  metadata: z.ZodAny;
9651
9651
  platformId: z.ZodString;
@@ -10311,7 +10311,7 @@ export declare const messengerContract: {
10311
10311
  message: string;
10312
10312
  id: string;
10313
10313
  url: string;
10314
- direction: string;
10314
+ direction: "incoming" | "outgoing" | "system";
10315
10315
  createdAt: Date;
10316
10316
  updatedAt: Date;
10317
10317
  deletedAt: Date | null;
@@ -10473,7 +10473,7 @@ export declare const messengerContract: {
10473
10473
  message: string;
10474
10474
  id: string;
10475
10475
  url: string;
10476
- direction: string;
10476
+ direction: "incoming" | "outgoing" | "system";
10477
10477
  createdAt: Date;
10478
10478
  updatedAt: Date;
10479
10479
  deletedAt: Date | null;
@@ -11276,7 +11276,7 @@ export declare const messengerContract: {
11276
11276
  message: string;
11277
11277
  id: string;
11278
11278
  url: string;
11279
- direction: string;
11279
+ direction: "incoming" | "outgoing" | "system";
11280
11280
  createdAt: Date;
11281
11281
  updatedAt: Date;
11282
11282
  deletedAt: Date | null;
@@ -11479,7 +11479,7 @@ export declare const messengerContract: {
11479
11479
  integrationId: string;
11480
11480
  } | null;
11481
11481
  };
11482
- direction: string;
11482
+ direction: "incoming" | "outgoing" | "system";
11483
11483
  status: number;
11484
11484
  createdAt: Date;
11485
11485
  updatedAt: Date;
@@ -11831,7 +11831,7 @@ export declare const messengerContract: {
11831
11831
  message: string;
11832
11832
  id: string;
11833
11833
  url: string;
11834
- direction: string;
11834
+ direction: "incoming" | "outgoing" | "system";
11835
11835
  createdAt: Date;
11836
11836
  updatedAt: Date;
11837
11837
  deletedAt: Date | null;
@@ -12042,7 +12042,7 @@ export declare const messengerContract: {
12042
12042
  message: string;
12043
12043
  id: string;
12044
12044
  url: string;
12045
- direction: string;
12045
+ direction: "incoming" | "outgoing" | "system";
12046
12046
  createdAt: Date;
12047
12047
  updatedAt: Date;
12048
12048
  deletedAt: Date | null;
@@ -12245,7 +12245,7 @@ export declare const messengerContract: {
12245
12245
  integrationId: string;
12246
12246
  } | null;
12247
12247
  };
12248
- direction: string;
12248
+ direction: "incoming" | "outgoing" | "system";
12249
12249
  status: number;
12250
12250
  createdAt: Date;
12251
12251
  updatedAt: Date;
@@ -12597,7 +12597,7 @@ export declare const messengerContract: {
12597
12597
  message: string;
12598
12598
  id: string;
12599
12599
  url: string;
12600
- direction: string;
12600
+ direction: "incoming" | "outgoing" | "system";
12601
12601
  createdAt: Date;
12602
12602
  updatedAt: Date;
12603
12603
  deletedAt: Date | null;
@@ -12809,7 +12809,7 @@ export declare const messengerContract: {
12809
12809
  message: string;
12810
12810
  id: string;
12811
12811
  url: string;
12812
- direction: string;
12812
+ direction: "incoming" | "outgoing" | "system";
12813
12813
  createdAt: Date;
12814
12814
  updatedAt: Date;
12815
12815
  deletedAt: Date | null;
@@ -13012,7 +13012,7 @@ export declare const messengerContract: {
13012
13012
  integrationId: string;
13013
13013
  } | null;
13014
13014
  };
13015
- direction: string;
13015
+ direction: "incoming" | "outgoing" | "system";
13016
13016
  status: number;
13017
13017
  createdAt: Date;
13018
13018
  updatedAt: Date;
@@ -13364,7 +13364,7 @@ export declare const messengerContract: {
13364
13364
  message: string;
13365
13365
  id: string;
13366
13366
  url: string;
13367
- direction: string;
13367
+ direction: "incoming" | "outgoing" | "system";
13368
13368
  createdAt: Date;
13369
13369
  updatedAt: Date;
13370
13370
  deletedAt: Date | null;
@@ -13575,7 +13575,7 @@ export declare const messengerContract: {
13575
13575
  message: string;
13576
13576
  id: string;
13577
13577
  url: string;
13578
- direction: string;
13578
+ direction: "incoming" | "outgoing" | "system";
13579
13579
  createdAt: Date;
13580
13580
  updatedAt: Date;
13581
13581
  deletedAt: Date | null;
@@ -13778,7 +13778,7 @@ export declare const messengerContract: {
13778
13778
  integrationId: string;
13779
13779
  } | null;
13780
13780
  };
13781
- direction: string;
13781
+ direction: "incoming" | "outgoing" | "system";
13782
13782
  status: number;
13783
13783
  createdAt: Date;
13784
13784
  updatedAt: Date;
@@ -14130,7 +14130,7 @@ export declare const messengerContract: {
14130
14130
  message: string;
14131
14131
  id: string;
14132
14132
  url: string;
14133
- direction: string;
14133
+ direction: "incoming" | "outgoing" | "system";
14134
14134
  createdAt: Date;
14135
14135
  updatedAt: Date;
14136
14136
  deletedAt: Date | null;
@@ -14342,7 +14342,7 @@ export declare const messengerContract: {
14342
14342
  message: string;
14343
14343
  id: string;
14344
14344
  url: string;
14345
- direction: string;
14345
+ direction: "incoming" | "outgoing" | "system";
14346
14346
  createdAt: Date;
14347
14347
  updatedAt: Date;
14348
14348
  deletedAt: Date | null;
@@ -14545,7 +14545,7 @@ export declare const messengerContract: {
14545
14545
  integrationId: string;
14546
14546
  } | null;
14547
14547
  };
14548
- direction: string;
14548
+ direction: "incoming" | "outgoing" | "system";
14549
14549
  status: number;
14550
14550
  createdAt: Date;
14551
14551
  updatedAt: Date;
@@ -14897,7 +14897,7 @@ export declare const messengerContract: {
14897
14897
  message: string;
14898
14898
  id: string;
14899
14899
  url: string;
14900
- direction: string;
14900
+ direction: "incoming" | "outgoing" | "system";
14901
14901
  createdAt: Date;
14902
14902
  updatedAt: Date;
14903
14903
  deletedAt: Date | null;
@@ -15108,7 +15108,7 @@ export declare const messengerContract: {
15108
15108
  message: string;
15109
15109
  id: string;
15110
15110
  url: string;
15111
- direction: string;
15111
+ direction: "incoming" | "outgoing" | "system";
15112
15112
  createdAt: Date;
15113
15113
  updatedAt: Date;
15114
15114
  deletedAt: Date | null;
@@ -15311,7 +15311,7 @@ export declare const messengerContract: {
15311
15311
  integrationId: string;
15312
15312
  } | null;
15313
15313
  };
15314
- direction: string;
15314
+ direction: "incoming" | "outgoing" | "system";
15315
15315
  status: number;
15316
15316
  createdAt: Date;
15317
15317
  updatedAt: Date;
@@ -15663,7 +15663,7 @@ export declare const messengerContract: {
15663
15663
  message: string;
15664
15664
  id: string;
15665
15665
  url: string;
15666
- direction: string;
15666
+ direction: "incoming" | "outgoing" | "system";
15667
15667
  createdAt: Date;
15668
15668
  updatedAt: Date;
15669
15669
  deletedAt: Date | null;
@@ -15877,7 +15877,7 @@ export declare const messengerContract: {
15877
15877
  message: string;
15878
15878
  id: string;
15879
15879
  url: string;
15880
- direction: string;
15880
+ direction: "incoming" | "outgoing" | "system";
15881
15881
  createdAt: Date;
15882
15882
  updatedAt: Date;
15883
15883
  deletedAt: Date | null;
@@ -16080,7 +16080,7 @@ export declare const messengerContract: {
16080
16080
  integrationId: string;
16081
16081
  } | null;
16082
16082
  };
16083
- direction: string;
16083
+ direction: "incoming" | "outgoing" | "system";
16084
16084
  status: number;
16085
16085
  createdAt: Date;
16086
16086
  updatedAt: Date;
@@ -16432,7 +16432,7 @@ export declare const messengerContract: {
16432
16432
  message: string;
16433
16433
  id: string;
16434
16434
  url: string;
16435
- direction: string;
16435
+ direction: "incoming" | "outgoing" | "system";
16436
16436
  createdAt: Date;
16437
16437
  updatedAt: Date;
16438
16438
  deletedAt: Date | null;
@@ -16643,7 +16643,7 @@ export declare const messengerContract: {
16643
16643
  message: string;
16644
16644
  id: string;
16645
16645
  url: string;
16646
- direction: string;
16646
+ direction: "incoming" | "outgoing" | "system";
16647
16647
  createdAt: Date;
16648
16648
  updatedAt: Date;
16649
16649
  deletedAt: Date | null;
@@ -16846,7 +16846,7 @@ export declare const messengerContract: {
16846
16846
  integrationId: string;
16847
16847
  } | null;
16848
16848
  };
16849
- direction: string;
16849
+ direction: "incoming" | "outgoing" | "system";
16850
16850
  status: number;
16851
16851
  createdAt: Date;
16852
16852
  updatedAt: Date;
@@ -17198,7 +17198,7 @@ export declare const messengerContract: {
17198
17198
  message: string;
17199
17199
  id: string;
17200
17200
  url: string;
17201
- direction: string;
17201
+ direction: "incoming" | "outgoing" | "system";
17202
17202
  createdAt: Date;
17203
17203
  updatedAt: Date;
17204
17204
  deletedAt: Date | null;
@@ -17413,7 +17413,7 @@ export declare const messengerContract: {
17413
17413
  message: string;
17414
17414
  id: string;
17415
17415
  url: string;
17416
- direction: string;
17416
+ direction: "incoming" | "outgoing" | "system";
17417
17417
  createdAt: Date;
17418
17418
  updatedAt: Date;
17419
17419
  deletedAt: Date | null;
@@ -17616,7 +17616,7 @@ export declare const messengerContract: {
17616
17616
  integrationId: string;
17617
17617
  } | null;
17618
17618
  };
17619
- direction: string;
17619
+ direction: "incoming" | "outgoing" | "system";
17620
17620
  status: number;
17621
17621
  createdAt: Date;
17622
17622
  updatedAt: Date;
@@ -17968,7 +17968,7 @@ export declare const messengerContract: {
17968
17968
  message: string;
17969
17969
  id: string;
17970
17970
  url: string;
17971
- direction: string;
17971
+ direction: "incoming" | "outgoing" | "system";
17972
17972
  createdAt: Date;
17973
17973
  updatedAt: Date;
17974
17974
  deletedAt: Date | null;
@@ -18179,7 +18179,7 @@ export declare const messengerContract: {
18179
18179
  message: string;
18180
18180
  id: string;
18181
18181
  url: string;
18182
- direction: string;
18182
+ direction: "incoming" | "outgoing" | "system";
18183
18183
  createdAt: Date;
18184
18184
  updatedAt: Date;
18185
18185
  deletedAt: Date | null;
@@ -18382,7 +18382,7 @@ export declare const messengerContract: {
18382
18382
  integrationId: string;
18383
18383
  } | null;
18384
18384
  };
18385
- direction: string;
18385
+ direction: "incoming" | "outgoing" | "system";
18386
18386
  status: number;
18387
18387
  createdAt: Date;
18388
18388
  updatedAt: Date;
@@ -18734,7 +18734,7 @@ export declare const messengerContract: {
18734
18734
  message: string;
18735
18735
  id: string;
18736
18736
  url: string;
18737
- direction: string;
18737
+ direction: "incoming" | "outgoing" | "system";
18738
18738
  createdAt: Date;
18739
18739
  updatedAt: Date;
18740
18740
  deletedAt: Date | null;
@@ -3239,7 +3239,7 @@ export declare const smsContract: {
3239
3239
  lastMessage: z.ZodOptional<z.ZodString>;
3240
3240
  handleTime: z.ZodOptional<z.ZodNumber>;
3241
3241
  isLatest: z.ZodBoolean;
3242
- direction: z.ZodEnum<[string, ...string[]]>;
3242
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3243
3243
  metadata: z.ZodOptional<z.ZodAny>;
3244
3244
  createdAt: z.ZodString;
3245
3245
  updatedAt: z.ZodString;
@@ -3661,7 +3661,7 @@ export declare const smsContract: {
3661
3661
  connectedUserName?: string | null | undefined;
3662
3662
  connectedUserId?: string | null | undefined;
3663
3663
  };
3664
- direction: string;
3664
+ direction: "incoming" | "outgoing" | "system";
3665
3665
  createdAt: string;
3666
3666
  updatedAt: string;
3667
3667
  actor: {
@@ -3753,7 +3753,7 @@ export declare const smsContract: {
3753
3753
  connectedUserName?: string | null | undefined;
3754
3754
  connectedUserId?: string | null | undefined;
3755
3755
  };
3756
- direction: string;
3756
+ direction: "incoming" | "outgoing" | "system";
3757
3757
  createdAt: string;
3758
3758
  updatedAt: string;
3759
3759
  actor: {
@@ -3798,8 +3798,8 @@ export declare const smsContract: {
3798
3798
  message: z.ZodObject<{
3799
3799
  id: z.ZodOptional<z.ZodString>;
3800
3800
  message: z.ZodOptional<z.ZodString>;
3801
- direction: z.ZodEnum<[string, ...string[]]>;
3802
- type: z.ZodEnum<[string, ...string[]]>;
3801
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3802
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
3803
3803
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
3804
3804
  metadata: z.ZodOptional<z.ZodAny>;
3805
3805
  platformId: z.ZodOptional<z.ZodString>;
@@ -3856,7 +3856,7 @@ export declare const smsContract: {
3856
3856
  label: z.ZodOptional<z.ZodString>;
3857
3857
  }, "strip", z.ZodTypeAny, {
3858
3858
  type: string;
3859
- direction: string;
3859
+ direction: "incoming" | "outgoing" | "system";
3860
3860
  message?: string | undefined;
3861
3861
  id?: string | undefined;
3862
3862
  url?: string | undefined;
@@ -3891,7 +3891,7 @@ export declare const smsContract: {
3891
3891
  editedAt?: string | Date | null | undefined;
3892
3892
  }, {
3893
3893
  type: string;
3894
- direction: string;
3894
+ direction: "incoming" | "outgoing" | "system";
3895
3895
  message?: string | undefined;
3896
3896
  id?: string | undefined;
3897
3897
  url?: string | undefined;
@@ -3928,7 +3928,7 @@ export declare const smsContract: {
3928
3928
  }, "strip", z.ZodTypeAny, {
3929
3929
  message: {
3930
3930
  type: string;
3931
- direction: string;
3931
+ direction: "incoming" | "outgoing" | "system";
3932
3932
  message?: string | undefined;
3933
3933
  id?: string | undefined;
3934
3934
  url?: string | undefined;
@@ -4013,7 +4013,7 @@ export declare const smsContract: {
4013
4013
  connectedUserName?: string | null | undefined;
4014
4014
  connectedUserId?: string | null | undefined;
4015
4015
  };
4016
- direction: string;
4016
+ direction: "incoming" | "outgoing" | "system";
4017
4017
  createdAt: string;
4018
4018
  updatedAt: string;
4019
4019
  actor: {
@@ -4059,7 +4059,7 @@ export declare const smsContract: {
4059
4059
  }, {
4060
4060
  message: {
4061
4061
  type: string;
4062
- direction: string;
4062
+ direction: "incoming" | "outgoing" | "system";
4063
4063
  message?: string | undefined;
4064
4064
  id?: string | undefined;
4065
4065
  url?: string | undefined;
@@ -4144,7 +4144,7 @@ export declare const smsContract: {
4144
4144
  connectedUserName?: string | null | undefined;
4145
4145
  connectedUserId?: string | null | undefined;
4146
4146
  };
4147
- direction: string;
4147
+ direction: "incoming" | "outgoing" | "system";
4148
4148
  createdAt: string;
4149
4149
  updatedAt: string;
4150
4150
  actor: {