@kl1/contracts 1.3.0 → 1.3.1

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.
@@ -11,7 +11,7 @@ export declare const lineContract: {
11
11
  lastMessage: z.ZodOptional<z.ZodString>;
12
12
  handleTime: z.ZodOptional<z.ZodNumber>;
13
13
  isLatest: z.ZodBoolean;
14
- direction: z.ZodEnum<[string, ...string[]]>;
14
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
15
15
  platformContact: z.ZodObject<{
16
16
  channelId: z.ZodString;
17
17
  socialPlatformId: z.ZodNullable<z.ZodString>;
@@ -409,7 +409,7 @@ export declare const lineContract: {
409
409
  connectedUserName?: string | null | undefined;
410
410
  connectedUserId?: string | null | undefined;
411
411
  };
412
- direction: string;
412
+ direction: "incoming" | "outgoing" | "system";
413
413
  actor: {
414
414
  name: string;
415
415
  address: string | null;
@@ -489,7 +489,7 @@ export declare const lineContract: {
489
489
  connectedUserName?: string | null | undefined;
490
490
  connectedUserId?: string | null | undefined;
491
491
  };
492
- direction: string;
492
+ direction: "incoming" | "outgoing" | "system";
493
493
  actor: {
494
494
  name: string;
495
495
  address: string | null;
@@ -521,8 +521,8 @@ export declare const lineContract: {
521
521
  }>;
522
522
  message: z.ZodObject<{
523
523
  message: z.ZodOptional<z.ZodString>;
524
- direction: z.ZodEnum<[string, ...string[]]>;
525
- type: z.ZodEnum<[string, ...string[]]>;
524
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
525
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
526
526
  readAt: z.ZodOptional<z.ZodDate>;
527
527
  metadata: z.ZodOptional<z.ZodAny>;
528
528
  platformId: z.ZodOptional<z.ZodString>;
@@ -567,7 +567,7 @@ export declare const lineContract: {
567
567
  }>;
568
568
  }, "strip", z.ZodTypeAny, {
569
569
  type: string;
570
- direction: string;
570
+ direction: "incoming" | "outgoing" | "system";
571
571
  sender: {
572
572
  name: string;
573
573
  address: string | null;
@@ -593,7 +593,7 @@ export declare const lineContract: {
593
593
  imageSetId?: string | undefined;
594
594
  }, {
595
595
  type: string;
596
- direction: string;
596
+ direction: "incoming" | "outgoing" | "system";
597
597
  sender: {
598
598
  name: string;
599
599
  address: string | null;
@@ -621,7 +621,7 @@ export declare const lineContract: {
621
621
  }, "strip", z.ZodTypeAny, {
622
622
  message: {
623
623
  type: string;
624
- direction: string;
624
+ direction: "incoming" | "outgoing" | "system";
625
625
  sender: {
626
626
  name: string;
627
627
  address: string | null;
@@ -697,7 +697,7 @@ export declare const lineContract: {
697
697
  connectedUserName?: string | null | undefined;
698
698
  connectedUserId?: string | null | undefined;
699
699
  };
700
- direction: string;
700
+ direction: "incoming" | "outgoing" | "system";
701
701
  actor: {
702
702
  name: string;
703
703
  address: string | null;
@@ -732,7 +732,7 @@ export declare const lineContract: {
732
732
  }, {
733
733
  message: {
734
734
  type: string;
735
- direction: string;
735
+ direction: "incoming" | "outgoing" | "system";
736
736
  sender: {
737
737
  name: string;
738
738
  address: string | null;
@@ -808,7 +808,7 @@ export declare const lineContract: {
808
808
  connectedUserName?: string | null | undefined;
809
809
  connectedUserId?: string | null | undefined;
810
810
  };
811
- direction: string;
811
+ direction: "incoming" | "outgoing" | "system";
812
812
  actor: {
813
813
  name: string;
814
814
  address: string | null;
@@ -1313,7 +1313,7 @@ export declare const lineContract: {
1313
1313
  lastMessage: z.ZodOptional<z.ZodString>;
1314
1314
  handleTime: z.ZodOptional<z.ZodNumber>;
1315
1315
  isLatest: z.ZodBoolean;
1316
- direction: z.ZodEnum<[string, ...string[]]>;
1316
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1317
1317
  metadata: z.ZodOptional<z.ZodAny>;
1318
1318
  createdAt: z.ZodString;
1319
1319
  updatedAt: z.ZodString;
@@ -1735,7 +1735,7 @@ export declare const lineContract: {
1735
1735
  connectedUserName?: string | null | undefined;
1736
1736
  connectedUserId?: string | null | undefined;
1737
1737
  };
1738
- direction: string;
1738
+ direction: "incoming" | "outgoing" | "system";
1739
1739
  createdAt: string;
1740
1740
  updatedAt: string;
1741
1741
  actor: {
@@ -1827,7 +1827,7 @@ export declare const lineContract: {
1827
1827
  connectedUserName?: string | null | undefined;
1828
1828
  connectedUserId?: string | null | undefined;
1829
1829
  };
1830
- direction: string;
1830
+ direction: "incoming" | "outgoing" | "system";
1831
1831
  createdAt: string;
1832
1832
  updatedAt: string;
1833
1833
  actor: {
@@ -1872,8 +1872,8 @@ export declare const lineContract: {
1872
1872
  message: z.ZodObject<{
1873
1873
  id: z.ZodOptional<z.ZodString>;
1874
1874
  message: z.ZodOptional<z.ZodString>;
1875
- direction: z.ZodEnum<[string, ...string[]]>;
1876
- type: z.ZodEnum<[string, ...string[]]>;
1875
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1876
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
1877
1877
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1878
1878
  metadata: z.ZodOptional<z.ZodAny>;
1879
1879
  platformId: z.ZodOptional<z.ZodString>;
@@ -1930,7 +1930,7 @@ export declare const lineContract: {
1930
1930
  label: z.ZodOptional<z.ZodString>;
1931
1931
  }, "strip", z.ZodTypeAny, {
1932
1932
  type: string;
1933
- direction: string;
1933
+ direction: "incoming" | "outgoing" | "system";
1934
1934
  message?: string | undefined;
1935
1935
  id?: string | undefined;
1936
1936
  url?: string | undefined;
@@ -1965,7 +1965,7 @@ export declare const lineContract: {
1965
1965
  editedAt?: string | Date | null | undefined;
1966
1966
  }, {
1967
1967
  type: string;
1968
- direction: string;
1968
+ direction: "incoming" | "outgoing" | "system";
1969
1969
  message?: string | undefined;
1970
1970
  id?: string | undefined;
1971
1971
  url?: string | undefined;
@@ -2002,7 +2002,7 @@ export declare const lineContract: {
2002
2002
  }, "strip", z.ZodTypeAny, {
2003
2003
  message: {
2004
2004
  type: string;
2005
- direction: string;
2005
+ direction: "incoming" | "outgoing" | "system";
2006
2006
  message?: string | undefined;
2007
2007
  id?: string | undefined;
2008
2008
  url?: string | undefined;
@@ -2087,7 +2087,7 @@ export declare const lineContract: {
2087
2087
  connectedUserName?: string | null | undefined;
2088
2088
  connectedUserId?: string | null | undefined;
2089
2089
  };
2090
- direction: string;
2090
+ direction: "incoming" | "outgoing" | "system";
2091
2091
  createdAt: string;
2092
2092
  updatedAt: string;
2093
2093
  actor: {
@@ -2133,7 +2133,7 @@ export declare const lineContract: {
2133
2133
  }, {
2134
2134
  message: {
2135
2135
  type: string;
2136
- direction: string;
2136
+ direction: "incoming" | "outgoing" | "system";
2137
2137
  message?: string | undefined;
2138
2138
  id?: string | undefined;
2139
2139
  url?: string | undefined;
@@ -2218,7 +2218,7 @@ export declare const lineContract: {
2218
2218
  connectedUserName?: string | null | undefined;
2219
2219
  connectedUserId?: string | null | undefined;
2220
2220
  };
2221
- direction: string;
2221
+ direction: "incoming" | "outgoing" | "system";
2222
2222
  createdAt: string;
2223
2223
  updatedAt: string;
2224
2224
  actor: {
@@ -2275,8 +2275,8 @@ export declare const lineContract: {
2275
2275
  deletedAt: z.ZodNullable<z.ZodDate>;
2276
2276
  }, {
2277
2277
  message: z.ZodString;
2278
- direction: z.ZodEnum<[string, ...string[]]>;
2279
- type: z.ZodEnum<[string, ...string[]]>;
2278
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2279
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
2280
2280
  readAt: z.ZodDate;
2281
2281
  metadata: z.ZodAny;
2282
2282
  platformId: z.ZodString;
@@ -2303,7 +2303,7 @@ export declare const lineContract: {
2303
2303
  firstResponseTime: z.ZodNumber;
2304
2304
  isLatest: z.ZodBoolean;
2305
2305
  isBotRoom: z.ZodBoolean;
2306
- direction: z.ZodEnum<[string, ...string[]]>;
2306
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
2307
2307
  platformContact: z.ZodObject<{
2308
2308
  id: z.ZodString;
2309
2309
  createdAt: z.ZodDate;
@@ -4988,7 +4988,7 @@ export declare const lineContract: {
4988
4988
  integrationId: string;
4989
4989
  } | null;
4990
4990
  };
4991
- direction: string;
4991
+ direction: "incoming" | "outgoing" | "system";
4992
4992
  status: number;
4993
4993
  createdAt: Date;
4994
4994
  updatedAt: Date;
@@ -5417,7 +5417,7 @@ export declare const lineContract: {
5417
5417
  integrationId: string;
5418
5418
  } | null;
5419
5419
  };
5420
- direction: string;
5420
+ direction: "incoming" | "outgoing" | "system";
5421
5421
  status: number;
5422
5422
  createdAt: Date;
5423
5423
  updatedAt: Date;
@@ -5791,8 +5791,8 @@ export declare const lineContract: {
5791
5791
  deletedAt: z.ZodNullable<z.ZodDate>;
5792
5792
  }, {
5793
5793
  message: z.ZodString;
5794
- direction: z.ZodEnum<[string, ...string[]]>;
5795
- type: z.ZodEnum<[string, ...string[]]>;
5794
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
5795
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
5796
5796
  readAt: z.ZodDate;
5797
5797
  metadata: z.ZodAny;
5798
5798
  platformId: z.ZodString;
@@ -6458,7 +6458,7 @@ export declare const lineContract: {
6458
6458
  message: string;
6459
6459
  id: string;
6460
6460
  url: string;
6461
- direction: string;
6461
+ direction: "incoming" | "outgoing" | "system";
6462
6462
  createdAt: Date;
6463
6463
  updatedAt: Date;
6464
6464
  deletedAt: Date | null;
@@ -6620,7 +6620,7 @@ export declare const lineContract: {
6620
6620
  message: string;
6621
6621
  id: string;
6622
6622
  url: string;
6623
- direction: string;
6623
+ direction: "incoming" | "outgoing" | "system";
6624
6624
  createdAt: Date;
6625
6625
  updatedAt: Date;
6626
6626
  deletedAt: Date | null;
@@ -7426,8 +7426,8 @@ export declare const lineContract: {
7426
7426
  deletedAt: z.ZodNullable<z.ZodDate>;
7427
7427
  }, {
7428
7428
  message: z.ZodString;
7429
- direction: z.ZodEnum<[string, ...string[]]>;
7430
- type: z.ZodEnum<[string, ...string[]]>;
7429
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7430
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
7431
7431
  readAt: z.ZodDate;
7432
7432
  metadata: z.ZodAny;
7433
7433
  platformId: z.ZodString;
@@ -7454,7 +7454,7 @@ export declare const lineContract: {
7454
7454
  firstResponseTime: z.ZodNumber;
7455
7455
  isLatest: z.ZodBoolean;
7456
7456
  isBotRoom: z.ZodBoolean;
7457
- direction: z.ZodEnum<[string, ...string[]]>;
7457
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
7458
7458
  platformContact: z.ZodObject<{
7459
7459
  id: z.ZodString;
7460
7460
  createdAt: z.ZodDate;
@@ -10139,7 +10139,7 @@ export declare const lineContract: {
10139
10139
  integrationId: string;
10140
10140
  } | null;
10141
10141
  };
10142
- direction: string;
10142
+ direction: "incoming" | "outgoing" | "system";
10143
10143
  status: number;
10144
10144
  createdAt: Date;
10145
10145
  updatedAt: Date;
@@ -10568,7 +10568,7 @@ export declare const lineContract: {
10568
10568
  integrationId: string;
10569
10569
  } | null;
10570
10570
  };
10571
- direction: string;
10571
+ direction: "incoming" | "outgoing" | "system";
10572
10572
  status: number;
10573
10573
  createdAt: Date;
10574
10574
  updatedAt: Date;
@@ -10942,8 +10942,8 @@ export declare const lineContract: {
10942
10942
  deletedAt: z.ZodNullable<z.ZodDate>;
10943
10943
  }, {
10944
10944
  message: z.ZodString;
10945
- direction: z.ZodEnum<[string, ...string[]]>;
10946
- type: z.ZodEnum<[string, ...string[]]>;
10945
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
10946
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
10947
10947
  readAt: z.ZodDate;
10948
10948
  metadata: z.ZodAny;
10949
10949
  platformId: z.ZodString;
@@ -11609,7 +11609,7 @@ export declare const lineContract: {
11609
11609
  message: string;
11610
11610
  id: string;
11611
11611
  url: string;
11612
- direction: string;
11612
+ direction: "incoming" | "outgoing" | "system";
11613
11613
  createdAt: Date;
11614
11614
  updatedAt: Date;
11615
11615
  deletedAt: Date | null;
@@ -11771,7 +11771,7 @@ export declare const lineContract: {
11771
11771
  message: string;
11772
11772
  id: string;
11773
11773
  url: string;
11774
- direction: string;
11774
+ direction: "incoming" | "outgoing" | "system";
11775
11775
  createdAt: Date;
11776
11776
  updatedAt: Date;
11777
11777
  deletedAt: Date | null;
@@ -12574,7 +12574,7 @@ export declare const lineContract: {
12574
12574
  message: string;
12575
12575
  id: string;
12576
12576
  url: string;
12577
- direction: string;
12577
+ direction: "incoming" | "outgoing" | "system";
12578
12578
  createdAt: Date;
12579
12579
  updatedAt: Date;
12580
12580
  deletedAt: Date | null;
@@ -12777,7 +12777,7 @@ export declare const lineContract: {
12777
12777
  integrationId: string;
12778
12778
  } | null;
12779
12779
  };
12780
- direction: string;
12780
+ direction: "incoming" | "outgoing" | "system";
12781
12781
  status: number;
12782
12782
  createdAt: Date;
12783
12783
  updatedAt: Date;
@@ -13129,7 +13129,7 @@ export declare const lineContract: {
13129
13129
  message: string;
13130
13130
  id: string;
13131
13131
  url: string;
13132
- direction: string;
13132
+ direction: "incoming" | "outgoing" | "system";
13133
13133
  createdAt: Date;
13134
13134
  updatedAt: Date;
13135
13135
  deletedAt: Date | null;
@@ -13340,7 +13340,7 @@ export declare const lineContract: {
13340
13340
  message: string;
13341
13341
  id: string;
13342
13342
  url: string;
13343
- direction: string;
13343
+ direction: "incoming" | "outgoing" | "system";
13344
13344
  createdAt: Date;
13345
13345
  updatedAt: Date;
13346
13346
  deletedAt: Date | null;
@@ -13543,7 +13543,7 @@ export declare const lineContract: {
13543
13543
  integrationId: string;
13544
13544
  } | null;
13545
13545
  };
13546
- direction: string;
13546
+ direction: "incoming" | "outgoing" | "system";
13547
13547
  status: number;
13548
13548
  createdAt: Date;
13549
13549
  updatedAt: Date;
@@ -13895,7 +13895,7 @@ export declare const lineContract: {
13895
13895
  message: string;
13896
13896
  id: string;
13897
13897
  url: string;
13898
- direction: string;
13898
+ direction: "incoming" | "outgoing" | "system";
13899
13899
  createdAt: Date;
13900
13900
  updatedAt: Date;
13901
13901
  deletedAt: Date | null;
@@ -14107,7 +14107,7 @@ export declare const lineContract: {
14107
14107
  message: string;
14108
14108
  id: string;
14109
14109
  url: string;
14110
- direction: string;
14110
+ direction: "incoming" | "outgoing" | "system";
14111
14111
  createdAt: Date;
14112
14112
  updatedAt: Date;
14113
14113
  deletedAt: Date | null;
@@ -14310,7 +14310,7 @@ export declare const lineContract: {
14310
14310
  integrationId: string;
14311
14311
  } | null;
14312
14312
  };
14313
- direction: string;
14313
+ direction: "incoming" | "outgoing" | "system";
14314
14314
  status: number;
14315
14315
  createdAt: Date;
14316
14316
  updatedAt: Date;
@@ -14662,7 +14662,7 @@ export declare const lineContract: {
14662
14662
  message: string;
14663
14663
  id: string;
14664
14664
  url: string;
14665
- direction: string;
14665
+ direction: "incoming" | "outgoing" | "system";
14666
14666
  createdAt: Date;
14667
14667
  updatedAt: Date;
14668
14668
  deletedAt: Date | null;
@@ -14873,7 +14873,7 @@ export declare const lineContract: {
14873
14873
  message: string;
14874
14874
  id: string;
14875
14875
  url: string;
14876
- direction: string;
14876
+ direction: "incoming" | "outgoing" | "system";
14877
14877
  createdAt: Date;
14878
14878
  updatedAt: Date;
14879
14879
  deletedAt: Date | null;
@@ -15076,7 +15076,7 @@ export declare const lineContract: {
15076
15076
  integrationId: string;
15077
15077
  } | null;
15078
15078
  };
15079
- direction: string;
15079
+ direction: "incoming" | "outgoing" | "system";
15080
15080
  status: number;
15081
15081
  createdAt: Date;
15082
15082
  updatedAt: Date;
@@ -15428,7 +15428,7 @@ export declare const lineContract: {
15428
15428
  message: string;
15429
15429
  id: string;
15430
15430
  url: string;
15431
- direction: string;
15431
+ direction: "incoming" | "outgoing" | "system";
15432
15432
  createdAt: Date;
15433
15433
  updatedAt: Date;
15434
15434
  deletedAt: Date | null;
@@ -15640,7 +15640,7 @@ export declare const lineContract: {
15640
15640
  message: string;
15641
15641
  id: string;
15642
15642
  url: string;
15643
- direction: string;
15643
+ direction: "incoming" | "outgoing" | "system";
15644
15644
  createdAt: Date;
15645
15645
  updatedAt: Date;
15646
15646
  deletedAt: Date | null;
@@ -15843,7 +15843,7 @@ export declare const lineContract: {
15843
15843
  integrationId: string;
15844
15844
  } | null;
15845
15845
  };
15846
- direction: string;
15846
+ direction: "incoming" | "outgoing" | "system";
15847
15847
  status: number;
15848
15848
  createdAt: Date;
15849
15849
  updatedAt: Date;
@@ -16195,7 +16195,7 @@ export declare const lineContract: {
16195
16195
  message: string;
16196
16196
  id: string;
16197
16197
  url: string;
16198
- direction: string;
16198
+ direction: "incoming" | "outgoing" | "system";
16199
16199
  createdAt: Date;
16200
16200
  updatedAt: Date;
16201
16201
  deletedAt: Date | null;
@@ -16406,7 +16406,7 @@ export declare const lineContract: {
16406
16406
  message: string;
16407
16407
  id: string;
16408
16408
  url: string;
16409
- direction: string;
16409
+ direction: "incoming" | "outgoing" | "system";
16410
16410
  createdAt: Date;
16411
16411
  updatedAt: Date;
16412
16412
  deletedAt: Date | null;
@@ -16609,7 +16609,7 @@ export declare const lineContract: {
16609
16609
  integrationId: string;
16610
16610
  } | null;
16611
16611
  };
16612
- direction: string;
16612
+ direction: "incoming" | "outgoing" | "system";
16613
16613
  status: number;
16614
16614
  createdAt: Date;
16615
16615
  updatedAt: Date;
@@ -16961,7 +16961,7 @@ export declare const lineContract: {
16961
16961
  message: string;
16962
16962
  id: string;
16963
16963
  url: string;
16964
- direction: string;
16964
+ direction: "incoming" | "outgoing" | "system";
16965
16965
  createdAt: Date;
16966
16966
  updatedAt: Date;
16967
16967
  deletedAt: Date | null;
@@ -17175,7 +17175,7 @@ export declare const lineContract: {
17175
17175
  message: string;
17176
17176
  id: string;
17177
17177
  url: string;
17178
- direction: string;
17178
+ direction: "incoming" | "outgoing" | "system";
17179
17179
  createdAt: Date;
17180
17180
  updatedAt: Date;
17181
17181
  deletedAt: Date | null;
@@ -17378,7 +17378,7 @@ export declare const lineContract: {
17378
17378
  integrationId: string;
17379
17379
  } | null;
17380
17380
  };
17381
- direction: string;
17381
+ direction: "incoming" | "outgoing" | "system";
17382
17382
  status: number;
17383
17383
  createdAt: Date;
17384
17384
  updatedAt: Date;
@@ -17730,7 +17730,7 @@ export declare const lineContract: {
17730
17730
  message: string;
17731
17731
  id: string;
17732
17732
  url: string;
17733
- direction: string;
17733
+ direction: "incoming" | "outgoing" | "system";
17734
17734
  createdAt: Date;
17735
17735
  updatedAt: Date;
17736
17736
  deletedAt: Date | null;
@@ -17941,7 +17941,7 @@ export declare const lineContract: {
17941
17941
  message: string;
17942
17942
  id: string;
17943
17943
  url: string;
17944
- direction: string;
17944
+ direction: "incoming" | "outgoing" | "system";
17945
17945
  createdAt: Date;
17946
17946
  updatedAt: Date;
17947
17947
  deletedAt: Date | null;
@@ -18144,7 +18144,7 @@ export declare const lineContract: {
18144
18144
  integrationId: string;
18145
18145
  } | null;
18146
18146
  };
18147
- direction: string;
18147
+ direction: "incoming" | "outgoing" | "system";
18148
18148
  status: number;
18149
18149
  createdAt: Date;
18150
18150
  updatedAt: Date;
@@ -18496,7 +18496,7 @@ export declare const lineContract: {
18496
18496
  message: string;
18497
18497
  id: string;
18498
18498
  url: string;
18499
- direction: string;
18499
+ direction: "incoming" | "outgoing" | "system";
18500
18500
  createdAt: Date;
18501
18501
  updatedAt: Date;
18502
18502
  deletedAt: Date | null;
@@ -18711,7 +18711,7 @@ export declare const lineContract: {
18711
18711
  message: string;
18712
18712
  id: string;
18713
18713
  url: string;
18714
- direction: string;
18714
+ direction: "incoming" | "outgoing" | "system";
18715
18715
  createdAt: Date;
18716
18716
  updatedAt: Date;
18717
18717
  deletedAt: Date | null;
@@ -18914,7 +18914,7 @@ export declare const lineContract: {
18914
18914
  integrationId: string;
18915
18915
  } | null;
18916
18916
  };
18917
- direction: string;
18917
+ direction: "incoming" | "outgoing" | "system";
18918
18918
  status: number;
18919
18919
  createdAt: Date;
18920
18920
  updatedAt: Date;
@@ -19266,7 +19266,7 @@ export declare const lineContract: {
19266
19266
  message: string;
19267
19267
  id: string;
19268
19268
  url: string;
19269
- direction: string;
19269
+ direction: "incoming" | "outgoing" | "system";
19270
19270
  createdAt: Date;
19271
19271
  updatedAt: Date;
19272
19272
  deletedAt: Date | null;
@@ -19477,7 +19477,7 @@ export declare const lineContract: {
19477
19477
  message: string;
19478
19478
  id: string;
19479
19479
  url: string;
19480
- direction: string;
19480
+ direction: "incoming" | "outgoing" | "system";
19481
19481
  createdAt: Date;
19482
19482
  updatedAt: Date;
19483
19483
  deletedAt: Date | null;
@@ -19680,7 +19680,7 @@ export declare const lineContract: {
19680
19680
  integrationId: string;
19681
19681
  } | null;
19682
19682
  };
19683
- direction: string;
19683
+ direction: "incoming" | "outgoing" | "system";
19684
19684
  status: number;
19685
19685
  createdAt: Date;
19686
19686
  updatedAt: Date;
@@ -20032,7 +20032,7 @@ export declare const lineContract: {
20032
20032
  message: string;
20033
20033
  id: string;
20034
20034
  url: string;
20035
- direction: string;
20035
+ direction: "incoming" | "outgoing" | "system";
20036
20036
  createdAt: Date;
20037
20037
  updatedAt: Date;
20038
20038
  deletedAt: Date | null;
@@ -7,7 +7,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
7
7
  lastMessage: z.ZodOptional<z.ZodString>;
8
8
  handleTime: z.ZodOptional<z.ZodNumber>;
9
9
  isLatest: z.ZodBoolean;
10
- direction: z.ZodEnum<[string, ...string[]]>;
10
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
11
11
  platformContact: z.ZodObject<{
12
12
  channelId: z.ZodString;
13
13
  socialPlatformId: z.ZodNullable<z.ZodString>;
@@ -405,7 +405,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
405
405
  connectedUserName?: string | null | undefined;
406
406
  connectedUserId?: string | null | undefined;
407
407
  };
408
- direction: string;
408
+ direction: "incoming" | "outgoing" | "system";
409
409
  actor: {
410
410
  name: string;
411
411
  address: string | null;
@@ -485,7 +485,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
485
485
  connectedUserName?: string | null | undefined;
486
486
  connectedUserId?: string | null | undefined;
487
487
  };
488
- direction: string;
488
+ direction: "incoming" | "outgoing" | "system";
489
489
  actor: {
490
490
  name: string;
491
491
  address: string | null;
@@ -517,8 +517,8 @@ export declare const SendLineStickerSchema: z.ZodObject<{
517
517
  }>;
518
518
  message: z.ZodObject<{
519
519
  message: z.ZodOptional<z.ZodString>;
520
- direction: z.ZodEnum<[string, ...string[]]>;
521
- type: z.ZodEnum<[string, ...string[]]>;
520
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
521
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
522
522
  readAt: z.ZodOptional<z.ZodDate>;
523
523
  metadata: z.ZodOptional<z.ZodAny>;
524
524
  platformId: z.ZodOptional<z.ZodString>;
@@ -563,7 +563,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
563
563
  }>;
564
564
  }, "strip", z.ZodTypeAny, {
565
565
  type: string;
566
- direction: string;
566
+ direction: "incoming" | "outgoing" | "system";
567
567
  sender: {
568
568
  name: string;
569
569
  address: string | null;
@@ -589,7 +589,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
589
589
  imageSetId?: string | undefined;
590
590
  }, {
591
591
  type: string;
592
- direction: string;
592
+ direction: "incoming" | "outgoing" | "system";
593
593
  sender: {
594
594
  name: string;
595
595
  address: string | null;
@@ -617,7 +617,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
617
617
  }, "strip", z.ZodTypeAny, {
618
618
  message: {
619
619
  type: string;
620
- direction: string;
620
+ direction: "incoming" | "outgoing" | "system";
621
621
  sender: {
622
622
  name: string;
623
623
  address: string | null;
@@ -693,7 +693,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
693
693
  connectedUserName?: string | null | undefined;
694
694
  connectedUserId?: string | null | undefined;
695
695
  };
696
- direction: string;
696
+ direction: "incoming" | "outgoing" | "system";
697
697
  actor: {
698
698
  name: string;
699
699
  address: string | null;
@@ -728,7 +728,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
728
728
  }, {
729
729
  message: {
730
730
  type: string;
731
- direction: string;
731
+ direction: "incoming" | "outgoing" | "system";
732
732
  sender: {
733
733
  name: string;
734
734
  address: string | null;
@@ -804,7 +804,7 @@ export declare const SendLineStickerSchema: z.ZodObject<{
804
804
  connectedUserName?: string | null | undefined;
805
805
  connectedUserId?: string | null | undefined;
806
806
  };
807
- direction: string;
807
+ direction: "incoming" | "outgoing" | "system";
808
808
  actor: {
809
809
  name: string;
810
810
  address: string | null;