@kl1/contracts 1.2.99 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1223,7 +1223,7 @@ export declare const telegramContract: {
1223
1223
  lastMessage: z.ZodOptional<z.ZodString>;
1224
1224
  handleTime: z.ZodOptional<z.ZodNumber>;
1225
1225
  isLatest: z.ZodBoolean;
1226
- direction: z.ZodEnum<[string, ...string[]]>;
1226
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1227
1227
  metadata: z.ZodOptional<z.ZodAny>;
1228
1228
  createdAt: z.ZodString;
1229
1229
  updatedAt: z.ZodString;
@@ -1645,7 +1645,7 @@ export declare const telegramContract: {
1645
1645
  connectedUserName?: string | null | undefined;
1646
1646
  connectedUserId?: string | null | undefined;
1647
1647
  };
1648
- direction: string;
1648
+ direction: "incoming" | "outgoing" | "system";
1649
1649
  createdAt: string;
1650
1650
  updatedAt: string;
1651
1651
  actor: {
@@ -1737,7 +1737,7 @@ export declare const telegramContract: {
1737
1737
  connectedUserName?: string | null | undefined;
1738
1738
  connectedUserId?: string | null | undefined;
1739
1739
  };
1740
- direction: string;
1740
+ direction: "incoming" | "outgoing" | "system";
1741
1741
  createdAt: string;
1742
1742
  updatedAt: string;
1743
1743
  actor: {
@@ -1782,8 +1782,8 @@ export declare const telegramContract: {
1782
1782
  message: z.ZodObject<{
1783
1783
  id: z.ZodOptional<z.ZodString>;
1784
1784
  message: z.ZodOptional<z.ZodString>;
1785
- direction: z.ZodEnum<[string, ...string[]]>;
1786
- type: z.ZodEnum<[string, ...string[]]>;
1785
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1786
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1787
1787
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1788
1788
  metadata: z.ZodOptional<z.ZodAny>;
1789
1789
  platformId: z.ZodOptional<z.ZodString>;
@@ -1840,7 +1840,7 @@ export declare const telegramContract: {
1840
1840
  label: z.ZodOptional<z.ZodString>;
1841
1841
  }, "strip", z.ZodTypeAny, {
1842
1842
  type: string;
1843
- direction: string;
1843
+ direction: "incoming" | "outgoing" | "system";
1844
1844
  message?: string | undefined;
1845
1845
  id?: string | undefined;
1846
1846
  url?: string | undefined;
@@ -1875,7 +1875,7 @@ export declare const telegramContract: {
1875
1875
  editedAt?: string | Date | null | undefined;
1876
1876
  }, {
1877
1877
  type: string;
1878
- direction: string;
1878
+ direction: "incoming" | "outgoing" | "system";
1879
1879
  message?: string | undefined;
1880
1880
  id?: string | undefined;
1881
1881
  url?: string | undefined;
@@ -1912,7 +1912,7 @@ export declare const telegramContract: {
1912
1912
  }, "strip", z.ZodTypeAny, {
1913
1913
  message: {
1914
1914
  type: string;
1915
- direction: string;
1915
+ direction: "incoming" | "outgoing" | "system";
1916
1916
  message?: string | undefined;
1917
1917
  id?: string | undefined;
1918
1918
  url?: string | undefined;
@@ -1997,7 +1997,7 @@ export declare const telegramContract: {
1997
1997
  connectedUserName?: string | null | undefined;
1998
1998
  connectedUserId?: string | null | undefined;
1999
1999
  };
2000
- direction: string;
2000
+ direction: "incoming" | "outgoing" | "system";
2001
2001
  createdAt: string;
2002
2002
  updatedAt: string;
2003
2003
  actor: {
@@ -2043,7 +2043,7 @@ export declare const telegramContract: {
2043
2043
  }, {
2044
2044
  message: {
2045
2045
  type: string;
2046
- direction: string;
2046
+ direction: "incoming" | "outgoing" | "system";
2047
2047
  message?: string | undefined;
2048
2048
  id?: string | undefined;
2049
2049
  url?: string | undefined;
@@ -2128,7 +2128,7 @@ export declare const telegramContract: {
2128
2128
  connectedUserName?: string | null | undefined;
2129
2129
  connectedUserId?: string | null | undefined;
2130
2130
  };
2131
- direction: string;
2131
+ direction: "incoming" | "outgoing" | "system";
2132
2132
  createdAt: string;
2133
2133
  updatedAt: string;
2134
2134
  actor: {
@@ -2185,8 +2185,8 @@ export declare const telegramContract: {
2185
2185
  deletedAt: z.ZodNullable<z.ZodDate>;
2186
2186
  }, {
2187
2187
  message: z.ZodString;
2188
- direction: z.ZodEnum<[string, ...string[]]>;
2189
- type: z.ZodEnum<[string, ...string[]]>;
2188
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2189
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2190
2190
  readAt: z.ZodDate;
2191
2191
  metadata: z.ZodAny;
2192
2192
  platformId: z.ZodString;
@@ -2213,7 +2213,7 @@ export declare const telegramContract: {
2213
2213
  firstResponseTime: z.ZodNumber;
2214
2214
  isLatest: z.ZodBoolean;
2215
2215
  isBotRoom: z.ZodBoolean;
2216
- direction: z.ZodEnum<[string, ...string[]]>;
2216
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2217
2217
  platformContact: z.ZodObject<{
2218
2218
  id: z.ZodString;
2219
2219
  createdAt: z.ZodDate;
@@ -4898,7 +4898,7 @@ export declare const telegramContract: {
4898
4898
  integrationId: string;
4899
4899
  } | null;
4900
4900
  };
4901
- direction: string;
4901
+ direction: "incoming" | "outgoing" | "system";
4902
4902
  status: number;
4903
4903
  createdAt: Date;
4904
4904
  updatedAt: Date;
@@ -5327,7 +5327,7 @@ export declare const telegramContract: {
5327
5327
  integrationId: string;
5328
5328
  } | null;
5329
5329
  };
5330
- direction: string;
5330
+ direction: "incoming" | "outgoing" | "system";
5331
5331
  status: number;
5332
5332
  createdAt: Date;
5333
5333
  updatedAt: Date;
@@ -5701,8 +5701,8 @@ export declare const telegramContract: {
5701
5701
  deletedAt: z.ZodNullable<z.ZodDate>;
5702
5702
  }, {
5703
5703
  message: z.ZodString;
5704
- direction: z.ZodEnum<[string, ...string[]]>;
5705
- type: z.ZodEnum<[string, ...string[]]>;
5704
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
5705
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
5706
5706
  readAt: z.ZodDate;
5707
5707
  metadata: z.ZodAny;
5708
5708
  platformId: z.ZodString;
@@ -6368,7 +6368,7 @@ export declare const telegramContract: {
6368
6368
  message: string;
6369
6369
  id: string;
6370
6370
  url: string;
6371
- direction: string;
6371
+ direction: "incoming" | "outgoing" | "system";
6372
6372
  createdAt: Date;
6373
6373
  updatedAt: Date;
6374
6374
  deletedAt: Date | null;
@@ -6530,7 +6530,7 @@ export declare const telegramContract: {
6530
6530
  message: string;
6531
6531
  id: string;
6532
6532
  url: string;
6533
- direction: string;
6533
+ direction: "incoming" | "outgoing" | "system";
6534
6534
  createdAt: Date;
6535
6535
  updatedAt: Date;
6536
6536
  deletedAt: Date | null;
@@ -7336,8 +7336,8 @@ export declare const telegramContract: {
7336
7336
  deletedAt: z.ZodNullable<z.ZodDate>;
7337
7337
  }, {
7338
7338
  message: z.ZodString;
7339
- direction: z.ZodEnum<[string, ...string[]]>;
7340
- type: z.ZodEnum<[string, ...string[]]>;
7339
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7340
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7341
7341
  readAt: z.ZodDate;
7342
7342
  metadata: z.ZodAny;
7343
7343
  platformId: z.ZodString;
@@ -7364,7 +7364,7 @@ export declare const telegramContract: {
7364
7364
  firstResponseTime: z.ZodNumber;
7365
7365
  isLatest: z.ZodBoolean;
7366
7366
  isBotRoom: z.ZodBoolean;
7367
- direction: z.ZodEnum<[string, ...string[]]>;
7367
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7368
7368
  platformContact: z.ZodObject<{
7369
7369
  id: z.ZodString;
7370
7370
  createdAt: z.ZodDate;
@@ -10049,7 +10049,7 @@ export declare const telegramContract: {
10049
10049
  integrationId: string;
10050
10050
  } | null;
10051
10051
  };
10052
- direction: string;
10052
+ direction: "incoming" | "outgoing" | "system";
10053
10053
  status: number;
10054
10054
  createdAt: Date;
10055
10055
  updatedAt: Date;
@@ -10478,7 +10478,7 @@ export declare const telegramContract: {
10478
10478
  integrationId: string;
10479
10479
  } | null;
10480
10480
  };
10481
- direction: string;
10481
+ direction: "incoming" | "outgoing" | "system";
10482
10482
  status: number;
10483
10483
  createdAt: Date;
10484
10484
  updatedAt: Date;
@@ -10852,8 +10852,8 @@ export declare const telegramContract: {
10852
10852
  deletedAt: z.ZodNullable<z.ZodDate>;
10853
10853
  }, {
10854
10854
  message: z.ZodString;
10855
- direction: z.ZodEnum<[string, ...string[]]>;
10856
- type: z.ZodEnum<[string, ...string[]]>;
10855
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
10856
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
10857
10857
  readAt: z.ZodDate;
10858
10858
  metadata: z.ZodAny;
10859
10859
  platformId: z.ZodString;
@@ -11519,7 +11519,7 @@ export declare const telegramContract: {
11519
11519
  message: string;
11520
11520
  id: string;
11521
11521
  url: string;
11522
- direction: string;
11522
+ direction: "incoming" | "outgoing" | "system";
11523
11523
  createdAt: Date;
11524
11524
  updatedAt: Date;
11525
11525
  deletedAt: Date | null;
@@ -11681,7 +11681,7 @@ export declare const telegramContract: {
11681
11681
  message: string;
11682
11682
  id: string;
11683
11683
  url: string;
11684
- direction: string;
11684
+ direction: "incoming" | "outgoing" | "system";
11685
11685
  createdAt: Date;
11686
11686
  updatedAt: Date;
11687
11687
  deletedAt: Date | null;
@@ -12484,7 +12484,7 @@ export declare const telegramContract: {
12484
12484
  message: string;
12485
12485
  id: string;
12486
12486
  url: string;
12487
- direction: string;
12487
+ direction: "incoming" | "outgoing" | "system";
12488
12488
  createdAt: Date;
12489
12489
  updatedAt: Date;
12490
12490
  deletedAt: Date | null;
@@ -12687,7 +12687,7 @@ export declare const telegramContract: {
12687
12687
  integrationId: string;
12688
12688
  } | null;
12689
12689
  };
12690
- direction: string;
12690
+ direction: "incoming" | "outgoing" | "system";
12691
12691
  status: number;
12692
12692
  createdAt: Date;
12693
12693
  updatedAt: Date;
@@ -13039,7 +13039,7 @@ export declare const telegramContract: {
13039
13039
  message: string;
13040
13040
  id: string;
13041
13041
  url: string;
13042
- direction: string;
13042
+ direction: "incoming" | "outgoing" | "system";
13043
13043
  createdAt: Date;
13044
13044
  updatedAt: Date;
13045
13045
  deletedAt: Date | null;
@@ -13250,7 +13250,7 @@ export declare const telegramContract: {
13250
13250
  message: string;
13251
13251
  id: string;
13252
13252
  url: string;
13253
- direction: string;
13253
+ direction: "incoming" | "outgoing" | "system";
13254
13254
  createdAt: Date;
13255
13255
  updatedAt: Date;
13256
13256
  deletedAt: Date | null;
@@ -13453,7 +13453,7 @@ export declare const telegramContract: {
13453
13453
  integrationId: string;
13454
13454
  } | null;
13455
13455
  };
13456
- direction: string;
13456
+ direction: "incoming" | "outgoing" | "system";
13457
13457
  status: number;
13458
13458
  createdAt: Date;
13459
13459
  updatedAt: Date;
@@ -13805,7 +13805,7 @@ export declare const telegramContract: {
13805
13805
  message: string;
13806
13806
  id: string;
13807
13807
  url: string;
13808
- direction: string;
13808
+ direction: "incoming" | "outgoing" | "system";
13809
13809
  createdAt: Date;
13810
13810
  updatedAt: Date;
13811
13811
  deletedAt: Date | null;
@@ -14017,7 +14017,7 @@ export declare const telegramContract: {
14017
14017
  message: string;
14018
14018
  id: string;
14019
14019
  url: string;
14020
- direction: string;
14020
+ direction: "incoming" | "outgoing" | "system";
14021
14021
  createdAt: Date;
14022
14022
  updatedAt: Date;
14023
14023
  deletedAt: Date | null;
@@ -14220,7 +14220,7 @@ export declare const telegramContract: {
14220
14220
  integrationId: string;
14221
14221
  } | null;
14222
14222
  };
14223
- direction: string;
14223
+ direction: "incoming" | "outgoing" | "system";
14224
14224
  status: number;
14225
14225
  createdAt: Date;
14226
14226
  updatedAt: Date;
@@ -14572,7 +14572,7 @@ export declare const telegramContract: {
14572
14572
  message: string;
14573
14573
  id: string;
14574
14574
  url: string;
14575
- direction: string;
14575
+ direction: "incoming" | "outgoing" | "system";
14576
14576
  createdAt: Date;
14577
14577
  updatedAt: Date;
14578
14578
  deletedAt: Date | null;
@@ -14783,7 +14783,7 @@ export declare const telegramContract: {
14783
14783
  message: string;
14784
14784
  id: string;
14785
14785
  url: string;
14786
- direction: string;
14786
+ direction: "incoming" | "outgoing" | "system";
14787
14787
  createdAt: Date;
14788
14788
  updatedAt: Date;
14789
14789
  deletedAt: Date | null;
@@ -14986,7 +14986,7 @@ export declare const telegramContract: {
14986
14986
  integrationId: string;
14987
14987
  } | null;
14988
14988
  };
14989
- direction: string;
14989
+ direction: "incoming" | "outgoing" | "system";
14990
14990
  status: number;
14991
14991
  createdAt: Date;
14992
14992
  updatedAt: Date;
@@ -15338,7 +15338,7 @@ export declare const telegramContract: {
15338
15338
  message: string;
15339
15339
  id: string;
15340
15340
  url: string;
15341
- direction: string;
15341
+ direction: "incoming" | "outgoing" | "system";
15342
15342
  createdAt: Date;
15343
15343
  updatedAt: Date;
15344
15344
  deletedAt: Date | null;
@@ -15550,7 +15550,7 @@ export declare const telegramContract: {
15550
15550
  message: string;
15551
15551
  id: string;
15552
15552
  url: string;
15553
- direction: string;
15553
+ direction: "incoming" | "outgoing" | "system";
15554
15554
  createdAt: Date;
15555
15555
  updatedAt: Date;
15556
15556
  deletedAt: Date | null;
@@ -15753,7 +15753,7 @@ export declare const telegramContract: {
15753
15753
  integrationId: string;
15754
15754
  } | null;
15755
15755
  };
15756
- direction: string;
15756
+ direction: "incoming" | "outgoing" | "system";
15757
15757
  status: number;
15758
15758
  createdAt: Date;
15759
15759
  updatedAt: Date;
@@ -16105,7 +16105,7 @@ export declare const telegramContract: {
16105
16105
  message: string;
16106
16106
  id: string;
16107
16107
  url: string;
16108
- direction: string;
16108
+ direction: "incoming" | "outgoing" | "system";
16109
16109
  createdAt: Date;
16110
16110
  updatedAt: Date;
16111
16111
  deletedAt: Date | null;
@@ -16316,7 +16316,7 @@ export declare const telegramContract: {
16316
16316
  message: string;
16317
16317
  id: string;
16318
16318
  url: string;
16319
- direction: string;
16319
+ direction: "incoming" | "outgoing" | "system";
16320
16320
  createdAt: Date;
16321
16321
  updatedAt: Date;
16322
16322
  deletedAt: Date | null;
@@ -16519,7 +16519,7 @@ export declare const telegramContract: {
16519
16519
  integrationId: string;
16520
16520
  } | null;
16521
16521
  };
16522
- direction: string;
16522
+ direction: "incoming" | "outgoing" | "system";
16523
16523
  status: number;
16524
16524
  createdAt: Date;
16525
16525
  updatedAt: Date;
@@ -16871,7 +16871,7 @@ export declare const telegramContract: {
16871
16871
  message: string;
16872
16872
  id: string;
16873
16873
  url: string;
16874
- direction: string;
16874
+ direction: "incoming" | "outgoing" | "system";
16875
16875
  createdAt: Date;
16876
16876
  updatedAt: Date;
16877
16877
  deletedAt: Date | null;
@@ -17085,7 +17085,7 @@ export declare const telegramContract: {
17085
17085
  message: string;
17086
17086
  id: string;
17087
17087
  url: string;
17088
- direction: string;
17088
+ direction: "incoming" | "outgoing" | "system";
17089
17089
  createdAt: Date;
17090
17090
  updatedAt: Date;
17091
17091
  deletedAt: Date | null;
@@ -17288,7 +17288,7 @@ export declare const telegramContract: {
17288
17288
  integrationId: string;
17289
17289
  } | null;
17290
17290
  };
17291
- direction: string;
17291
+ direction: "incoming" | "outgoing" | "system";
17292
17292
  status: number;
17293
17293
  createdAt: Date;
17294
17294
  updatedAt: Date;
@@ -17640,7 +17640,7 @@ export declare const telegramContract: {
17640
17640
  message: string;
17641
17641
  id: string;
17642
17642
  url: string;
17643
- direction: string;
17643
+ direction: "incoming" | "outgoing" | "system";
17644
17644
  createdAt: Date;
17645
17645
  updatedAt: Date;
17646
17646
  deletedAt: Date | null;
@@ -17851,7 +17851,7 @@ export declare const telegramContract: {
17851
17851
  message: string;
17852
17852
  id: string;
17853
17853
  url: string;
17854
- direction: string;
17854
+ direction: "incoming" | "outgoing" | "system";
17855
17855
  createdAt: Date;
17856
17856
  updatedAt: Date;
17857
17857
  deletedAt: Date | null;
@@ -18054,7 +18054,7 @@ export declare const telegramContract: {
18054
18054
  integrationId: string;
18055
18055
  } | null;
18056
18056
  };
18057
- direction: string;
18057
+ direction: "incoming" | "outgoing" | "system";
18058
18058
  status: number;
18059
18059
  createdAt: Date;
18060
18060
  updatedAt: Date;
@@ -18406,7 +18406,7 @@ export declare const telegramContract: {
18406
18406
  message: string;
18407
18407
  id: string;
18408
18408
  url: string;
18409
- direction: string;
18409
+ direction: "incoming" | "outgoing" | "system";
18410
18410
  createdAt: Date;
18411
18411
  updatedAt: Date;
18412
18412
  deletedAt: Date | null;
@@ -18621,7 +18621,7 @@ export declare const telegramContract: {
18621
18621
  message: string;
18622
18622
  id: string;
18623
18623
  url: string;
18624
- direction: string;
18624
+ direction: "incoming" | "outgoing" | "system";
18625
18625
  createdAt: Date;
18626
18626
  updatedAt: Date;
18627
18627
  deletedAt: Date | null;
@@ -18824,7 +18824,7 @@ export declare const telegramContract: {
18824
18824
  integrationId: string;
18825
18825
  } | null;
18826
18826
  };
18827
- direction: string;
18827
+ direction: "incoming" | "outgoing" | "system";
18828
18828
  status: number;
18829
18829
  createdAt: Date;
18830
18830
  updatedAt: Date;
@@ -19176,7 +19176,7 @@ export declare const telegramContract: {
19176
19176
  message: string;
19177
19177
  id: string;
19178
19178
  url: string;
19179
- direction: string;
19179
+ direction: "incoming" | "outgoing" | "system";
19180
19180
  createdAt: Date;
19181
19181
  updatedAt: Date;
19182
19182
  deletedAt: Date | null;
@@ -19387,7 +19387,7 @@ export declare const telegramContract: {
19387
19387
  message: string;
19388
19388
  id: string;
19389
19389
  url: string;
19390
- direction: string;
19390
+ direction: "incoming" | "outgoing" | "system";
19391
19391
  createdAt: Date;
19392
19392
  updatedAt: Date;
19393
19393
  deletedAt: Date | null;
@@ -19590,7 +19590,7 @@ export declare const telegramContract: {
19590
19590
  integrationId: string;
19591
19591
  } | null;
19592
19592
  };
19593
- direction: string;
19593
+ direction: "incoming" | "outgoing" | "system";
19594
19594
  status: number;
19595
19595
  createdAt: Date;
19596
19596
  updatedAt: Date;
@@ -19942,7 +19942,7 @@ export declare const telegramContract: {
19942
19942
  message: string;
19943
19943
  id: string;
19944
19944
  url: string;
19945
- direction: string;
19945
+ direction: "incoming" | "outgoing" | "system";
19946
19946
  createdAt: Date;
19947
19947
  updatedAt: Date;
19948
19948
  deletedAt: Date | null;