@kl1/contracts 1.2.21-uat → 1.2.22-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +4 -4
  4. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  5. package/dist/api-contracts/src/auth/index.d.ts +4 -4
  6. package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
  7. package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
  8. package/dist/api-contracts/src/botpress/index.d.ts +28 -28
  9. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  10. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  11. package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
  12. package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
  13. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  14. package/dist/api-contracts/src/category/index.d.ts +12 -12
  15. package/dist/api-contracts/src/category/schema.d.ts +2 -2
  16. package/dist/api-contracts/src/channel/index.d.ts +3170 -590
  17. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/channel/schema.d.ts +145 -26
  19. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/validation.d.ts +254 -24
  21. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/index.d.ts +26071 -23373
  23. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/schema.d.ts +1838 -1190
  25. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/validation.d.ts +1803 -851
  27. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  28. package/dist/api-contracts/src/comment/index.d.ts +244 -244
  29. package/dist/api-contracts/src/comment/schema.d.ts +68 -68
  30. package/dist/api-contracts/src/company/index.d.ts +4 -4
  31. package/dist/api-contracts/src/company/validation.d.ts +4 -4
  32. package/dist/api-contracts/src/contact/index.d.ts +246 -246
  33. package/dist/api-contracts/src/contact/schema.d.ts +26 -26
  34. package/dist/api-contracts/src/contact/validation.d.ts +134 -134
  35. package/dist/api-contracts/src/contract.d.ts +43536 -12568
  36. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  37. package/dist/api-contracts/src/cx-log/index.d.ts +388 -260
  38. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/cx-log/schema.d.ts +316 -208
  40. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  41. package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
  42. package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
  43. package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
  44. package/dist/api-contracts/src/extension/index.d.ts +4 -4
  45. package/dist/api-contracts/src/facebook-feed/index.d.ts +2157 -845
  46. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/facebook-feed/schema.d.ts +163 -75
  48. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/facebook-feed/validation.d.ts +140 -72
  50. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/hold-label/index.d.ts +16 -16
  52. package/dist/api-contracts/src/hold-label/schema.d.ts +2 -2
  53. package/dist/api-contracts/src/instagram/index.d.ts +1727 -699
  54. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
  56. package/dist/api-contracts/src/line/index.d.ts +1616 -704
  57. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/line/schema.d.ts +4 -4
  59. package/dist/api-contracts/src/line/validation.d.ts +173 -65
  60. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  61. package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
  62. package/dist/api-contracts/src/mail/mail-contract.d.ts +2118 -2118
  63. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +32 -32
  64. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  65. package/dist/api-contracts/src/mail/room-contract.d.ts +1444 -1444
  66. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  67. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +12 -12
  68. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  69. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +468 -468
  70. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +458 -458
  71. package/dist/api-contracts/src/messenger/index.d.ts +1730 -702
  72. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  74. package/dist/api-contracts/src/messenger/validation.d.ts +136 -68
  75. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  76. package/dist/api-contracts/src/notification/index.d.ts +26 -26
  77. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  78. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  79. package/dist/api-contracts/src/public-api/index.d.ts +84 -84
  80. package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
  81. package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
  82. package/dist/api-contracts/src/sms/index.d.ts +311 -115
  83. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/sms/schema.d.ts +14 -14
  85. package/dist/api-contracts/src/sms/validation.d.ts +6 -6
  86. package/dist/api-contracts/src/snippet/index.d.ts +42 -42
  87. package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
  88. package/dist/api-contracts/src/subscription/index.d.ts +184 -184
  89. package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
  90. package/dist/api-contracts/src/tag/index.d.ts +12 -12
  91. package/dist/api-contracts/src/tag/schema.d.ts +2 -2
  92. package/dist/api-contracts/src/telegram/index.d.ts +1367 -631
  93. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  95. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
  96. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
  97. package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
  98. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
  99. package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
  100. package/dist/api-contracts/src/ticket/index.d.ts +328 -328
  101. package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
  102. package/dist/api-contracts/src/user/index.d.ts +23 -23
  103. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  104. package/dist/api-contracts/src/user/validation.d.ts +5 -5
  105. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
  106. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
  107. package/dist/api-contracts/src/viber/index.d.ts +1379 -643
  108. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  110. package/dist/api-contracts/src/webchat/index.d.ts +1037 -565
  111. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  112. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  113. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  114. package/dist/api-contracts/src/whatsapp/index.d.ts +19978 -0
  115. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -0
  116. package/dist/api-contracts/src/whatsapp/schema.d.ts +2 -0
  117. package/dist/api-contracts/src/whatsapp/schema.d.ts.map +1 -0
  118. package/dist/api-contracts/src/whatsapp/validation.d.ts +76 -0
  119. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -0
  120. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  121. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  122. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  123. package/dist/api-contracts/src/workflow-rule/index.d.ts +448 -232
  124. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  126. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  127. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  128. package/dist/api-contracts/utils.d.ts +1 -1
  129. package/dist/api-contracts/utils.d.ts.map +1 -1
  130. package/dist/entities/src/enums/chat.d.ts +1 -0
  131. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  132. package/dist/index.js +2491 -2336
  133. package/dist/index.js.map +1 -1
  134. package/dist/index.mjs +2489 -2336
  135. package/dist/index.mjs.map +1 -1
  136. package/package.json +1 -1
@@ -11,15 +11,15 @@ export declare const smsContract: {
11
11
  address: z.ZodNullable<z.ZodString>;
12
12
  phone: z.ZodNullable<z.ZodString>;
13
13
  }, "strip", z.ZodTypeAny, {
14
+ name: string;
14
15
  id: string;
15
16
  address: string | null;
16
- name: string;
17
17
  email: string;
18
18
  phone: string | null;
19
19
  }, {
20
+ name: string;
20
21
  id: string;
21
22
  address: string | null;
22
- name: string;
23
23
  email: string;
24
24
  phone: string | null;
25
25
  }>;
@@ -32,66 +32,66 @@ export declare const smsContract: {
32
32
  apiKey: z.ZodString;
33
33
  apiSecret: z.ZodString;
34
34
  }, "strip", z.ZodTypeAny, {
35
- mobileNumber: string;
36
35
  apiKey: string;
36
+ mobileNumber: string;
37
37
  apiSecret: string;
38
38
  }, {
39
- mobileNumber: string;
40
39
  apiKey: string;
40
+ mobileNumber: string;
41
41
  apiSecret: string;
42
42
  }>;
43
43
  }, "strip", z.ZodTypeAny, {
44
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
45
44
  name: string;
45
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
46
46
  senderId: string;
47
47
  vonageCredentials: {
48
- mobileNumber: string;
49
48
  apiKey: string;
49
+ mobileNumber: string;
50
50
  apiSecret: string;
51
51
  };
52
52
  }, {
53
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
54
53
  name: string;
54
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
55
55
  senderId: string;
56
56
  vonageCredentials: {
57
- mobileNumber: string;
58
57
  apiKey: string;
58
+ mobileNumber: string;
59
59
  apiSecret: string;
60
60
  };
61
61
  }>;
62
62
  }, "strip", z.ZodTypeAny, {
63
63
  channel: {
64
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
65
64
  name: string;
65
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
66
66
  senderId: string;
67
67
  vonageCredentials: {
68
- mobileNumber: string;
69
68
  apiKey: string;
69
+ mobileNumber: string;
70
70
  apiSecret: string;
71
71
  };
72
72
  };
73
73
  actor: {
74
+ name: string;
74
75
  id: string;
75
76
  address: string | null;
76
- name: string;
77
77
  email: string;
78
78
  phone: string | null;
79
79
  };
80
80
  }, {
81
81
  channel: {
82
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
83
82
  name: string;
83
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
84
84
  senderId: string;
85
85
  vonageCredentials: {
86
- mobileNumber: string;
87
86
  apiKey: string;
87
+ mobileNumber: string;
88
88
  apiSecret: string;
89
89
  };
90
90
  };
91
91
  actor: {
92
+ name: string;
92
93
  id: string;
93
94
  address: string | null;
94
- name: string;
95
95
  email: string;
96
96
  phone: string | null;
97
97
  };
@@ -114,45 +114,93 @@ export declare const smsContract: {
114
114
  channelSecret: z.ZodOptional<z.ZodString>;
115
115
  additionalCredentials: z.ZodOptional<z.ZodAny>;
116
116
  senderId: z.ZodOptional<z.ZodString>;
117
+ whatsapp: z.ZodOptional<z.ZodObject<{
118
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
119
+ wabaExternalId: z.ZodString;
120
+ phoneNumberId: z.ZodString;
121
+ email: z.ZodString;
122
+ clientId: z.ZodOptional<z.ZodString>;
123
+ channelId: z.ZodOptional<z.ZodString>;
124
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
125
+ apiKey: z.ZodOptional<z.ZodString>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ email: string;
128
+ wabaExternalId: string;
129
+ phoneNumberId: string;
130
+ wabaBusinessId?: string | undefined;
131
+ clientId?: string | undefined;
132
+ channelId?: string | undefined;
133
+ status?: "active" | "pending" | undefined;
134
+ apiKey?: string | undefined;
135
+ }, {
136
+ email: string;
137
+ wabaExternalId: string;
138
+ phoneNumberId: string;
139
+ wabaBusinessId?: string | undefined;
140
+ clientId?: string | undefined;
141
+ channelId?: string | undefined;
142
+ status?: "active" | "pending" | undefined;
143
+ apiKey?: string | undefined;
144
+ }>>;
117
145
  vonageCredentials: z.ZodOptional<z.ZodObject<{
118
146
  mobileNumber: z.ZodString;
119
147
  apiKey: z.ZodString;
120
148
  apiSecret: z.ZodString;
121
149
  }, "strip", z.ZodTypeAny, {
122
- mobileNumber: string;
123
150
  apiKey: string;
151
+ mobileNumber: string;
124
152
  apiSecret: string;
125
153
  }, {
126
- mobileNumber: string;
127
154
  apiKey: string;
155
+ mobileNumber: string;
128
156
  apiSecret: string;
129
157
  }>>;
130
158
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
131
159
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
132
160
  }, "strip", z.ZodTypeAny, {
133
- id: string;
134
161
  name: string;
162
+ id: string;
135
163
  accessToken?: string | undefined;
136
164
  channelSecret?: string | undefined;
137
165
  additionalCredentials?: any;
138
166
  senderId?: string | undefined;
167
+ whatsapp?: {
168
+ email: string;
169
+ wabaExternalId: string;
170
+ phoneNumberId: string;
171
+ wabaBusinessId?: string | undefined;
172
+ clientId?: string | undefined;
173
+ channelId?: string | undefined;
174
+ status?: "active" | "pending" | undefined;
175
+ apiKey?: string | undefined;
176
+ } | undefined;
139
177
  vonageCredentials?: {
140
- mobileNumber: string;
141
178
  apiKey: string;
179
+ mobileNumber: string;
142
180
  apiSecret: string;
143
181
  } | undefined;
144
182
  lineRichMenuId?: string | null | undefined;
145
183
  messengerIntegrationType?: "own" | "business" | undefined;
146
184
  }, {
147
- id: string;
148
185
  name: string;
186
+ id: string;
149
187
  accessToken?: string | undefined;
150
188
  channelSecret?: string | undefined;
151
189
  additionalCredentials?: any;
152
190
  senderId?: string | undefined;
191
+ whatsapp?: {
192
+ email: string;
193
+ wabaExternalId: string;
194
+ phoneNumberId: string;
195
+ wabaBusinessId?: string | undefined;
196
+ clientId?: string | undefined;
197
+ channelId?: string | undefined;
198
+ status?: "active" | "pending" | undefined;
199
+ apiKey?: string | undefined;
200
+ } | undefined;
153
201
  vonageCredentials?: {
154
- mobileNumber: string;
155
202
  apiKey: string;
203
+ mobileNumber: string;
156
204
  apiSecret: string;
157
205
  } | undefined;
158
206
  lineRichMenuId?: string | null | undefined;
@@ -171,14 +219,14 @@ export declare const smsContract: {
171
219
  integrationId: z.ZodString;
172
220
  accessToken: z.ZodString;
173
221
  }, "strip", z.ZodTypeAny, {
174
- id: string;
175
222
  name: string;
223
+ id: string;
176
224
  accessToken: string;
177
225
  botId: string;
178
226
  integrationId: string;
179
227
  }, {
180
- id: string;
181
228
  name: string;
229
+ id: string;
182
230
  accessToken: string;
183
231
  botId: string;
184
232
  integrationId: string;
@@ -301,9 +349,9 @@ export declare const smsContract: {
301
349
  telephonySignature: string | null;
302
350
  }>;
303
351
  }, "strip", z.ZodTypeAny, {
352
+ name: string;
304
353
  id: string;
305
354
  address: string | null;
306
- name: string;
307
355
  email: string;
308
356
  createdAt: Date;
309
357
  updatedAt: Date;
@@ -344,9 +392,9 @@ export declare const smsContract: {
344
392
  telephonySignature: string | null;
345
393
  };
346
394
  }, {
395
+ name: string;
347
396
  id: string;
348
397
  address: string | null;
349
- name: string;
350
398
  email: string;
351
399
  createdAt: Date;
352
400
  updatedAt: Date;
@@ -388,19 +436,29 @@ export declare const smsContract: {
388
436
  };
389
437
  }>;
390
438
  }, "strip", z.ZodTypeAny, {
439
+ name: string;
391
440
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
392
441
  id: string;
393
- name: string;
394
442
  metadata: {
395
- id: string;
396
443
  name: string;
444
+ id: string;
397
445
  accessToken?: string | undefined;
398
446
  channelSecret?: string | undefined;
399
447
  additionalCredentials?: any;
400
448
  senderId?: string | undefined;
449
+ whatsapp?: {
450
+ email: string;
451
+ wabaExternalId: string;
452
+ phoneNumberId: string;
453
+ wabaBusinessId?: string | undefined;
454
+ clientId?: string | undefined;
455
+ channelId?: string | undefined;
456
+ status?: "active" | "pending" | undefined;
457
+ apiKey?: string | undefined;
458
+ } | undefined;
401
459
  vonageCredentials?: {
402
- mobileNumber: string;
403
460
  apiKey: string;
461
+ mobileNumber: string;
404
462
  apiSecret: string;
405
463
  } | undefined;
406
464
  lineRichMenuId?: string | null | undefined;
@@ -411,9 +469,9 @@ export declare const smsContract: {
411
469
  updatedAt: Date;
412
470
  deletedAt: Date | null;
413
471
  actor: {
472
+ name: string;
414
473
  id: string;
415
474
  address: string | null;
416
- name: string;
417
475
  email: string;
418
476
  createdAt: Date;
419
477
  updatedAt: Date;
@@ -460,26 +518,36 @@ export declare const smsContract: {
460
518
  connectedUserName: string;
461
519
  connectedUserId: string;
462
520
  botpressBot: {
463
- id: string;
464
521
  name: string;
522
+ id: string;
465
523
  accessToken: string;
466
524
  botId: string;
467
525
  integrationId: string;
468
526
  } | null;
469
527
  }, {
528
+ name: string;
470
529
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
471
530
  id: string;
472
- name: string;
473
531
  metadata: {
474
- id: string;
475
532
  name: string;
533
+ id: string;
476
534
  accessToken?: string | undefined;
477
535
  channelSecret?: string | undefined;
478
536
  additionalCredentials?: any;
479
537
  senderId?: string | undefined;
538
+ whatsapp?: {
539
+ email: string;
540
+ wabaExternalId: string;
541
+ phoneNumberId: string;
542
+ wabaBusinessId?: string | undefined;
543
+ clientId?: string | undefined;
544
+ channelId?: string | undefined;
545
+ status?: "active" | "pending" | undefined;
546
+ apiKey?: string | undefined;
547
+ } | undefined;
480
548
  vonageCredentials?: {
481
- mobileNumber: string;
482
549
  apiKey: string;
550
+ mobileNumber: string;
483
551
  apiSecret: string;
484
552
  } | undefined;
485
553
  lineRichMenuId?: string | null | undefined;
@@ -490,9 +558,9 @@ export declare const smsContract: {
490
558
  updatedAt: Date;
491
559
  deletedAt: Date | null;
492
560
  actor: {
561
+ name: string;
493
562
  id: string;
494
563
  address: string | null;
495
- name: string;
496
564
  email: string;
497
565
  createdAt: Date;
498
566
  updatedAt: Date;
@@ -539,8 +607,8 @@ export declare const smsContract: {
539
607
  connectedUserName: string;
540
608
  connectedUserId: string;
541
609
  botpressBot: {
542
- id: string;
543
610
  name: string;
611
+ id: string;
544
612
  accessToken: string;
545
613
  botId: string;
546
614
  integrationId: string;
@@ -548,19 +616,29 @@ export declare const smsContract: {
548
616
  }>;
549
617
  }, "strip", z.ZodTypeAny, {
550
618
  channel: {
619
+ name: string;
551
620
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
552
621
  id: string;
553
- name: string;
554
622
  metadata: {
555
- id: string;
556
623
  name: string;
624
+ id: string;
557
625
  accessToken?: string | undefined;
558
626
  channelSecret?: string | undefined;
559
627
  additionalCredentials?: any;
560
628
  senderId?: string | undefined;
629
+ whatsapp?: {
630
+ email: string;
631
+ wabaExternalId: string;
632
+ phoneNumberId: string;
633
+ wabaBusinessId?: string | undefined;
634
+ clientId?: string | undefined;
635
+ channelId?: string | undefined;
636
+ status?: "active" | "pending" | undefined;
637
+ apiKey?: string | undefined;
638
+ } | undefined;
561
639
  vonageCredentials?: {
562
- mobileNumber: string;
563
640
  apiKey: string;
641
+ mobileNumber: string;
564
642
  apiSecret: string;
565
643
  } | undefined;
566
644
  lineRichMenuId?: string | null | undefined;
@@ -571,9 +649,9 @@ export declare const smsContract: {
571
649
  updatedAt: Date;
572
650
  deletedAt: Date | null;
573
651
  actor: {
652
+ name: string;
574
653
  id: string;
575
654
  address: string | null;
576
- name: string;
577
655
  email: string;
578
656
  createdAt: Date;
579
657
  updatedAt: Date;
@@ -620,8 +698,8 @@ export declare const smsContract: {
620
698
  connectedUserName: string;
621
699
  connectedUserId: string;
622
700
  botpressBot: {
623
- id: string;
624
701
  name: string;
702
+ id: string;
625
703
  accessToken: string;
626
704
  botId: string;
627
705
  integrationId: string;
@@ -630,19 +708,29 @@ export declare const smsContract: {
630
708
  requestId: string;
631
709
  }, {
632
710
  channel: {
711
+ name: string;
633
712
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
634
713
  id: string;
635
- name: string;
636
714
  metadata: {
637
- id: string;
638
715
  name: string;
716
+ id: string;
639
717
  accessToken?: string | undefined;
640
718
  channelSecret?: string | undefined;
641
719
  additionalCredentials?: any;
642
720
  senderId?: string | undefined;
721
+ whatsapp?: {
722
+ email: string;
723
+ wabaExternalId: string;
724
+ phoneNumberId: string;
725
+ wabaBusinessId?: string | undefined;
726
+ clientId?: string | undefined;
727
+ channelId?: string | undefined;
728
+ status?: "active" | "pending" | undefined;
729
+ apiKey?: string | undefined;
730
+ } | undefined;
643
731
  vonageCredentials?: {
644
- mobileNumber: string;
645
732
  apiKey: string;
733
+ mobileNumber: string;
646
734
  apiSecret: string;
647
735
  } | undefined;
648
736
  lineRichMenuId?: string | null | undefined;
@@ -653,9 +741,9 @@ export declare const smsContract: {
653
741
  updatedAt: Date;
654
742
  deletedAt: Date | null;
655
743
  actor: {
744
+ name: string;
656
745
  id: string;
657
746
  address: string | null;
658
- name: string;
659
747
  email: string;
660
748
  createdAt: Date;
661
749
  updatedAt: Date;
@@ -702,8 +790,8 @@ export declare const smsContract: {
702
790
  connectedUserName: string;
703
791
  connectedUserId: string;
704
792
  botpressBot: {
705
- id: string;
706
793
  name: string;
794
+ id: string;
707
795
  accessToken: string;
708
796
  botId: string;
709
797
  integrationId: string;
@@ -757,13 +845,13 @@ export declare const smsContract: {
757
845
  picture: z.ZodOptional<z.ZodString>;
758
846
  additionalCredentials: z.ZodAny;
759
847
  }, "strip", z.ZodTypeAny, {
760
- id: string;
761
848
  name: string;
849
+ id: string;
762
850
  picture?: string | undefined;
763
851
  additionalCredentials?: any;
764
852
  }, {
765
- id: string;
766
853
  name: string;
854
+ id: string;
767
855
  picture?: string | undefined;
768
856
  additionalCredentials?: any;
769
857
  }>;
@@ -775,16 +863,16 @@ export declare const smsContract: {
775
863
  contactProfile: z.ZodNullable<z.ZodString>;
776
864
  socialProfileUrl: z.ZodNullable<z.ZodString>;
777
865
  }, "strip", z.ZodTypeAny, {
866
+ name: string;
778
867
  channel: string | null;
779
868
  address: string | null;
780
- name: string;
781
869
  notes: string | null;
782
870
  contactProfile: string | null;
783
871
  socialProfileUrl: string | null;
784
872
  }, {
873
+ name: string;
785
874
  channel: string | null;
786
875
  address: string | null;
787
- name: string;
788
876
  notes: string | null;
789
877
  contactProfile: string | null;
790
878
  socialProfileUrl: string | null;
@@ -793,15 +881,15 @@ export declare const smsContract: {
793
881
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
794
882
  id: string;
795
883
  metadata: {
796
- id: string;
797
884
  name: string;
885
+ id: string;
798
886
  picture?: string | undefined;
799
887
  additionalCredentials?: any;
800
888
  };
801
889
  contact: {
890
+ name: string;
802
891
  channel: string | null;
803
892
  address: string | null;
804
- name: string;
805
893
  notes: string | null;
806
894
  contactProfile: string | null;
807
895
  socialProfileUrl: string | null;
@@ -812,15 +900,15 @@ export declare const smsContract: {
812
900
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
813
901
  id: string;
814
902
  metadata: {
815
- id: string;
816
903
  name: string;
904
+ id: string;
817
905
  picture?: string | undefined;
818
906
  additionalCredentials?: any;
819
907
  };
820
908
  contact: {
909
+ name: string;
821
910
  channel: string | null;
822
911
  address: string | null;
823
- name: string;
824
912
  notes: string | null;
825
913
  contactProfile: string | null;
826
914
  socialProfileUrl: string | null;
@@ -835,15 +923,15 @@ export declare const smsContract: {
835
923
  address: z.ZodNullable<z.ZodString>;
836
924
  phone: z.ZodNullable<z.ZodString>;
837
925
  }, "strip", z.ZodTypeAny, {
926
+ name: string;
838
927
  id: string;
839
928
  address: string | null;
840
- name: string;
841
929
  email: string;
842
930
  phone: string | null;
843
931
  }, {
932
+ name: string;
844
933
  id: string;
845
934
  address: string | null;
846
- name: string;
847
935
  email: string;
848
936
  phone: string | null;
849
937
  }>>;
@@ -852,12 +940,12 @@ export declare const smsContract: {
852
940
  name: z.ZodString;
853
941
  email: z.ZodString;
854
942
  }, "strip", z.ZodTypeAny, {
855
- id: string;
856
943
  name: string;
944
+ id: string;
857
945
  email: string;
858
946
  }, {
859
- id: string;
860
947
  name: string;
948
+ id: string;
861
949
  email: string;
862
950
  }>>;
863
951
  channel: z.ZodObject<{
@@ -871,45 +959,93 @@ export declare const smsContract: {
871
959
  channelSecret: z.ZodOptional<z.ZodString>;
872
960
  additionalCredentials: z.ZodOptional<z.ZodAny>;
873
961
  senderId: z.ZodOptional<z.ZodString>;
962
+ whatsapp: z.ZodOptional<z.ZodObject<{
963
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
964
+ wabaExternalId: z.ZodString;
965
+ phoneNumberId: z.ZodString;
966
+ email: z.ZodString;
967
+ clientId: z.ZodOptional<z.ZodString>;
968
+ channelId: z.ZodOptional<z.ZodString>;
969
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
970
+ apiKey: z.ZodOptional<z.ZodString>;
971
+ }, "strip", z.ZodTypeAny, {
972
+ email: string;
973
+ wabaExternalId: string;
974
+ phoneNumberId: string;
975
+ wabaBusinessId?: string | undefined;
976
+ clientId?: string | undefined;
977
+ channelId?: string | undefined;
978
+ status?: "active" | "pending" | undefined;
979
+ apiKey?: string | undefined;
980
+ }, {
981
+ email: string;
982
+ wabaExternalId: string;
983
+ phoneNumberId: string;
984
+ wabaBusinessId?: string | undefined;
985
+ clientId?: string | undefined;
986
+ channelId?: string | undefined;
987
+ status?: "active" | "pending" | undefined;
988
+ apiKey?: string | undefined;
989
+ }>>;
874
990
  vonageCredentials: z.ZodOptional<z.ZodObject<{
875
991
  mobileNumber: z.ZodString;
876
992
  apiKey: z.ZodString;
877
993
  apiSecret: z.ZodString;
878
994
  }, "strip", z.ZodTypeAny, {
879
- mobileNumber: string;
880
995
  apiKey: string;
996
+ mobileNumber: string;
881
997
  apiSecret: string;
882
998
  }, {
883
- mobileNumber: string;
884
999
  apiKey: string;
1000
+ mobileNumber: string;
885
1001
  apiSecret: string;
886
1002
  }>>;
887
1003
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
888
1004
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
889
1005
  }, "strip", z.ZodTypeAny, {
890
- id: string;
891
1006
  name: string;
1007
+ id: string;
892
1008
  accessToken?: string | undefined;
893
1009
  channelSecret?: string | undefined;
894
1010
  additionalCredentials?: any;
895
1011
  senderId?: string | undefined;
1012
+ whatsapp?: {
1013
+ email: string;
1014
+ wabaExternalId: string;
1015
+ phoneNumberId: string;
1016
+ wabaBusinessId?: string | undefined;
1017
+ clientId?: string | undefined;
1018
+ channelId?: string | undefined;
1019
+ status?: "active" | "pending" | undefined;
1020
+ apiKey?: string | undefined;
1021
+ } | undefined;
896
1022
  vonageCredentials?: {
897
- mobileNumber: string;
898
1023
  apiKey: string;
1024
+ mobileNumber: string;
899
1025
  apiSecret: string;
900
1026
  } | undefined;
901
1027
  lineRichMenuId?: string | null | undefined;
902
1028
  messengerIntegrationType?: "own" | "business" | undefined;
903
1029
  }, {
904
- id: string;
905
1030
  name: string;
1031
+ id: string;
906
1032
  accessToken?: string | undefined;
907
1033
  channelSecret?: string | undefined;
908
1034
  additionalCredentials?: any;
909
1035
  senderId?: string | undefined;
1036
+ whatsapp?: {
1037
+ email: string;
1038
+ wabaExternalId: string;
1039
+ phoneNumberId: string;
1040
+ wabaBusinessId?: string | undefined;
1041
+ clientId?: string | undefined;
1042
+ channelId?: string | undefined;
1043
+ status?: "active" | "pending" | undefined;
1044
+ apiKey?: string | undefined;
1045
+ } | undefined;
910
1046
  vonageCredentials?: {
911
- mobileNumber: string;
912
1047
  apiKey: string;
1048
+ mobileNumber: string;
913
1049
  apiSecret: string;
914
1050
  } | undefined;
915
1051
  lineRichMenuId?: string | null | undefined;
@@ -928,32 +1064,42 @@ export declare const smsContract: {
928
1064
  address: z.ZodNullable<z.ZodString>;
929
1065
  phone: z.ZodNullable<z.ZodString>;
930
1066
  }, "strip", z.ZodTypeAny, {
1067
+ name: string;
931
1068
  id: string;
932
1069
  address: string | null;
933
- name: string;
934
1070
  email: string;
935
1071
  phone: string | null;
936
1072
  }, {
1073
+ name: string;
937
1074
  id: string;
938
1075
  address: string | null;
939
- name: string;
940
1076
  email: string;
941
1077
  phone: string | null;
942
1078
  }>>;
943
1079
  }, "strip", z.ZodTypeAny, {
1080
+ name: string;
944
1081
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
945
1082
  id: string;
946
- name: string;
947
1083
  metadata: {
948
- id: string;
949
1084
  name: string;
1085
+ id: string;
950
1086
  accessToken?: string | undefined;
951
1087
  channelSecret?: string | undefined;
952
1088
  additionalCredentials?: any;
953
1089
  senderId?: string | undefined;
1090
+ whatsapp?: {
1091
+ email: string;
1092
+ wabaExternalId: string;
1093
+ phoneNumberId: string;
1094
+ wabaBusinessId?: string | undefined;
1095
+ clientId?: string | undefined;
1096
+ channelId?: string | undefined;
1097
+ status?: "active" | "pending" | undefined;
1098
+ apiKey?: string | undefined;
1099
+ } | undefined;
954
1100
  vonageCredentials?: {
955
- mobileNumber: string;
956
1101
  apiKey: string;
1102
+ mobileNumber: string;
957
1103
  apiSecret: string;
958
1104
  } | undefined;
959
1105
  lineRichMenuId?: string | null | undefined;
@@ -966,26 +1112,36 @@ export declare const smsContract: {
966
1112
  connectedUserId?: string | null | undefined;
967
1113
  lineRichMenuId?: string | null | undefined;
968
1114
  actor?: {
1115
+ name: string;
969
1116
  id: string;
970
1117
  address: string | null;
971
- name: string;
972
1118
  email: string;
973
1119
  phone: string | null;
974
1120
  } | undefined;
975
1121
  }, {
1122
+ name: string;
976
1123
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
977
1124
  id: string;
978
- name: string;
979
1125
  metadata: {
980
- id: string;
981
1126
  name: string;
1127
+ id: string;
982
1128
  accessToken?: string | undefined;
983
1129
  channelSecret?: string | undefined;
984
1130
  additionalCredentials?: any;
985
1131
  senderId?: string | undefined;
1132
+ whatsapp?: {
1133
+ email: string;
1134
+ wabaExternalId: string;
1135
+ phoneNumberId: string;
1136
+ wabaBusinessId?: string | undefined;
1137
+ clientId?: string | undefined;
1138
+ channelId?: string | undefined;
1139
+ status?: "active" | "pending" | undefined;
1140
+ apiKey?: string | undefined;
1141
+ } | undefined;
986
1142
  vonageCredentials?: {
987
- mobileNumber: string;
988
1143
  apiKey: string;
1144
+ mobileNumber: string;
989
1145
  apiSecret: string;
990
1146
  } | undefined;
991
1147
  lineRichMenuId?: string | null | undefined;
@@ -998,9 +1154,9 @@ export declare const smsContract: {
998
1154
  connectedUserId?: string | null | undefined;
999
1155
  lineRichMenuId?: string | null | undefined;
1000
1156
  actor?: {
1157
+ name: string;
1001
1158
  id: string;
1002
1159
  address: string | null;
1003
- name: string;
1004
1160
  email: string;
1005
1161
  phone: string | null;
1006
1162
  } | undefined;
@@ -1009,19 +1165,29 @@ export declare const smsContract: {
1009
1165
  }, "strip", z.ZodTypeAny, {
1010
1166
  id: string;
1011
1167
  channel: {
1168
+ name: string;
1012
1169
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1013
1170
  id: string;
1014
- name: string;
1015
1171
  metadata: {
1016
- id: string;
1017
1172
  name: string;
1173
+ id: string;
1018
1174
  accessToken?: string | undefined;
1019
1175
  channelSecret?: string | undefined;
1020
1176
  additionalCredentials?: any;
1021
1177
  senderId?: string | undefined;
1178
+ whatsapp?: {
1179
+ email: string;
1180
+ wabaExternalId: string;
1181
+ phoneNumberId: string;
1182
+ wabaBusinessId?: string | undefined;
1183
+ clientId?: string | undefined;
1184
+ channelId?: string | undefined;
1185
+ status?: "active" | "pending" | undefined;
1186
+ apiKey?: string | undefined;
1187
+ } | undefined;
1022
1188
  vonageCredentials?: {
1023
- mobileNumber: string;
1024
1189
  apiKey: string;
1190
+ mobileNumber: string;
1025
1191
  apiSecret: string;
1026
1192
  } | undefined;
1027
1193
  lineRichMenuId?: string | null | undefined;
@@ -1034,9 +1200,9 @@ export declare const smsContract: {
1034
1200
  connectedUserId?: string | null | undefined;
1035
1201
  lineRichMenuId?: string | null | undefined;
1036
1202
  actor?: {
1203
+ name: string;
1037
1204
  id: string;
1038
1205
  address: string | null;
1039
- name: string;
1040
1206
  email: string;
1041
1207
  phone: string | null;
1042
1208
  } | undefined;
@@ -1045,9 +1211,9 @@ export declare const smsContract: {
1045
1211
  createdAt: string;
1046
1212
  updatedAt: string;
1047
1213
  actor: {
1214
+ name: string;
1048
1215
  id: string;
1049
1216
  address: string | null;
1050
- name: string;
1051
1217
  email: string;
1052
1218
  phone: string | null;
1053
1219
  } | null;
@@ -1056,15 +1222,15 @@ export declare const smsContract: {
1056
1222
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1057
1223
  id: string;
1058
1224
  metadata: {
1059
- id: string;
1060
1225
  name: string;
1226
+ id: string;
1061
1227
  picture?: string | undefined;
1062
1228
  additionalCredentials?: any;
1063
1229
  };
1064
1230
  contact: {
1231
+ name: string;
1065
1232
  channel: string | null;
1066
1233
  address: string | null;
1067
- name: string;
1068
1234
  notes: string | null;
1069
1235
  contactProfile: string | null;
1070
1236
  socialProfileUrl: string | null;
@@ -1073,8 +1239,8 @@ export declare const smsContract: {
1073
1239
  socialPlatformId: string | null;
1074
1240
  };
1075
1241
  assignee: {
1076
- id: string;
1077
1242
  name: string;
1243
+ id: string;
1078
1244
  email: string;
1079
1245
  } | null;
1080
1246
  lastMessage?: string | undefined;
@@ -1084,19 +1250,29 @@ export declare const smsContract: {
1084
1250
  }, {
1085
1251
  id: string;
1086
1252
  channel: {
1253
+ name: string;
1087
1254
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1088
1255
  id: string;
1089
- name: string;
1090
1256
  metadata: {
1091
- id: string;
1092
1257
  name: string;
1258
+ id: string;
1093
1259
  accessToken?: string | undefined;
1094
1260
  channelSecret?: string | undefined;
1095
1261
  additionalCredentials?: any;
1096
1262
  senderId?: string | undefined;
1263
+ whatsapp?: {
1264
+ email: string;
1265
+ wabaExternalId: string;
1266
+ phoneNumberId: string;
1267
+ wabaBusinessId?: string | undefined;
1268
+ clientId?: string | undefined;
1269
+ channelId?: string | undefined;
1270
+ status?: "active" | "pending" | undefined;
1271
+ apiKey?: string | undefined;
1272
+ } | undefined;
1097
1273
  vonageCredentials?: {
1098
- mobileNumber: string;
1099
1274
  apiKey: string;
1275
+ mobileNumber: string;
1100
1276
  apiSecret: string;
1101
1277
  } | undefined;
1102
1278
  lineRichMenuId?: string | null | undefined;
@@ -1109,9 +1285,9 @@ export declare const smsContract: {
1109
1285
  connectedUserId?: string | null | undefined;
1110
1286
  lineRichMenuId?: string | null | undefined;
1111
1287
  actor?: {
1288
+ name: string;
1112
1289
  id: string;
1113
1290
  address: string | null;
1114
- name: string;
1115
1291
  email: string;
1116
1292
  phone: string | null;
1117
1293
  } | undefined;
@@ -1120,9 +1296,9 @@ export declare const smsContract: {
1120
1296
  createdAt: string;
1121
1297
  updatedAt: string;
1122
1298
  actor: {
1299
+ name: string;
1123
1300
  id: string;
1124
1301
  address: string | null;
1125
- name: string;
1126
1302
  email: string;
1127
1303
  phone: string | null;
1128
1304
  } | null;
@@ -1131,15 +1307,15 @@ export declare const smsContract: {
1131
1307
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1132
1308
  id: string;
1133
1309
  metadata: {
1134
- id: string;
1135
1310
  name: string;
1311
+ id: string;
1136
1312
  picture?: string | undefined;
1137
1313
  additionalCredentials?: any;
1138
1314
  };
1139
1315
  contact: {
1316
+ name: string;
1140
1317
  channel: string | null;
1141
1318
  address: string | null;
1142
- name: string;
1143
1319
  notes: string | null;
1144
1320
  contactProfile: string | null;
1145
1321
  socialProfileUrl: string | null;
@@ -1148,8 +1324,8 @@ export declare const smsContract: {
1148
1324
  socialPlatformId: string | null;
1149
1325
  };
1150
1326
  assignee: {
1151
- id: string;
1152
1327
  name: string;
1328
+ id: string;
1153
1329
  email: string;
1154
1330
  } | null;
1155
1331
  lastMessage?: string | undefined;
@@ -1161,7 +1337,7 @@ export declare const smsContract: {
1161
1337
  id: z.ZodOptional<z.ZodString>;
1162
1338
  message: z.ZodOptional<z.ZodString>;
1163
1339
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1164
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1340
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1165
1341
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1166
1342
  metadata: z.ZodOptional<z.ZodAny>;
1167
1343
  platformId: z.ZodOptional<z.ZodString>;
@@ -1198,15 +1374,15 @@ export declare const smsContract: {
1198
1374
  address: z.ZodNullable<z.ZodString>;
1199
1375
  phone: z.ZodNullable<z.ZodString>;
1200
1376
  }, "strip", z.ZodTypeAny, {
1377
+ name: string;
1201
1378
  id: string;
1202
1379
  address: string | null;
1203
- name: string;
1204
1380
  email: string;
1205
1381
  phone: string | null;
1206
1382
  }, {
1383
+ name: string;
1207
1384
  id: string;
1208
1385
  address: string | null;
1209
- name: string;
1210
1386
  email: string;
1211
1387
  phone: string | null;
1212
1388
  }>>;
@@ -1217,7 +1393,7 @@ export declare const smsContract: {
1217
1393
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1218
1394
  label: z.ZodOptional<z.ZodString>;
1219
1395
  }, "strip", z.ZodTypeAny, {
1220
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1396
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1221
1397
  direction: "incoming" | "outgoing" | "system";
1222
1398
  id?: string | undefined;
1223
1399
  message?: string | undefined;
@@ -1239,9 +1415,9 @@ export declare const smsContract: {
1239
1415
  originalUrl?: string | undefined;
1240
1416
  } | undefined;
1241
1417
  sender?: {
1418
+ name: string;
1242
1419
  id: string;
1243
1420
  address: string | null;
1244
- name: string;
1245
1421
  email: string;
1246
1422
  phone: string | null;
1247
1423
  } | undefined;
@@ -1252,7 +1428,7 @@ export declare const smsContract: {
1252
1428
  editedAt?: string | Date | null | undefined;
1253
1429
  label?: string | undefined;
1254
1430
  }, {
1255
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1431
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1256
1432
  direction: "incoming" | "outgoing" | "system";
1257
1433
  id?: string | undefined;
1258
1434
  message?: string | undefined;
@@ -1274,9 +1450,9 @@ export declare const smsContract: {
1274
1450
  originalUrl?: string | undefined;
1275
1451
  } | undefined;
1276
1452
  sender?: {
1453
+ name: string;
1277
1454
  id: string;
1278
1455
  address: string | null;
1279
- name: string;
1280
1456
  email: string;
1281
1457
  phone: string | null;
1282
1458
  } | undefined;
@@ -1289,7 +1465,7 @@ export declare const smsContract: {
1289
1465
  }>;
1290
1466
  }, "strip", z.ZodTypeAny, {
1291
1467
  message: {
1292
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1468
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1293
1469
  direction: "incoming" | "outgoing" | "system";
1294
1470
  id?: string | undefined;
1295
1471
  message?: string | undefined;
@@ -1311,9 +1487,9 @@ export declare const smsContract: {
1311
1487
  originalUrl?: string | undefined;
1312
1488
  } | undefined;
1313
1489
  sender?: {
1490
+ name: string;
1314
1491
  id: string;
1315
1492
  address: string | null;
1316
- name: string;
1317
1493
  email: string;
1318
1494
  phone: string | null;
1319
1495
  } | undefined;
@@ -1327,19 +1503,29 @@ export declare const smsContract: {
1327
1503
  room: {
1328
1504
  id: string;
1329
1505
  channel: {
1506
+ name: string;
1330
1507
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1331
1508
  id: string;
1332
- name: string;
1333
1509
  metadata: {
1334
- id: string;
1335
1510
  name: string;
1511
+ id: string;
1336
1512
  accessToken?: string | undefined;
1337
1513
  channelSecret?: string | undefined;
1338
1514
  additionalCredentials?: any;
1339
1515
  senderId?: string | undefined;
1516
+ whatsapp?: {
1517
+ email: string;
1518
+ wabaExternalId: string;
1519
+ phoneNumberId: string;
1520
+ wabaBusinessId?: string | undefined;
1521
+ clientId?: string | undefined;
1522
+ channelId?: string | undefined;
1523
+ status?: "active" | "pending" | undefined;
1524
+ apiKey?: string | undefined;
1525
+ } | undefined;
1340
1526
  vonageCredentials?: {
1341
- mobileNumber: string;
1342
1527
  apiKey: string;
1528
+ mobileNumber: string;
1343
1529
  apiSecret: string;
1344
1530
  } | undefined;
1345
1531
  lineRichMenuId?: string | null | undefined;
@@ -1352,9 +1538,9 @@ export declare const smsContract: {
1352
1538
  connectedUserId?: string | null | undefined;
1353
1539
  lineRichMenuId?: string | null | undefined;
1354
1540
  actor?: {
1541
+ name: string;
1355
1542
  id: string;
1356
1543
  address: string | null;
1357
- name: string;
1358
1544
  email: string;
1359
1545
  phone: string | null;
1360
1546
  } | undefined;
@@ -1363,9 +1549,9 @@ export declare const smsContract: {
1363
1549
  createdAt: string;
1364
1550
  updatedAt: string;
1365
1551
  actor: {
1552
+ name: string;
1366
1553
  id: string;
1367
1554
  address: string | null;
1368
- name: string;
1369
1555
  email: string;
1370
1556
  phone: string | null;
1371
1557
  } | null;
@@ -1374,15 +1560,15 @@ export declare const smsContract: {
1374
1560
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1375
1561
  id: string;
1376
1562
  metadata: {
1377
- id: string;
1378
1563
  name: string;
1564
+ id: string;
1379
1565
  picture?: string | undefined;
1380
1566
  additionalCredentials?: any;
1381
1567
  };
1382
1568
  contact: {
1569
+ name: string;
1383
1570
  channel: string | null;
1384
1571
  address: string | null;
1385
- name: string;
1386
1572
  notes: string | null;
1387
1573
  contactProfile: string | null;
1388
1574
  socialProfileUrl: string | null;
@@ -1391,8 +1577,8 @@ export declare const smsContract: {
1391
1577
  socialPlatformId: string | null;
1392
1578
  };
1393
1579
  assignee: {
1394
- id: string;
1395
1580
  name: string;
1581
+ id: string;
1396
1582
  email: string;
1397
1583
  } | null;
1398
1584
  lastMessage?: string | undefined;
@@ -1403,7 +1589,7 @@ export declare const smsContract: {
1403
1589
  isBot: boolean | null;
1404
1590
  }, {
1405
1591
  message: {
1406
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1592
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1407
1593
  direction: "incoming" | "outgoing" | "system";
1408
1594
  id?: string | undefined;
1409
1595
  message?: string | undefined;
@@ -1425,9 +1611,9 @@ export declare const smsContract: {
1425
1611
  originalUrl?: string | undefined;
1426
1612
  } | undefined;
1427
1613
  sender?: {
1614
+ name: string;
1428
1615
  id: string;
1429
1616
  address: string | null;
1430
- name: string;
1431
1617
  email: string;
1432
1618
  phone: string | null;
1433
1619
  } | undefined;
@@ -1441,19 +1627,29 @@ export declare const smsContract: {
1441
1627
  room: {
1442
1628
  id: string;
1443
1629
  channel: {
1630
+ name: string;
1444
1631
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1445
1632
  id: string;
1446
- name: string;
1447
1633
  metadata: {
1448
- id: string;
1449
1634
  name: string;
1635
+ id: string;
1450
1636
  accessToken?: string | undefined;
1451
1637
  channelSecret?: string | undefined;
1452
1638
  additionalCredentials?: any;
1453
1639
  senderId?: string | undefined;
1640
+ whatsapp?: {
1641
+ email: string;
1642
+ wabaExternalId: string;
1643
+ phoneNumberId: string;
1644
+ wabaBusinessId?: string | undefined;
1645
+ clientId?: string | undefined;
1646
+ channelId?: string | undefined;
1647
+ status?: "active" | "pending" | undefined;
1648
+ apiKey?: string | undefined;
1649
+ } | undefined;
1454
1650
  vonageCredentials?: {
1455
- mobileNumber: string;
1456
1651
  apiKey: string;
1652
+ mobileNumber: string;
1457
1653
  apiSecret: string;
1458
1654
  } | undefined;
1459
1655
  lineRichMenuId?: string | null | undefined;
@@ -1466,9 +1662,9 @@ export declare const smsContract: {
1466
1662
  connectedUserId?: string | null | undefined;
1467
1663
  lineRichMenuId?: string | null | undefined;
1468
1664
  actor?: {
1665
+ name: string;
1469
1666
  id: string;
1470
1667
  address: string | null;
1471
- name: string;
1472
1668
  email: string;
1473
1669
  phone: string | null;
1474
1670
  } | undefined;
@@ -1477,9 +1673,9 @@ export declare const smsContract: {
1477
1673
  createdAt: string;
1478
1674
  updatedAt: string;
1479
1675
  actor: {
1676
+ name: string;
1480
1677
  id: string;
1481
1678
  address: string | null;
1482
- name: string;
1483
1679
  email: string;
1484
1680
  phone: string | null;
1485
1681
  } | null;
@@ -1488,15 +1684,15 @@ export declare const smsContract: {
1488
1684
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1489
1685
  id: string;
1490
1686
  metadata: {
1491
- id: string;
1492
1687
  name: string;
1688
+ id: string;
1493
1689
  picture?: string | undefined;
1494
1690
  additionalCredentials?: any;
1495
1691
  };
1496
1692
  contact: {
1693
+ name: string;
1497
1694
  channel: string | null;
1498
1695
  address: string | null;
1499
- name: string;
1500
1696
  notes: string | null;
1501
1697
  contactProfile: string | null;
1502
1698
  socialProfileUrl: string | null;
@@ -1505,8 +1701,8 @@ export declare const smsContract: {
1505
1701
  socialPlatformId: string | null;
1506
1702
  };
1507
1703
  assignee: {
1508
- id: string;
1509
1704
  name: string;
1705
+ id: string;
1510
1706
  email: string;
1511
1707
  } | null;
1512
1708
  lastMessage?: string | undefined;