@kl1/contracts 1.0.18 → 1.0.19

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.
@@ -40,7 +40,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
40
40
  deletedAt: z.ZodNullable<z.ZodDate>;
41
41
  channelId: z.ZodString;
42
42
  socialPlatformId: z.ZodString;
43
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
43
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
44
44
  metadata: z.ZodObject<{
45
45
  id: z.ZodString;
46
46
  name: z.ZodString;
@@ -798,7 +798,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
798
798
  }[] | undefined;
799
799
  }>;
800
800
  }, "strip", z.ZodTypeAny, {
801
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
801
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
802
802
  id: string;
803
803
  metadata: {
804
804
  id: string;
@@ -914,7 +914,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
914
914
  channelId: string;
915
915
  socialPlatformId: string;
916
916
  }, {
917
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
917
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
918
918
  id: string;
919
919
  metadata: {
920
920
  id: string;
@@ -1053,7 +1053,7 @@ export declare const RoomSchema: z.ZodObject<{
1053
1053
  deletedAt: z.ZodNullable<z.ZodDate>;
1054
1054
  channelId: z.ZodString;
1055
1055
  socialPlatformId: z.ZodString;
1056
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
1056
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
1057
1057
  metadata: z.ZodObject<{
1058
1058
  id: z.ZodString;
1059
1059
  name: z.ZodString;
@@ -1811,7 +1811,7 @@ export declare const RoomSchema: z.ZodObject<{
1811
1811
  }[] | undefined;
1812
1812
  }>;
1813
1813
  }, "strip", z.ZodTypeAny, {
1814
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
1814
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1815
1815
  id: string;
1816
1816
  metadata: {
1817
1817
  id: string;
@@ -1927,7 +1927,7 @@ export declare const RoomSchema: z.ZodObject<{
1927
1927
  channelId: string;
1928
1928
  socialPlatformId: string;
1929
1929
  }, {
1930
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
1930
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1931
1931
  id: string;
1932
1932
  metadata: {
1933
1933
  id: string;
@@ -2447,7 +2447,7 @@ export declare const RoomSchema: z.ZodObject<{
2447
2447
  updatedAt: z.ZodOptional<z.ZodDate>;
2448
2448
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2449
2449
  name: z.ZodOptional<z.ZodString>;
2450
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>>;
2450
+ type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
2451
2451
  metadata: z.ZodOptional<z.ZodObject<{
2452
2452
  id: z.ZodString;
2453
2453
  name: z.ZodString;
@@ -2466,7 +2466,7 @@ export declare const RoomSchema: z.ZodObject<{
2466
2466
  }>>;
2467
2467
  brandName: z.ZodOptional<z.ZodString>;
2468
2468
  platformId: z.ZodOptional<z.ZodString>;
2469
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<0>]>>;
2469
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
2470
2470
  isReloginRequired: z.ZodOptional<z.ZodBoolean>;
2471
2471
  connectedUserName: z.ZodOptional<z.ZodString>;
2472
2472
  connectedUserId: z.ZodOptional<z.ZodString>;
@@ -2675,7 +2675,7 @@ export declare const RoomSchema: z.ZodObject<{
2675
2675
  updatedAt?: Date | undefined;
2676
2676
  deletedAt?: Date | null | undefined;
2677
2677
  name?: string | undefined;
2678
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
2678
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2679
2679
  metadata?: {
2680
2680
  id: string;
2681
2681
  name: string;
@@ -2684,7 +2684,7 @@ export declare const RoomSchema: z.ZodObject<{
2684
2684
  } | undefined;
2685
2685
  brandName?: string | undefined;
2686
2686
  platformId?: string | undefined;
2687
- status?: 0 | 1 | undefined;
2687
+ status?: boolean | undefined;
2688
2688
  isReloginRequired?: boolean | undefined;
2689
2689
  connectedUserName?: string | undefined;
2690
2690
  connectedUserId?: string | undefined;
@@ -2737,7 +2737,7 @@ export declare const RoomSchema: z.ZodObject<{
2737
2737
  updatedAt?: Date | undefined;
2738
2738
  deletedAt?: Date | null | undefined;
2739
2739
  name?: string | undefined;
2740
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
2740
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2741
2741
  metadata?: {
2742
2742
  id: string;
2743
2743
  name: string;
@@ -2746,7 +2746,7 @@ export declare const RoomSchema: z.ZodObject<{
2746
2746
  } | undefined;
2747
2747
  brandName?: string | undefined;
2748
2748
  platformId?: string | undefined;
2749
- status?: 0 | 1 | undefined;
2749
+ status?: boolean | undefined;
2750
2750
  isReloginRequired?: boolean | undefined;
2751
2751
  connectedUserName?: string | undefined;
2752
2752
  connectedUserId?: string | undefined;
@@ -2903,7 +2903,7 @@ export declare const RoomSchema: z.ZodObject<{
2903
2903
  firstResponseAt: Date;
2904
2904
  isLatest: boolean;
2905
2905
  platformContact: {
2906
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
2906
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
2907
2907
  id: string;
2908
2908
  metadata: {
2909
2909
  id: string;
@@ -3086,7 +3086,7 @@ export declare const RoomSchema: z.ZodObject<{
3086
3086
  updatedAt?: Date | undefined;
3087
3087
  deletedAt?: Date | null | undefined;
3088
3088
  name?: string | undefined;
3089
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
3089
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3090
3090
  metadata?: {
3091
3091
  id: string;
3092
3092
  name: string;
@@ -3095,7 +3095,7 @@ export declare const RoomSchema: z.ZodObject<{
3095
3095
  } | undefined;
3096
3096
  brandName?: string | undefined;
3097
3097
  platformId?: string | undefined;
3098
- status?: 0 | 1 | undefined;
3098
+ status?: boolean | undefined;
3099
3099
  isReloginRequired?: boolean | undefined;
3100
3100
  connectedUserName?: string | undefined;
3101
3101
  connectedUserId?: string | undefined;
@@ -3200,7 +3200,7 @@ export declare const RoomSchema: z.ZodObject<{
3200
3200
  firstResponseAt: Date;
3201
3201
  isLatest: boolean;
3202
3202
  platformContact: {
3203
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
3203
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
3204
3204
  id: string;
3205
3205
  metadata: {
3206
3206
  id: string;
@@ -3383,7 +3383,7 @@ export declare const RoomSchema: z.ZodObject<{
3383
3383
  updatedAt?: Date | undefined;
3384
3384
  deletedAt?: Date | null | undefined;
3385
3385
  name?: string | undefined;
3386
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
3386
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3387
3387
  metadata?: {
3388
3388
  id: string;
3389
3389
  name: string;
@@ -3392,7 +3392,7 @@ export declare const RoomSchema: z.ZodObject<{
3392
3392
  } | undefined;
3393
3393
  brandName?: string | undefined;
3394
3394
  platformId?: string | undefined;
3395
- status?: 0 | 1 | undefined;
3395
+ status?: boolean | undefined;
3396
3396
  isReloginRequired?: boolean | undefined;
3397
3397
  connectedUserName?: string | undefined;
3398
3398
  connectedUserId?: string | undefined;
@@ -3482,7 +3482,7 @@ export declare const MessageSchema: z.ZodObject<{
3482
3482
  deletedAt: z.ZodNullable<z.ZodDate>;
3483
3483
  channelId: z.ZodString;
3484
3484
  socialPlatformId: z.ZodString;
3485
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
3485
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
3486
3486
  metadata: z.ZodObject<{
3487
3487
  id: z.ZodString;
3488
3488
  name: z.ZodString;
@@ -4240,7 +4240,7 @@ export declare const MessageSchema: z.ZodObject<{
4240
4240
  }[] | undefined;
4241
4241
  }>;
4242
4242
  }, "strip", z.ZodTypeAny, {
4243
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
4243
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
4244
4244
  id: string;
4245
4245
  metadata: {
4246
4246
  id: string;
@@ -4356,7 +4356,7 @@ export declare const MessageSchema: z.ZodObject<{
4356
4356
  channelId: string;
4357
4357
  socialPlatformId: string;
4358
4358
  }, {
4359
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
4359
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
4360
4360
  id: string;
4361
4361
  metadata: {
4362
4362
  id: string;
@@ -4876,7 +4876,7 @@ export declare const MessageSchema: z.ZodObject<{
4876
4876
  updatedAt: z.ZodOptional<z.ZodDate>;
4877
4877
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4878
4878
  name: z.ZodOptional<z.ZodString>;
4879
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>>;
4879
+ type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
4880
4880
  metadata: z.ZodOptional<z.ZodObject<{
4881
4881
  id: z.ZodString;
4882
4882
  name: z.ZodString;
@@ -4895,7 +4895,7 @@ export declare const MessageSchema: z.ZodObject<{
4895
4895
  }>>;
4896
4896
  brandName: z.ZodOptional<z.ZodString>;
4897
4897
  platformId: z.ZodOptional<z.ZodString>;
4898
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<0>]>>;
4898
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
4899
4899
  isReloginRequired: z.ZodOptional<z.ZodBoolean>;
4900
4900
  connectedUserName: z.ZodOptional<z.ZodString>;
4901
4901
  connectedUserId: z.ZodOptional<z.ZodString>;
@@ -5104,7 +5104,7 @@ export declare const MessageSchema: z.ZodObject<{
5104
5104
  updatedAt?: Date | undefined;
5105
5105
  deletedAt?: Date | null | undefined;
5106
5106
  name?: string | undefined;
5107
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
5107
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5108
5108
  metadata?: {
5109
5109
  id: string;
5110
5110
  name: string;
@@ -5113,7 +5113,7 @@ export declare const MessageSchema: z.ZodObject<{
5113
5113
  } | undefined;
5114
5114
  brandName?: string | undefined;
5115
5115
  platformId?: string | undefined;
5116
- status?: 0 | 1 | undefined;
5116
+ status?: boolean | undefined;
5117
5117
  isReloginRequired?: boolean | undefined;
5118
5118
  connectedUserName?: string | undefined;
5119
5119
  connectedUserId?: string | undefined;
@@ -5166,7 +5166,7 @@ export declare const MessageSchema: z.ZodObject<{
5166
5166
  updatedAt?: Date | undefined;
5167
5167
  deletedAt?: Date | null | undefined;
5168
5168
  name?: string | undefined;
5169
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
5169
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5170
5170
  metadata?: {
5171
5171
  id: string;
5172
5172
  name: string;
@@ -5175,7 +5175,7 @@ export declare const MessageSchema: z.ZodObject<{
5175
5175
  } | undefined;
5176
5176
  brandName?: string | undefined;
5177
5177
  platformId?: string | undefined;
5178
- status?: 0 | 1 | undefined;
5178
+ status?: boolean | undefined;
5179
5179
  isReloginRequired?: boolean | undefined;
5180
5180
  connectedUserName?: string | undefined;
5181
5181
  connectedUserId?: string | undefined;
@@ -5332,7 +5332,7 @@ export declare const MessageSchema: z.ZodObject<{
5332
5332
  firstResponseAt: Date;
5333
5333
  isLatest: boolean;
5334
5334
  platformContact: {
5335
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
5335
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5336
5336
  id: string;
5337
5337
  metadata: {
5338
5338
  id: string;
@@ -5515,7 +5515,7 @@ export declare const MessageSchema: z.ZodObject<{
5515
5515
  updatedAt?: Date | undefined;
5516
5516
  deletedAt?: Date | null | undefined;
5517
5517
  name?: string | undefined;
5518
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
5518
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5519
5519
  metadata?: {
5520
5520
  id: string;
5521
5521
  name: string;
@@ -5524,7 +5524,7 @@ export declare const MessageSchema: z.ZodObject<{
5524
5524
  } | undefined;
5525
5525
  brandName?: string | undefined;
5526
5526
  platformId?: string | undefined;
5527
- status?: 0 | 1 | undefined;
5527
+ status?: boolean | undefined;
5528
5528
  isReloginRequired?: boolean | undefined;
5529
5529
  connectedUserName?: string | undefined;
5530
5530
  connectedUserId?: string | undefined;
@@ -5629,7 +5629,7 @@ export declare const MessageSchema: z.ZodObject<{
5629
5629
  firstResponseAt: Date;
5630
5630
  isLatest: boolean;
5631
5631
  platformContact: {
5632
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
5632
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5633
5633
  id: string;
5634
5634
  metadata: {
5635
5635
  id: string;
@@ -5812,7 +5812,7 @@ export declare const MessageSchema: z.ZodObject<{
5812
5812
  updatedAt?: Date | undefined;
5813
5813
  deletedAt?: Date | null | undefined;
5814
5814
  name?: string | undefined;
5815
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
5815
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5816
5816
  metadata?: {
5817
5817
  id: string;
5818
5818
  name: string;
@@ -5821,7 +5821,7 @@ export declare const MessageSchema: z.ZodObject<{
5821
5821
  } | undefined;
5822
5822
  brandName?: string | undefined;
5823
5823
  platformId?: string | undefined;
5824
- status?: 0 | 1 | undefined;
5824
+ status?: boolean | undefined;
5825
5825
  isReloginRequired?: boolean | undefined;
5826
5826
  connectedUserName?: string | undefined;
5827
5827
  connectedUserId?: string | undefined;
@@ -6664,7 +6664,7 @@ export declare const MessageSchema: z.ZodObject<{
6664
6664
  firstResponseAt: Date;
6665
6665
  isLatest: boolean;
6666
6666
  platformContact: {
6667
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
6667
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
6668
6668
  id: string;
6669
6669
  metadata: {
6670
6670
  id: string;
@@ -6847,7 +6847,7 @@ export declare const MessageSchema: z.ZodObject<{
6847
6847
  updatedAt?: Date | undefined;
6848
6848
  deletedAt?: Date | null | undefined;
6849
6849
  name?: string | undefined;
6850
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
6850
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
6851
6851
  metadata?: {
6852
6852
  id: string;
6853
6853
  name: string;
@@ -6856,7 +6856,7 @@ export declare const MessageSchema: z.ZodObject<{
6856
6856
  } | undefined;
6857
6857
  brandName?: string | undefined;
6858
6858
  platformId?: string | undefined;
6859
- status?: 0 | 1 | undefined;
6859
+ status?: boolean | undefined;
6860
6860
  isReloginRequired?: boolean | undefined;
6861
6861
  connectedUserName?: string | undefined;
6862
6862
  connectedUserId?: string | undefined;
@@ -7119,7 +7119,7 @@ export declare const MessageSchema: z.ZodObject<{
7119
7119
  firstResponseAt: Date;
7120
7120
  isLatest: boolean;
7121
7121
  platformContact: {
7122
- type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
7122
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
7123
7123
  id: string;
7124
7124
  metadata: {
7125
7125
  id: string;
@@ -7302,7 +7302,7 @@ export declare const MessageSchema: z.ZodObject<{
7302
7302
  updatedAt?: Date | undefined;
7303
7303
  deletedAt?: Date | null | undefined;
7304
7304
  name?: string | undefined;
7305
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
7305
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
7306
7306
  metadata?: {
7307
7307
  id: string;
7308
7308
  name: string;
@@ -7311,7 +7311,7 @@ export declare const MessageSchema: z.ZodObject<{
7311
7311
  } | undefined;
7312
7312
  brandName?: string | undefined;
7313
7313
  platformId?: string | undefined;
7314
- status?: 0 | 1 | undefined;
7314
+ status?: boolean | undefined;
7315
7315
  isReloginRequired?: boolean | undefined;
7316
7316
  connectedUserName?: string | undefined;
7317
7317
  connectedUserId?: string | undefined;