@kl1/contracts 1.3.0 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1608,7 +1608,7 @@ export declare const viberContract: {
1608
1608
  lastMessage: z.ZodOptional<z.ZodString>;
1609
1609
  handleTime: z.ZodOptional<z.ZodNumber>;
1610
1610
  isLatest: z.ZodBoolean;
1611
- direction: z.ZodEnum<[string, ...string[]]>;
1611
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1612
1612
  metadata: z.ZodOptional<z.ZodAny>;
1613
1613
  createdAt: z.ZodString;
1614
1614
  updatedAt: z.ZodString;
@@ -2030,7 +2030,7 @@ export declare const viberContract: {
2030
2030
  connectedUserName?: string | null | undefined;
2031
2031
  connectedUserId?: string | null | undefined;
2032
2032
  };
2033
- direction: string;
2033
+ direction: "incoming" | "outgoing" | "system";
2034
2034
  createdAt: string;
2035
2035
  updatedAt: string;
2036
2036
  actor: {
@@ -2122,7 +2122,7 @@ export declare const viberContract: {
2122
2122
  connectedUserName?: string | null | undefined;
2123
2123
  connectedUserId?: string | null | undefined;
2124
2124
  };
2125
- direction: string;
2125
+ direction: "incoming" | "outgoing" | "system";
2126
2126
  createdAt: string;
2127
2127
  updatedAt: string;
2128
2128
  actor: {
@@ -2167,8 +2167,8 @@ export declare const viberContract: {
2167
2167
  message: z.ZodObject<{
2168
2168
  id: z.ZodOptional<z.ZodString>;
2169
2169
  message: z.ZodOptional<z.ZodString>;
2170
- direction: z.ZodEnum<[string, ...string[]]>;
2171
- type: z.ZodEnum<[string, ...string[]]>;
2170
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2171
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2172
2172
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2173
2173
  metadata: z.ZodOptional<z.ZodAny>;
2174
2174
  platformId: z.ZodOptional<z.ZodString>;
@@ -2225,7 +2225,7 @@ export declare const viberContract: {
2225
2225
  label: z.ZodOptional<z.ZodString>;
2226
2226
  }, "strip", z.ZodTypeAny, {
2227
2227
  type: string;
2228
- direction: string;
2228
+ direction: "incoming" | "outgoing" | "system";
2229
2229
  message?: string | undefined;
2230
2230
  id?: string | undefined;
2231
2231
  url?: string | undefined;
@@ -2260,7 +2260,7 @@ export declare const viberContract: {
2260
2260
  editedAt?: string | Date | null | undefined;
2261
2261
  }, {
2262
2262
  type: string;
2263
- direction: string;
2263
+ direction: "incoming" | "outgoing" | "system";
2264
2264
  message?: string | undefined;
2265
2265
  id?: string | undefined;
2266
2266
  url?: string | undefined;
@@ -2297,7 +2297,7 @@ export declare const viberContract: {
2297
2297
  }, "strip", z.ZodTypeAny, {
2298
2298
  message: {
2299
2299
  type: string;
2300
- direction: string;
2300
+ direction: "incoming" | "outgoing" | "system";
2301
2301
  message?: string | undefined;
2302
2302
  id?: string | undefined;
2303
2303
  url?: string | undefined;
@@ -2382,7 +2382,7 @@ export declare const viberContract: {
2382
2382
  connectedUserName?: string | null | undefined;
2383
2383
  connectedUserId?: string | null | undefined;
2384
2384
  };
2385
- direction: string;
2385
+ direction: "incoming" | "outgoing" | "system";
2386
2386
  createdAt: string;
2387
2387
  updatedAt: string;
2388
2388
  actor: {
@@ -2428,7 +2428,7 @@ export declare const viberContract: {
2428
2428
  }, {
2429
2429
  message: {
2430
2430
  type: string;
2431
- direction: string;
2431
+ direction: "incoming" | "outgoing" | "system";
2432
2432
  message?: string | undefined;
2433
2433
  id?: string | undefined;
2434
2434
  url?: string | undefined;
@@ -2513,7 +2513,7 @@ export declare const viberContract: {
2513
2513
  connectedUserName?: string | null | undefined;
2514
2514
  connectedUserId?: string | null | undefined;
2515
2515
  };
2516
- direction: string;
2516
+ direction: "incoming" | "outgoing" | "system";
2517
2517
  createdAt: string;
2518
2518
  updatedAt: string;
2519
2519
  actor: {
@@ -2570,8 +2570,8 @@ export declare const viberContract: {
2570
2570
  deletedAt: z.ZodNullable<z.ZodDate>;
2571
2571
  }, {
2572
2572
  message: z.ZodString;
2573
- direction: z.ZodEnum<[string, ...string[]]>;
2574
- type: z.ZodEnum<[string, ...string[]]>;
2573
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2574
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2575
2575
  readAt: z.ZodDate;
2576
2576
  metadata: z.ZodAny;
2577
2577
  platformId: z.ZodString;
@@ -2598,7 +2598,7 @@ export declare const viberContract: {
2598
2598
  firstResponseTime: z.ZodNumber;
2599
2599
  isLatest: z.ZodBoolean;
2600
2600
  isBotRoom: z.ZodBoolean;
2601
- direction: z.ZodEnum<[string, ...string[]]>;
2601
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2602
2602
  platformContact: z.ZodObject<{
2603
2603
  id: z.ZodString;
2604
2604
  createdAt: z.ZodDate;
@@ -5283,7 +5283,7 @@ export declare const viberContract: {
5283
5283
  integrationId: string;
5284
5284
  } | null;
5285
5285
  };
5286
- direction: string;
5286
+ direction: "incoming" | "outgoing" | "system";
5287
5287
  status: number;
5288
5288
  createdAt: Date;
5289
5289
  updatedAt: Date;
@@ -5712,7 +5712,7 @@ export declare const viberContract: {
5712
5712
  integrationId: string;
5713
5713
  } | null;
5714
5714
  };
5715
- direction: string;
5715
+ direction: "incoming" | "outgoing" | "system";
5716
5716
  status: number;
5717
5717
  createdAt: Date;
5718
5718
  updatedAt: Date;
@@ -6086,8 +6086,8 @@ export declare const viberContract: {
6086
6086
  deletedAt: z.ZodNullable<z.ZodDate>;
6087
6087
  }, {
6088
6088
  message: z.ZodString;
6089
- direction: z.ZodEnum<[string, ...string[]]>;
6090
- type: z.ZodEnum<[string, ...string[]]>;
6089
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6090
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6091
6091
  readAt: z.ZodDate;
6092
6092
  metadata: z.ZodAny;
6093
6093
  platformId: z.ZodString;
@@ -6753,7 +6753,7 @@ export declare const viberContract: {
6753
6753
  message: string;
6754
6754
  id: string;
6755
6755
  url: string;
6756
- direction: string;
6756
+ direction: "incoming" | "outgoing" | "system";
6757
6757
  createdAt: Date;
6758
6758
  updatedAt: Date;
6759
6759
  deletedAt: Date | null;
@@ -6915,7 +6915,7 @@ export declare const viberContract: {
6915
6915
  message: string;
6916
6916
  id: string;
6917
6917
  url: string;
6918
- direction: string;
6918
+ direction: "incoming" | "outgoing" | "system";
6919
6919
  createdAt: Date;
6920
6920
  updatedAt: Date;
6921
6921
  deletedAt: Date | null;
@@ -7721,8 +7721,8 @@ export declare const viberContract: {
7721
7721
  deletedAt: z.ZodNullable<z.ZodDate>;
7722
7722
  }, {
7723
7723
  message: z.ZodString;
7724
- direction: z.ZodEnum<[string, ...string[]]>;
7725
- type: z.ZodEnum<[string, ...string[]]>;
7724
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7725
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7726
7726
  readAt: z.ZodDate;
7727
7727
  metadata: z.ZodAny;
7728
7728
  platformId: z.ZodString;
@@ -7749,7 +7749,7 @@ export declare const viberContract: {
7749
7749
  firstResponseTime: z.ZodNumber;
7750
7750
  isLatest: z.ZodBoolean;
7751
7751
  isBotRoom: z.ZodBoolean;
7752
- direction: z.ZodEnum<[string, ...string[]]>;
7752
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7753
7753
  platformContact: z.ZodObject<{
7754
7754
  id: z.ZodString;
7755
7755
  createdAt: z.ZodDate;
@@ -10434,7 +10434,7 @@ export declare const viberContract: {
10434
10434
  integrationId: string;
10435
10435
  } | null;
10436
10436
  };
10437
- direction: string;
10437
+ direction: "incoming" | "outgoing" | "system";
10438
10438
  status: number;
10439
10439
  createdAt: Date;
10440
10440
  updatedAt: Date;
@@ -10863,7 +10863,7 @@ export declare const viberContract: {
10863
10863
  integrationId: string;
10864
10864
  } | null;
10865
10865
  };
10866
- direction: string;
10866
+ direction: "incoming" | "outgoing" | "system";
10867
10867
  status: number;
10868
10868
  createdAt: Date;
10869
10869
  updatedAt: Date;
@@ -11237,8 +11237,8 @@ export declare const viberContract: {
11237
11237
  deletedAt: z.ZodNullable<z.ZodDate>;
11238
11238
  }, {
11239
11239
  message: z.ZodString;
11240
- direction: z.ZodEnum<[string, ...string[]]>;
11241
- type: z.ZodEnum<[string, ...string[]]>;
11240
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11241
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
11242
11242
  readAt: z.ZodDate;
11243
11243
  metadata: z.ZodAny;
11244
11244
  platformId: z.ZodString;
@@ -11904,7 +11904,7 @@ export declare const viberContract: {
11904
11904
  message: string;
11905
11905
  id: string;
11906
11906
  url: string;
11907
- direction: string;
11907
+ direction: "incoming" | "outgoing" | "system";
11908
11908
  createdAt: Date;
11909
11909
  updatedAt: Date;
11910
11910
  deletedAt: Date | null;
@@ -12066,7 +12066,7 @@ export declare const viberContract: {
12066
12066
  message: string;
12067
12067
  id: string;
12068
12068
  url: string;
12069
- direction: string;
12069
+ direction: "incoming" | "outgoing" | "system";
12070
12070
  createdAt: Date;
12071
12071
  updatedAt: Date;
12072
12072
  deletedAt: Date | null;
@@ -12869,7 +12869,7 @@ export declare const viberContract: {
12869
12869
  message: string;
12870
12870
  id: string;
12871
12871
  url: string;
12872
- direction: string;
12872
+ direction: "incoming" | "outgoing" | "system";
12873
12873
  createdAt: Date;
12874
12874
  updatedAt: Date;
12875
12875
  deletedAt: Date | null;
@@ -13072,7 +13072,7 @@ export declare const viberContract: {
13072
13072
  integrationId: string;
13073
13073
  } | null;
13074
13074
  };
13075
- direction: string;
13075
+ direction: "incoming" | "outgoing" | "system";
13076
13076
  status: number;
13077
13077
  createdAt: Date;
13078
13078
  updatedAt: Date;
@@ -13424,7 +13424,7 @@ export declare const viberContract: {
13424
13424
  message: string;
13425
13425
  id: string;
13426
13426
  url: string;
13427
- direction: string;
13427
+ direction: "incoming" | "outgoing" | "system";
13428
13428
  createdAt: Date;
13429
13429
  updatedAt: Date;
13430
13430
  deletedAt: Date | null;
@@ -13635,7 +13635,7 @@ export declare const viberContract: {
13635
13635
  message: string;
13636
13636
  id: string;
13637
13637
  url: string;
13638
- direction: string;
13638
+ direction: "incoming" | "outgoing" | "system";
13639
13639
  createdAt: Date;
13640
13640
  updatedAt: Date;
13641
13641
  deletedAt: Date | null;
@@ -13838,7 +13838,7 @@ export declare const viberContract: {
13838
13838
  integrationId: string;
13839
13839
  } | null;
13840
13840
  };
13841
- direction: string;
13841
+ direction: "incoming" | "outgoing" | "system";
13842
13842
  status: number;
13843
13843
  createdAt: Date;
13844
13844
  updatedAt: Date;
@@ -14190,7 +14190,7 @@ export declare const viberContract: {
14190
14190
  message: string;
14191
14191
  id: string;
14192
14192
  url: string;
14193
- direction: string;
14193
+ direction: "incoming" | "outgoing" | "system";
14194
14194
  createdAt: Date;
14195
14195
  updatedAt: Date;
14196
14196
  deletedAt: Date | null;
@@ -14402,7 +14402,7 @@ export declare const viberContract: {
14402
14402
  message: string;
14403
14403
  id: string;
14404
14404
  url: string;
14405
- direction: string;
14405
+ direction: "incoming" | "outgoing" | "system";
14406
14406
  createdAt: Date;
14407
14407
  updatedAt: Date;
14408
14408
  deletedAt: Date | null;
@@ -14605,7 +14605,7 @@ export declare const viberContract: {
14605
14605
  integrationId: string;
14606
14606
  } | null;
14607
14607
  };
14608
- direction: string;
14608
+ direction: "incoming" | "outgoing" | "system";
14609
14609
  status: number;
14610
14610
  createdAt: Date;
14611
14611
  updatedAt: Date;
@@ -14957,7 +14957,7 @@ export declare const viberContract: {
14957
14957
  message: string;
14958
14958
  id: string;
14959
14959
  url: string;
14960
- direction: string;
14960
+ direction: "incoming" | "outgoing" | "system";
14961
14961
  createdAt: Date;
14962
14962
  updatedAt: Date;
14963
14963
  deletedAt: Date | null;
@@ -15168,7 +15168,7 @@ export declare const viberContract: {
15168
15168
  message: string;
15169
15169
  id: string;
15170
15170
  url: string;
15171
- direction: string;
15171
+ direction: "incoming" | "outgoing" | "system";
15172
15172
  createdAt: Date;
15173
15173
  updatedAt: Date;
15174
15174
  deletedAt: Date | null;
@@ -15371,7 +15371,7 @@ export declare const viberContract: {
15371
15371
  integrationId: string;
15372
15372
  } | null;
15373
15373
  };
15374
- direction: string;
15374
+ direction: "incoming" | "outgoing" | "system";
15375
15375
  status: number;
15376
15376
  createdAt: Date;
15377
15377
  updatedAt: Date;
@@ -15723,7 +15723,7 @@ export declare const viberContract: {
15723
15723
  message: string;
15724
15724
  id: string;
15725
15725
  url: string;
15726
- direction: string;
15726
+ direction: "incoming" | "outgoing" | "system";
15727
15727
  createdAt: Date;
15728
15728
  updatedAt: Date;
15729
15729
  deletedAt: Date | null;
@@ -15935,7 +15935,7 @@ export declare const viberContract: {
15935
15935
  message: string;
15936
15936
  id: string;
15937
15937
  url: string;
15938
- direction: string;
15938
+ direction: "incoming" | "outgoing" | "system";
15939
15939
  createdAt: Date;
15940
15940
  updatedAt: Date;
15941
15941
  deletedAt: Date | null;
@@ -16138,7 +16138,7 @@ export declare const viberContract: {
16138
16138
  integrationId: string;
16139
16139
  } | null;
16140
16140
  };
16141
- direction: string;
16141
+ direction: "incoming" | "outgoing" | "system";
16142
16142
  status: number;
16143
16143
  createdAt: Date;
16144
16144
  updatedAt: Date;
@@ -16490,7 +16490,7 @@ export declare const viberContract: {
16490
16490
  message: string;
16491
16491
  id: string;
16492
16492
  url: string;
16493
- direction: string;
16493
+ direction: "incoming" | "outgoing" | "system";
16494
16494
  createdAt: Date;
16495
16495
  updatedAt: Date;
16496
16496
  deletedAt: Date | null;
@@ -16701,7 +16701,7 @@ export declare const viberContract: {
16701
16701
  message: string;
16702
16702
  id: string;
16703
16703
  url: string;
16704
- direction: string;
16704
+ direction: "incoming" | "outgoing" | "system";
16705
16705
  createdAt: Date;
16706
16706
  updatedAt: Date;
16707
16707
  deletedAt: Date | null;
@@ -16904,7 +16904,7 @@ export declare const viberContract: {
16904
16904
  integrationId: string;
16905
16905
  } | null;
16906
16906
  };
16907
- direction: string;
16907
+ direction: "incoming" | "outgoing" | "system";
16908
16908
  status: number;
16909
16909
  createdAt: Date;
16910
16910
  updatedAt: Date;
@@ -17256,7 +17256,7 @@ export declare const viberContract: {
17256
17256
  message: string;
17257
17257
  id: string;
17258
17258
  url: string;
17259
- direction: string;
17259
+ direction: "incoming" | "outgoing" | "system";
17260
17260
  createdAt: Date;
17261
17261
  updatedAt: Date;
17262
17262
  deletedAt: Date | null;
@@ -17470,7 +17470,7 @@ export declare const viberContract: {
17470
17470
  message: string;
17471
17471
  id: string;
17472
17472
  url: string;
17473
- direction: string;
17473
+ direction: "incoming" | "outgoing" | "system";
17474
17474
  createdAt: Date;
17475
17475
  updatedAt: Date;
17476
17476
  deletedAt: Date | null;
@@ -17673,7 +17673,7 @@ export declare const viberContract: {
17673
17673
  integrationId: string;
17674
17674
  } | null;
17675
17675
  };
17676
- direction: string;
17676
+ direction: "incoming" | "outgoing" | "system";
17677
17677
  status: number;
17678
17678
  createdAt: Date;
17679
17679
  updatedAt: Date;
@@ -18025,7 +18025,7 @@ export declare const viberContract: {
18025
18025
  message: string;
18026
18026
  id: string;
18027
18027
  url: string;
18028
- direction: string;
18028
+ direction: "incoming" | "outgoing" | "system";
18029
18029
  createdAt: Date;
18030
18030
  updatedAt: Date;
18031
18031
  deletedAt: Date | null;
@@ -18236,7 +18236,7 @@ export declare const viberContract: {
18236
18236
  message: string;
18237
18237
  id: string;
18238
18238
  url: string;
18239
- direction: string;
18239
+ direction: "incoming" | "outgoing" | "system";
18240
18240
  createdAt: Date;
18241
18241
  updatedAt: Date;
18242
18242
  deletedAt: Date | null;
@@ -18439,7 +18439,7 @@ export declare const viberContract: {
18439
18439
  integrationId: string;
18440
18440
  } | null;
18441
18441
  };
18442
- direction: string;
18442
+ direction: "incoming" | "outgoing" | "system";
18443
18443
  status: number;
18444
18444
  createdAt: Date;
18445
18445
  updatedAt: Date;
@@ -18791,7 +18791,7 @@ export declare const viberContract: {
18791
18791
  message: string;
18792
18792
  id: string;
18793
18793
  url: string;
18794
- direction: string;
18794
+ direction: "incoming" | "outgoing" | "system";
18795
18795
  createdAt: Date;
18796
18796
  updatedAt: Date;
18797
18797
  deletedAt: Date | null;
@@ -19006,7 +19006,7 @@ export declare const viberContract: {
19006
19006
  message: string;
19007
19007
  id: string;
19008
19008
  url: string;
19009
- direction: string;
19009
+ direction: "incoming" | "outgoing" | "system";
19010
19010
  createdAt: Date;
19011
19011
  updatedAt: Date;
19012
19012
  deletedAt: Date | null;
@@ -19209,7 +19209,7 @@ export declare const viberContract: {
19209
19209
  integrationId: string;
19210
19210
  } | null;
19211
19211
  };
19212
- direction: string;
19212
+ direction: "incoming" | "outgoing" | "system";
19213
19213
  status: number;
19214
19214
  createdAt: Date;
19215
19215
  updatedAt: Date;
@@ -19561,7 +19561,7 @@ export declare const viberContract: {
19561
19561
  message: string;
19562
19562
  id: string;
19563
19563
  url: string;
19564
- direction: string;
19564
+ direction: "incoming" | "outgoing" | "system";
19565
19565
  createdAt: Date;
19566
19566
  updatedAt: Date;
19567
19567
  deletedAt: Date | null;
@@ -19772,7 +19772,7 @@ export declare const viberContract: {
19772
19772
  message: string;
19773
19773
  id: string;
19774
19774
  url: string;
19775
- direction: string;
19775
+ direction: "incoming" | "outgoing" | "system";
19776
19776
  createdAt: Date;
19777
19777
  updatedAt: Date;
19778
19778
  deletedAt: Date | null;
@@ -19975,7 +19975,7 @@ export declare const viberContract: {
19975
19975
  integrationId: string;
19976
19976
  } | null;
19977
19977
  };
19978
- direction: string;
19978
+ direction: "incoming" | "outgoing" | "system";
19979
19979
  status: number;
19980
19980
  createdAt: Date;
19981
19981
  updatedAt: Date;
@@ -20327,7 +20327,7 @@ export declare const viberContract: {
20327
20327
  message: string;
20328
20328
  id: string;
20329
20329
  url: string;
20330
- direction: string;
20330
+ direction: "incoming" | "outgoing" | "system";
20331
20331
  createdAt: Date;
20332
20332
  updatedAt: Date;
20333
20333
  deletedAt: Date | null;