@kl1/contracts 1.3.28 → 1.3.30

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.
Files changed (116) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +1 -1
  2. package/dist/api-contracts/src/attribute/index.d.ts +7 -7
  3. package/dist/api-contracts/src/auth/index.d.ts +1 -1
  4. package/dist/api-contracts/src/automation-queue/index.d.ts +7 -10
  5. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/aws/index.d.ts +2 -2
  7. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  8. package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
  9. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/category/index.d.ts +7 -7
  11. package/dist/api-contracts/src/channel/index.d.ts +43 -1585
  12. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/channel/schema.d.ts +0 -44
  14. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  15. package/dist/api-contracts/src/channel/validation.d.ts +0 -65
  16. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  17. package/dist/api-contracts/src/chat/index.d.ts +2172 -3246
  18. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/chat/schema.d.ts +463 -712
  20. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/chat/validation.d.ts +392 -778
  22. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/comment/index.d.ts +359 -359
  24. package/dist/api-contracts/src/comment/schema.d.ts +88 -88
  25. package/dist/api-contracts/src/contract.d.ts +39032 -45496
  26. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  27. package/dist/api-contracts/src/cx-log/index.d.ts +65 -115
  28. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/cx-log/schema.d.ts +81 -123
  30. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/dashboard/index.d.ts +49 -962
  32. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/dashboard/schema.d.ts +9 -164
  34. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  35. package/dist/api-contracts/src/dashboard/validation.d.ts +1 -30
  36. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  37. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
  38. package/dist/api-contracts/src/export/index.d.ts +0 -2
  39. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/extension/index.d.ts +7 -7
  41. package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -781
  42. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -37
  44. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -26
  46. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  47. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  48. package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
  49. package/dist/api-contracts/src/index.d.ts +0 -2
  50. package/dist/api-contracts/src/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/instagram/index.d.ts +261 -659
  52. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/line/index.d.ts +268 -622
  54. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/line/validation.d.ts +7 -49
  56. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  57. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
  58. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  59. package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
  60. package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
  61. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
  62. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
  63. package/dist/api-contracts/src/messenger/index.d.ts +261 -659
  64. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/messenger/validation.d.ts +0 -26
  66. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  67. package/dist/api-contracts/src/notification/index.d.ts +4 -4
  68. package/dist/api-contracts/src/permission/index.d.ts +1 -1
  69. package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
  70. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
  72. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  73. package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
  74. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  75. package/dist/api-contracts/src/role/index.d.ts +5 -5
  76. package/dist/api-contracts/src/sms/index.d.ts +7 -185
  77. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/snippet/index.d.ts +8 -8
  79. package/dist/api-contracts/src/subscription/index.d.ts +5 -5
  80. package/dist/api-contracts/src/tag/index.d.ts +4 -4
  81. package/dist/api-contracts/src/telegram/index.d.ts +263 -549
  82. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
  84. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +13 -25
  86. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  87. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  88. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  89. package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
  90. package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
  91. package/dist/api-contracts/src/ticket/index.d.ts +660 -660
  92. package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
  93. package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
  94. package/dist/api-contracts/src/upload/index.d.ts +2 -2
  95. package/dist/api-contracts/src/user/index.d.ts +7 -7
  96. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
  97. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  98. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -50
  99. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  100. package/dist/api-contracts/src/viber/index.d.ts +263 -549
  101. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  102. package/dist/api-contracts/src/webchat/index.d.ts +261 -547
  103. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/whatsapp/index.d.ts +261 -599
  105. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  106. package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -411
  107. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  108. package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
  109. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
  110. package/dist/index.js +459 -820
  111. package/dist/index.js.map +1 -1
  112. package/dist/index.mjs +459 -818
  113. package/dist/index.mjs.map +1 -1
  114. package/package.json +1 -1
  115. package/dist/api-contracts/src/export/validation.d.ts +0 -3
  116. package/dist/api-contracts/src/export/validation.d.ts.map +0 -1
@@ -1,37 +1,31 @@
1
1
  import z from 'zod';
2
- export declare const TPresenceStatusOption: z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>;
2
+ /**
3
+ * Channel Types Enum
4
+ */
5
+ export declare const PresenceStatusDesEnum: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
3
6
  export declare const PresenceStatusSchema: z.ZodObject<{
4
7
  id: z.ZodString;
5
8
  createdAt: z.ZodDate;
6
9
  updatedAt: z.ZodDate;
7
10
  deletedAt: z.ZodNullable<z.ZodDate>;
8
- systemName: z.ZodString;
9
- displayName: z.ZodString;
10
- description: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodString;
12
+ description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
11
13
  position: z.ZodNumber;
12
- emoji: z.ZodNullable<z.ZodString>;
13
- presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
14
14
  }, "strip", z.ZodTypeAny, {
15
- emoji: string | null;
16
15
  id: string;
17
16
  position: number;
18
- description: string | null;
17
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
18
+ status: string;
19
19
  createdAt: Date;
20
20
  updatedAt: Date;
21
21
  deletedAt: Date | null;
22
- systemName: string;
23
- displayName: string;
24
- presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
25
22
  }, {
26
- emoji: string | null;
27
23
  id: string;
28
24
  position: number;
29
- description: string | null;
25
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
+ status: string;
30
27
  createdAt: Date;
31
28
  updatedAt: Date;
32
29
  deletedAt: Date | null;
33
- systemName: string;
34
- displayName: string;
35
- presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36
30
  }>;
37
31
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,qBAAqB,oKAKhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB;;GAEG;AACH,eAAO,MAAM,qBAAqB,iHAIhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC"}
@@ -1,46 +1,28 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CreatePresenceStatusSchema: z.ZodObject<{
3
- systemName: z.ZodString;
4
- displayName: z.ZodString;
5
- description: z.ZodOptional<z.ZodString>;
3
+ status: z.ZodString;
4
+ description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
6
5
  position: z.ZodNumber;
7
- emoji: z.ZodString;
8
- presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
9
6
  }, "strip", z.ZodTypeAny, {
10
- emoji: string;
11
7
  position: number;
12
- systemName: string;
13
- displayName: string;
14
- presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
15
- description?: string | undefined;
8
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
9
+ status: string;
16
10
  }, {
17
- emoji: string;
18
11
  position: number;
19
- systemName: string;
20
- displayName: string;
21
- presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
22
- description?: string | undefined;
12
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
13
+ status: string;
23
14
  }>;
24
15
  export declare const UpdatePresenceStatusSchema: z.ZodObject<{
25
- systemName: z.ZodString;
26
- displayName: z.ZodString;
27
- description: z.ZodOptional<z.ZodString>;
16
+ status: z.ZodString;
17
+ description: z.ZodEnum<["Can do everything.", "Mute all notifications.", "You won't receive call, but can still do other."]>;
28
18
  position: z.ZodNumber;
29
- emoji: z.ZodString;
30
- presenceStatusOption: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"receive_call">, z.ZodLiteral<"do_not_receive_call">, z.ZodLiteral<"receive_chat_message">, z.ZodLiteral<"do_not_receive_chat_message">]>, "many">;
31
19
  }, "strip", z.ZodTypeAny, {
32
- emoji: string;
33
20
  position: number;
34
- systemName: string;
35
- displayName: string;
36
- presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37
- description?: string | undefined;
21
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
22
+ status: string;
38
23
  }, {
39
- emoji: string;
40
24
  position: number;
41
- systemName: string;
42
- displayName: string;
43
- presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
44
- description?: string | undefined;
25
+ description: "Can do everything." | "Mute all notifications." | "You won't receive call, but can still do other.";
26
+ status: string;
45
27
  }>;
46
28
  //# sourceMappingURL=validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/presence-status/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAA6B,CAAC"}
@@ -162,7 +162,7 @@ export declare const roleContract: {
162
162
  error?: any;
163
163
  }>;
164
164
  };
165
- path: "ms/role";
165
+ path: "role";
166
166
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
167
167
  'x-tenant': z.ZodString;
168
168
  'x-service-token': z.ZodString;
@@ -332,7 +332,7 @@ export declare const roleContract: {
332
332
  error?: any;
333
333
  }>;
334
334
  };
335
- path: "ms/role";
335
+ path: "role";
336
336
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
337
337
  'x-tenant': z.ZodString;
338
338
  'x-service-token': z.ZodString;
@@ -516,7 +516,7 @@ export declare const roleContract: {
516
516
  error?: any;
517
517
  }>;
518
518
  };
519
- path: "ms/role/:id";
519
+ path: "role/:id";
520
520
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
521
521
  'x-tenant': z.ZodString;
522
522
  'x-service-token': z.ZodString;
@@ -567,7 +567,7 @@ export declare const roleContract: {
567
567
  error?: any;
568
568
  }>;
569
569
  };
570
- path: "ms/role/:id";
570
+ path: "role/:id";
571
571
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
572
572
  'x-tenant': z.ZodString;
573
573
  'x-service-token': z.ZodString;
@@ -692,7 +692,7 @@ export declare const roleContract: {
692
692
  error?: any;
693
693
  }>;
694
694
  };
695
- path: "ms/role/:id";
695
+ path: "role/:id";
696
696
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
697
697
  'x-tenant': z.ZodString;
698
698
  'x-service-token': z.ZodString;
@@ -168,16 +168,6 @@ export declare const smsContract: {
168
168
  mobileNumber: string;
169
169
  apiSecret: string;
170
170
  }>>;
171
- line: z.ZodOptional<z.ZodObject<{
172
- channelId: z.ZodString;
173
- channelSecret: z.ZodString;
174
- }, "strip", z.ZodTypeAny, {
175
- channelId: string;
176
- channelSecret: string;
177
- }, {
178
- channelId: string;
179
- channelSecret: string;
180
- }>>;
181
171
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
182
172
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
183
173
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -208,10 +198,6 @@ export declare const smsContract: {
208
198
  mobileNumber: string;
209
199
  apiSecret: string;
210
200
  } | undefined;
211
- line?: {
212
- channelId: string;
213
- channelSecret: string;
214
- } | undefined;
215
201
  lineRichMenuId?: string | null | undefined;
216
202
  messengerIntegrationType?: "own" | "business" | undefined;
217
203
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -242,10 +228,6 @@ export declare const smsContract: {
242
228
  mobileNumber: string;
243
229
  apiSecret: string;
244
230
  } | undefined;
245
- line?: {
246
- channelId: string;
247
- channelSecret: string;
248
- } | undefined;
249
231
  lineRichMenuId?: string | null | undefined;
250
232
  messengerIntegrationType?: "own" | "business" | undefined;
251
233
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -510,10 +492,6 @@ export declare const smsContract: {
510
492
  mobileNumber: string;
511
493
  apiSecret: string;
512
494
  } | undefined;
513
- line?: {
514
- channelId: string;
515
- channelSecret: string;
516
- } | undefined;
517
495
  lineRichMenuId?: string | null | undefined;
518
496
  messengerIntegrationType?: "own" | "business" | undefined;
519
497
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -609,10 +587,6 @@ export declare const smsContract: {
609
587
  mobileNumber: string;
610
588
  apiSecret: string;
611
589
  } | undefined;
612
- line?: {
613
- channelId: string;
614
- channelSecret: string;
615
- } | undefined;
616
590
  lineRichMenuId?: string | null | undefined;
617
591
  messengerIntegrationType?: "own" | "business" | undefined;
618
592
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -710,10 +684,6 @@ export declare const smsContract: {
710
684
  mobileNumber: string;
711
685
  apiSecret: string;
712
686
  } | undefined;
713
- line?: {
714
- channelId: string;
715
- channelSecret: string;
716
- } | undefined;
717
687
  lineRichMenuId?: string | null | undefined;
718
688
  messengerIntegrationType?: "own" | "business" | undefined;
719
689
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -812,10 +782,6 @@ export declare const smsContract: {
812
782
  mobileNumber: string;
813
783
  apiSecret: string;
814
784
  } | undefined;
815
- line?: {
816
- channelId: string;
817
- channelSecret: string;
818
- } | undefined;
819
785
  lineRichMenuId?: string | null | undefined;
820
786
  messengerIntegrationType?: "own" | "business" | undefined;
821
787
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -986,16 +952,6 @@ export declare const smsContract: {
986
952
  mobileNumber: string;
987
953
  apiSecret: string;
988
954
  }>>;
989
- line: z.ZodOptional<z.ZodObject<{
990
- channelId: z.ZodString;
991
- channelSecret: z.ZodString;
992
- }, "strip", z.ZodTypeAny, {
993
- channelId: string;
994
- channelSecret: string;
995
- }, {
996
- channelId: string;
997
- channelSecret: string;
998
- }>>;
999
955
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
956
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1001
957
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1026,10 +982,6 @@ export declare const smsContract: {
1026
982
  mobileNumber: string;
1027
983
  apiSecret: string;
1028
984
  } | undefined;
1029
- line?: {
1030
- channelId: string;
1031
- channelSecret: string;
1032
- } | undefined;
1033
985
  lineRichMenuId?: string | null | undefined;
1034
986
  messengerIntegrationType?: "own" | "business" | undefined;
1035
987
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1060,10 +1012,6 @@ export declare const smsContract: {
1060
1012
  mobileNumber: string;
1061
1013
  apiSecret: string;
1062
1014
  } | undefined;
1063
- line?: {
1064
- channelId: string;
1065
- channelSecret: string;
1066
- } | undefined;
1067
1015
  lineRichMenuId?: string | null | undefined;
1068
1016
  messengerIntegrationType?: "own" | "business" | undefined;
1069
1017
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1328,10 +1276,6 @@ export declare const smsContract: {
1328
1276
  mobileNumber: string;
1329
1277
  apiSecret: string;
1330
1278
  } | undefined;
1331
- line?: {
1332
- channelId: string;
1333
- channelSecret: string;
1334
- } | undefined;
1335
1279
  lineRichMenuId?: string | null | undefined;
1336
1280
  messengerIntegrationType?: "own" | "business" | undefined;
1337
1281
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1427,10 +1371,6 @@ export declare const smsContract: {
1427
1371
  mobileNumber: string;
1428
1372
  apiSecret: string;
1429
1373
  } | undefined;
1430
- line?: {
1431
- channelId: string;
1432
- channelSecret: string;
1433
- } | undefined;
1434
1374
  lineRichMenuId?: string | null | undefined;
1435
1375
  messengerIntegrationType?: "own" | "business" | undefined;
1436
1376
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1528,10 +1468,6 @@ export declare const smsContract: {
1528
1468
  mobileNumber: string;
1529
1469
  apiSecret: string;
1530
1470
  } | undefined;
1531
- line?: {
1532
- channelId: string;
1533
- channelSecret: string;
1534
- } | undefined;
1535
1471
  lineRichMenuId?: string | null | undefined;
1536
1472
  messengerIntegrationType?: "own" | "business" | undefined;
1537
1473
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1630,10 +1566,6 @@ export declare const smsContract: {
1630
1566
  mobileNumber: string;
1631
1567
  apiSecret: string;
1632
1568
  } | undefined;
1633
- line?: {
1634
- channelId: string;
1635
- channelSecret: string;
1636
- } | undefined;
1637
1569
  lineRichMenuId?: string | null | undefined;
1638
1570
  messengerIntegrationType?: "own" | "business" | undefined;
1639
1571
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1805,16 +1737,6 @@ export declare const smsContract: {
1805
1737
  mobileNumber: string;
1806
1738
  apiSecret: string;
1807
1739
  }>>;
1808
- line: z.ZodOptional<z.ZodObject<{
1809
- channelId: z.ZodString;
1810
- channelSecret: z.ZodString;
1811
- }, "strip", z.ZodTypeAny, {
1812
- channelId: string;
1813
- channelSecret: string;
1814
- }, {
1815
- channelId: string;
1816
- channelSecret: string;
1817
- }>>;
1818
1740
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1819
1741
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1820
1742
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -1845,10 +1767,6 @@ export declare const smsContract: {
1845
1767
  mobileNumber: string;
1846
1768
  apiSecret: string;
1847
1769
  } | undefined;
1848
- line?: {
1849
- channelId: string;
1850
- channelSecret: string;
1851
- } | undefined;
1852
1770
  lineRichMenuId?: string | null | undefined;
1853
1771
  messengerIntegrationType?: "own" | "business" | undefined;
1854
1772
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -1879,10 +1797,6 @@ export declare const smsContract: {
1879
1797
  mobileNumber: string;
1880
1798
  apiSecret: string;
1881
1799
  } | undefined;
1882
- line?: {
1883
- channelId: string;
1884
- channelSecret: string;
1885
- } | undefined;
1886
1800
  lineRichMenuId?: string | null | undefined;
1887
1801
  messengerIntegrationType?: "own" | "business" | undefined;
1888
1802
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2147,10 +2061,6 @@ export declare const smsContract: {
2147
2061
  mobileNumber: string;
2148
2062
  apiSecret: string;
2149
2063
  } | undefined;
2150
- line?: {
2151
- channelId: string;
2152
- channelSecret: string;
2153
- } | undefined;
2154
2064
  lineRichMenuId?: string | null | undefined;
2155
2065
  messengerIntegrationType?: "own" | "business" | undefined;
2156
2066
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2246,10 +2156,6 @@ export declare const smsContract: {
2246
2156
  mobileNumber: string;
2247
2157
  apiSecret: string;
2248
2158
  } | undefined;
2249
- line?: {
2250
- channelId: string;
2251
- channelSecret: string;
2252
- } | undefined;
2253
2159
  lineRichMenuId?: string | null | undefined;
2254
2160
  messengerIntegrationType?: "own" | "business" | undefined;
2255
2161
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2347,10 +2253,6 @@ export declare const smsContract: {
2347
2253
  mobileNumber: string;
2348
2254
  apiSecret: string;
2349
2255
  } | undefined;
2350
- line?: {
2351
- channelId: string;
2352
- channelSecret: string;
2353
- } | undefined;
2354
2256
  lineRichMenuId?: string | null | undefined;
2355
2257
  messengerIntegrationType?: "own" | "business" | undefined;
2356
2258
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2449,10 +2351,6 @@ export declare const smsContract: {
2449
2351
  mobileNumber: string;
2450
2352
  apiSecret: string;
2451
2353
  } | undefined;
2452
- line?: {
2453
- channelId: string;
2454
- channelSecret: string;
2455
- } | undefined;
2456
2354
  lineRichMenuId?: string | null | undefined;
2457
2355
  messengerIntegrationType?: "own" | "business" | undefined;
2458
2356
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2624,16 +2522,6 @@ export declare const smsContract: {
2624
2522
  mobileNumber: string;
2625
2523
  apiSecret: string;
2626
2524
  }>>;
2627
- line: z.ZodOptional<z.ZodObject<{
2628
- channelId: z.ZodString;
2629
- channelSecret: z.ZodString;
2630
- }, "strip", z.ZodTypeAny, {
2631
- channelId: string;
2632
- channelSecret: string;
2633
- }, {
2634
- channelId: string;
2635
- channelSecret: string;
2636
- }>>;
2637
2525
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2638
2526
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2639
2527
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -2664,10 +2552,6 @@ export declare const smsContract: {
2664
2552
  mobileNumber: string;
2665
2553
  apiSecret: string;
2666
2554
  } | undefined;
2667
- line?: {
2668
- channelId: string;
2669
- channelSecret: string;
2670
- } | undefined;
2671
2555
  lineRichMenuId?: string | null | undefined;
2672
2556
  messengerIntegrationType?: "own" | "business" | undefined;
2673
2557
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2698,10 +2582,6 @@ export declare const smsContract: {
2698
2582
  mobileNumber: string;
2699
2583
  apiSecret: string;
2700
2584
  } | undefined;
2701
- line?: {
2702
- channelId: string;
2703
- channelSecret: string;
2704
- } | undefined;
2705
2585
  lineRichMenuId?: string | null | undefined;
2706
2586
  messengerIntegrationType?: "own" | "business" | undefined;
2707
2587
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2966,10 +2846,6 @@ export declare const smsContract: {
2966
2846
  mobileNumber: string;
2967
2847
  apiSecret: string;
2968
2848
  } | undefined;
2969
- line?: {
2970
- channelId: string;
2971
- channelSecret: string;
2972
- } | undefined;
2973
2849
  lineRichMenuId?: string | null | undefined;
2974
2850
  messengerIntegrationType?: "own" | "business" | undefined;
2975
2851
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3065,10 +2941,6 @@ export declare const smsContract: {
3065
2941
  mobileNumber: string;
3066
2942
  apiSecret: string;
3067
2943
  } | undefined;
3068
- line?: {
3069
- channelId: string;
3070
- channelSecret: string;
3071
- } | undefined;
3072
2944
  lineRichMenuId?: string | null | undefined;
3073
2945
  messengerIntegrationType?: "own" | "business" | undefined;
3074
2946
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3166,10 +3038,6 @@ export declare const smsContract: {
3166
3038
  mobileNumber: string;
3167
3039
  apiSecret: string;
3168
3040
  } | undefined;
3169
- line?: {
3170
- channelId: string;
3171
- channelSecret: string;
3172
- } | undefined;
3173
3041
  lineRichMenuId?: string | null | undefined;
3174
3042
  messengerIntegrationType?: "own" | "business" | undefined;
3175
3043
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3268,10 +3136,6 @@ export declare const smsContract: {
3268
3136
  mobileNumber: string;
3269
3137
  apiSecret: string;
3270
3138
  } | undefined;
3271
- line?: {
3272
- channelId: string;
3273
- channelSecret: string;
3274
- } | undefined;
3275
3139
  lineRichMenuId?: string | null | undefined;
3276
3140
  messengerIntegrationType?: "own" | "business" | undefined;
3277
3141
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3371,7 +3235,7 @@ export declare const smsContract: {
3371
3235
  lastMessage: z.ZodOptional<z.ZodString>;
3372
3236
  handleTime: z.ZodOptional<z.ZodNumber>;
3373
3237
  isLatest: z.ZodBoolean;
3374
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3238
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3375
3239
  metadata: z.ZodOptional<z.ZodAny>;
3376
3240
  createdAt: z.ZodString;
3377
3241
  updatedAt: z.ZodString;
@@ -3553,16 +3417,6 @@ export declare const smsContract: {
3553
3417
  mobileNumber: string;
3554
3418
  apiSecret: string;
3555
3419
  }>>;
3556
- line: z.ZodOptional<z.ZodObject<{
3557
- channelId: z.ZodString;
3558
- channelSecret: z.ZodString;
3559
- }, "strip", z.ZodTypeAny, {
3560
- channelId: string;
3561
- channelSecret: string;
3562
- }, {
3563
- channelId: string;
3564
- channelSecret: string;
3565
- }>>;
3566
3420
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3567
3421
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
3568
3422
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
@@ -3593,10 +3447,6 @@ export declare const smsContract: {
3593
3447
  mobileNumber: string;
3594
3448
  apiSecret: string;
3595
3449
  } | undefined;
3596
- line?: {
3597
- channelId: string;
3598
- channelSecret: string;
3599
- } | undefined;
3600
3450
  lineRichMenuId?: string | null | undefined;
3601
3451
  messengerIntegrationType?: "own" | "business" | undefined;
3602
3452
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3627,10 +3477,6 @@ export declare const smsContract: {
3627
3477
  mobileNumber: string;
3628
3478
  apiSecret: string;
3629
3479
  } | undefined;
3630
- line?: {
3631
- channelId: string;
3632
- channelSecret: string;
3633
- } | undefined;
3634
3480
  lineRichMenuId?: string | null | undefined;
3635
3481
  messengerIntegrationType?: "own" | "business" | undefined;
3636
3482
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3691,10 +3537,6 @@ export declare const smsContract: {
3691
3537
  mobileNumber: string;
3692
3538
  apiSecret: string;
3693
3539
  } | undefined;
3694
- line?: {
3695
- channelId: string;
3696
- channelSecret: string;
3697
- } | undefined;
3698
3540
  lineRichMenuId?: string | null | undefined;
3699
3541
  messengerIntegrationType?: "own" | "business" | undefined;
3700
3542
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3743,10 +3585,6 @@ export declare const smsContract: {
3743
3585
  mobileNumber: string;
3744
3586
  apiSecret: string;
3745
3587
  } | undefined;
3746
- line?: {
3747
- channelId: string;
3748
- channelSecret: string;
3749
- } | undefined;
3750
3588
  lineRichMenuId?: string | null | undefined;
3751
3589
  messengerIntegrationType?: "own" | "business" | undefined;
3752
3590
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3800,10 +3638,6 @@ export declare const smsContract: {
3800
3638
  mobileNumber: string;
3801
3639
  apiSecret: string;
3802
3640
  } | undefined;
3803
- line?: {
3804
- channelId: string;
3805
- channelSecret: string;
3806
- } | undefined;
3807
3641
  lineRichMenuId?: string | null | undefined;
3808
3642
  messengerIntegrationType?: "own" | "business" | undefined;
3809
3643
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3896,10 +3730,6 @@ export declare const smsContract: {
3896
3730
  mobileNumber: string;
3897
3731
  apiSecret: string;
3898
3732
  } | undefined;
3899
- line?: {
3900
- channelId: string;
3901
- channelSecret: string;
3902
- } | undefined;
3903
3733
  lineRichMenuId?: string | null | undefined;
3904
3734
  messengerIntegrationType?: "own" | "business" | undefined;
3905
3735
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3964,8 +3794,8 @@ export declare const smsContract: {
3964
3794
  message: z.ZodObject<{
3965
3795
  id: z.ZodOptional<z.ZodString>;
3966
3796
  message: z.ZodOptional<z.ZodString>;
3967
- direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
3968
- type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
3797
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
3798
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
3969
3799
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
3970
3800
  metadata: z.ZodOptional<z.ZodAny>;
3971
3801
  platformId: z.ZodOptional<z.ZodString>;
@@ -4021,7 +3851,7 @@ export declare const smsContract: {
4021
3851
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
4022
3852
  label: z.ZodOptional<z.ZodString>;
4023
3853
  }, "strip", z.ZodTypeAny, {
4024
- type: string;
3854
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4025
3855
  direction: "incoming" | "outgoing" | "system";
4026
3856
  id?: string | undefined;
4027
3857
  message?: string | undefined;
@@ -4056,7 +3886,7 @@ export declare const smsContract: {
4056
3886
  editedAt?: string | Date | null | undefined;
4057
3887
  label?: string | undefined;
4058
3888
  }, {
4059
- type: string;
3889
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4060
3890
  direction: "incoming" | "outgoing" | "system";
4061
3891
  id?: string | undefined;
4062
3892
  message?: string | undefined;
@@ -4093,7 +3923,7 @@ export declare const smsContract: {
4093
3923
  }>;
4094
3924
  }, "strip", z.ZodTypeAny, {
4095
3925
  message: {
4096
- type: string;
3926
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4097
3927
  direction: "incoming" | "outgoing" | "system";
4098
3928
  id?: string | undefined;
4099
3929
  message?: string | undefined;
@@ -4160,10 +3990,6 @@ export declare const smsContract: {
4160
3990
  mobileNumber: string;
4161
3991
  apiSecret: string;
4162
3992
  } | undefined;
4163
- line?: {
4164
- channelId: string;
4165
- channelSecret: string;
4166
- } | undefined;
4167
3993
  lineRichMenuId?: string | null | undefined;
4168
3994
  messengerIntegrationType?: "own" | "business" | undefined;
4169
3995
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -4228,7 +4054,7 @@ export declare const smsContract: {
4228
4054
  isBot: boolean | null;
4229
4055
  }, {
4230
4056
  message: {
4231
- type: string;
4057
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "referral" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
4232
4058
  direction: "incoming" | "outgoing" | "system";
4233
4059
  id?: string | undefined;
4234
4060
  message?: string | undefined;
@@ -4295,10 +4121,6 @@ export declare const smsContract: {
4295
4121
  mobileNumber: string;
4296
4122
  apiSecret: string;
4297
4123
  } | undefined;
4298
- line?: {
4299
- channelId: string;
4300
- channelSecret: string;
4301
- } | undefined;
4302
4124
  lineRichMenuId?: string | null | undefined;
4303
4125
  messengerIntegrationType?: "own" | "business" | undefined;
4304
4126
  facebookFeedIntegrationType?: "own" | "business" | undefined;