@kl1/contracts 1.2.41-uat → 1.2.43-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) 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 +1482 -850
  17. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/channel/schema.d.ts +72 -40
  19. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/channel/validation.d.ts +86 -48
  21. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/chat/index.d.ts +5325 -4547
  23. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/chat/schema.d.ts +1491 -1329
  25. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/chat/validation.d.ts +1268 -995
  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 +14104 -10759
  36. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  37. package/dist/api-contracts/src/cx-log/index.d.ts +311 -274
  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 +257 -226
  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 +1393 -1019
  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 +110 -85
  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 +99 -80
  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 +34 -34
  52. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
  53. package/dist/api-contracts/src/instagram/index.d.ts +1132 -839
  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 +1093 -832
  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 +108 -77
  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 +2598 -2598
  63. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
  64. package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
  65. package/dist/api-contracts/src/mail/room-contract.d.ts +1474 -1474
  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 +10 -10
  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 +478 -478
  70. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +466 -466
  71. package/dist/api-contracts/src/messenger/index.d.ts +1135 -842
  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 +95 -76
  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 +187 -131
  83. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  85. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  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 +950 -739
  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 +962 -751
  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 +956 -745
  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 +1186 -774
  115. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  116. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  117. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  118. package/dist/api-contracts/src/widget/index.d.ts +24 -24
  119. package/dist/api-contracts/src/widget/schema.d.ts +2 -2
  120. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  121. package/dist/api-contracts/src/workflow-rule/index.d.ts +338 -276
  122. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  123. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
  124. package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
  125. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
  126. package/dist/api-contracts/utils.d.ts +1 -1
  127. package/dist/api-contracts/utils.d.ts.map +1 -1
  128. package/dist/entities/src/enums/chat.d.ts +1 -0
  129. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  130. package/dist/index.js +77 -3
  131. package/dist/index.js.map +1 -1
  132. package/dist/index.mjs +77 -3
  133. package/dist/index.mjs.map +1 -1
  134. package/package.json +1 -1
@@ -12,15 +12,15 @@ export declare const smsContract: {
12
12
  address: z.ZodNullable<z.ZodString>;
13
13
  phone: z.ZodNullable<z.ZodString>;
14
14
  }, "strip", z.ZodTypeAny, {
15
+ name: string;
15
16
  id: string;
16
17
  address: string | null;
17
- name: string;
18
18
  email: string;
19
19
  phone: string | null;
20
20
  }, {
21
+ name: string;
21
22
  id: string;
22
23
  address: string | null;
23
- name: string;
24
24
  email: string;
25
25
  phone: string | null;
26
26
  }>;
@@ -42,8 +42,8 @@ export declare const smsContract: {
42
42
  apiSecret: string;
43
43
  }>;
44
44
  }, "strip", z.ZodTypeAny, {
45
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
46
45
  name: string;
46
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
47
47
  senderId: string;
48
48
  vonageCredentials: {
49
49
  apiKey: string;
@@ -51,8 +51,8 @@ export declare const smsContract: {
51
51
  apiSecret: string;
52
52
  };
53
53
  }, {
54
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
55
54
  name: string;
55
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
56
56
  senderId: string;
57
57
  vonageCredentials: {
58
58
  apiKey: string;
@@ -62,8 +62,8 @@ export declare const smsContract: {
62
62
  }>;
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  channel: {
65
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
66
65
  name: string;
66
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
67
67
  senderId: string;
68
68
  vonageCredentials: {
69
69
  apiKey: string;
@@ -72,16 +72,16 @@ export declare const smsContract: {
72
72
  };
73
73
  };
74
74
  actor: {
75
+ name: string;
75
76
  id: string;
76
77
  address: string | null;
77
- name: string;
78
78
  email: string;
79
79
  phone: string | null;
80
80
  };
81
81
  }, {
82
82
  channel: {
83
- type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
84
83
  name: string;
84
+ type: import("../../../entities/src/enums/chat").EChannelType.VONAGE_SMS;
85
85
  senderId: string;
86
86
  vonageCredentials: {
87
87
  apiKey: string;
@@ -90,9 +90,9 @@ export declare const smsContract: {
90
90
  };
91
91
  };
92
92
  actor: {
93
+ name: string;
93
94
  id: string;
94
95
  address: string | null;
95
- name: string;
96
96
  email: string;
97
97
  phone: string | null;
98
98
  };
@@ -122,10 +122,12 @@ export declare const smsContract: {
122
122
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
123
  clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
124
  channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
125
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
126
128
  apiKey: z.ZodOptional<z.ZodString>;
127
129
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
128
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
130
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
129
131
  }, "strip", z.ZodTypeAny, {
130
132
  wabaBusinessId?: string | null | undefined;
131
133
  wabaExternalId?: string | null | undefined;
@@ -133,10 +135,12 @@ export declare const smsContract: {
133
135
  email?: string | null | undefined;
134
136
  clientId?: string | null | undefined;
135
137
  channelId?: string | null | undefined;
136
- status?: "active" | "pending" | undefined;
138
+ waapiInstanceId?: string | null | undefined;
139
+ qr?: string | null | undefined;
140
+ status?: "active" | "pending" | "waapi-qr" | undefined;
137
141
  apiKey?: string | undefined;
138
142
  tier?: "basic" | "regular" | "premium" | undefined;
139
- integrationType?: "meta" | "360dialog" | undefined;
143
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
140
144
  }, {
141
145
  wabaBusinessId?: string | null | undefined;
142
146
  wabaExternalId?: string | null | undefined;
@@ -144,10 +148,12 @@ export declare const smsContract: {
144
148
  email?: string | null | undefined;
145
149
  clientId?: string | null | undefined;
146
150
  channelId?: string | null | undefined;
147
- status?: "active" | "pending" | undefined;
151
+ waapiInstanceId?: string | null | undefined;
152
+ qr?: string | null | undefined;
153
+ status?: "active" | "pending" | "waapi-qr" | undefined;
148
154
  apiKey?: string | undefined;
149
155
  tier?: "basic" | "regular" | "premium" | undefined;
150
- integrationType?: "meta" | "360dialog" | undefined;
156
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
151
157
  }>>;
152
158
  vonageCredentials: z.ZodOptional<z.ZodObject<{
153
159
  mobileNumber: z.ZodString;
@@ -164,9 +170,10 @@ export declare const smsContract: {
164
170
  }>>;
165
171
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
166
172
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
173
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
167
174
  }, "strip", z.ZodTypeAny, {
168
- id: string;
169
175
  name: string;
176
+ id: string;
170
177
  accessToken?: string | undefined;
171
178
  channelSecret?: string | undefined;
172
179
  additionalCredentials?: any;
@@ -178,10 +185,12 @@ export declare const smsContract: {
178
185
  email?: string | null | undefined;
179
186
  clientId?: string | null | undefined;
180
187
  channelId?: string | null | undefined;
181
- status?: "active" | "pending" | undefined;
188
+ waapiInstanceId?: string | null | undefined;
189
+ qr?: string | null | undefined;
190
+ status?: "active" | "pending" | "waapi-qr" | undefined;
182
191
  apiKey?: string | undefined;
183
192
  tier?: "basic" | "regular" | "premium" | undefined;
184
- integrationType?: "meta" | "360dialog" | undefined;
193
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
185
194
  } | undefined;
186
195
  vonageCredentials?: {
187
196
  apiKey: string;
@@ -190,9 +199,10 @@ export declare const smsContract: {
190
199
  } | undefined;
191
200
  lineRichMenuId?: string | null | undefined;
192
201
  messengerIntegrationType?: "own" | "business" | undefined;
202
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
193
203
  }, {
194
- id: string;
195
204
  name: string;
205
+ id: string;
196
206
  accessToken?: string | undefined;
197
207
  channelSecret?: string | undefined;
198
208
  additionalCredentials?: any;
@@ -204,10 +214,12 @@ export declare const smsContract: {
204
214
  email?: string | null | undefined;
205
215
  clientId?: string | null | undefined;
206
216
  channelId?: string | null | undefined;
207
- status?: "active" | "pending" | undefined;
217
+ waapiInstanceId?: string | null | undefined;
218
+ qr?: string | null | undefined;
219
+ status?: "active" | "pending" | "waapi-qr" | undefined;
208
220
  apiKey?: string | undefined;
209
221
  tier?: "basic" | "regular" | "premium" | undefined;
210
- integrationType?: "meta" | "360dialog" | undefined;
222
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
211
223
  } | undefined;
212
224
  vonageCredentials?: {
213
225
  apiKey: string;
@@ -216,6 +228,7 @@ export declare const smsContract: {
216
228
  } | undefined;
217
229
  lineRichMenuId?: string | null | undefined;
218
230
  messengerIntegrationType?: "own" | "business" | undefined;
231
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
219
232
  }>;
220
233
  brandName: z.ZodString;
221
234
  platformId: z.ZodString;
@@ -230,14 +243,14 @@ export declare const smsContract: {
230
243
  integrationId: z.ZodString;
231
244
  accessToken: z.ZodString;
232
245
  }, "strip", z.ZodTypeAny, {
233
- id: string;
234
246
  name: string;
247
+ id: string;
235
248
  accessToken: string;
236
249
  botId: string;
237
250
  integrationId: string;
238
251
  }, {
239
- id: string;
240
252
  name: string;
253
+ id: string;
241
254
  accessToken: string;
242
255
  botId: string;
243
256
  integrationId: string;
@@ -360,9 +373,9 @@ export declare const smsContract: {
360
373
  telephonySignature: string | null;
361
374
  }>;
362
375
  }, "strip", z.ZodTypeAny, {
376
+ name: string;
363
377
  id: string;
364
378
  address: string | null;
365
- name: string;
366
379
  email: string;
367
380
  createdAt: Date;
368
381
  updatedAt: Date;
@@ -403,9 +416,9 @@ export declare const smsContract: {
403
416
  telephonySignature: string | null;
404
417
  };
405
418
  }, {
419
+ name: string;
406
420
  id: string;
407
421
  address: string | null;
408
- name: string;
409
422
  email: string;
410
423
  createdAt: Date;
411
424
  updatedAt: Date;
@@ -447,12 +460,12 @@ export declare const smsContract: {
447
460
  };
448
461
  }>;
449
462
  }, "strip", z.ZodTypeAny, {
463
+ name: string;
450
464
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
451
465
  id: string;
452
- name: string;
453
466
  metadata: {
454
- id: string;
455
467
  name: string;
468
+ id: string;
456
469
  accessToken?: string | undefined;
457
470
  channelSecret?: string | undefined;
458
471
  additionalCredentials?: any;
@@ -464,10 +477,12 @@ export declare const smsContract: {
464
477
  email?: string | null | undefined;
465
478
  clientId?: string | null | undefined;
466
479
  channelId?: string | null | undefined;
467
- status?: "active" | "pending" | undefined;
480
+ waapiInstanceId?: string | null | undefined;
481
+ qr?: string | null | undefined;
482
+ status?: "active" | "pending" | "waapi-qr" | undefined;
468
483
  apiKey?: string | undefined;
469
484
  tier?: "basic" | "regular" | "premium" | undefined;
470
- integrationType?: "meta" | "360dialog" | undefined;
485
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
471
486
  } | undefined;
472
487
  vonageCredentials?: {
473
488
  apiKey: string;
@@ -476,15 +491,16 @@ export declare const smsContract: {
476
491
  } | undefined;
477
492
  lineRichMenuId?: string | null | undefined;
478
493
  messengerIntegrationType?: "own" | "business" | undefined;
494
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
479
495
  };
480
496
  status: boolean;
481
497
  createdAt: Date;
482
498
  updatedAt: Date;
483
499
  deletedAt: Date | null;
484
500
  actor: {
501
+ name: string;
485
502
  id: string;
486
503
  address: string | null;
487
- name: string;
488
504
  email: string;
489
505
  createdAt: Date;
490
506
  updatedAt: Date;
@@ -531,19 +547,19 @@ export declare const smsContract: {
531
547
  connectedUserName: string;
532
548
  connectedUserId: string;
533
549
  botpressBot: {
534
- id: string;
535
550
  name: string;
551
+ id: string;
536
552
  accessToken: string;
537
553
  botId: string;
538
554
  integrationId: string;
539
555
  } | null;
540
556
  }, {
557
+ name: string;
541
558
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
542
559
  id: string;
543
- name: string;
544
560
  metadata: {
545
- id: string;
546
561
  name: string;
562
+ id: string;
547
563
  accessToken?: string | undefined;
548
564
  channelSecret?: string | undefined;
549
565
  additionalCredentials?: any;
@@ -555,10 +571,12 @@ export declare const smsContract: {
555
571
  email?: string | null | undefined;
556
572
  clientId?: string | null | undefined;
557
573
  channelId?: string | null | undefined;
558
- status?: "active" | "pending" | undefined;
574
+ waapiInstanceId?: string | null | undefined;
575
+ qr?: string | null | undefined;
576
+ status?: "active" | "pending" | "waapi-qr" | undefined;
559
577
  apiKey?: string | undefined;
560
578
  tier?: "basic" | "regular" | "premium" | undefined;
561
- integrationType?: "meta" | "360dialog" | undefined;
579
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
562
580
  } | undefined;
563
581
  vonageCredentials?: {
564
582
  apiKey: string;
@@ -567,15 +585,16 @@ export declare const smsContract: {
567
585
  } | undefined;
568
586
  lineRichMenuId?: string | null | undefined;
569
587
  messengerIntegrationType?: "own" | "business" | undefined;
588
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
570
589
  };
571
590
  status: boolean;
572
591
  createdAt: Date;
573
592
  updatedAt: Date;
574
593
  deletedAt: Date | null;
575
594
  actor: {
595
+ name: string;
576
596
  id: string;
577
597
  address: string | null;
578
- name: string;
579
598
  email: string;
580
599
  createdAt: Date;
581
600
  updatedAt: Date;
@@ -622,8 +641,8 @@ export declare const smsContract: {
622
641
  connectedUserName: string;
623
642
  connectedUserId: string;
624
643
  botpressBot: {
625
- id: string;
626
644
  name: string;
645
+ id: string;
627
646
  accessToken: string;
628
647
  botId: string;
629
648
  integrationId: string;
@@ -631,12 +650,12 @@ export declare const smsContract: {
631
650
  }>;
632
651
  }, "strip", z.ZodTypeAny, {
633
652
  channel: {
653
+ name: string;
634
654
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
635
655
  id: string;
636
- name: string;
637
656
  metadata: {
638
- id: string;
639
657
  name: string;
658
+ id: string;
640
659
  accessToken?: string | undefined;
641
660
  channelSecret?: string | undefined;
642
661
  additionalCredentials?: any;
@@ -648,10 +667,12 @@ export declare const smsContract: {
648
667
  email?: string | null | undefined;
649
668
  clientId?: string | null | undefined;
650
669
  channelId?: string | null | undefined;
651
- status?: "active" | "pending" | undefined;
670
+ waapiInstanceId?: string | null | undefined;
671
+ qr?: string | null | undefined;
672
+ status?: "active" | "pending" | "waapi-qr" | undefined;
652
673
  apiKey?: string | undefined;
653
674
  tier?: "basic" | "regular" | "premium" | undefined;
654
- integrationType?: "meta" | "360dialog" | undefined;
675
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
655
676
  } | undefined;
656
677
  vonageCredentials?: {
657
678
  apiKey: string;
@@ -660,15 +681,16 @@ export declare const smsContract: {
660
681
  } | undefined;
661
682
  lineRichMenuId?: string | null | undefined;
662
683
  messengerIntegrationType?: "own" | "business" | undefined;
684
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
663
685
  };
664
686
  status: boolean;
665
687
  createdAt: Date;
666
688
  updatedAt: Date;
667
689
  deletedAt: Date | null;
668
690
  actor: {
691
+ name: string;
669
692
  id: string;
670
693
  address: string | null;
671
- name: string;
672
694
  email: string;
673
695
  createdAt: Date;
674
696
  updatedAt: Date;
@@ -715,8 +737,8 @@ export declare const smsContract: {
715
737
  connectedUserName: string;
716
738
  connectedUserId: string;
717
739
  botpressBot: {
718
- id: string;
719
740
  name: string;
741
+ id: string;
720
742
  accessToken: string;
721
743
  botId: string;
722
744
  integrationId: string;
@@ -725,12 +747,12 @@ export declare const smsContract: {
725
747
  requestId: string;
726
748
  }, {
727
749
  channel: {
750
+ name: string;
728
751
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
729
752
  id: string;
730
- name: string;
731
753
  metadata: {
732
- id: string;
733
754
  name: string;
755
+ id: string;
734
756
  accessToken?: string | undefined;
735
757
  channelSecret?: string | undefined;
736
758
  additionalCredentials?: any;
@@ -742,10 +764,12 @@ export declare const smsContract: {
742
764
  email?: string | null | undefined;
743
765
  clientId?: string | null | undefined;
744
766
  channelId?: string | null | undefined;
745
- status?: "active" | "pending" | undefined;
767
+ waapiInstanceId?: string | null | undefined;
768
+ qr?: string | null | undefined;
769
+ status?: "active" | "pending" | "waapi-qr" | undefined;
746
770
  apiKey?: string | undefined;
747
771
  tier?: "basic" | "regular" | "premium" | undefined;
748
- integrationType?: "meta" | "360dialog" | undefined;
772
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
749
773
  } | undefined;
750
774
  vonageCredentials?: {
751
775
  apiKey: string;
@@ -754,15 +778,16 @@ export declare const smsContract: {
754
778
  } | undefined;
755
779
  lineRichMenuId?: string | null | undefined;
756
780
  messengerIntegrationType?: "own" | "business" | undefined;
781
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
757
782
  };
758
783
  status: boolean;
759
784
  createdAt: Date;
760
785
  updatedAt: Date;
761
786
  deletedAt: Date | null;
762
787
  actor: {
788
+ name: string;
763
789
  id: string;
764
790
  address: string | null;
765
- name: string;
766
791
  email: string;
767
792
  createdAt: Date;
768
793
  updatedAt: Date;
@@ -809,8 +834,8 @@ export declare const smsContract: {
809
834
  connectedUserName: string;
810
835
  connectedUserId: string;
811
836
  botpressBot: {
812
- id: string;
813
837
  name: string;
838
+ id: string;
814
839
  accessToken: string;
815
840
  botId: string;
816
841
  integrationId: string;
@@ -864,13 +889,13 @@ export declare const smsContract: {
864
889
  picture: z.ZodOptional<z.ZodString>;
865
890
  additionalCredentials: z.ZodAny;
866
891
  }, "strip", z.ZodTypeAny, {
867
- id: string;
868
892
  name: string;
893
+ id: string;
869
894
  picture?: string | undefined;
870
895
  additionalCredentials?: any;
871
896
  }, {
872
- id: string;
873
897
  name: string;
898
+ id: string;
874
899
  picture?: string | undefined;
875
900
  additionalCredentials?: any;
876
901
  }>;
@@ -882,16 +907,16 @@ export declare const smsContract: {
882
907
  contactProfile: z.ZodNullable<z.ZodString>;
883
908
  socialProfileUrl: z.ZodNullable<z.ZodString>;
884
909
  }, "strip", z.ZodTypeAny, {
910
+ name: string;
885
911
  channel: string | null;
886
912
  address: string | null;
887
- name: string;
888
913
  notes: string | null;
889
914
  contactProfile: string | null;
890
915
  socialProfileUrl: string | null;
891
916
  }, {
917
+ name: string;
892
918
  channel: string | null;
893
919
  address: string | null;
894
- name: string;
895
920
  notes: string | null;
896
921
  contactProfile: string | null;
897
922
  socialProfileUrl: string | null;
@@ -900,15 +925,15 @@ export declare const smsContract: {
900
925
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
901
926
  id: string;
902
927
  metadata: {
903
- id: string;
904
928
  name: string;
929
+ id: string;
905
930
  picture?: string | undefined;
906
931
  additionalCredentials?: any;
907
932
  };
908
933
  contact: {
934
+ name: string;
909
935
  channel: string | null;
910
936
  address: string | null;
911
- name: string;
912
937
  notes: string | null;
913
938
  contactProfile: string | null;
914
939
  socialProfileUrl: string | null;
@@ -919,15 +944,15 @@ export declare const smsContract: {
919
944
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
920
945
  id: string;
921
946
  metadata: {
922
- id: string;
923
947
  name: string;
948
+ id: string;
924
949
  picture?: string | undefined;
925
950
  additionalCredentials?: any;
926
951
  };
927
952
  contact: {
953
+ name: string;
928
954
  channel: string | null;
929
955
  address: string | null;
930
- name: string;
931
956
  notes: string | null;
932
957
  contactProfile: string | null;
933
958
  socialProfileUrl: string | null;
@@ -942,15 +967,15 @@ export declare const smsContract: {
942
967
  address: z.ZodNullable<z.ZodString>;
943
968
  phone: z.ZodNullable<z.ZodString>;
944
969
  }, "strip", z.ZodTypeAny, {
970
+ name: string;
945
971
  id: string;
946
972
  address: string | null;
947
- name: string;
948
973
  email: string;
949
974
  phone: string | null;
950
975
  }, {
976
+ name: string;
951
977
  id: string;
952
978
  address: string | null;
953
- name: string;
954
979
  email: string;
955
980
  phone: string | null;
956
981
  }>>;
@@ -959,12 +984,12 @@ export declare const smsContract: {
959
984
  name: z.ZodString;
960
985
  email: z.ZodString;
961
986
  }, "strip", z.ZodTypeAny, {
962
- id: string;
963
987
  name: string;
988
+ id: string;
964
989
  email: string;
965
990
  }, {
966
- id: string;
967
991
  name: string;
992
+ id: string;
968
993
  email: string;
969
994
  }>>;
970
995
  channel: z.ZodObject<{
@@ -985,10 +1010,12 @@ export declare const smsContract: {
985
1010
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
986
1011
  clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
987
1012
  channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
988
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1013
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1014
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1015
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
989
1016
  apiKey: z.ZodOptional<z.ZodString>;
990
1017
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
991
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1018
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
992
1019
  }, "strip", z.ZodTypeAny, {
993
1020
  wabaBusinessId?: string | null | undefined;
994
1021
  wabaExternalId?: string | null | undefined;
@@ -996,10 +1023,12 @@ export declare const smsContract: {
996
1023
  email?: string | null | undefined;
997
1024
  clientId?: string | null | undefined;
998
1025
  channelId?: string | null | undefined;
999
- status?: "active" | "pending" | undefined;
1026
+ waapiInstanceId?: string | null | undefined;
1027
+ qr?: string | null | undefined;
1028
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1000
1029
  apiKey?: string | undefined;
1001
1030
  tier?: "basic" | "regular" | "premium" | undefined;
1002
- integrationType?: "meta" | "360dialog" | undefined;
1031
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1003
1032
  }, {
1004
1033
  wabaBusinessId?: string | null | undefined;
1005
1034
  wabaExternalId?: string | null | undefined;
@@ -1007,10 +1036,12 @@ export declare const smsContract: {
1007
1036
  email?: string | null | undefined;
1008
1037
  clientId?: string | null | undefined;
1009
1038
  channelId?: string | null | undefined;
1010
- status?: "active" | "pending" | undefined;
1039
+ waapiInstanceId?: string | null | undefined;
1040
+ qr?: string | null | undefined;
1041
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1011
1042
  apiKey?: string | undefined;
1012
1043
  tier?: "basic" | "regular" | "premium" | undefined;
1013
- integrationType?: "meta" | "360dialog" | undefined;
1044
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1014
1045
  }>>;
1015
1046
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1016
1047
  mobileNumber: z.ZodString;
@@ -1027,9 +1058,10 @@ export declare const smsContract: {
1027
1058
  }>>;
1028
1059
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1029
1060
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1061
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1030
1062
  }, "strip", z.ZodTypeAny, {
1031
- id: string;
1032
1063
  name: string;
1064
+ id: string;
1033
1065
  accessToken?: string | undefined;
1034
1066
  channelSecret?: string | undefined;
1035
1067
  additionalCredentials?: any;
@@ -1041,10 +1073,12 @@ export declare const smsContract: {
1041
1073
  email?: string | null | undefined;
1042
1074
  clientId?: string | null | undefined;
1043
1075
  channelId?: string | null | undefined;
1044
- status?: "active" | "pending" | undefined;
1076
+ waapiInstanceId?: string | null | undefined;
1077
+ qr?: string | null | undefined;
1078
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1045
1079
  apiKey?: string | undefined;
1046
1080
  tier?: "basic" | "regular" | "premium" | undefined;
1047
- integrationType?: "meta" | "360dialog" | undefined;
1081
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1048
1082
  } | undefined;
1049
1083
  vonageCredentials?: {
1050
1084
  apiKey: string;
@@ -1053,9 +1087,10 @@ export declare const smsContract: {
1053
1087
  } | undefined;
1054
1088
  lineRichMenuId?: string | null | undefined;
1055
1089
  messengerIntegrationType?: "own" | "business" | undefined;
1090
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1056
1091
  }, {
1057
- id: string;
1058
1092
  name: string;
1093
+ id: string;
1059
1094
  accessToken?: string | undefined;
1060
1095
  channelSecret?: string | undefined;
1061
1096
  additionalCredentials?: any;
@@ -1067,10 +1102,12 @@ export declare const smsContract: {
1067
1102
  email?: string | null | undefined;
1068
1103
  clientId?: string | null | undefined;
1069
1104
  channelId?: string | null | undefined;
1070
- status?: "active" | "pending" | undefined;
1105
+ waapiInstanceId?: string | null | undefined;
1106
+ qr?: string | null | undefined;
1107
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1071
1108
  apiKey?: string | undefined;
1072
1109
  tier?: "basic" | "regular" | "premium" | undefined;
1073
- integrationType?: "meta" | "360dialog" | undefined;
1110
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1074
1111
  } | undefined;
1075
1112
  vonageCredentials?: {
1076
1113
  apiKey: string;
@@ -1079,6 +1116,7 @@ export declare const smsContract: {
1079
1116
  } | undefined;
1080
1117
  lineRichMenuId?: string | null | undefined;
1081
1118
  messengerIntegrationType?: "own" | "business" | undefined;
1119
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1082
1120
  }>;
1083
1121
  platformId: z.ZodString;
1084
1122
  brandName: z.ZodString;
@@ -1093,25 +1131,25 @@ export declare const smsContract: {
1093
1131
  address: z.ZodNullable<z.ZodString>;
1094
1132
  phone: z.ZodNullable<z.ZodString>;
1095
1133
  }, "strip", z.ZodTypeAny, {
1134
+ name: string;
1096
1135
  id: string;
1097
1136
  address: string | null;
1098
- name: string;
1099
1137
  email: string;
1100
1138
  phone: string | null;
1101
1139
  }, {
1140
+ name: string;
1102
1141
  id: string;
1103
1142
  address: string | null;
1104
- name: string;
1105
1143
  email: string;
1106
1144
  phone: string | null;
1107
1145
  }>>;
1108
1146
  }, "strip", z.ZodTypeAny, {
1147
+ name: string;
1109
1148
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1110
1149
  id: string;
1111
- name: string;
1112
1150
  metadata: {
1113
- id: string;
1114
1151
  name: string;
1152
+ id: string;
1115
1153
  accessToken?: string | undefined;
1116
1154
  channelSecret?: string | undefined;
1117
1155
  additionalCredentials?: any;
@@ -1123,10 +1161,12 @@ export declare const smsContract: {
1123
1161
  email?: string | null | undefined;
1124
1162
  clientId?: string | null | undefined;
1125
1163
  channelId?: string | null | undefined;
1126
- status?: "active" | "pending" | undefined;
1164
+ waapiInstanceId?: string | null | undefined;
1165
+ qr?: string | null | undefined;
1166
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1127
1167
  apiKey?: string | undefined;
1128
1168
  tier?: "basic" | "regular" | "premium" | undefined;
1129
- integrationType?: "meta" | "360dialog" | undefined;
1169
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1130
1170
  } | undefined;
1131
1171
  vonageCredentials?: {
1132
1172
  apiKey: string;
@@ -1135,6 +1175,7 @@ export declare const smsContract: {
1135
1175
  } | undefined;
1136
1176
  lineRichMenuId?: string | null | undefined;
1137
1177
  messengerIntegrationType?: "own" | "business" | undefined;
1178
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1138
1179
  };
1139
1180
  status: boolean;
1140
1181
  brandName: string;
@@ -1143,19 +1184,19 @@ export declare const smsContract: {
1143
1184
  connectedUserId?: string | null | undefined;
1144
1185
  lineRichMenuId?: string | null | undefined;
1145
1186
  actor?: {
1187
+ name: string;
1146
1188
  id: string;
1147
1189
  address: string | null;
1148
- name: string;
1149
1190
  email: string;
1150
1191
  phone: string | null;
1151
1192
  } | undefined;
1152
1193
  }, {
1194
+ name: string;
1153
1195
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1154
1196
  id: string;
1155
- name: string;
1156
1197
  metadata: {
1157
- id: string;
1158
1198
  name: string;
1199
+ id: string;
1159
1200
  accessToken?: string | undefined;
1160
1201
  channelSecret?: string | undefined;
1161
1202
  additionalCredentials?: any;
@@ -1167,10 +1208,12 @@ export declare const smsContract: {
1167
1208
  email?: string | null | undefined;
1168
1209
  clientId?: string | null | undefined;
1169
1210
  channelId?: string | null | undefined;
1170
- status?: "active" | "pending" | undefined;
1211
+ waapiInstanceId?: string | null | undefined;
1212
+ qr?: string | null | undefined;
1213
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1171
1214
  apiKey?: string | undefined;
1172
1215
  tier?: "basic" | "regular" | "premium" | undefined;
1173
- integrationType?: "meta" | "360dialog" | undefined;
1216
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1174
1217
  } | undefined;
1175
1218
  vonageCredentials?: {
1176
1219
  apiKey: string;
@@ -1179,6 +1222,7 @@ export declare const smsContract: {
1179
1222
  } | undefined;
1180
1223
  lineRichMenuId?: string | null | undefined;
1181
1224
  messengerIntegrationType?: "own" | "business" | undefined;
1225
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1182
1226
  };
1183
1227
  status: boolean;
1184
1228
  brandName: string;
@@ -1187,9 +1231,9 @@ export declare const smsContract: {
1187
1231
  connectedUserId?: string | null | undefined;
1188
1232
  lineRichMenuId?: string | null | undefined;
1189
1233
  actor?: {
1234
+ name: string;
1190
1235
  id: string;
1191
1236
  address: string | null;
1192
- name: string;
1193
1237
  email: string;
1194
1238
  phone: string | null;
1195
1239
  } | undefined;
@@ -1199,12 +1243,12 @@ export declare const smsContract: {
1199
1243
  }, "strip", z.ZodTypeAny, {
1200
1244
  id: string;
1201
1245
  channel: {
1246
+ name: string;
1202
1247
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1203
1248
  id: string;
1204
- name: string;
1205
1249
  metadata: {
1206
- id: string;
1207
1250
  name: string;
1251
+ id: string;
1208
1252
  accessToken?: string | undefined;
1209
1253
  channelSecret?: string | undefined;
1210
1254
  additionalCredentials?: any;
@@ -1216,10 +1260,12 @@ export declare const smsContract: {
1216
1260
  email?: string | null | undefined;
1217
1261
  clientId?: string | null | undefined;
1218
1262
  channelId?: string | null | undefined;
1219
- status?: "active" | "pending" | undefined;
1263
+ waapiInstanceId?: string | null | undefined;
1264
+ qr?: string | null | undefined;
1265
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1220
1266
  apiKey?: string | undefined;
1221
1267
  tier?: "basic" | "regular" | "premium" | undefined;
1222
- integrationType?: "meta" | "360dialog" | undefined;
1268
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1223
1269
  } | undefined;
1224
1270
  vonageCredentials?: {
1225
1271
  apiKey: string;
@@ -1228,6 +1274,7 @@ export declare const smsContract: {
1228
1274
  } | undefined;
1229
1275
  lineRichMenuId?: string | null | undefined;
1230
1276
  messengerIntegrationType?: "own" | "business" | undefined;
1277
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1231
1278
  };
1232
1279
  status: boolean;
1233
1280
  brandName: string;
@@ -1236,9 +1283,9 @@ export declare const smsContract: {
1236
1283
  connectedUserId?: string | null | undefined;
1237
1284
  lineRichMenuId?: string | null | undefined;
1238
1285
  actor?: {
1286
+ name: string;
1239
1287
  id: string;
1240
1288
  address: string | null;
1241
- name: string;
1242
1289
  email: string;
1243
1290
  phone: string | null;
1244
1291
  } | undefined;
@@ -1247,9 +1294,9 @@ export declare const smsContract: {
1247
1294
  createdAt: string;
1248
1295
  updatedAt: string;
1249
1296
  actor: {
1297
+ name: string;
1250
1298
  id: string;
1251
1299
  address: string | null;
1252
- name: string;
1253
1300
  email: string;
1254
1301
  phone: string | null;
1255
1302
  } | null;
@@ -1258,15 +1305,15 @@ export declare const smsContract: {
1258
1305
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1259
1306
  id: string;
1260
1307
  metadata: {
1261
- id: string;
1262
1308
  name: string;
1309
+ id: string;
1263
1310
  picture?: string | undefined;
1264
1311
  additionalCredentials?: any;
1265
1312
  };
1266
1313
  contact: {
1314
+ name: string;
1267
1315
  channel: string | null;
1268
1316
  address: string | null;
1269
- name: string;
1270
1317
  notes: string | null;
1271
1318
  contactProfile: string | null;
1272
1319
  socialProfileUrl: string | null;
@@ -1275,8 +1322,8 @@ export declare const smsContract: {
1275
1322
  socialPlatformId: string | null;
1276
1323
  };
1277
1324
  assignee: {
1278
- id: string;
1279
1325
  name: string;
1326
+ id: string;
1280
1327
  email: string;
1281
1328
  } | null;
1282
1329
  lastMessage?: string | undefined;
@@ -1287,12 +1334,12 @@ export declare const smsContract: {
1287
1334
  }, {
1288
1335
  id: string;
1289
1336
  channel: {
1337
+ name: string;
1290
1338
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1291
1339
  id: string;
1292
- name: string;
1293
1340
  metadata: {
1294
- id: string;
1295
1341
  name: string;
1342
+ id: string;
1296
1343
  accessToken?: string | undefined;
1297
1344
  channelSecret?: string | undefined;
1298
1345
  additionalCredentials?: any;
@@ -1304,10 +1351,12 @@ export declare const smsContract: {
1304
1351
  email?: string | null | undefined;
1305
1352
  clientId?: string | null | undefined;
1306
1353
  channelId?: string | null | undefined;
1307
- status?: "active" | "pending" | undefined;
1354
+ waapiInstanceId?: string | null | undefined;
1355
+ qr?: string | null | undefined;
1356
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1308
1357
  apiKey?: string | undefined;
1309
1358
  tier?: "basic" | "regular" | "premium" | undefined;
1310
- integrationType?: "meta" | "360dialog" | undefined;
1359
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1311
1360
  } | undefined;
1312
1361
  vonageCredentials?: {
1313
1362
  apiKey: string;
@@ -1316,6 +1365,7 @@ export declare const smsContract: {
1316
1365
  } | undefined;
1317
1366
  lineRichMenuId?: string | null | undefined;
1318
1367
  messengerIntegrationType?: "own" | "business" | undefined;
1368
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1319
1369
  };
1320
1370
  status: boolean;
1321
1371
  brandName: string;
@@ -1324,9 +1374,9 @@ export declare const smsContract: {
1324
1374
  connectedUserId?: string | null | undefined;
1325
1375
  lineRichMenuId?: string | null | undefined;
1326
1376
  actor?: {
1377
+ name: string;
1327
1378
  id: string;
1328
1379
  address: string | null;
1329
- name: string;
1330
1380
  email: string;
1331
1381
  phone: string | null;
1332
1382
  } | undefined;
@@ -1335,9 +1385,9 @@ export declare const smsContract: {
1335
1385
  createdAt: string;
1336
1386
  updatedAt: string;
1337
1387
  actor: {
1388
+ name: string;
1338
1389
  id: string;
1339
1390
  address: string | null;
1340
- name: string;
1341
1391
  email: string;
1342
1392
  phone: string | null;
1343
1393
  } | null;
@@ -1346,15 +1396,15 @@ export declare const smsContract: {
1346
1396
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1347
1397
  id: string;
1348
1398
  metadata: {
1349
- id: string;
1350
1399
  name: string;
1400
+ id: string;
1351
1401
  picture?: string | undefined;
1352
1402
  additionalCredentials?: any;
1353
1403
  };
1354
1404
  contact: {
1405
+ name: string;
1355
1406
  channel: string | null;
1356
1407
  address: string | null;
1357
- name: string;
1358
1408
  notes: string | null;
1359
1409
  contactProfile: string | null;
1360
1410
  socialProfileUrl: string | null;
@@ -1363,8 +1413,8 @@ export declare const smsContract: {
1363
1413
  socialPlatformId: string | null;
1364
1414
  };
1365
1415
  assignee: {
1366
- id: string;
1367
1416
  name: string;
1417
+ id: string;
1368
1418
  email: string;
1369
1419
  } | null;
1370
1420
  lastMessage?: string | undefined;
@@ -1377,7 +1427,7 @@ export declare const smsContract: {
1377
1427
  id: z.ZodOptional<z.ZodString>;
1378
1428
  message: z.ZodOptional<z.ZodString>;
1379
1429
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1380
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1430
+ 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1381
1431
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1382
1432
  metadata: z.ZodOptional<z.ZodAny>;
1383
1433
  platformId: z.ZodOptional<z.ZodString>;
@@ -1414,15 +1464,15 @@ export declare const smsContract: {
1414
1464
  address: z.ZodNullable<z.ZodString>;
1415
1465
  phone: z.ZodNullable<z.ZodString>;
1416
1466
  }, "strip", z.ZodTypeAny, {
1467
+ name: string;
1417
1468
  id: string;
1418
1469
  address: string | null;
1419
- name: string;
1420
1470
  email: string;
1421
1471
  phone: string | null;
1422
1472
  }, {
1473
+ name: string;
1423
1474
  id: string;
1424
1475
  address: string | null;
1425
- name: string;
1426
1476
  email: string;
1427
1477
  phone: string | null;
1428
1478
  }>>;
@@ -1433,7 +1483,7 @@ export declare const smsContract: {
1433
1483
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1434
1484
  label: z.ZodOptional<z.ZodString>;
1435
1485
  }, "strip", z.ZodTypeAny, {
1436
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1486
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1437
1487
  direction: "incoming" | "outgoing" | "system";
1438
1488
  id?: string | undefined;
1439
1489
  message?: string | undefined;
@@ -1455,9 +1505,9 @@ export declare const smsContract: {
1455
1505
  originalUrl?: string | undefined;
1456
1506
  } | undefined;
1457
1507
  sender?: {
1508
+ name: string;
1458
1509
  id: string;
1459
1510
  address: string | null;
1460
- name: string;
1461
1511
  email: string;
1462
1512
  phone: string | null;
1463
1513
  } | undefined;
@@ -1468,7 +1518,7 @@ export declare const smsContract: {
1468
1518
  editedAt?: string | Date | null | undefined;
1469
1519
  label?: string | undefined;
1470
1520
  }, {
1471
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1521
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1472
1522
  direction: "incoming" | "outgoing" | "system";
1473
1523
  id?: string | undefined;
1474
1524
  message?: string | undefined;
@@ -1490,9 +1540,9 @@ export declare const smsContract: {
1490
1540
  originalUrl?: string | undefined;
1491
1541
  } | undefined;
1492
1542
  sender?: {
1543
+ name: string;
1493
1544
  id: string;
1494
1545
  address: string | null;
1495
- name: string;
1496
1546
  email: string;
1497
1547
  phone: string | null;
1498
1548
  } | undefined;
@@ -1505,7 +1555,7 @@ export declare const smsContract: {
1505
1555
  }>;
1506
1556
  }, "strip", z.ZodTypeAny, {
1507
1557
  message: {
1508
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1558
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1509
1559
  direction: "incoming" | "outgoing" | "system";
1510
1560
  id?: string | undefined;
1511
1561
  message?: string | undefined;
@@ -1527,9 +1577,9 @@ export declare const smsContract: {
1527
1577
  originalUrl?: string | undefined;
1528
1578
  } | undefined;
1529
1579
  sender?: {
1580
+ name: string;
1530
1581
  id: string;
1531
1582
  address: string | null;
1532
- name: string;
1533
1583
  email: string;
1534
1584
  phone: string | null;
1535
1585
  } | undefined;
@@ -1543,12 +1593,12 @@ export declare const smsContract: {
1543
1593
  room: {
1544
1594
  id: string;
1545
1595
  channel: {
1596
+ name: string;
1546
1597
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1547
1598
  id: string;
1548
- name: string;
1549
1599
  metadata: {
1550
- id: string;
1551
1600
  name: string;
1601
+ id: string;
1552
1602
  accessToken?: string | undefined;
1553
1603
  channelSecret?: string | undefined;
1554
1604
  additionalCredentials?: any;
@@ -1560,10 +1610,12 @@ export declare const smsContract: {
1560
1610
  email?: string | null | undefined;
1561
1611
  clientId?: string | null | undefined;
1562
1612
  channelId?: string | null | undefined;
1563
- status?: "active" | "pending" | undefined;
1613
+ waapiInstanceId?: string | null | undefined;
1614
+ qr?: string | null | undefined;
1615
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1564
1616
  apiKey?: string | undefined;
1565
1617
  tier?: "basic" | "regular" | "premium" | undefined;
1566
- integrationType?: "meta" | "360dialog" | undefined;
1618
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1567
1619
  } | undefined;
1568
1620
  vonageCredentials?: {
1569
1621
  apiKey: string;
@@ -1572,6 +1624,7 @@ export declare const smsContract: {
1572
1624
  } | undefined;
1573
1625
  lineRichMenuId?: string | null | undefined;
1574
1626
  messengerIntegrationType?: "own" | "business" | undefined;
1627
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1575
1628
  };
1576
1629
  status: boolean;
1577
1630
  brandName: string;
@@ -1580,9 +1633,9 @@ export declare const smsContract: {
1580
1633
  connectedUserId?: string | null | undefined;
1581
1634
  lineRichMenuId?: string | null | undefined;
1582
1635
  actor?: {
1636
+ name: string;
1583
1637
  id: string;
1584
1638
  address: string | null;
1585
- name: string;
1586
1639
  email: string;
1587
1640
  phone: string | null;
1588
1641
  } | undefined;
@@ -1591,9 +1644,9 @@ export declare const smsContract: {
1591
1644
  createdAt: string;
1592
1645
  updatedAt: string;
1593
1646
  actor: {
1647
+ name: string;
1594
1648
  id: string;
1595
1649
  address: string | null;
1596
- name: string;
1597
1650
  email: string;
1598
1651
  phone: string | null;
1599
1652
  } | null;
@@ -1602,15 +1655,15 @@ export declare const smsContract: {
1602
1655
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1603
1656
  id: string;
1604
1657
  metadata: {
1605
- id: string;
1606
1658
  name: string;
1659
+ id: string;
1607
1660
  picture?: string | undefined;
1608
1661
  additionalCredentials?: any;
1609
1662
  };
1610
1663
  contact: {
1664
+ name: string;
1611
1665
  channel: string | null;
1612
1666
  address: string | null;
1613
- name: string;
1614
1667
  notes: string | null;
1615
1668
  contactProfile: string | null;
1616
1669
  socialProfileUrl: string | null;
@@ -1619,8 +1672,8 @@ export declare const smsContract: {
1619
1672
  socialPlatformId: string | null;
1620
1673
  };
1621
1674
  assignee: {
1622
- id: string;
1623
1675
  name: string;
1676
+ id: string;
1624
1677
  email: string;
1625
1678
  } | null;
1626
1679
  lastMessage?: string | undefined;
@@ -1632,7 +1685,7 @@ export declare const smsContract: {
1632
1685
  isBot: boolean | null;
1633
1686
  }, {
1634
1687
  message: {
1635
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1688
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1636
1689
  direction: "incoming" | "outgoing" | "system";
1637
1690
  id?: string | undefined;
1638
1691
  message?: string | undefined;
@@ -1654,9 +1707,9 @@ export declare const smsContract: {
1654
1707
  originalUrl?: string | undefined;
1655
1708
  } | undefined;
1656
1709
  sender?: {
1710
+ name: string;
1657
1711
  id: string;
1658
1712
  address: string | null;
1659
- name: string;
1660
1713
  email: string;
1661
1714
  phone: string | null;
1662
1715
  } | undefined;
@@ -1670,12 +1723,12 @@ export declare const smsContract: {
1670
1723
  room: {
1671
1724
  id: string;
1672
1725
  channel: {
1726
+ name: string;
1673
1727
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1674
1728
  id: string;
1675
- name: string;
1676
1729
  metadata: {
1677
- id: string;
1678
1730
  name: string;
1731
+ id: string;
1679
1732
  accessToken?: string | undefined;
1680
1733
  channelSecret?: string | undefined;
1681
1734
  additionalCredentials?: any;
@@ -1687,10 +1740,12 @@ export declare const smsContract: {
1687
1740
  email?: string | null | undefined;
1688
1741
  clientId?: string | null | undefined;
1689
1742
  channelId?: string | null | undefined;
1690
- status?: "active" | "pending" | undefined;
1743
+ waapiInstanceId?: string | null | undefined;
1744
+ qr?: string | null | undefined;
1745
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1691
1746
  apiKey?: string | undefined;
1692
1747
  tier?: "basic" | "regular" | "premium" | undefined;
1693
- integrationType?: "meta" | "360dialog" | undefined;
1748
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1694
1749
  } | undefined;
1695
1750
  vonageCredentials?: {
1696
1751
  apiKey: string;
@@ -1699,6 +1754,7 @@ export declare const smsContract: {
1699
1754
  } | undefined;
1700
1755
  lineRichMenuId?: string | null | undefined;
1701
1756
  messengerIntegrationType?: "own" | "business" | undefined;
1757
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1702
1758
  };
1703
1759
  status: boolean;
1704
1760
  brandName: string;
@@ -1707,9 +1763,9 @@ export declare const smsContract: {
1707
1763
  connectedUserId?: string | null | undefined;
1708
1764
  lineRichMenuId?: string | null | undefined;
1709
1765
  actor?: {
1766
+ name: string;
1710
1767
  id: string;
1711
1768
  address: string | null;
1712
- name: string;
1713
1769
  email: string;
1714
1770
  phone: string | null;
1715
1771
  } | undefined;
@@ -1718,9 +1774,9 @@ export declare const smsContract: {
1718
1774
  createdAt: string;
1719
1775
  updatedAt: string;
1720
1776
  actor: {
1777
+ name: string;
1721
1778
  id: string;
1722
1779
  address: string | null;
1723
- name: string;
1724
1780
  email: string;
1725
1781
  phone: string | null;
1726
1782
  } | null;
@@ -1729,15 +1785,15 @@ export declare const smsContract: {
1729
1785
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1730
1786
  id: string;
1731
1787
  metadata: {
1732
- id: string;
1733
1788
  name: string;
1789
+ id: string;
1734
1790
  picture?: string | undefined;
1735
1791
  additionalCredentials?: any;
1736
1792
  };
1737
1793
  contact: {
1794
+ name: string;
1738
1795
  channel: string | null;
1739
1796
  address: string | null;
1740
- name: string;
1741
1797
  notes: string | null;
1742
1798
  contactProfile: string | null;
1743
1799
  socialProfileUrl: string | null;
@@ -1746,8 +1802,8 @@ export declare const smsContract: {
1746
1802
  socialPlatformId: string | null;
1747
1803
  };
1748
1804
  assignee: {
1749
- id: string;
1750
1805
  name: string;
1806
+ id: string;
1751
1807
  email: string;
1752
1808
  } | null;
1753
1809
  lastMessage?: string | undefined;