@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.
@@ -11,7 +11,7 @@ export declare const instagramContract: {
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
  metadata: z.ZodOptional<z.ZodAny>;
16
16
  createdAt: z.ZodString;
17
17
  updatedAt: z.ZodString;
@@ -433,7 +433,7 @@ export declare const instagramContract: {
433
433
  connectedUserName?: string | null | undefined;
434
434
  connectedUserId?: string | null | undefined;
435
435
  };
436
- direction: string;
436
+ direction: "incoming" | "outgoing" | "system";
437
437
  createdAt: string;
438
438
  updatedAt: string;
439
439
  actor: {
@@ -525,7 +525,7 @@ export declare const instagramContract: {
525
525
  connectedUserName?: string | null | undefined;
526
526
  connectedUserId?: string | null | undefined;
527
527
  };
528
- direction: string;
528
+ direction: "incoming" | "outgoing" | "system";
529
529
  createdAt: string;
530
530
  updatedAt: string;
531
531
  actor: {
@@ -570,8 +570,8 @@ export declare const instagramContract: {
570
570
  message: z.ZodObject<{
571
571
  id: z.ZodOptional<z.ZodString>;
572
572
  message: z.ZodOptional<z.ZodString>;
573
- direction: z.ZodEnum<[string, ...string[]]>;
574
- type: z.ZodEnum<[string, ...string[]]>;
573
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
574
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
575
575
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
576
576
  metadata: z.ZodOptional<z.ZodAny>;
577
577
  platformId: z.ZodOptional<z.ZodString>;
@@ -628,7 +628,7 @@ export declare const instagramContract: {
628
628
  label: z.ZodOptional<z.ZodString>;
629
629
  }, "strip", z.ZodTypeAny, {
630
630
  type: string;
631
- direction: string;
631
+ direction: "incoming" | "outgoing" | "system";
632
632
  message?: string | undefined;
633
633
  id?: string | undefined;
634
634
  url?: string | undefined;
@@ -663,7 +663,7 @@ export declare const instagramContract: {
663
663
  editedAt?: string | Date | null | undefined;
664
664
  }, {
665
665
  type: string;
666
- direction: string;
666
+ direction: "incoming" | "outgoing" | "system";
667
667
  message?: string | undefined;
668
668
  id?: string | undefined;
669
669
  url?: string | undefined;
@@ -700,7 +700,7 @@ export declare const instagramContract: {
700
700
  }, "strip", z.ZodTypeAny, {
701
701
  message: {
702
702
  type: string;
703
- direction: string;
703
+ direction: "incoming" | "outgoing" | "system";
704
704
  message?: string | undefined;
705
705
  id?: string | undefined;
706
706
  url?: string | undefined;
@@ -785,7 +785,7 @@ export declare const instagramContract: {
785
785
  connectedUserName?: string | null | undefined;
786
786
  connectedUserId?: string | null | undefined;
787
787
  };
788
- direction: string;
788
+ direction: "incoming" | "outgoing" | "system";
789
789
  createdAt: string;
790
790
  updatedAt: string;
791
791
  actor: {
@@ -831,7 +831,7 @@ export declare const instagramContract: {
831
831
  }, {
832
832
  message: {
833
833
  type: string;
834
- direction: string;
834
+ direction: "incoming" | "outgoing" | "system";
835
835
  message?: string | undefined;
836
836
  id?: string | undefined;
837
837
  url?: string | undefined;
@@ -916,7 +916,7 @@ export declare const instagramContract: {
916
916
  connectedUserName?: string | null | undefined;
917
917
  connectedUserId?: string | null | undefined;
918
918
  };
919
- direction: string;
919
+ direction: "incoming" | "outgoing" | "system";
920
920
  createdAt: string;
921
921
  updatedAt: string;
922
922
  actor: {
@@ -973,8 +973,8 @@ export declare const instagramContract: {
973
973
  deletedAt: z.ZodNullable<z.ZodDate>;
974
974
  }, {
975
975
  message: z.ZodString;
976
- direction: z.ZodEnum<[string, ...string[]]>;
977
- type: z.ZodEnum<[string, ...string[]]>;
976
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
977
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
978
978
  readAt: z.ZodDate;
979
979
  metadata: z.ZodAny;
980
980
  platformId: z.ZodString;
@@ -1001,7 +1001,7 @@ export declare const instagramContract: {
1001
1001
  firstResponseTime: z.ZodNumber;
1002
1002
  isLatest: z.ZodBoolean;
1003
1003
  isBotRoom: z.ZodBoolean;
1004
- direction: z.ZodEnum<[string, ...string[]]>;
1004
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
1005
1005
  platformContact: z.ZodObject<{
1006
1006
  id: z.ZodString;
1007
1007
  createdAt: z.ZodDate;
@@ -3686,7 +3686,7 @@ export declare const instagramContract: {
3686
3686
  integrationId: string;
3687
3687
  } | null;
3688
3688
  };
3689
- direction: string;
3689
+ direction: "incoming" | "outgoing" | "system";
3690
3690
  status: number;
3691
3691
  createdAt: Date;
3692
3692
  updatedAt: Date;
@@ -4115,7 +4115,7 @@ export declare const instagramContract: {
4115
4115
  integrationId: string;
4116
4116
  } | null;
4117
4117
  };
4118
- direction: string;
4118
+ direction: "incoming" | "outgoing" | "system";
4119
4119
  status: number;
4120
4120
  createdAt: Date;
4121
4121
  updatedAt: Date;
@@ -4489,8 +4489,8 @@ export declare const instagramContract: {
4489
4489
  deletedAt: z.ZodNullable<z.ZodDate>;
4490
4490
  }, {
4491
4491
  message: z.ZodString;
4492
- direction: z.ZodEnum<[string, ...string[]]>;
4493
- type: z.ZodEnum<[string, ...string[]]>;
4492
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
4493
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
4494
4494
  readAt: z.ZodDate;
4495
4495
  metadata: z.ZodAny;
4496
4496
  platformId: z.ZodString;
@@ -5156,7 +5156,7 @@ export declare const instagramContract: {
5156
5156
  message: string;
5157
5157
  id: string;
5158
5158
  url: string;
5159
- direction: string;
5159
+ direction: "incoming" | "outgoing" | "system";
5160
5160
  createdAt: Date;
5161
5161
  updatedAt: Date;
5162
5162
  deletedAt: Date | null;
@@ -5318,7 +5318,7 @@ export declare const instagramContract: {
5318
5318
  message: string;
5319
5319
  id: string;
5320
5320
  url: string;
5321
- direction: string;
5321
+ direction: "incoming" | "outgoing" | "system";
5322
5322
  createdAt: Date;
5323
5323
  updatedAt: Date;
5324
5324
  deletedAt: Date | null;
@@ -6124,8 +6124,8 @@ export declare const instagramContract: {
6124
6124
  deletedAt: z.ZodNullable<z.ZodDate>;
6125
6125
  }, {
6126
6126
  message: z.ZodString;
6127
- direction: z.ZodEnum<[string, ...string[]]>;
6128
- type: z.ZodEnum<[string, ...string[]]>;
6127
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6128
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
6129
6129
  readAt: z.ZodDate;
6130
6130
  metadata: z.ZodAny;
6131
6131
  platformId: z.ZodString;
@@ -6152,7 +6152,7 @@ export declare const instagramContract: {
6152
6152
  firstResponseTime: z.ZodNumber;
6153
6153
  isLatest: z.ZodBoolean;
6154
6154
  isBotRoom: z.ZodBoolean;
6155
- direction: z.ZodEnum<[string, ...string[]]>;
6155
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
6156
6156
  platformContact: z.ZodObject<{
6157
6157
  id: z.ZodString;
6158
6158
  createdAt: z.ZodDate;
@@ -8837,7 +8837,7 @@ export declare const instagramContract: {
8837
8837
  integrationId: string;
8838
8838
  } | null;
8839
8839
  };
8840
- direction: string;
8840
+ direction: "incoming" | "outgoing" | "system";
8841
8841
  status: number;
8842
8842
  createdAt: Date;
8843
8843
  updatedAt: Date;
@@ -9266,7 +9266,7 @@ export declare const instagramContract: {
9266
9266
  integrationId: string;
9267
9267
  } | null;
9268
9268
  };
9269
- direction: string;
9269
+ direction: "incoming" | "outgoing" | "system";
9270
9270
  status: number;
9271
9271
  createdAt: Date;
9272
9272
  updatedAt: Date;
@@ -9640,8 +9640,8 @@ export declare const instagramContract: {
9640
9640
  deletedAt: z.ZodNullable<z.ZodDate>;
9641
9641
  }, {
9642
9642
  message: z.ZodString;
9643
- direction: z.ZodEnum<[string, ...string[]]>;
9644
- type: z.ZodEnum<[string, ...string[]]>;
9643
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
9644
+ type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
9645
9645
  readAt: z.ZodDate;
9646
9646
  metadata: z.ZodAny;
9647
9647
  platformId: z.ZodString;
@@ -10307,7 +10307,7 @@ export declare const instagramContract: {
10307
10307
  message: string;
10308
10308
  id: string;
10309
10309
  url: string;
10310
- direction: string;
10310
+ direction: "incoming" | "outgoing" | "system";
10311
10311
  createdAt: Date;
10312
10312
  updatedAt: Date;
10313
10313
  deletedAt: Date | null;
@@ -10469,7 +10469,7 @@ export declare const instagramContract: {
10469
10469
  message: string;
10470
10470
  id: string;
10471
10471
  url: string;
10472
- direction: string;
10472
+ direction: "incoming" | "outgoing" | "system";
10473
10473
  createdAt: Date;
10474
10474
  updatedAt: Date;
10475
10475
  deletedAt: Date | null;
@@ -11272,7 +11272,7 @@ export declare const instagramContract: {
11272
11272
  message: string;
11273
11273
  id: string;
11274
11274
  url: string;
11275
- direction: string;
11275
+ direction: "incoming" | "outgoing" | "system";
11276
11276
  createdAt: Date;
11277
11277
  updatedAt: Date;
11278
11278
  deletedAt: Date | null;
@@ -11475,7 +11475,7 @@ export declare const instagramContract: {
11475
11475
  integrationId: string;
11476
11476
  } | null;
11477
11477
  };
11478
- direction: string;
11478
+ direction: "incoming" | "outgoing" | "system";
11479
11479
  status: number;
11480
11480
  createdAt: Date;
11481
11481
  updatedAt: Date;
@@ -11827,7 +11827,7 @@ export declare const instagramContract: {
11827
11827
  message: string;
11828
11828
  id: string;
11829
11829
  url: string;
11830
- direction: string;
11830
+ direction: "incoming" | "outgoing" | "system";
11831
11831
  createdAt: Date;
11832
11832
  updatedAt: Date;
11833
11833
  deletedAt: Date | null;
@@ -12038,7 +12038,7 @@ export declare const instagramContract: {
12038
12038
  message: string;
12039
12039
  id: string;
12040
12040
  url: string;
12041
- direction: string;
12041
+ direction: "incoming" | "outgoing" | "system";
12042
12042
  createdAt: Date;
12043
12043
  updatedAt: Date;
12044
12044
  deletedAt: Date | null;
@@ -12241,7 +12241,7 @@ export declare const instagramContract: {
12241
12241
  integrationId: string;
12242
12242
  } | null;
12243
12243
  };
12244
- direction: string;
12244
+ direction: "incoming" | "outgoing" | "system";
12245
12245
  status: number;
12246
12246
  createdAt: Date;
12247
12247
  updatedAt: Date;
@@ -12593,7 +12593,7 @@ export declare const instagramContract: {
12593
12593
  message: string;
12594
12594
  id: string;
12595
12595
  url: string;
12596
- direction: string;
12596
+ direction: "incoming" | "outgoing" | "system";
12597
12597
  createdAt: Date;
12598
12598
  updatedAt: Date;
12599
12599
  deletedAt: Date | null;
@@ -12805,7 +12805,7 @@ export declare const instagramContract: {
12805
12805
  message: string;
12806
12806
  id: string;
12807
12807
  url: string;
12808
- direction: string;
12808
+ direction: "incoming" | "outgoing" | "system";
12809
12809
  createdAt: Date;
12810
12810
  updatedAt: Date;
12811
12811
  deletedAt: Date | null;
@@ -13008,7 +13008,7 @@ export declare const instagramContract: {
13008
13008
  integrationId: string;
13009
13009
  } | null;
13010
13010
  };
13011
- direction: string;
13011
+ direction: "incoming" | "outgoing" | "system";
13012
13012
  status: number;
13013
13013
  createdAt: Date;
13014
13014
  updatedAt: Date;
@@ -13360,7 +13360,7 @@ export declare const instagramContract: {
13360
13360
  message: string;
13361
13361
  id: string;
13362
13362
  url: string;
13363
- direction: string;
13363
+ direction: "incoming" | "outgoing" | "system";
13364
13364
  createdAt: Date;
13365
13365
  updatedAt: Date;
13366
13366
  deletedAt: Date | null;
@@ -13571,7 +13571,7 @@ export declare const instagramContract: {
13571
13571
  message: string;
13572
13572
  id: string;
13573
13573
  url: string;
13574
- direction: string;
13574
+ direction: "incoming" | "outgoing" | "system";
13575
13575
  createdAt: Date;
13576
13576
  updatedAt: Date;
13577
13577
  deletedAt: Date | null;
@@ -13774,7 +13774,7 @@ export declare const instagramContract: {
13774
13774
  integrationId: string;
13775
13775
  } | null;
13776
13776
  };
13777
- direction: string;
13777
+ direction: "incoming" | "outgoing" | "system";
13778
13778
  status: number;
13779
13779
  createdAt: Date;
13780
13780
  updatedAt: Date;
@@ -14126,7 +14126,7 @@ export declare const instagramContract: {
14126
14126
  message: string;
14127
14127
  id: string;
14128
14128
  url: string;
14129
- direction: string;
14129
+ direction: "incoming" | "outgoing" | "system";
14130
14130
  createdAt: Date;
14131
14131
  updatedAt: Date;
14132
14132
  deletedAt: Date | null;
@@ -14338,7 +14338,7 @@ export declare const instagramContract: {
14338
14338
  message: string;
14339
14339
  id: string;
14340
14340
  url: string;
14341
- direction: string;
14341
+ direction: "incoming" | "outgoing" | "system";
14342
14342
  createdAt: Date;
14343
14343
  updatedAt: Date;
14344
14344
  deletedAt: Date | null;
@@ -14541,7 +14541,7 @@ export declare const instagramContract: {
14541
14541
  integrationId: string;
14542
14542
  } | null;
14543
14543
  };
14544
- direction: string;
14544
+ direction: "incoming" | "outgoing" | "system";
14545
14545
  status: number;
14546
14546
  createdAt: Date;
14547
14547
  updatedAt: Date;
@@ -14893,7 +14893,7 @@ export declare const instagramContract: {
14893
14893
  message: string;
14894
14894
  id: string;
14895
14895
  url: string;
14896
- direction: string;
14896
+ direction: "incoming" | "outgoing" | "system";
14897
14897
  createdAt: Date;
14898
14898
  updatedAt: Date;
14899
14899
  deletedAt: Date | null;
@@ -15104,7 +15104,7 @@ export declare const instagramContract: {
15104
15104
  message: string;
15105
15105
  id: string;
15106
15106
  url: string;
15107
- direction: string;
15107
+ direction: "incoming" | "outgoing" | "system";
15108
15108
  createdAt: Date;
15109
15109
  updatedAt: Date;
15110
15110
  deletedAt: Date | null;
@@ -15307,7 +15307,7 @@ export declare const instagramContract: {
15307
15307
  integrationId: string;
15308
15308
  } | null;
15309
15309
  };
15310
- direction: string;
15310
+ direction: "incoming" | "outgoing" | "system";
15311
15311
  status: number;
15312
15312
  createdAt: Date;
15313
15313
  updatedAt: Date;
@@ -15659,7 +15659,7 @@ export declare const instagramContract: {
15659
15659
  message: string;
15660
15660
  id: string;
15661
15661
  url: string;
15662
- direction: string;
15662
+ direction: "incoming" | "outgoing" | "system";
15663
15663
  createdAt: Date;
15664
15664
  updatedAt: Date;
15665
15665
  deletedAt: Date | null;
@@ -15873,7 +15873,7 @@ export declare const instagramContract: {
15873
15873
  message: string;
15874
15874
  id: string;
15875
15875
  url: string;
15876
- direction: string;
15876
+ direction: "incoming" | "outgoing" | "system";
15877
15877
  createdAt: Date;
15878
15878
  updatedAt: Date;
15879
15879
  deletedAt: Date | null;
@@ -16076,7 +16076,7 @@ export declare const instagramContract: {
16076
16076
  integrationId: string;
16077
16077
  } | null;
16078
16078
  };
16079
- direction: string;
16079
+ direction: "incoming" | "outgoing" | "system";
16080
16080
  status: number;
16081
16081
  createdAt: Date;
16082
16082
  updatedAt: Date;
@@ -16428,7 +16428,7 @@ export declare const instagramContract: {
16428
16428
  message: string;
16429
16429
  id: string;
16430
16430
  url: string;
16431
- direction: string;
16431
+ direction: "incoming" | "outgoing" | "system";
16432
16432
  createdAt: Date;
16433
16433
  updatedAt: Date;
16434
16434
  deletedAt: Date | null;
@@ -16639,7 +16639,7 @@ export declare const instagramContract: {
16639
16639
  message: string;
16640
16640
  id: string;
16641
16641
  url: string;
16642
- direction: string;
16642
+ direction: "incoming" | "outgoing" | "system";
16643
16643
  createdAt: Date;
16644
16644
  updatedAt: Date;
16645
16645
  deletedAt: Date | null;
@@ -16842,7 +16842,7 @@ export declare const instagramContract: {
16842
16842
  integrationId: string;
16843
16843
  } | null;
16844
16844
  };
16845
- direction: string;
16845
+ direction: "incoming" | "outgoing" | "system";
16846
16846
  status: number;
16847
16847
  createdAt: Date;
16848
16848
  updatedAt: Date;
@@ -17194,7 +17194,7 @@ export declare const instagramContract: {
17194
17194
  message: string;
17195
17195
  id: string;
17196
17196
  url: string;
17197
- direction: string;
17197
+ direction: "incoming" | "outgoing" | "system";
17198
17198
  createdAt: Date;
17199
17199
  updatedAt: Date;
17200
17200
  deletedAt: Date | null;
@@ -17409,7 +17409,7 @@ export declare const instagramContract: {
17409
17409
  message: string;
17410
17410
  id: string;
17411
17411
  url: string;
17412
- direction: string;
17412
+ direction: "incoming" | "outgoing" | "system";
17413
17413
  createdAt: Date;
17414
17414
  updatedAt: Date;
17415
17415
  deletedAt: Date | null;
@@ -17612,7 +17612,7 @@ export declare const instagramContract: {
17612
17612
  integrationId: string;
17613
17613
  } | null;
17614
17614
  };
17615
- direction: string;
17615
+ direction: "incoming" | "outgoing" | "system";
17616
17616
  status: number;
17617
17617
  createdAt: Date;
17618
17618
  updatedAt: Date;
@@ -17964,7 +17964,7 @@ export declare const instagramContract: {
17964
17964
  message: string;
17965
17965
  id: string;
17966
17966
  url: string;
17967
- direction: string;
17967
+ direction: "incoming" | "outgoing" | "system";
17968
17968
  createdAt: Date;
17969
17969
  updatedAt: Date;
17970
17970
  deletedAt: Date | null;
@@ -18175,7 +18175,7 @@ export declare const instagramContract: {
18175
18175
  message: string;
18176
18176
  id: string;
18177
18177
  url: string;
18178
- direction: string;
18178
+ direction: "incoming" | "outgoing" | "system";
18179
18179
  createdAt: Date;
18180
18180
  updatedAt: Date;
18181
18181
  deletedAt: Date | null;
@@ -18378,7 +18378,7 @@ export declare const instagramContract: {
18378
18378
  integrationId: string;
18379
18379
  } | null;
18380
18380
  };
18381
- direction: string;
18381
+ direction: "incoming" | "outgoing" | "system";
18382
18382
  status: number;
18383
18383
  createdAt: Date;
18384
18384
  updatedAt: Date;
@@ -18730,7 +18730,7 @@ export declare const instagramContract: {
18730
18730
  message: string;
18731
18731
  id: string;
18732
18732
  url: string;
18733
- direction: string;
18733
+ direction: "incoming" | "outgoing" | "system";
18734
18734
  createdAt: Date;
18735
18735
  updatedAt: Date;
18736
18736
  deletedAt: Date | null;