@kl1/contracts 1.2.46-uat → 1.2.48-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1985 -1268
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +123 -93
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +140 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3403 -2580
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +861 -662
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1109 -818
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +75766 -60354
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/index.d.ts +291 -139
  21. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/schema.d.ts +198 -117
  23. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +73 -95
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +10 -53
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  31. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/facebook-feed/index.d.ts +1462 -1060
  33. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/schema.d.ts +104 -77
  35. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/validation.d.ts +81 -60
  37. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/index.d.ts +5 -0
  39. package/dist/api-contracts/src/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/instagram/index.d.ts +1151 -836
  41. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/line/index.d.ts +1036 -757
  43. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/validation.d.ts +115 -82
  45. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  46. package/dist/api-contracts/src/mail/mail-contract.d.ts +13 -13
  47. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  48. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -7
  49. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  50. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -5
  51. package/dist/api-contracts/src/messenger/index.d.ts +1151 -836
  52. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/messenger/validation.d.ts +81 -60
  54. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  56. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  57. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  58. package/dist/api-contracts/src/sms/index.d.ts +3133 -146
  59. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  61. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  63. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  64. package/dist/api-contracts/src/subscription/index.d.ts +20 -1
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  66. package/dist/api-contracts/src/subscription/validation.d.ts +10 -0
  67. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  68. package/dist/api-contracts/src/telegram/index.d.ts +851 -626
  69. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +34 -89
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +10 -27
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  74. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  77. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  78. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  79. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  80. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -10
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/viber/index.d.ts +851 -626
  85. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/webchat/index.d.ts +851 -626
  87. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/whatsapp/index.d.ts +1155 -725
  89. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  91. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts +8659 -373
  93. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  94. package/dist/entities/src/enums/chat.d.ts +1 -0
  95. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  96. package/dist/index.js +4853 -4291
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.mjs +4842 -4285
  99. package/dist/index.mjs.map +1 -1
  100. package/package.json +7 -3
@@ -119,35 +119,44 @@ export declare const lineContract: {
119
119
  additionalCredentials: z.ZodOptional<z.ZodAny>;
120
120
  senderId: z.ZodOptional<z.ZodString>;
121
121
  whatsapp: z.ZodOptional<z.ZodObject<{
122
- wabaBusinessId: z.ZodOptional<z.ZodString>;
123
- wabaExternalId: z.ZodString;
124
- phoneNumberId: z.ZodString;
125
- email: z.ZodString;
126
- clientId: z.ZodOptional<z.ZodString>;
127
- channelId: z.ZodOptional<z.ZodString>;
128
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
122
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
128
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
129
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
130
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
129
131
  apiKey: z.ZodOptional<z.ZodString>;
130
132
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
133
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
131
134
  }, "strip", z.ZodTypeAny, {
132
- email: string;
133
- wabaExternalId: string;
134
- phoneNumberId: string;
135
- wabaBusinessId?: string | undefined;
136
- clientId?: string | undefined;
137
- channelId?: string | undefined;
138
- status?: "active" | "pending" | undefined;
135
+ wabaBusinessId?: string | null | undefined;
136
+ wabaExternalId?: string | null | undefined;
137
+ phoneNumberId?: string | null | undefined;
138
+ email?: string | null | undefined;
139
+ clientId?: string | null | undefined;
140
+ channelId?: string | null | undefined;
141
+ waapiInstanceId?: string | null | undefined;
142
+ qr?: string | null | undefined;
143
+ status?: "active" | "pending" | "waapi-qr" | undefined;
139
144
  apiKey?: string | undefined;
140
145
  tier?: "basic" | "regular" | "premium" | undefined;
146
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
141
147
  }, {
142
- email: string;
143
- wabaExternalId: string;
144
- phoneNumberId: string;
145
- wabaBusinessId?: string | undefined;
146
- clientId?: string | undefined;
147
- channelId?: string | undefined;
148
- status?: "active" | "pending" | undefined;
148
+ wabaBusinessId?: string | null | undefined;
149
+ wabaExternalId?: string | null | undefined;
150
+ phoneNumberId?: string | null | undefined;
151
+ email?: string | null | undefined;
152
+ clientId?: string | null | undefined;
153
+ channelId?: string | null | undefined;
154
+ waapiInstanceId?: string | null | undefined;
155
+ qr?: string | null | undefined;
156
+ status?: "active" | "pending" | "waapi-qr" | undefined;
149
157
  apiKey?: string | undefined;
150
158
  tier?: "basic" | "regular" | "premium" | undefined;
159
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
151
160
  }>>;
152
161
  vonageCredentials: z.ZodOptional<z.ZodObject<{
153
162
  mobileNumber: z.ZodString;
@@ -173,15 +182,18 @@ export declare const lineContract: {
173
182
  additionalCredentials?: any;
174
183
  senderId?: string | undefined;
175
184
  whatsapp?: {
176
- email: string;
177
- wabaExternalId: string;
178
- phoneNumberId: string;
179
- wabaBusinessId?: string | undefined;
180
- clientId?: string | undefined;
181
- channelId?: string | undefined;
182
- status?: "active" | "pending" | undefined;
185
+ wabaBusinessId?: string | null | undefined;
186
+ wabaExternalId?: string | null | undefined;
187
+ phoneNumberId?: string | null | undefined;
188
+ email?: string | null | undefined;
189
+ clientId?: string | null | undefined;
190
+ channelId?: string | null | undefined;
191
+ waapiInstanceId?: string | null | undefined;
192
+ qr?: string | null | undefined;
193
+ status?: "active" | "pending" | "waapi-qr" | undefined;
183
194
  apiKey?: string | undefined;
184
195
  tier?: "basic" | "regular" | "premium" | undefined;
196
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
185
197
  } | undefined;
186
198
  vonageCredentials?: {
187
199
  apiKey: string;
@@ -199,15 +211,18 @@ export declare const lineContract: {
199
211
  additionalCredentials?: any;
200
212
  senderId?: string | undefined;
201
213
  whatsapp?: {
202
- email: string;
203
- wabaExternalId: string;
204
- phoneNumberId: string;
205
- wabaBusinessId?: string | undefined;
206
- clientId?: string | undefined;
207
- channelId?: string | undefined;
208
- status?: "active" | "pending" | undefined;
214
+ wabaBusinessId?: string | null | undefined;
215
+ wabaExternalId?: string | null | undefined;
216
+ phoneNumberId?: string | null | undefined;
217
+ email?: string | null | undefined;
218
+ clientId?: string | null | undefined;
219
+ channelId?: string | null | undefined;
220
+ waapiInstanceId?: string | null | undefined;
221
+ qr?: string | null | undefined;
222
+ status?: "active" | "pending" | "waapi-qr" | undefined;
209
223
  apiKey?: string | undefined;
210
224
  tier?: "basic" | "regular" | "premium" | undefined;
225
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
211
226
  } | undefined;
212
227
  vonageCredentials?: {
213
228
  apiKey: string;
@@ -255,15 +270,18 @@ export declare const lineContract: {
255
270
  additionalCredentials?: any;
256
271
  senderId?: string | undefined;
257
272
  whatsapp?: {
258
- email: string;
259
- wabaExternalId: string;
260
- phoneNumberId: string;
261
- wabaBusinessId?: string | undefined;
262
- clientId?: string | undefined;
263
- channelId?: string | undefined;
264
- status?: "active" | "pending" | undefined;
273
+ wabaBusinessId?: string | null | undefined;
274
+ wabaExternalId?: string | null | undefined;
275
+ phoneNumberId?: string | null | undefined;
276
+ email?: string | null | undefined;
277
+ clientId?: string | null | undefined;
278
+ channelId?: string | null | undefined;
279
+ waapiInstanceId?: string | null | undefined;
280
+ qr?: string | null | undefined;
281
+ status?: "active" | "pending" | "waapi-qr" | undefined;
265
282
  apiKey?: string | undefined;
266
283
  tier?: "basic" | "regular" | "premium" | undefined;
284
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
267
285
  } | undefined;
268
286
  vonageCredentials?: {
269
287
  apiKey: string;
@@ -299,15 +317,18 @@ export declare const lineContract: {
299
317
  additionalCredentials?: any;
300
318
  senderId?: string | undefined;
301
319
  whatsapp?: {
302
- email: string;
303
- wabaExternalId: string;
304
- phoneNumberId: string;
305
- wabaBusinessId?: string | undefined;
306
- clientId?: string | undefined;
307
- channelId?: string | undefined;
308
- status?: "active" | "pending" | undefined;
320
+ wabaBusinessId?: string | null | undefined;
321
+ wabaExternalId?: string | null | undefined;
322
+ phoneNumberId?: string | null | undefined;
323
+ email?: string | null | undefined;
324
+ clientId?: string | null | undefined;
325
+ channelId?: string | null | undefined;
326
+ waapiInstanceId?: string | null | undefined;
327
+ qr?: string | null | undefined;
328
+ status?: "active" | "pending" | "waapi-qr" | undefined;
309
329
  apiKey?: string | undefined;
310
330
  tier?: "basic" | "regular" | "premium" | undefined;
331
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
311
332
  } | undefined;
312
333
  vonageCredentials?: {
313
334
  apiKey: string;
@@ -346,15 +367,18 @@ export declare const lineContract: {
346
367
  additionalCredentials?: any;
347
368
  senderId?: string | undefined;
348
369
  whatsapp?: {
349
- email: string;
350
- wabaExternalId: string;
351
- phoneNumberId: string;
352
- wabaBusinessId?: string | undefined;
353
- clientId?: string | undefined;
354
- channelId?: string | undefined;
355
- status?: "active" | "pending" | undefined;
370
+ wabaBusinessId?: string | null | undefined;
371
+ wabaExternalId?: string | null | undefined;
372
+ phoneNumberId?: string | null | undefined;
373
+ email?: string | null | undefined;
374
+ clientId?: string | null | undefined;
375
+ channelId?: string | null | undefined;
376
+ waapiInstanceId?: string | null | undefined;
377
+ qr?: string | null | undefined;
378
+ status?: "active" | "pending" | "waapi-qr" | undefined;
356
379
  apiKey?: string | undefined;
357
380
  tier?: "basic" | "regular" | "premium" | undefined;
381
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
358
382
  } | undefined;
359
383
  vonageCredentials?: {
360
384
  apiKey: string;
@@ -422,15 +446,18 @@ export declare const lineContract: {
422
446
  additionalCredentials?: any;
423
447
  senderId?: string | undefined;
424
448
  whatsapp?: {
425
- email: string;
426
- wabaExternalId: string;
427
- phoneNumberId: string;
428
- wabaBusinessId?: string | undefined;
429
- clientId?: string | undefined;
430
- channelId?: string | undefined;
431
- status?: "active" | "pending" | undefined;
449
+ wabaBusinessId?: string | null | undefined;
450
+ wabaExternalId?: string | null | undefined;
451
+ phoneNumberId?: string | null | undefined;
452
+ email?: string | null | undefined;
453
+ clientId?: string | null | undefined;
454
+ channelId?: string | null | undefined;
455
+ waapiInstanceId?: string | null | undefined;
456
+ qr?: string | null | undefined;
457
+ status?: "active" | "pending" | "waapi-qr" | undefined;
432
458
  apiKey?: string | undefined;
433
459
  tier?: "basic" | "regular" | "premium" | undefined;
460
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
434
461
  } | undefined;
435
462
  vonageCredentials?: {
436
463
  apiKey: string;
@@ -488,7 +515,7 @@ export declare const lineContract: {
488
515
  message: z.ZodObject<{
489
516
  message: z.ZodOptional<z.ZodString>;
490
517
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
491
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "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"]>;
518
+ 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"]>;
492
519
  readAt: z.ZodOptional<z.ZodDate>;
493
520
  metadata: z.ZodOptional<z.ZodAny>;
494
521
  platformId: z.ZodOptional<z.ZodString>;
@@ -532,7 +559,7 @@ export declare const lineContract: {
532
559
  phone: string | null;
533
560
  }>;
534
561
  }, "strip", z.ZodTypeAny, {
535
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
562
+ 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";
536
563
  direction: "incoming" | "outgoing" | "system";
537
564
  sender: {
538
565
  address: string | null;
@@ -558,7 +585,7 @@ export declare const lineContract: {
558
585
  fileSize: number;
559
586
  } | undefined;
560
587
  }, {
561
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
588
+ 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";
562
589
  direction: "incoming" | "outgoing" | "system";
563
590
  sender: {
564
591
  address: string | null;
@@ -586,7 +613,7 @@ export declare const lineContract: {
586
613
  }>;
587
614
  }, "strip", z.ZodTypeAny, {
588
615
  message: {
589
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
616
+ 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";
590
617
  direction: "incoming" | "outgoing" | "system";
591
618
  sender: {
592
619
  address: string | null;
@@ -626,15 +653,18 @@ export declare const lineContract: {
626
653
  additionalCredentials?: any;
627
654
  senderId?: string | undefined;
628
655
  whatsapp?: {
629
- email: string;
630
- wabaExternalId: string;
631
- phoneNumberId: string;
632
- wabaBusinessId?: string | undefined;
633
- clientId?: string | undefined;
634
- channelId?: string | undefined;
635
- status?: "active" | "pending" | undefined;
656
+ wabaBusinessId?: string | null | undefined;
657
+ wabaExternalId?: string | null | undefined;
658
+ phoneNumberId?: string | null | undefined;
659
+ email?: string | null | undefined;
660
+ clientId?: string | null | undefined;
661
+ channelId?: string | null | undefined;
662
+ waapiInstanceId?: string | null | undefined;
663
+ qr?: string | null | undefined;
664
+ status?: "active" | "pending" | "waapi-qr" | undefined;
636
665
  apiKey?: string | undefined;
637
666
  tier?: "basic" | "regular" | "premium" | undefined;
667
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
638
668
  } | undefined;
639
669
  vonageCredentials?: {
640
670
  apiKey: string;
@@ -693,7 +723,7 @@ export declare const lineContract: {
693
723
  stickerId: number;
694
724
  }, {
695
725
  message: {
696
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
726
+ 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";
697
727
  direction: "incoming" | "outgoing" | "system";
698
728
  sender: {
699
729
  address: string | null;
@@ -733,15 +763,18 @@ export declare const lineContract: {
733
763
  additionalCredentials?: any;
734
764
  senderId?: string | undefined;
735
765
  whatsapp?: {
736
- email: string;
737
- wabaExternalId: string;
738
- phoneNumberId: string;
739
- wabaBusinessId?: string | undefined;
740
- clientId?: string | undefined;
741
- channelId?: string | undefined;
742
- status?: "active" | "pending" | undefined;
766
+ wabaBusinessId?: string | null | undefined;
767
+ wabaExternalId?: string | null | undefined;
768
+ phoneNumberId?: string | null | undefined;
769
+ email?: string | null | undefined;
770
+ clientId?: string | null | undefined;
771
+ channelId?: string | null | undefined;
772
+ waapiInstanceId?: string | null | undefined;
773
+ qr?: string | null | undefined;
774
+ status?: "active" | "pending" | "waapi-qr" | undefined;
743
775
  apiKey?: string | undefined;
744
776
  tier?: "basic" | "regular" | "premium" | undefined;
777
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
745
778
  } | undefined;
746
779
  vonageCredentials?: {
747
780
  apiKey: string;
@@ -895,35 +928,44 @@ export declare const lineContract: {
895
928
  additionalCredentials: z.ZodOptional<z.ZodAny>;
896
929
  senderId: z.ZodOptional<z.ZodString>;
897
930
  whatsapp: z.ZodOptional<z.ZodObject<{
898
- wabaBusinessId: z.ZodOptional<z.ZodString>;
899
- wabaExternalId: z.ZodString;
900
- phoneNumberId: z.ZodString;
901
- email: z.ZodString;
902
- clientId: z.ZodOptional<z.ZodString>;
903
- channelId: z.ZodOptional<z.ZodString>;
904
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
931
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
932
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
933
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
934
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
935
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
936
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
937
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
938
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
939
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
905
940
  apiKey: z.ZodOptional<z.ZodString>;
906
941
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
942
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
907
943
  }, "strip", z.ZodTypeAny, {
908
- email: string;
909
- wabaExternalId: string;
910
- phoneNumberId: string;
911
- wabaBusinessId?: string | undefined;
912
- clientId?: string | undefined;
913
- channelId?: string | undefined;
914
- status?: "active" | "pending" | undefined;
944
+ wabaBusinessId?: string | null | undefined;
945
+ wabaExternalId?: string | null | undefined;
946
+ phoneNumberId?: string | null | undefined;
947
+ email?: string | null | undefined;
948
+ clientId?: string | null | undefined;
949
+ channelId?: string | null | undefined;
950
+ waapiInstanceId?: string | null | undefined;
951
+ qr?: string | null | undefined;
952
+ status?: "active" | "pending" | "waapi-qr" | undefined;
915
953
  apiKey?: string | undefined;
916
954
  tier?: "basic" | "regular" | "premium" | undefined;
955
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
917
956
  }, {
918
- email: string;
919
- wabaExternalId: string;
920
- phoneNumberId: string;
921
- wabaBusinessId?: string | undefined;
922
- clientId?: string | undefined;
923
- channelId?: string | undefined;
924
- status?: "active" | "pending" | undefined;
957
+ wabaBusinessId?: string | null | undefined;
958
+ wabaExternalId?: string | null | undefined;
959
+ phoneNumberId?: string | null | undefined;
960
+ email?: string | null | undefined;
961
+ clientId?: string | null | undefined;
962
+ channelId?: string | null | undefined;
963
+ waapiInstanceId?: string | null | undefined;
964
+ qr?: string | null | undefined;
965
+ status?: "active" | "pending" | "waapi-qr" | undefined;
925
966
  apiKey?: string | undefined;
926
967
  tier?: "basic" | "regular" | "premium" | undefined;
968
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
927
969
  }>>;
928
970
  vonageCredentials: z.ZodOptional<z.ZodObject<{
929
971
  mobileNumber: z.ZodString;
@@ -949,15 +991,18 @@ export declare const lineContract: {
949
991
  additionalCredentials?: any;
950
992
  senderId?: string | undefined;
951
993
  whatsapp?: {
952
- email: string;
953
- wabaExternalId: string;
954
- phoneNumberId: string;
955
- wabaBusinessId?: string | undefined;
956
- clientId?: string | undefined;
957
- channelId?: string | undefined;
958
- status?: "active" | "pending" | undefined;
994
+ wabaBusinessId?: string | null | undefined;
995
+ wabaExternalId?: string | null | undefined;
996
+ phoneNumberId?: string | null | undefined;
997
+ email?: string | null | undefined;
998
+ clientId?: string | null | undefined;
999
+ channelId?: string | null | undefined;
1000
+ waapiInstanceId?: string | null | undefined;
1001
+ qr?: string | null | undefined;
1002
+ status?: "active" | "pending" | "waapi-qr" | undefined;
959
1003
  apiKey?: string | undefined;
960
1004
  tier?: "basic" | "regular" | "premium" | undefined;
1005
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
961
1006
  } | undefined;
962
1007
  vonageCredentials?: {
963
1008
  apiKey: string;
@@ -975,15 +1020,18 @@ export declare const lineContract: {
975
1020
  additionalCredentials?: any;
976
1021
  senderId?: string | undefined;
977
1022
  whatsapp?: {
978
- email: string;
979
- wabaExternalId: string;
980
- phoneNumberId: string;
981
- wabaBusinessId?: string | undefined;
982
- clientId?: string | undefined;
983
- channelId?: string | undefined;
984
- status?: "active" | "pending" | undefined;
1023
+ wabaBusinessId?: string | null | undefined;
1024
+ wabaExternalId?: string | null | undefined;
1025
+ phoneNumberId?: string | null | undefined;
1026
+ email?: string | null | undefined;
1027
+ clientId?: string | null | undefined;
1028
+ channelId?: string | null | undefined;
1029
+ waapiInstanceId?: string | null | undefined;
1030
+ qr?: string | null | undefined;
1031
+ status?: "active" | "pending" | "waapi-qr" | undefined;
985
1032
  apiKey?: string | undefined;
986
1033
  tier?: "basic" | "regular" | "premium" | undefined;
1034
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
987
1035
  } | undefined;
988
1036
  vonageCredentials?: {
989
1037
  apiKey: string;
@@ -1031,15 +1079,18 @@ export declare const lineContract: {
1031
1079
  additionalCredentials?: any;
1032
1080
  senderId?: string | undefined;
1033
1081
  whatsapp?: {
1034
- email: string;
1035
- wabaExternalId: string;
1036
- phoneNumberId: string;
1037
- wabaBusinessId?: string | undefined;
1038
- clientId?: string | undefined;
1039
- channelId?: string | undefined;
1040
- status?: "active" | "pending" | undefined;
1082
+ wabaBusinessId?: string | null | undefined;
1083
+ wabaExternalId?: string | null | undefined;
1084
+ phoneNumberId?: string | null | undefined;
1085
+ email?: string | null | undefined;
1086
+ clientId?: string | null | undefined;
1087
+ channelId?: string | null | undefined;
1088
+ waapiInstanceId?: string | null | undefined;
1089
+ qr?: string | null | undefined;
1090
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1041
1091
  apiKey?: string | undefined;
1042
1092
  tier?: "basic" | "regular" | "premium" | undefined;
1093
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1043
1094
  } | undefined;
1044
1095
  vonageCredentials?: {
1045
1096
  apiKey: string;
@@ -1075,15 +1126,18 @@ export declare const lineContract: {
1075
1126
  additionalCredentials?: any;
1076
1127
  senderId?: string | undefined;
1077
1128
  whatsapp?: {
1078
- email: string;
1079
- wabaExternalId: string;
1080
- phoneNumberId: string;
1081
- wabaBusinessId?: string | undefined;
1082
- clientId?: string | undefined;
1083
- channelId?: string | undefined;
1084
- status?: "active" | "pending" | undefined;
1129
+ wabaBusinessId?: string | null | undefined;
1130
+ wabaExternalId?: string | null | undefined;
1131
+ phoneNumberId?: string | null | undefined;
1132
+ email?: string | null | undefined;
1133
+ clientId?: string | null | undefined;
1134
+ channelId?: string | null | undefined;
1135
+ waapiInstanceId?: string | null | undefined;
1136
+ qr?: string | null | undefined;
1137
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1085
1138
  apiKey?: string | undefined;
1086
1139
  tier?: "basic" | "regular" | "premium" | undefined;
1140
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1087
1141
  } | undefined;
1088
1142
  vonageCredentials?: {
1089
1143
  apiKey: string;
@@ -1121,15 +1175,18 @@ export declare const lineContract: {
1121
1175
  additionalCredentials?: any;
1122
1176
  senderId?: string | undefined;
1123
1177
  whatsapp?: {
1124
- email: string;
1125
- wabaExternalId: string;
1126
- phoneNumberId: string;
1127
- wabaBusinessId?: string | undefined;
1128
- clientId?: string | undefined;
1129
- channelId?: string | undefined;
1130
- status?: "active" | "pending" | undefined;
1178
+ wabaBusinessId?: string | null | undefined;
1179
+ wabaExternalId?: string | null | undefined;
1180
+ phoneNumberId?: string | null | undefined;
1181
+ email?: string | null | undefined;
1182
+ clientId?: string | null | undefined;
1183
+ channelId?: string | null | undefined;
1184
+ waapiInstanceId?: string | null | undefined;
1185
+ qr?: string | null | undefined;
1186
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1131
1187
  apiKey?: string | undefined;
1132
1188
  tier?: "basic" | "regular" | "premium" | undefined;
1189
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1133
1190
  } | undefined;
1134
1191
  vonageCredentials?: {
1135
1192
  apiKey: string;
@@ -1168,15 +1225,18 @@ export declare const lineContract: {
1168
1225
  additionalCredentials?: any;
1169
1226
  senderId?: string | undefined;
1170
1227
  whatsapp?: {
1171
- email: string;
1172
- wabaExternalId: string;
1173
- phoneNumberId: string;
1174
- wabaBusinessId?: string | undefined;
1175
- clientId?: string | undefined;
1176
- channelId?: string | undefined;
1177
- status?: "active" | "pending" | undefined;
1228
+ wabaBusinessId?: string | null | undefined;
1229
+ wabaExternalId?: string | null | undefined;
1230
+ phoneNumberId?: string | null | undefined;
1231
+ email?: string | null | undefined;
1232
+ clientId?: string | null | undefined;
1233
+ channelId?: string | null | undefined;
1234
+ waapiInstanceId?: string | null | undefined;
1235
+ qr?: string | null | undefined;
1236
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1178
1237
  apiKey?: string | undefined;
1179
1238
  tier?: "basic" | "regular" | "premium" | undefined;
1239
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1180
1240
  } | undefined;
1181
1241
  vonageCredentials?: {
1182
1242
  apiKey: string;
@@ -1364,35 +1424,44 @@ export declare const lineContract: {
1364
1424
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1365
1425
  senderId: z.ZodOptional<z.ZodString>;
1366
1426
  whatsapp: z.ZodOptional<z.ZodObject<{
1367
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1368
- wabaExternalId: z.ZodString;
1369
- phoneNumberId: z.ZodString;
1370
- email: z.ZodString;
1371
- clientId: z.ZodOptional<z.ZodString>;
1372
- channelId: z.ZodOptional<z.ZodString>;
1373
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1427
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1428
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1429
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1430
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1431
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1432
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1433
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1434
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1435
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1374
1436
  apiKey: z.ZodOptional<z.ZodString>;
1375
1437
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1438
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1376
1439
  }, "strip", z.ZodTypeAny, {
1377
- email: string;
1378
- wabaExternalId: string;
1379
- phoneNumberId: string;
1380
- wabaBusinessId?: string | undefined;
1381
- clientId?: string | undefined;
1382
- channelId?: string | undefined;
1383
- status?: "active" | "pending" | undefined;
1440
+ wabaBusinessId?: string | null | undefined;
1441
+ wabaExternalId?: string | null | undefined;
1442
+ phoneNumberId?: string | null | undefined;
1443
+ email?: string | null | undefined;
1444
+ clientId?: string | null | undefined;
1445
+ channelId?: string | null | undefined;
1446
+ waapiInstanceId?: string | null | undefined;
1447
+ qr?: string | null | undefined;
1448
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1384
1449
  apiKey?: string | undefined;
1385
1450
  tier?: "basic" | "regular" | "premium" | undefined;
1451
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1386
1452
  }, {
1387
- email: string;
1388
- wabaExternalId: string;
1389
- phoneNumberId: string;
1390
- wabaBusinessId?: string | undefined;
1391
- clientId?: string | undefined;
1392
- channelId?: string | undefined;
1393
- status?: "active" | "pending" | undefined;
1453
+ wabaBusinessId?: string | null | undefined;
1454
+ wabaExternalId?: string | null | undefined;
1455
+ phoneNumberId?: string | null | undefined;
1456
+ email?: string | null | undefined;
1457
+ clientId?: string | null | undefined;
1458
+ channelId?: string | null | undefined;
1459
+ waapiInstanceId?: string | null | undefined;
1460
+ qr?: string | null | undefined;
1461
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1394
1462
  apiKey?: string | undefined;
1395
1463
  tier?: "basic" | "regular" | "premium" | undefined;
1464
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1396
1465
  }>>;
1397
1466
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1398
1467
  mobileNumber: z.ZodString;
@@ -1418,15 +1487,18 @@ export declare const lineContract: {
1418
1487
  additionalCredentials?: any;
1419
1488
  senderId?: string | undefined;
1420
1489
  whatsapp?: {
1421
- email: string;
1422
- wabaExternalId: string;
1423
- phoneNumberId: string;
1424
- wabaBusinessId?: string | undefined;
1425
- clientId?: string | undefined;
1426
- channelId?: string | undefined;
1427
- status?: "active" | "pending" | undefined;
1490
+ wabaBusinessId?: string | null | undefined;
1491
+ wabaExternalId?: string | null | undefined;
1492
+ phoneNumberId?: string | null | undefined;
1493
+ email?: string | null | undefined;
1494
+ clientId?: string | null | undefined;
1495
+ channelId?: string | null | undefined;
1496
+ waapiInstanceId?: string | null | undefined;
1497
+ qr?: string | null | undefined;
1498
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1428
1499
  apiKey?: string | undefined;
1429
1500
  tier?: "basic" | "regular" | "premium" | undefined;
1501
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1430
1502
  } | undefined;
1431
1503
  vonageCredentials?: {
1432
1504
  apiKey: string;
@@ -1444,15 +1516,18 @@ export declare const lineContract: {
1444
1516
  additionalCredentials?: any;
1445
1517
  senderId?: string | undefined;
1446
1518
  whatsapp?: {
1447
- email: string;
1448
- wabaExternalId: string;
1449
- phoneNumberId: string;
1450
- wabaBusinessId?: string | undefined;
1451
- clientId?: string | undefined;
1452
- channelId?: string | undefined;
1453
- status?: "active" | "pending" | undefined;
1519
+ wabaBusinessId?: string | null | undefined;
1520
+ wabaExternalId?: string | null | undefined;
1521
+ phoneNumberId?: string | null | undefined;
1522
+ email?: string | null | undefined;
1523
+ clientId?: string | null | undefined;
1524
+ channelId?: string | null | undefined;
1525
+ waapiInstanceId?: string | null | undefined;
1526
+ qr?: string | null | undefined;
1527
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1454
1528
  apiKey?: string | undefined;
1455
1529
  tier?: "basic" | "regular" | "premium" | undefined;
1530
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1456
1531
  } | undefined;
1457
1532
  vonageCredentials?: {
1458
1533
  apiKey: string;
@@ -1500,15 +1575,18 @@ export declare const lineContract: {
1500
1575
  additionalCredentials?: any;
1501
1576
  senderId?: string | undefined;
1502
1577
  whatsapp?: {
1503
- email: string;
1504
- wabaExternalId: string;
1505
- phoneNumberId: string;
1506
- wabaBusinessId?: string | undefined;
1507
- clientId?: string | undefined;
1508
- channelId?: string | undefined;
1509
- status?: "active" | "pending" | undefined;
1578
+ wabaBusinessId?: string | null | undefined;
1579
+ wabaExternalId?: string | null | undefined;
1580
+ phoneNumberId?: string | null | undefined;
1581
+ email?: string | null | undefined;
1582
+ clientId?: string | null | undefined;
1583
+ channelId?: string | null | undefined;
1584
+ waapiInstanceId?: string | null | undefined;
1585
+ qr?: string | null | undefined;
1586
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1510
1587
  apiKey?: string | undefined;
1511
1588
  tier?: "basic" | "regular" | "premium" | undefined;
1589
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1512
1590
  } | undefined;
1513
1591
  vonageCredentials?: {
1514
1592
  apiKey: string;
@@ -1544,15 +1622,18 @@ export declare const lineContract: {
1544
1622
  additionalCredentials?: any;
1545
1623
  senderId?: string | undefined;
1546
1624
  whatsapp?: {
1547
- email: string;
1548
- wabaExternalId: string;
1549
- phoneNumberId: string;
1550
- wabaBusinessId?: string | undefined;
1551
- clientId?: string | undefined;
1552
- channelId?: string | undefined;
1553
- status?: "active" | "pending" | undefined;
1625
+ wabaBusinessId?: string | null | undefined;
1626
+ wabaExternalId?: string | null | undefined;
1627
+ phoneNumberId?: string | null | undefined;
1628
+ email?: string | null | undefined;
1629
+ clientId?: string | null | undefined;
1630
+ channelId?: string | null | undefined;
1631
+ waapiInstanceId?: string | null | undefined;
1632
+ qr?: string | null | undefined;
1633
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1554
1634
  apiKey?: string | undefined;
1555
1635
  tier?: "basic" | "regular" | "premium" | undefined;
1636
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1556
1637
  } | undefined;
1557
1638
  vonageCredentials?: {
1558
1639
  apiKey: string;
@@ -1593,15 +1674,18 @@ export declare const lineContract: {
1593
1674
  additionalCredentials?: any;
1594
1675
  senderId?: string | undefined;
1595
1676
  whatsapp?: {
1596
- email: string;
1597
- wabaExternalId: string;
1598
- phoneNumberId: string;
1599
- wabaBusinessId?: string | undefined;
1600
- clientId?: string | undefined;
1601
- channelId?: string | undefined;
1602
- status?: "active" | "pending" | undefined;
1677
+ wabaBusinessId?: string | null | undefined;
1678
+ wabaExternalId?: string | null | undefined;
1679
+ phoneNumberId?: string | null | undefined;
1680
+ email?: string | null | undefined;
1681
+ clientId?: string | null | undefined;
1682
+ channelId?: string | null | undefined;
1683
+ waapiInstanceId?: string | null | undefined;
1684
+ qr?: string | null | undefined;
1685
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1603
1686
  apiKey?: string | undefined;
1604
1687
  tier?: "basic" | "regular" | "premium" | undefined;
1688
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1605
1689
  } | undefined;
1606
1690
  vonageCredentials?: {
1607
1691
  apiKey: string;
@@ -1681,15 +1765,18 @@ export declare const lineContract: {
1681
1765
  additionalCredentials?: any;
1682
1766
  senderId?: string | undefined;
1683
1767
  whatsapp?: {
1684
- email: string;
1685
- wabaExternalId: string;
1686
- phoneNumberId: string;
1687
- wabaBusinessId?: string | undefined;
1688
- clientId?: string | undefined;
1689
- channelId?: string | undefined;
1690
- status?: "active" | "pending" | undefined;
1768
+ wabaBusinessId?: string | null | undefined;
1769
+ wabaExternalId?: string | null | undefined;
1770
+ phoneNumberId?: string | null | undefined;
1771
+ email?: string | null | undefined;
1772
+ clientId?: string | null | undefined;
1773
+ channelId?: string | null | undefined;
1774
+ waapiInstanceId?: string | null | undefined;
1775
+ qr?: string | null | undefined;
1776
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1691
1777
  apiKey?: string | undefined;
1692
1778
  tier?: "basic" | "regular" | "premium" | undefined;
1779
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1693
1780
  } | undefined;
1694
1781
  vonageCredentials?: {
1695
1782
  apiKey: string;
@@ -1760,7 +1847,7 @@ export declare const lineContract: {
1760
1847
  id: z.ZodOptional<z.ZodString>;
1761
1848
  message: z.ZodOptional<z.ZodString>;
1762
1849
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1763
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "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"]>;
1850
+ 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"]>;
1764
1851
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1765
1852
  metadata: z.ZodOptional<z.ZodAny>;
1766
1853
  platformId: z.ZodOptional<z.ZodString>;
@@ -1816,7 +1903,7 @@ export declare const lineContract: {
1816
1903
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1817
1904
  label: z.ZodOptional<z.ZodString>;
1818
1905
  }, "strip", z.ZodTypeAny, {
1819
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1906
+ 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";
1820
1907
  direction: "incoming" | "outgoing" | "system";
1821
1908
  id?: string | undefined;
1822
1909
  message?: string | undefined;
@@ -1851,7 +1938,7 @@ export declare const lineContract: {
1851
1938
  editedAt?: string | Date | null | undefined;
1852
1939
  label?: string | undefined;
1853
1940
  }, {
1854
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1941
+ 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";
1855
1942
  direction: "incoming" | "outgoing" | "system";
1856
1943
  id?: string | undefined;
1857
1944
  message?: string | undefined;
@@ -1888,7 +1975,7 @@ export declare const lineContract: {
1888
1975
  }>;
1889
1976
  }, "strip", z.ZodTypeAny, {
1890
1977
  message: {
1891
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1978
+ 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";
1892
1979
  direction: "incoming" | "outgoing" | "system";
1893
1980
  id?: string | undefined;
1894
1981
  message?: string | undefined;
@@ -1937,15 +2024,18 @@ export declare const lineContract: {
1937
2024
  additionalCredentials?: any;
1938
2025
  senderId?: string | undefined;
1939
2026
  whatsapp?: {
1940
- email: string;
1941
- wabaExternalId: string;
1942
- phoneNumberId: string;
1943
- wabaBusinessId?: string | undefined;
1944
- clientId?: string | undefined;
1945
- channelId?: string | undefined;
1946
- status?: "active" | "pending" | undefined;
2027
+ wabaBusinessId?: string | null | undefined;
2028
+ wabaExternalId?: string | null | undefined;
2029
+ phoneNumberId?: string | null | undefined;
2030
+ email?: string | null | undefined;
2031
+ clientId?: string | null | undefined;
2032
+ channelId?: string | null | undefined;
2033
+ waapiInstanceId?: string | null | undefined;
2034
+ qr?: string | null | undefined;
2035
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1947
2036
  apiKey?: string | undefined;
1948
2037
  tier?: "basic" | "regular" | "premium" | undefined;
2038
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1949
2039
  } | undefined;
1950
2040
  vonageCredentials?: {
1951
2041
  apiKey: string;
@@ -2015,7 +2105,7 @@ export declare const lineContract: {
2015
2105
  isBot: boolean | null;
2016
2106
  }, {
2017
2107
  message: {
2018
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2108
+ 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";
2019
2109
  direction: "incoming" | "outgoing" | "system";
2020
2110
  id?: string | undefined;
2021
2111
  message?: string | undefined;
@@ -2064,15 +2154,18 @@ export declare const lineContract: {
2064
2154
  additionalCredentials?: any;
2065
2155
  senderId?: string | undefined;
2066
2156
  whatsapp?: {
2067
- email: string;
2068
- wabaExternalId: string;
2069
- phoneNumberId: string;
2070
- wabaBusinessId?: string | undefined;
2071
- clientId?: string | undefined;
2072
- channelId?: string | undefined;
2073
- status?: "active" | "pending" | undefined;
2157
+ wabaBusinessId?: string | null | undefined;
2158
+ wabaExternalId?: string | null | undefined;
2159
+ phoneNumberId?: string | null | undefined;
2160
+ email?: string | null | undefined;
2161
+ clientId?: string | null | undefined;
2162
+ channelId?: string | null | undefined;
2163
+ waapiInstanceId?: string | null | undefined;
2164
+ qr?: string | null | undefined;
2165
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2074
2166
  apiKey?: string | undefined;
2075
2167
  tier?: "basic" | "regular" | "premium" | undefined;
2168
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2076
2169
  } | undefined;
2077
2170
  vonageCredentials?: {
2078
2171
  apiKey: string;
@@ -2146,7 +2239,7 @@ export declare const lineContract: {
2146
2239
  200: z.ZodObject<{
2147
2240
  requestId: z.ZodString;
2148
2241
  data: z.ZodObject<{
2149
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "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"]>;
2242
+ 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"]>;
2150
2243
  message: z.ZodString;
2151
2244
  id: z.ZodString;
2152
2245
  url: z.ZodString;
@@ -2371,9 +2464,10 @@ export declare const lineContract: {
2371
2464
  fileSize: z.ZodNumber;
2372
2465
  fileKey: z.ZodString;
2373
2466
  fileUrl: z.ZodNullable<z.ZodString>;
2374
- status: z.ZodOptional<z.ZodString>;
2467
+ status: z.ZodNullable<z.ZodString>;
2375
2468
  }, "strip", z.ZodTypeAny, {
2376
2469
  id: string;
2470
+ status: string | null;
2377
2471
  createdAt: Date;
2378
2472
  updatedAt: Date;
2379
2473
  deletedAt: Date | null;
@@ -2382,9 +2476,9 @@ export declare const lineContract: {
2382
2476
  bucketName: string;
2383
2477
  fileSize: number;
2384
2478
  fileUrl: string | null;
2385
- status?: string | undefined;
2386
2479
  }, {
2387
2480
  id: string;
2481
+ status: string | null;
2388
2482
  createdAt: Date;
2389
2483
  updatedAt: Date;
2390
2484
  deletedAt: Date | null;
@@ -2393,7 +2487,6 @@ export declare const lineContract: {
2393
2487
  bucketName: string;
2394
2488
  fileSize: number;
2395
2489
  fileUrl: string | null;
2396
- status?: string | undefined;
2397
2490
  }>;
2398
2491
  assignee: z.ZodObject<{
2399
2492
  id: z.ZodString;
@@ -2988,9 +3081,10 @@ export declare const lineContract: {
2988
3081
  fileSize: z.ZodNumber;
2989
3082
  fileKey: z.ZodString;
2990
3083
  fileUrl: z.ZodNullable<z.ZodString>;
2991
- status: z.ZodOptional<z.ZodString>;
3084
+ status: z.ZodNullable<z.ZodString>;
2992
3085
  }, "strip", z.ZodTypeAny, {
2993
3086
  id: string;
3087
+ status: string | null;
2994
3088
  createdAt: Date;
2995
3089
  updatedAt: Date;
2996
3090
  deletedAt: Date | null;
@@ -2999,9 +3093,9 @@ export declare const lineContract: {
2999
3093
  bucketName: string;
3000
3094
  fileSize: number;
3001
3095
  fileUrl: string | null;
3002
- status?: string | undefined;
3003
3096
  }, {
3004
3097
  id: string;
3098
+ status: string | null;
3005
3099
  createdAt: Date;
3006
3100
  updatedAt: Date;
3007
3101
  deletedAt: Date | null;
@@ -3010,7 +3104,6 @@ export declare const lineContract: {
3010
3104
  bucketName: string;
3011
3105
  fileSize: number;
3012
3106
  fileUrl: string | null;
3013
- status?: string | undefined;
3014
3107
  }>, "many">;
3015
3108
  }, "strip", z.ZodTypeAny, {
3016
3109
  id: string;
@@ -3037,6 +3130,7 @@ export declare const lineContract: {
3037
3130
  dateValue: Date | null;
3038
3131
  uploads: {
3039
3132
  id: string;
3133
+ status: string | null;
3040
3134
  createdAt: Date;
3041
3135
  updatedAt: Date;
3042
3136
  deletedAt: Date | null;
@@ -3045,7 +3139,6 @@ export declare const lineContract: {
3045
3139
  bucketName: string;
3046
3140
  fileSize: number;
3047
3141
  fileUrl: string | null;
3048
- status?: string | undefined;
3049
3142
  }[];
3050
3143
  }, {
3051
3144
  id: string;
@@ -3072,6 +3165,7 @@ export declare const lineContract: {
3072
3165
  dateValue: Date | null;
3073
3166
  uploads: {
3074
3167
  id: string;
3168
+ status: string | null;
3075
3169
  createdAt: Date;
3076
3170
  updatedAt: Date;
3077
3171
  deletedAt: Date | null;
@@ -3080,7 +3174,6 @@ export declare const lineContract: {
3080
3174
  bucketName: string;
3081
3175
  fileSize: number;
3082
3176
  fileUrl: string | null;
3083
- status?: string | undefined;
3084
3177
  }[];
3085
3178
  }>, "many">;
3086
3179
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3220,6 +3313,7 @@ export declare const lineContract: {
3220
3313
  dateValue: Date | null;
3221
3314
  uploads: {
3222
3315
  id: string;
3316
+ status: string | null;
3223
3317
  createdAt: Date;
3224
3318
  updatedAt: Date;
3225
3319
  deletedAt: Date | null;
@@ -3228,7 +3322,6 @@ export declare const lineContract: {
3228
3322
  bucketName: string;
3229
3323
  fileSize: number;
3230
3324
  fileUrl: string | null;
3231
- status?: string | undefined;
3232
3325
  }[];
3233
3326
  }[];
3234
3327
  company: {
@@ -3331,6 +3424,7 @@ export declare const lineContract: {
3331
3424
  dateValue: Date | null;
3332
3425
  uploads: {
3333
3426
  id: string;
3427
+ status: string | null;
3334
3428
  createdAt: Date;
3335
3429
  updatedAt: Date;
3336
3430
  deletedAt: Date | null;
@@ -3339,7 +3433,6 @@ export declare const lineContract: {
3339
3433
  bucketName: string;
3340
3434
  fileSize: number;
3341
3435
  fileUrl: string | null;
3342
- status?: string | undefined;
3343
3436
  }[];
3344
3437
  }[];
3345
3438
  company: {
@@ -3455,6 +3548,7 @@ export declare const lineContract: {
3455
3548
  dateValue: Date | null;
3456
3549
  uploads: {
3457
3550
  id: string;
3551
+ status: string | null;
3458
3552
  createdAt: Date;
3459
3553
  updatedAt: Date;
3460
3554
  deletedAt: Date | null;
@@ -3463,7 +3557,6 @@ export declare const lineContract: {
3463
3557
  bucketName: string;
3464
3558
  fileSize: number;
3465
3559
  fileUrl: string | null;
3466
- status?: string | undefined;
3467
3560
  }[];
3468
3561
  }[];
3469
3562
  company: {
@@ -3581,6 +3674,7 @@ export declare const lineContract: {
3581
3674
  dateValue: Date | null;
3582
3675
  uploads: {
3583
3676
  id: string;
3677
+ status: string | null;
3584
3678
  createdAt: Date;
3585
3679
  updatedAt: Date;
3586
3680
  deletedAt: Date | null;
@@ -3589,7 +3683,6 @@ export declare const lineContract: {
3589
3683
  bucketName: string;
3590
3684
  fileSize: number;
3591
3685
  fileUrl: string | null;
3592
- status?: string | undefined;
3593
3686
  }[];
3594
3687
  }[];
3595
3688
  company: {
@@ -4086,35 +4179,44 @@ export declare const lineContract: {
4086
4179
  additionalCredentials: z.ZodOptional<z.ZodAny>;
4087
4180
  senderId: z.ZodOptional<z.ZodString>;
4088
4181
  whatsapp: z.ZodOptional<z.ZodObject<{
4089
- wabaBusinessId: z.ZodOptional<z.ZodString>;
4090
- wabaExternalId: z.ZodString;
4091
- phoneNumberId: z.ZodString;
4092
- email: z.ZodString;
4093
- clientId: z.ZodOptional<z.ZodString>;
4094
- channelId: z.ZodOptional<z.ZodString>;
4095
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
4182
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4183
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4184
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4185
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4186
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4187
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4188
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4189
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4190
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
4096
4191
  apiKey: z.ZodOptional<z.ZodString>;
4097
4192
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
4193
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
4098
4194
  }, "strip", z.ZodTypeAny, {
4099
- email: string;
4100
- wabaExternalId: string;
4101
- phoneNumberId: string;
4102
- wabaBusinessId?: string | undefined;
4103
- clientId?: string | undefined;
4104
- channelId?: string | undefined;
4105
- status?: "active" | "pending" | undefined;
4195
+ wabaBusinessId?: string | null | undefined;
4196
+ wabaExternalId?: string | null | undefined;
4197
+ phoneNumberId?: string | null | undefined;
4198
+ email?: string | null | undefined;
4199
+ clientId?: string | null | undefined;
4200
+ channelId?: string | null | undefined;
4201
+ waapiInstanceId?: string | null | undefined;
4202
+ qr?: string | null | undefined;
4203
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4106
4204
  apiKey?: string | undefined;
4107
4205
  tier?: "basic" | "regular" | "premium" | undefined;
4206
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4108
4207
  }, {
4109
- email: string;
4110
- wabaExternalId: string;
4111
- phoneNumberId: string;
4112
- wabaBusinessId?: string | undefined;
4113
- clientId?: string | undefined;
4114
- channelId?: string | undefined;
4115
- status?: "active" | "pending" | undefined;
4208
+ wabaBusinessId?: string | null | undefined;
4209
+ wabaExternalId?: string | null | undefined;
4210
+ phoneNumberId?: string | null | undefined;
4211
+ email?: string | null | undefined;
4212
+ clientId?: string | null | undefined;
4213
+ channelId?: string | null | undefined;
4214
+ waapiInstanceId?: string | null | undefined;
4215
+ qr?: string | null | undefined;
4216
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4116
4217
  apiKey?: string | undefined;
4117
4218
  tier?: "basic" | "regular" | "premium" | undefined;
4219
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4118
4220
  }>>;
4119
4221
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4120
4222
  mobileNumber: z.ZodString;
@@ -4140,15 +4242,18 @@ export declare const lineContract: {
4140
4242
  additionalCredentials?: any;
4141
4243
  senderId?: string | undefined;
4142
4244
  whatsapp?: {
4143
- email: string;
4144
- wabaExternalId: string;
4145
- phoneNumberId: string;
4146
- wabaBusinessId?: string | undefined;
4147
- clientId?: string | undefined;
4148
- channelId?: string | undefined;
4149
- status?: "active" | "pending" | undefined;
4245
+ wabaBusinessId?: string | null | undefined;
4246
+ wabaExternalId?: string | null | undefined;
4247
+ phoneNumberId?: string | null | undefined;
4248
+ email?: string | null | undefined;
4249
+ clientId?: string | null | undefined;
4250
+ channelId?: string | null | undefined;
4251
+ waapiInstanceId?: string | null | undefined;
4252
+ qr?: string | null | undefined;
4253
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4150
4254
  apiKey?: string | undefined;
4151
4255
  tier?: "basic" | "regular" | "premium" | undefined;
4256
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4152
4257
  } | undefined;
4153
4258
  vonageCredentials?: {
4154
4259
  apiKey: string;
@@ -4166,15 +4271,18 @@ export declare const lineContract: {
4166
4271
  additionalCredentials?: any;
4167
4272
  senderId?: string | undefined;
4168
4273
  whatsapp?: {
4169
- email: string;
4170
- wabaExternalId: string;
4171
- phoneNumberId: string;
4172
- wabaBusinessId?: string | undefined;
4173
- clientId?: string | undefined;
4174
- channelId?: string | undefined;
4175
- status?: "active" | "pending" | undefined;
4274
+ wabaBusinessId?: string | null | undefined;
4275
+ wabaExternalId?: string | null | undefined;
4276
+ phoneNumberId?: string | null | undefined;
4277
+ email?: string | null | undefined;
4278
+ clientId?: string | null | undefined;
4279
+ channelId?: string | null | undefined;
4280
+ waapiInstanceId?: string | null | undefined;
4281
+ qr?: string | null | undefined;
4282
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4176
4283
  apiKey?: string | undefined;
4177
4284
  tier?: "basic" | "regular" | "premium" | undefined;
4285
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4178
4286
  } | undefined;
4179
4287
  vonageCredentials?: {
4180
4288
  apiKey: string;
@@ -4426,15 +4534,18 @@ export declare const lineContract: {
4426
4534
  additionalCredentials?: any;
4427
4535
  senderId?: string | undefined;
4428
4536
  whatsapp?: {
4429
- email: string;
4430
- wabaExternalId: string;
4431
- phoneNumberId: string;
4432
- wabaBusinessId?: string | undefined;
4433
- clientId?: string | undefined;
4434
- channelId?: string | undefined;
4435
- status?: "active" | "pending" | undefined;
4537
+ wabaBusinessId?: string | null | undefined;
4538
+ wabaExternalId?: string | null | undefined;
4539
+ phoneNumberId?: string | null | undefined;
4540
+ email?: string | null | undefined;
4541
+ clientId?: string | null | undefined;
4542
+ channelId?: string | null | undefined;
4543
+ waapiInstanceId?: string | null | undefined;
4544
+ qr?: string | null | undefined;
4545
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4436
4546
  apiKey?: string | undefined;
4437
4547
  tier?: "basic" | "regular" | "premium" | undefined;
4548
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4438
4549
  } | undefined;
4439
4550
  vonageCredentials?: {
4440
4551
  apiKey: string;
@@ -4517,15 +4628,18 @@ export declare const lineContract: {
4517
4628
  additionalCredentials?: any;
4518
4629
  senderId?: string | undefined;
4519
4630
  whatsapp?: {
4520
- email: string;
4521
- wabaExternalId: string;
4522
- phoneNumberId: string;
4523
- wabaBusinessId?: string | undefined;
4524
- clientId?: string | undefined;
4525
- channelId?: string | undefined;
4526
- status?: "active" | "pending" | undefined;
4631
+ wabaBusinessId?: string | null | undefined;
4632
+ wabaExternalId?: string | null | undefined;
4633
+ phoneNumberId?: string | null | undefined;
4634
+ email?: string | null | undefined;
4635
+ clientId?: string | null | undefined;
4636
+ channelId?: string | null | undefined;
4637
+ waapiInstanceId?: string | null | undefined;
4638
+ qr?: string | null | undefined;
4639
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4527
4640
  apiKey?: string | undefined;
4528
4641
  tier?: "basic" | "regular" | "premium" | undefined;
4642
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4529
4643
  } | undefined;
4530
4644
  vonageCredentials?: {
4531
4645
  apiKey: string;
@@ -5172,15 +5286,18 @@ export declare const lineContract: {
5172
5286
  additionalCredentials?: any;
5173
5287
  senderId?: string | undefined;
5174
5288
  whatsapp?: {
5175
- email: string;
5176
- wabaExternalId: string;
5177
- phoneNumberId: string;
5178
- wabaBusinessId?: string | undefined;
5179
- clientId?: string | undefined;
5180
- channelId?: string | undefined;
5181
- status?: "active" | "pending" | undefined;
5289
+ wabaBusinessId?: string | null | undefined;
5290
+ wabaExternalId?: string | null | undefined;
5291
+ phoneNumberId?: string | null | undefined;
5292
+ email?: string | null | undefined;
5293
+ clientId?: string | null | undefined;
5294
+ channelId?: string | null | undefined;
5295
+ waapiInstanceId?: string | null | undefined;
5296
+ qr?: string | null | undefined;
5297
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5182
5298
  apiKey?: string | undefined;
5183
5299
  tier?: "basic" | "regular" | "premium" | undefined;
5300
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5184
5301
  } | undefined;
5185
5302
  vonageCredentials?: {
5186
5303
  apiKey: string;
@@ -5352,6 +5469,7 @@ export declare const lineContract: {
5352
5469
  dateValue: Date | null;
5353
5470
  uploads: {
5354
5471
  id: string;
5472
+ status: string | null;
5355
5473
  createdAt: Date;
5356
5474
  updatedAt: Date;
5357
5475
  deletedAt: Date | null;
@@ -5360,7 +5478,6 @@ export declare const lineContract: {
5360
5478
  bucketName: string;
5361
5479
  fileSize: number;
5362
5480
  fileUrl: string | null;
5363
- status?: string | undefined;
5364
5481
  }[];
5365
5482
  }[];
5366
5483
  company: {
@@ -5596,15 +5713,18 @@ export declare const lineContract: {
5596
5713
  additionalCredentials?: any;
5597
5714
  senderId?: string | undefined;
5598
5715
  whatsapp?: {
5599
- email: string;
5600
- wabaExternalId: string;
5601
- phoneNumberId: string;
5602
- wabaBusinessId?: string | undefined;
5603
- clientId?: string | undefined;
5604
- channelId?: string | undefined;
5605
- status?: "active" | "pending" | undefined;
5716
+ wabaBusinessId?: string | null | undefined;
5717
+ wabaExternalId?: string | null | undefined;
5718
+ phoneNumberId?: string | null | undefined;
5719
+ email?: string | null | undefined;
5720
+ clientId?: string | null | undefined;
5721
+ channelId?: string | null | undefined;
5722
+ waapiInstanceId?: string | null | undefined;
5723
+ qr?: string | null | undefined;
5724
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5606
5725
  apiKey?: string | undefined;
5607
5726
  tier?: "basic" | "regular" | "premium" | undefined;
5727
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5608
5728
  } | undefined;
5609
5729
  vonageCredentials?: {
5610
5730
  apiKey: string;
@@ -5776,6 +5896,7 @@ export declare const lineContract: {
5776
5896
  dateValue: Date | null;
5777
5897
  uploads: {
5778
5898
  id: string;
5899
+ status: string | null;
5779
5900
  createdAt: Date;
5780
5901
  updatedAt: Date;
5781
5902
  deletedAt: Date | null;
@@ -5784,7 +5905,6 @@ export declare const lineContract: {
5784
5905
  bucketName: string;
5785
5906
  fileSize: number;
5786
5907
  fileUrl: string | null;
5787
- status?: string | undefined;
5788
5908
  }[];
5789
5909
  }[];
5790
5910
  company: {
@@ -6045,7 +6165,7 @@ export declare const lineContract: {
6045
6165
  deletedAt: z.ZodNullable<z.ZodDate>;
6046
6166
  message: z.ZodString;
6047
6167
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6048
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "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"]>;
6168
+ 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"]>;
6049
6169
  readAt: z.ZodDate;
6050
6170
  metadata: z.ZodAny;
6051
6171
  platformId: z.ZodString;
@@ -6066,9 +6186,10 @@ export declare const lineContract: {
6066
6186
  fileSize: z.ZodNumber;
6067
6187
  fileKey: z.ZodString;
6068
6188
  fileUrl: z.ZodNullable<z.ZodString>;
6069
- status: z.ZodOptional<z.ZodString>;
6189
+ status: z.ZodNullable<z.ZodString>;
6070
6190
  }, "strip", z.ZodTypeAny, {
6071
6191
  id: string;
6192
+ status: string | null;
6072
6193
  createdAt: Date;
6073
6194
  updatedAt: Date;
6074
6195
  deletedAt: Date | null;
@@ -6077,9 +6198,9 @@ export declare const lineContract: {
6077
6198
  bucketName: string;
6078
6199
  fileSize: number;
6079
6200
  fileUrl: string | null;
6080
- status?: string | undefined;
6081
6201
  }, {
6082
6202
  id: string;
6203
+ status: string | null;
6083
6204
  createdAt: Date;
6084
6205
  updatedAt: Date;
6085
6206
  deletedAt: Date | null;
@@ -6088,7 +6209,6 @@ export declare const lineContract: {
6088
6209
  bucketName: string;
6089
6210
  fileSize: number;
6090
6211
  fileUrl: string | null;
6091
- status?: string | undefined;
6092
6212
  }>;
6093
6213
  actor: z.ZodObject<{
6094
6214
  id: z.ZodString;
@@ -6703,7 +6823,7 @@ export declare const lineContract: {
6703
6823
  };
6704
6824
  }>;
6705
6825
  }, "strip", z.ZodTypeAny, {
6706
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6826
+ 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";
6707
6827
  message: string;
6708
6828
  id: string;
6709
6829
  url: string;
@@ -6757,6 +6877,7 @@ export declare const lineContract: {
6757
6877
  };
6758
6878
  upload: {
6759
6879
  id: string;
6880
+ status: string | null;
6760
6881
  createdAt: Date;
6761
6882
  updatedAt: Date;
6762
6883
  deletedAt: Date | null;
@@ -6765,7 +6886,6 @@ export declare const lineContract: {
6765
6886
  bucketName: string;
6766
6887
  fileSize: number;
6767
6888
  fileUrl: string | null;
6768
- status?: string | undefined;
6769
6889
  };
6770
6890
  assignee: {
6771
6891
  id: string;
@@ -6865,7 +6985,7 @@ export declare const lineContract: {
6865
6985
  metadata?: any;
6866
6986
  template?: any;
6867
6987
  }, {
6868
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6988
+ 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";
6869
6989
  message: string;
6870
6990
  id: string;
6871
6991
  url: string;
@@ -6919,6 +7039,7 @@ export declare const lineContract: {
6919
7039
  };
6920
7040
  upload: {
6921
7041
  id: string;
7042
+ status: string | null;
6922
7043
  createdAt: Date;
6923
7044
  updatedAt: Date;
6924
7045
  deletedAt: Date | null;
@@ -6927,7 +7048,6 @@ export declare const lineContract: {
6927
7048
  bucketName: string;
6928
7049
  fileSize: number;
6929
7050
  fileUrl: string | null;
6930
- status?: string | undefined;
6931
7051
  };
6932
7052
  assignee: {
6933
7053
  id: string;
@@ -7239,7 +7359,7 @@ export declare const lineContract: {
7239
7359
  deletedAt: z.ZodNullable<z.ZodDate>;
7240
7360
  message: z.ZodString;
7241
7361
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7242
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "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"]>;
7362
+ 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"]>;
7243
7363
  readAt: z.ZodDate;
7244
7364
  metadata: z.ZodAny;
7245
7365
  platformId: z.ZodString;
@@ -7638,9 +7758,10 @@ export declare const lineContract: {
7638
7758
  fileSize: z.ZodNumber;
7639
7759
  fileKey: z.ZodString;
7640
7760
  fileUrl: z.ZodNullable<z.ZodString>;
7641
- status: z.ZodOptional<z.ZodString>;
7761
+ status: z.ZodNullable<z.ZodString>;
7642
7762
  }, "strip", z.ZodTypeAny, {
7643
7763
  id: string;
7764
+ status: string | null;
7644
7765
  createdAt: Date;
7645
7766
  updatedAt: Date;
7646
7767
  deletedAt: Date | null;
@@ -7649,9 +7770,9 @@ export declare const lineContract: {
7649
7770
  bucketName: string;
7650
7771
  fileSize: number;
7651
7772
  fileUrl: string | null;
7652
- status?: string | undefined;
7653
7773
  }, {
7654
7774
  id: string;
7775
+ status: string | null;
7655
7776
  createdAt: Date;
7656
7777
  updatedAt: Date;
7657
7778
  deletedAt: Date | null;
@@ -7660,7 +7781,6 @@ export declare const lineContract: {
7660
7781
  bucketName: string;
7661
7782
  fileSize: number;
7662
7783
  fileUrl: string | null;
7663
- status?: string | undefined;
7664
7784
  }>, "many">;
7665
7785
  }, "strip", z.ZodTypeAny, {
7666
7786
  id: string;
@@ -7687,6 +7807,7 @@ export declare const lineContract: {
7687
7807
  dateValue: Date | null;
7688
7808
  uploads: {
7689
7809
  id: string;
7810
+ status: string | null;
7690
7811
  createdAt: Date;
7691
7812
  updatedAt: Date;
7692
7813
  deletedAt: Date | null;
@@ -7695,7 +7816,6 @@ export declare const lineContract: {
7695
7816
  bucketName: string;
7696
7817
  fileSize: number;
7697
7818
  fileUrl: string | null;
7698
- status?: string | undefined;
7699
7819
  }[];
7700
7820
  }, {
7701
7821
  id: string;
@@ -7722,6 +7842,7 @@ export declare const lineContract: {
7722
7842
  dateValue: Date | null;
7723
7843
  uploads: {
7724
7844
  id: string;
7845
+ status: string | null;
7725
7846
  createdAt: Date;
7726
7847
  updatedAt: Date;
7727
7848
  deletedAt: Date | null;
@@ -7730,7 +7851,6 @@ export declare const lineContract: {
7730
7851
  bucketName: string;
7731
7852
  fileSize: number;
7732
7853
  fileUrl: string | null;
7733
- status?: string | undefined;
7734
7854
  }[];
7735
7855
  }>, "many">;
7736
7856
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -7870,6 +7990,7 @@ export declare const lineContract: {
7870
7990
  dateValue: Date | null;
7871
7991
  uploads: {
7872
7992
  id: string;
7993
+ status: string | null;
7873
7994
  createdAt: Date;
7874
7995
  updatedAt: Date;
7875
7996
  deletedAt: Date | null;
@@ -7878,7 +7999,6 @@ export declare const lineContract: {
7878
7999
  bucketName: string;
7879
8000
  fileSize: number;
7880
8001
  fileUrl: string | null;
7881
- status?: string | undefined;
7882
8002
  }[];
7883
8003
  }[];
7884
8004
  company: {
@@ -7981,6 +8101,7 @@ export declare const lineContract: {
7981
8101
  dateValue: Date | null;
7982
8102
  uploads: {
7983
8103
  id: string;
8104
+ status: string | null;
7984
8105
  createdAt: Date;
7985
8106
  updatedAt: Date;
7986
8107
  deletedAt: Date | null;
@@ -7989,7 +8110,6 @@ export declare const lineContract: {
7989
8110
  bucketName: string;
7990
8111
  fileSize: number;
7991
8112
  fileUrl: string | null;
7992
- status?: string | undefined;
7993
8113
  }[];
7994
8114
  }[];
7995
8115
  company: {
@@ -8105,6 +8225,7 @@ export declare const lineContract: {
8105
8225
  dateValue: Date | null;
8106
8226
  uploads: {
8107
8227
  id: string;
8228
+ status: string | null;
8108
8229
  createdAt: Date;
8109
8230
  updatedAt: Date;
8110
8231
  deletedAt: Date | null;
@@ -8113,7 +8234,6 @@ export declare const lineContract: {
8113
8234
  bucketName: string;
8114
8235
  fileSize: number;
8115
8236
  fileUrl: string | null;
8116
- status?: string | undefined;
8117
8237
  }[];
8118
8238
  }[];
8119
8239
  company: {
@@ -8231,6 +8351,7 @@ export declare const lineContract: {
8231
8351
  dateValue: Date | null;
8232
8352
  uploads: {
8233
8353
  id: string;
8354
+ status: string | null;
8234
8355
  createdAt: Date;
8235
8356
  updatedAt: Date;
8236
8357
  deletedAt: Date | null;
@@ -8239,7 +8360,6 @@ export declare const lineContract: {
8239
8360
  bucketName: string;
8240
8361
  fileSize: number;
8241
8362
  fileUrl: string | null;
8242
- status?: string | undefined;
8243
8363
  }[];
8244
8364
  }[];
8245
8365
  company: {
@@ -8736,35 +8856,44 @@ export declare const lineContract: {
8736
8856
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8737
8857
  senderId: z.ZodOptional<z.ZodString>;
8738
8858
  whatsapp: z.ZodOptional<z.ZodObject<{
8739
- wabaBusinessId: z.ZodOptional<z.ZodString>;
8740
- wabaExternalId: z.ZodString;
8741
- phoneNumberId: z.ZodString;
8742
- email: z.ZodString;
8743
- clientId: z.ZodOptional<z.ZodString>;
8744
- channelId: z.ZodOptional<z.ZodString>;
8745
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
8859
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8860
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8861
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8862
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8863
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8864
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8865
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8866
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8867
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
8746
8868
  apiKey: z.ZodOptional<z.ZodString>;
8747
8869
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
8870
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
8748
8871
  }, "strip", z.ZodTypeAny, {
8749
- email: string;
8750
- wabaExternalId: string;
8751
- phoneNumberId: string;
8752
- wabaBusinessId?: string | undefined;
8753
- clientId?: string | undefined;
8754
- channelId?: string | undefined;
8755
- status?: "active" | "pending" | undefined;
8872
+ wabaBusinessId?: string | null | undefined;
8873
+ wabaExternalId?: string | null | undefined;
8874
+ phoneNumberId?: string | null | undefined;
8875
+ email?: string | null | undefined;
8876
+ clientId?: string | null | undefined;
8877
+ channelId?: string | null | undefined;
8878
+ waapiInstanceId?: string | null | undefined;
8879
+ qr?: string | null | undefined;
8880
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8756
8881
  apiKey?: string | undefined;
8757
8882
  tier?: "basic" | "regular" | "premium" | undefined;
8883
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8758
8884
  }, {
8759
- email: string;
8760
- wabaExternalId: string;
8761
- phoneNumberId: string;
8762
- wabaBusinessId?: string | undefined;
8763
- clientId?: string | undefined;
8764
- channelId?: string | undefined;
8765
- status?: "active" | "pending" | undefined;
8885
+ wabaBusinessId?: string | null | undefined;
8886
+ wabaExternalId?: string | null | undefined;
8887
+ phoneNumberId?: string | null | undefined;
8888
+ email?: string | null | undefined;
8889
+ clientId?: string | null | undefined;
8890
+ channelId?: string | null | undefined;
8891
+ waapiInstanceId?: string | null | undefined;
8892
+ qr?: string | null | undefined;
8893
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8766
8894
  apiKey?: string | undefined;
8767
8895
  tier?: "basic" | "regular" | "premium" | undefined;
8896
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8768
8897
  }>>;
8769
8898
  vonageCredentials: z.ZodOptional<z.ZodObject<{
8770
8899
  mobileNumber: z.ZodString;
@@ -8790,15 +8919,18 @@ export declare const lineContract: {
8790
8919
  additionalCredentials?: any;
8791
8920
  senderId?: string | undefined;
8792
8921
  whatsapp?: {
8793
- email: string;
8794
- wabaExternalId: string;
8795
- phoneNumberId: string;
8796
- wabaBusinessId?: string | undefined;
8797
- clientId?: string | undefined;
8798
- channelId?: string | undefined;
8799
- status?: "active" | "pending" | undefined;
8922
+ wabaBusinessId?: string | null | undefined;
8923
+ wabaExternalId?: string | null | undefined;
8924
+ phoneNumberId?: string | null | undefined;
8925
+ email?: string | null | undefined;
8926
+ clientId?: string | null | undefined;
8927
+ channelId?: string | null | undefined;
8928
+ waapiInstanceId?: string | null | undefined;
8929
+ qr?: string | null | undefined;
8930
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8800
8931
  apiKey?: string | undefined;
8801
8932
  tier?: "basic" | "regular" | "premium" | undefined;
8933
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8802
8934
  } | undefined;
8803
8935
  vonageCredentials?: {
8804
8936
  apiKey: string;
@@ -8816,15 +8948,18 @@ export declare const lineContract: {
8816
8948
  additionalCredentials?: any;
8817
8949
  senderId?: string | undefined;
8818
8950
  whatsapp?: {
8819
- email: string;
8820
- wabaExternalId: string;
8821
- phoneNumberId: string;
8822
- wabaBusinessId?: string | undefined;
8823
- clientId?: string | undefined;
8824
- channelId?: string | undefined;
8825
- status?: "active" | "pending" | undefined;
8951
+ wabaBusinessId?: string | null | undefined;
8952
+ wabaExternalId?: string | null | undefined;
8953
+ phoneNumberId?: string | null | undefined;
8954
+ email?: string | null | undefined;
8955
+ clientId?: string | null | undefined;
8956
+ channelId?: string | null | undefined;
8957
+ waapiInstanceId?: string | null | undefined;
8958
+ qr?: string | null | undefined;
8959
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8826
8960
  apiKey?: string | undefined;
8827
8961
  tier?: "basic" | "regular" | "premium" | undefined;
8962
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8828
8963
  } | undefined;
8829
8964
  vonageCredentials?: {
8830
8965
  apiKey: string;
@@ -9076,15 +9211,18 @@ export declare const lineContract: {
9076
9211
  additionalCredentials?: any;
9077
9212
  senderId?: string | undefined;
9078
9213
  whatsapp?: {
9079
- email: string;
9080
- wabaExternalId: string;
9081
- phoneNumberId: string;
9082
- wabaBusinessId?: string | undefined;
9083
- clientId?: string | undefined;
9084
- channelId?: string | undefined;
9085
- status?: "active" | "pending" | undefined;
9214
+ wabaBusinessId?: string | null | undefined;
9215
+ wabaExternalId?: string | null | undefined;
9216
+ phoneNumberId?: string | null | undefined;
9217
+ email?: string | null | undefined;
9218
+ clientId?: string | null | undefined;
9219
+ channelId?: string | null | undefined;
9220
+ waapiInstanceId?: string | null | undefined;
9221
+ qr?: string | null | undefined;
9222
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9086
9223
  apiKey?: string | undefined;
9087
9224
  tier?: "basic" | "regular" | "premium" | undefined;
9225
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9088
9226
  } | undefined;
9089
9227
  vonageCredentials?: {
9090
9228
  apiKey: string;
@@ -9167,15 +9305,18 @@ export declare const lineContract: {
9167
9305
  additionalCredentials?: any;
9168
9306
  senderId?: string | undefined;
9169
9307
  whatsapp?: {
9170
- email: string;
9171
- wabaExternalId: string;
9172
- phoneNumberId: string;
9173
- wabaBusinessId?: string | undefined;
9174
- clientId?: string | undefined;
9175
- channelId?: string | undefined;
9176
- status?: "active" | "pending" | undefined;
9308
+ wabaBusinessId?: string | null | undefined;
9309
+ wabaExternalId?: string | null | undefined;
9310
+ phoneNumberId?: string | null | undefined;
9311
+ email?: string | null | undefined;
9312
+ clientId?: string | null | undefined;
9313
+ channelId?: string | null | undefined;
9314
+ waapiInstanceId?: string | null | undefined;
9315
+ qr?: string | null | undefined;
9316
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9177
9317
  apiKey?: string | undefined;
9178
9318
  tier?: "basic" | "regular" | "premium" | undefined;
9319
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9179
9320
  } | undefined;
9180
9321
  vonageCredentials?: {
9181
9322
  apiKey: string;
@@ -9822,15 +9963,18 @@ export declare const lineContract: {
9822
9963
  additionalCredentials?: any;
9823
9964
  senderId?: string | undefined;
9824
9965
  whatsapp?: {
9825
- email: string;
9826
- wabaExternalId: string;
9827
- phoneNumberId: string;
9828
- wabaBusinessId?: string | undefined;
9829
- clientId?: string | undefined;
9830
- channelId?: string | undefined;
9831
- status?: "active" | "pending" | undefined;
9966
+ wabaBusinessId?: string | null | undefined;
9967
+ wabaExternalId?: string | null | undefined;
9968
+ phoneNumberId?: string | null | undefined;
9969
+ email?: string | null | undefined;
9970
+ clientId?: string | null | undefined;
9971
+ channelId?: string | null | undefined;
9972
+ waapiInstanceId?: string | null | undefined;
9973
+ qr?: string | null | undefined;
9974
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9832
9975
  apiKey?: string | undefined;
9833
9976
  tier?: "basic" | "regular" | "premium" | undefined;
9977
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9834
9978
  } | undefined;
9835
9979
  vonageCredentials?: {
9836
9980
  apiKey: string;
@@ -10002,6 +10146,7 @@ export declare const lineContract: {
10002
10146
  dateValue: Date | null;
10003
10147
  uploads: {
10004
10148
  id: string;
10149
+ status: string | null;
10005
10150
  createdAt: Date;
10006
10151
  updatedAt: Date;
10007
10152
  deletedAt: Date | null;
@@ -10010,7 +10155,6 @@ export declare const lineContract: {
10010
10155
  bucketName: string;
10011
10156
  fileSize: number;
10012
10157
  fileUrl: string | null;
10013
- status?: string | undefined;
10014
10158
  }[];
10015
10159
  }[];
10016
10160
  company: {
@@ -10246,15 +10390,18 @@ export declare const lineContract: {
10246
10390
  additionalCredentials?: any;
10247
10391
  senderId?: string | undefined;
10248
10392
  whatsapp?: {
10249
- email: string;
10250
- wabaExternalId: string;
10251
- phoneNumberId: string;
10252
- wabaBusinessId?: string | undefined;
10253
- clientId?: string | undefined;
10254
- channelId?: string | undefined;
10255
- status?: "active" | "pending" | undefined;
10393
+ wabaBusinessId?: string | null | undefined;
10394
+ wabaExternalId?: string | null | undefined;
10395
+ phoneNumberId?: string | null | undefined;
10396
+ email?: string | null | undefined;
10397
+ clientId?: string | null | undefined;
10398
+ channelId?: string | null | undefined;
10399
+ waapiInstanceId?: string | null | undefined;
10400
+ qr?: string | null | undefined;
10401
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10256
10402
  apiKey?: string | undefined;
10257
10403
  tier?: "basic" | "regular" | "premium" | undefined;
10404
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10258
10405
  } | undefined;
10259
10406
  vonageCredentials?: {
10260
10407
  apiKey: string;
@@ -10426,6 +10573,7 @@ export declare const lineContract: {
10426
10573
  dateValue: Date | null;
10427
10574
  uploads: {
10428
10575
  id: string;
10576
+ status: string | null;
10429
10577
  createdAt: Date;
10430
10578
  updatedAt: Date;
10431
10579
  deletedAt: Date | null;
@@ -10434,7 +10582,6 @@ export declare const lineContract: {
10434
10582
  bucketName: string;
10435
10583
  fileSize: number;
10436
10584
  fileUrl: string | null;
10437
- status?: string | undefined;
10438
10585
  }[];
10439
10586
  }[];
10440
10587
  company: {
@@ -10667,9 +10814,10 @@ export declare const lineContract: {
10667
10814
  fileSize: z.ZodNumber;
10668
10815
  fileKey: z.ZodString;
10669
10816
  fileUrl: z.ZodNullable<z.ZodString>;
10670
- status: z.ZodOptional<z.ZodString>;
10817
+ status: z.ZodNullable<z.ZodString>;
10671
10818
  }, "strip", z.ZodTypeAny, {
10672
10819
  id: string;
10820
+ status: string | null;
10673
10821
  createdAt: Date;
10674
10822
  updatedAt: Date;
10675
10823
  deletedAt: Date | null;
@@ -10678,9 +10826,9 @@ export declare const lineContract: {
10678
10826
  bucketName: string;
10679
10827
  fileSize: number;
10680
10828
  fileUrl: string | null;
10681
- status?: string | undefined;
10682
10829
  }, {
10683
10830
  id: string;
10831
+ status: string | null;
10684
10832
  createdAt: Date;
10685
10833
  updatedAt: Date;
10686
10834
  deletedAt: Date | null;
@@ -10689,7 +10837,6 @@ export declare const lineContract: {
10689
10837
  bucketName: string;
10690
10838
  fileSize: number;
10691
10839
  fileUrl: string | null;
10692
- status?: string | undefined;
10693
10840
  }>;
10694
10841
  repliedMessage: z.ZodLazy<z.ZodObject<{
10695
10842
  id: z.ZodString;
@@ -10698,7 +10845,7 @@ export declare const lineContract: {
10698
10845
  deletedAt: z.ZodNullable<z.ZodDate>;
10699
10846
  message: z.ZodString;
10700
10847
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10701
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "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"]>;
10848
+ 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"]>;
10702
10849
  readAt: z.ZodDate;
10703
10850
  metadata: z.ZodAny;
10704
10851
  platformId: z.ZodString;
@@ -10719,9 +10866,10 @@ export declare const lineContract: {
10719
10866
  fileSize: z.ZodNumber;
10720
10867
  fileKey: z.ZodString;
10721
10868
  fileUrl: z.ZodNullable<z.ZodString>;
10722
- status: z.ZodOptional<z.ZodString>;
10869
+ status: z.ZodNullable<z.ZodString>;
10723
10870
  }, "strip", z.ZodTypeAny, {
10724
10871
  id: string;
10872
+ status: string | null;
10725
10873
  createdAt: Date;
10726
10874
  updatedAt: Date;
10727
10875
  deletedAt: Date | null;
@@ -10730,9 +10878,9 @@ export declare const lineContract: {
10730
10878
  bucketName: string;
10731
10879
  fileSize: number;
10732
10880
  fileUrl: string | null;
10733
- status?: string | undefined;
10734
10881
  }, {
10735
10882
  id: string;
10883
+ status: string | null;
10736
10884
  createdAt: Date;
10737
10885
  updatedAt: Date;
10738
10886
  deletedAt: Date | null;
@@ -10741,7 +10889,6 @@ export declare const lineContract: {
10741
10889
  bucketName: string;
10742
10890
  fileSize: number;
10743
10891
  fileUrl: string | null;
10744
- status?: string | undefined;
10745
10892
  }>;
10746
10893
  actor: z.ZodObject<{
10747
10894
  id: z.ZodString;
@@ -11356,7 +11503,7 @@ export declare const lineContract: {
11356
11503
  };
11357
11504
  }>;
11358
11505
  }, "strip", z.ZodTypeAny, {
11359
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11506
+ 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";
11360
11507
  message: string;
11361
11508
  id: string;
11362
11509
  url: string;
@@ -11410,6 +11557,7 @@ export declare const lineContract: {
11410
11557
  };
11411
11558
  upload: {
11412
11559
  id: string;
11560
+ status: string | null;
11413
11561
  createdAt: Date;
11414
11562
  updatedAt: Date;
11415
11563
  deletedAt: Date | null;
@@ -11418,7 +11566,6 @@ export declare const lineContract: {
11418
11566
  bucketName: string;
11419
11567
  fileSize: number;
11420
11568
  fileUrl: string | null;
11421
- status?: string | undefined;
11422
11569
  };
11423
11570
  assignee: {
11424
11571
  id: string;
@@ -11518,7 +11665,7 @@ export declare const lineContract: {
11518
11665
  metadata?: any;
11519
11666
  template?: any;
11520
11667
  }, {
11521
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11668
+ 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";
11522
11669
  message: string;
11523
11670
  id: string;
11524
11671
  url: string;
@@ -11572,6 +11719,7 @@ export declare const lineContract: {
11572
11719
  };
11573
11720
  upload: {
11574
11721
  id: string;
11722
+ status: string | null;
11575
11723
  createdAt: Date;
11576
11724
  updatedAt: Date;
11577
11725
  deletedAt: Date | null;
@@ -11580,7 +11728,6 @@ export declare const lineContract: {
11580
11728
  bucketName: string;
11581
11729
  fileSize: number;
11582
11730
  fileUrl: string | null;
11583
- status?: string | undefined;
11584
11731
  };
11585
11732
  assignee: {
11586
11733
  id: string;
@@ -12320,7 +12467,7 @@ export declare const lineContract: {
12320
12467
  editedMessageid: z.ZodString;
12321
12468
  label: z.ZodOptional<z.ZodString>;
12322
12469
  }, "strip", z.ZodTypeAny, {
12323
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12470
+ 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";
12324
12471
  message: string;
12325
12472
  id: string;
12326
12473
  url: string;
@@ -12374,6 +12521,7 @@ export declare const lineContract: {
12374
12521
  };
12375
12522
  upload: {
12376
12523
  id: string;
12524
+ status: string | null;
12377
12525
  createdAt: Date;
12378
12526
  updatedAt: Date;
12379
12527
  deletedAt: Date | null;
@@ -12382,7 +12530,6 @@ export declare const lineContract: {
12382
12530
  bucketName: string;
12383
12531
  fileSize: number;
12384
12532
  fileUrl: string | null;
12385
- status?: string | undefined;
12386
12533
  };
12387
12534
  assignee: {
12388
12535
  id: string;
@@ -12443,15 +12590,18 @@ export declare const lineContract: {
12443
12590
  additionalCredentials?: any;
12444
12591
  senderId?: string | undefined;
12445
12592
  whatsapp?: {
12446
- email: string;
12447
- wabaExternalId: string;
12448
- phoneNumberId: string;
12449
- wabaBusinessId?: string | undefined;
12450
- clientId?: string | undefined;
12451
- channelId?: string | undefined;
12452
- status?: "active" | "pending" | undefined;
12593
+ wabaBusinessId?: string | null | undefined;
12594
+ wabaExternalId?: string | null | undefined;
12595
+ phoneNumberId?: string | null | undefined;
12596
+ email?: string | null | undefined;
12597
+ clientId?: string | null | undefined;
12598
+ channelId?: string | null | undefined;
12599
+ waapiInstanceId?: string | null | undefined;
12600
+ qr?: string | null | undefined;
12601
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12453
12602
  apiKey?: string | undefined;
12454
12603
  tier?: "basic" | "regular" | "premium" | undefined;
12604
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12455
12605
  } | undefined;
12456
12606
  vonageCredentials?: {
12457
12607
  apiKey: string;
@@ -12623,6 +12773,7 @@ export declare const lineContract: {
12623
12773
  dateValue: Date | null;
12624
12774
  uploads: {
12625
12775
  id: string;
12776
+ status: string | null;
12626
12777
  createdAt: Date;
12627
12778
  updatedAt: Date;
12628
12779
  deletedAt: Date | null;
@@ -12631,7 +12782,6 @@ export declare const lineContract: {
12631
12782
  bucketName: string;
12632
12783
  fileSize: number;
12633
12784
  fileUrl: string | null;
12634
- status?: string | undefined;
12635
12785
  }[];
12636
12786
  }[];
12637
12787
  company: {
@@ -12870,7 +13020,7 @@ export declare const lineContract: {
12870
13020
  previewUrl: string;
12871
13021
  imageSetId: string;
12872
13022
  repliedMessage: {
12873
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13023
+ 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";
12874
13024
  message: string;
12875
13025
  id: string;
12876
13026
  url: string;
@@ -12924,6 +13074,7 @@ export declare const lineContract: {
12924
13074
  };
12925
13075
  upload: {
12926
13076
  id: string;
13077
+ status: string | null;
12927
13078
  createdAt: Date;
12928
13079
  updatedAt: Date;
12929
13080
  deletedAt: Date | null;
@@ -12932,7 +13083,6 @@ export declare const lineContract: {
12932
13083
  bucketName: string;
12933
13084
  fileSize: number;
12934
13085
  fileUrl: string | null;
12935
- status?: string | undefined;
12936
13086
  };
12937
13087
  assignee: {
12938
13088
  id: string;
@@ -13081,7 +13231,7 @@ export declare const lineContract: {
13081
13231
  template?: any;
13082
13232
  label?: string | undefined;
13083
13233
  }, {
13084
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13234
+ 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";
13085
13235
  message: string;
13086
13236
  id: string;
13087
13237
  url: string;
@@ -13135,6 +13285,7 @@ export declare const lineContract: {
13135
13285
  };
13136
13286
  upload: {
13137
13287
  id: string;
13288
+ status: string | null;
13138
13289
  createdAt: Date;
13139
13290
  updatedAt: Date;
13140
13291
  deletedAt: Date | null;
@@ -13143,7 +13294,6 @@ export declare const lineContract: {
13143
13294
  bucketName: string;
13144
13295
  fileSize: number;
13145
13296
  fileUrl: string | null;
13146
- status?: string | undefined;
13147
13297
  };
13148
13298
  assignee: {
13149
13299
  id: string;
@@ -13204,15 +13354,18 @@ export declare const lineContract: {
13204
13354
  additionalCredentials?: any;
13205
13355
  senderId?: string | undefined;
13206
13356
  whatsapp?: {
13207
- email: string;
13208
- wabaExternalId: string;
13209
- phoneNumberId: string;
13210
- wabaBusinessId?: string | undefined;
13211
- clientId?: string | undefined;
13212
- channelId?: string | undefined;
13213
- status?: "active" | "pending" | undefined;
13357
+ wabaBusinessId?: string | null | undefined;
13358
+ wabaExternalId?: string | null | undefined;
13359
+ phoneNumberId?: string | null | undefined;
13360
+ email?: string | null | undefined;
13361
+ clientId?: string | null | undefined;
13362
+ channelId?: string | null | undefined;
13363
+ waapiInstanceId?: string | null | undefined;
13364
+ qr?: string | null | undefined;
13365
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13214
13366
  apiKey?: string | undefined;
13215
13367
  tier?: "basic" | "regular" | "premium" | undefined;
13368
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13216
13369
  } | undefined;
13217
13370
  vonageCredentials?: {
13218
13371
  apiKey: string;
@@ -13384,6 +13537,7 @@ export declare const lineContract: {
13384
13537
  dateValue: Date | null;
13385
13538
  uploads: {
13386
13539
  id: string;
13540
+ status: string | null;
13387
13541
  createdAt: Date;
13388
13542
  updatedAt: Date;
13389
13543
  deletedAt: Date | null;
@@ -13392,7 +13546,6 @@ export declare const lineContract: {
13392
13546
  bucketName: string;
13393
13547
  fileSize: number;
13394
13548
  fileUrl: string | null;
13395
- status?: string | undefined;
13396
13549
  }[];
13397
13550
  }[];
13398
13551
  company: {
@@ -13631,7 +13784,7 @@ export declare const lineContract: {
13631
13784
  previewUrl: string;
13632
13785
  imageSetId: string;
13633
13786
  repliedMessage: {
13634
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13787
+ 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";
13635
13788
  message: string;
13636
13789
  id: string;
13637
13790
  url: string;
@@ -13685,6 +13838,7 @@ export declare const lineContract: {
13685
13838
  };
13686
13839
  upload: {
13687
13840
  id: string;
13841
+ status: string | null;
13688
13842
  createdAt: Date;
13689
13843
  updatedAt: Date;
13690
13844
  deletedAt: Date | null;
@@ -13693,7 +13847,6 @@ export declare const lineContract: {
13693
13847
  bucketName: string;
13694
13848
  fileSize: number;
13695
13849
  fileUrl: string | null;
13696
- status?: string | undefined;
13697
13850
  };
13698
13851
  assignee: {
13699
13852
  id: string;
@@ -13843,7 +13996,7 @@ export declare const lineContract: {
13843
13996
  label?: string | undefined;
13844
13997
  }>>>;
13845
13998
  }, "strip", z.ZodTypeAny, {
13846
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13999
+ 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";
13847
14000
  message: string;
13848
14001
  id: string;
13849
14002
  url: string;
@@ -13897,6 +14050,7 @@ export declare const lineContract: {
13897
14050
  };
13898
14051
  upload: {
13899
14052
  id: string;
14053
+ status: string | null;
13900
14054
  createdAt: Date;
13901
14055
  updatedAt: Date;
13902
14056
  deletedAt: Date | null;
@@ -13905,7 +14059,6 @@ export declare const lineContract: {
13905
14059
  bucketName: string;
13906
14060
  fileSize: number;
13907
14061
  fileUrl: string | null;
13908
- status?: string | undefined;
13909
14062
  };
13910
14063
  assignee: {
13911
14064
  id: string;
@@ -13966,15 +14119,18 @@ export declare const lineContract: {
13966
14119
  additionalCredentials?: any;
13967
14120
  senderId?: string | undefined;
13968
14121
  whatsapp?: {
13969
- email: string;
13970
- wabaExternalId: string;
13971
- phoneNumberId: string;
13972
- wabaBusinessId?: string | undefined;
13973
- clientId?: string | undefined;
13974
- channelId?: string | undefined;
13975
- status?: "active" | "pending" | undefined;
14122
+ wabaBusinessId?: string | null | undefined;
14123
+ wabaExternalId?: string | null | undefined;
14124
+ phoneNumberId?: string | null | undefined;
14125
+ email?: string | null | undefined;
14126
+ clientId?: string | null | undefined;
14127
+ channelId?: string | null | undefined;
14128
+ waapiInstanceId?: string | null | undefined;
14129
+ qr?: string | null | undefined;
14130
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13976
14131
  apiKey?: string | undefined;
13977
14132
  tier?: "basic" | "regular" | "premium" | undefined;
14133
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13978
14134
  } | undefined;
13979
14135
  vonageCredentials?: {
13980
14136
  apiKey: string;
@@ -14146,6 +14302,7 @@ export declare const lineContract: {
14146
14302
  dateValue: Date | null;
14147
14303
  uploads: {
14148
14304
  id: string;
14305
+ status: string | null;
14149
14306
  createdAt: Date;
14150
14307
  updatedAt: Date;
14151
14308
  deletedAt: Date | null;
@@ -14154,7 +14311,6 @@ export declare const lineContract: {
14154
14311
  bucketName: string;
14155
14312
  fileSize: number;
14156
14313
  fileUrl: string | null;
14157
- status?: string | undefined;
14158
14314
  }[];
14159
14315
  }[];
14160
14316
  company: {
@@ -14393,7 +14549,7 @@ export declare const lineContract: {
14393
14549
  previewUrl: string;
14394
14550
  imageSetId: string;
14395
14551
  repliedMessage: {
14396
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14552
+ 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";
14397
14553
  message: string;
14398
14554
  id: string;
14399
14555
  url: string;
@@ -14447,6 +14603,7 @@ export declare const lineContract: {
14447
14603
  };
14448
14604
  upload: {
14449
14605
  id: string;
14606
+ status: string | null;
14450
14607
  createdAt: Date;
14451
14608
  updatedAt: Date;
14452
14609
  deletedAt: Date | null;
@@ -14455,7 +14612,6 @@ export declare const lineContract: {
14455
14612
  bucketName: string;
14456
14613
  fileSize: number;
14457
14614
  fileUrl: string | null;
14458
- status?: string | undefined;
14459
14615
  };
14460
14616
  assignee: {
14461
14617
  id: string;
@@ -14604,7 +14760,7 @@ export declare const lineContract: {
14604
14760
  template?: any;
14605
14761
  metadata?: any;
14606
14762
  fromMessage?: {
14607
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14763
+ 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";
14608
14764
  message: string;
14609
14765
  id: string;
14610
14766
  url: string;
@@ -14658,6 +14814,7 @@ export declare const lineContract: {
14658
14814
  };
14659
14815
  upload: {
14660
14816
  id: string;
14817
+ status: string | null;
14661
14818
  createdAt: Date;
14662
14819
  updatedAt: Date;
14663
14820
  deletedAt: Date | null;
@@ -14666,7 +14823,6 @@ export declare const lineContract: {
14666
14823
  bucketName: string;
14667
14824
  fileSize: number;
14668
14825
  fileUrl: string | null;
14669
- status?: string | undefined;
14670
14826
  };
14671
14827
  assignee: {
14672
14828
  id: string;
@@ -14727,15 +14883,18 @@ export declare const lineContract: {
14727
14883
  additionalCredentials?: any;
14728
14884
  senderId?: string | undefined;
14729
14885
  whatsapp?: {
14730
- email: string;
14731
- wabaExternalId: string;
14732
- phoneNumberId: string;
14733
- wabaBusinessId?: string | undefined;
14734
- clientId?: string | undefined;
14735
- channelId?: string | undefined;
14736
- status?: "active" | "pending" | undefined;
14886
+ wabaBusinessId?: string | null | undefined;
14887
+ wabaExternalId?: string | null | undefined;
14888
+ phoneNumberId?: string | null | undefined;
14889
+ email?: string | null | undefined;
14890
+ clientId?: string | null | undefined;
14891
+ channelId?: string | null | undefined;
14892
+ waapiInstanceId?: string | null | undefined;
14893
+ qr?: string | null | undefined;
14894
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14737
14895
  apiKey?: string | undefined;
14738
14896
  tier?: "basic" | "regular" | "premium" | undefined;
14897
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14739
14898
  } | undefined;
14740
14899
  vonageCredentials?: {
14741
14900
  apiKey: string;
@@ -14907,6 +15066,7 @@ export declare const lineContract: {
14907
15066
  dateValue: Date | null;
14908
15067
  uploads: {
14909
15068
  id: string;
15069
+ status: string | null;
14910
15070
  createdAt: Date;
14911
15071
  updatedAt: Date;
14912
15072
  deletedAt: Date | null;
@@ -14915,7 +15075,6 @@ export declare const lineContract: {
14915
15075
  bucketName: string;
14916
15076
  fileSize: number;
14917
15077
  fileUrl: string | null;
14918
- status?: string | undefined;
14919
15078
  }[];
14920
15079
  }[];
14921
15080
  company: {
@@ -15154,7 +15313,7 @@ export declare const lineContract: {
15154
15313
  previewUrl: string;
15155
15314
  imageSetId: string;
15156
15315
  repliedMessage: {
15157
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15316
+ 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";
15158
15317
  message: string;
15159
15318
  id: string;
15160
15319
  url: string;
@@ -15208,6 +15367,7 @@ export declare const lineContract: {
15208
15367
  };
15209
15368
  upload: {
15210
15369
  id: string;
15370
+ status: string | null;
15211
15371
  createdAt: Date;
15212
15372
  updatedAt: Date;
15213
15373
  deletedAt: Date | null;
@@ -15216,7 +15376,6 @@ export declare const lineContract: {
15216
15376
  bucketName: string;
15217
15377
  fileSize: number;
15218
15378
  fileUrl: string | null;
15219
- status?: string | undefined;
15220
15379
  };
15221
15380
  assignee: {
15222
15381
  id: string;
@@ -15366,7 +15525,7 @@ export declare const lineContract: {
15366
15525
  label?: string | undefined;
15367
15526
  } | null | undefined;
15368
15527
  }, {
15369
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15528
+ 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";
15370
15529
  message: string;
15371
15530
  id: string;
15372
15531
  url: string;
@@ -15420,6 +15579,7 @@ export declare const lineContract: {
15420
15579
  };
15421
15580
  upload: {
15422
15581
  id: string;
15582
+ status: string | null;
15423
15583
  createdAt: Date;
15424
15584
  updatedAt: Date;
15425
15585
  deletedAt: Date | null;
@@ -15428,7 +15588,6 @@ export declare const lineContract: {
15428
15588
  bucketName: string;
15429
15589
  fileSize: number;
15430
15590
  fileUrl: string | null;
15431
- status?: string | undefined;
15432
15591
  };
15433
15592
  assignee: {
15434
15593
  id: string;
@@ -15489,15 +15648,18 @@ export declare const lineContract: {
15489
15648
  additionalCredentials?: any;
15490
15649
  senderId?: string | undefined;
15491
15650
  whatsapp?: {
15492
- email: string;
15493
- wabaExternalId: string;
15494
- phoneNumberId: string;
15495
- wabaBusinessId?: string | undefined;
15496
- clientId?: string | undefined;
15497
- channelId?: string | undefined;
15498
- status?: "active" | "pending" | undefined;
15651
+ wabaBusinessId?: string | null | undefined;
15652
+ wabaExternalId?: string | null | undefined;
15653
+ phoneNumberId?: string | null | undefined;
15654
+ email?: string | null | undefined;
15655
+ clientId?: string | null | undefined;
15656
+ channelId?: string | null | undefined;
15657
+ waapiInstanceId?: string | null | undefined;
15658
+ qr?: string | null | undefined;
15659
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15499
15660
  apiKey?: string | undefined;
15500
15661
  tier?: "basic" | "regular" | "premium" | undefined;
15662
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15501
15663
  } | undefined;
15502
15664
  vonageCredentials?: {
15503
15665
  apiKey: string;
@@ -15669,6 +15831,7 @@ export declare const lineContract: {
15669
15831
  dateValue: Date | null;
15670
15832
  uploads: {
15671
15833
  id: string;
15834
+ status: string | null;
15672
15835
  createdAt: Date;
15673
15836
  updatedAt: Date;
15674
15837
  deletedAt: Date | null;
@@ -15677,7 +15840,6 @@ export declare const lineContract: {
15677
15840
  bucketName: string;
15678
15841
  fileSize: number;
15679
15842
  fileUrl: string | null;
15680
- status?: string | undefined;
15681
15843
  }[];
15682
15844
  }[];
15683
15845
  company: {
@@ -15916,7 +16078,7 @@ export declare const lineContract: {
15916
16078
  previewUrl: string;
15917
16079
  imageSetId: string;
15918
16080
  repliedMessage: {
15919
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16081
+ 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";
15920
16082
  message: string;
15921
16083
  id: string;
15922
16084
  url: string;
@@ -15970,6 +16132,7 @@ export declare const lineContract: {
15970
16132
  };
15971
16133
  upload: {
15972
16134
  id: string;
16135
+ status: string | null;
15973
16136
  createdAt: Date;
15974
16137
  updatedAt: Date;
15975
16138
  deletedAt: Date | null;
@@ -15978,7 +16141,6 @@ export declare const lineContract: {
15978
16141
  bucketName: string;
15979
16142
  fileSize: number;
15980
16143
  fileUrl: string | null;
15981
- status?: string | undefined;
15982
16144
  };
15983
16145
  assignee: {
15984
16146
  id: string;
@@ -16127,7 +16289,7 @@ export declare const lineContract: {
16127
16289
  template?: any;
16128
16290
  metadata?: any;
16129
16291
  fromMessage?: {
16130
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16292
+ 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";
16131
16293
  message: string;
16132
16294
  id: string;
16133
16295
  url: string;
@@ -16181,6 +16343,7 @@ export declare const lineContract: {
16181
16343
  };
16182
16344
  upload: {
16183
16345
  id: string;
16346
+ status: string | null;
16184
16347
  createdAt: Date;
16185
16348
  updatedAt: Date;
16186
16349
  deletedAt: Date | null;
@@ -16189,7 +16352,6 @@ export declare const lineContract: {
16189
16352
  bucketName: string;
16190
16353
  fileSize: number;
16191
16354
  fileUrl: string | null;
16192
- status?: string | undefined;
16193
16355
  };
16194
16356
  assignee: {
16195
16357
  id: string;
@@ -16250,15 +16412,18 @@ export declare const lineContract: {
16250
16412
  additionalCredentials?: any;
16251
16413
  senderId?: string | undefined;
16252
16414
  whatsapp?: {
16253
- email: string;
16254
- wabaExternalId: string;
16255
- phoneNumberId: string;
16256
- wabaBusinessId?: string | undefined;
16257
- clientId?: string | undefined;
16258
- channelId?: string | undefined;
16259
- status?: "active" | "pending" | undefined;
16415
+ wabaBusinessId?: string | null | undefined;
16416
+ wabaExternalId?: string | null | undefined;
16417
+ phoneNumberId?: string | null | undefined;
16418
+ email?: string | null | undefined;
16419
+ clientId?: string | null | undefined;
16420
+ channelId?: string | null | undefined;
16421
+ waapiInstanceId?: string | null | undefined;
16422
+ qr?: string | null | undefined;
16423
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16260
16424
  apiKey?: string | undefined;
16261
16425
  tier?: "basic" | "regular" | "premium" | undefined;
16426
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16262
16427
  } | undefined;
16263
16428
  vonageCredentials?: {
16264
16429
  apiKey: string;
@@ -16430,6 +16595,7 @@ export declare const lineContract: {
16430
16595
  dateValue: Date | null;
16431
16596
  uploads: {
16432
16597
  id: string;
16598
+ status: string | null;
16433
16599
  createdAt: Date;
16434
16600
  updatedAt: Date;
16435
16601
  deletedAt: Date | null;
@@ -16438,7 +16604,6 @@ export declare const lineContract: {
16438
16604
  bucketName: string;
16439
16605
  fileSize: number;
16440
16606
  fileUrl: string | null;
16441
- status?: string | undefined;
16442
16607
  }[];
16443
16608
  }[];
16444
16609
  company: {
@@ -16677,7 +16842,7 @@ export declare const lineContract: {
16677
16842
  previewUrl: string;
16678
16843
  imageSetId: string;
16679
16844
  repliedMessage: {
16680
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16845
+ 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";
16681
16846
  message: string;
16682
16847
  id: string;
16683
16848
  url: string;
@@ -16731,6 +16896,7 @@ export declare const lineContract: {
16731
16896
  };
16732
16897
  upload: {
16733
16898
  id: string;
16899
+ status: string | null;
16734
16900
  createdAt: Date;
16735
16901
  updatedAt: Date;
16736
16902
  deletedAt: Date | null;
@@ -16739,7 +16905,6 @@ export declare const lineContract: {
16739
16905
  bucketName: string;
16740
16906
  fileSize: number;
16741
16907
  fileUrl: string | null;
16742
- status?: string | undefined;
16743
16908
  };
16744
16909
  assignee: {
16745
16910
  id: string;
@@ -16891,7 +17056,7 @@ export declare const lineContract: {
16891
17056
  }>;
16892
17057
  }, "strip", z.ZodTypeAny, {
16893
17058
  data: {
16894
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17059
+ 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";
16895
17060
  message: string;
16896
17061
  id: string;
16897
17062
  url: string;
@@ -16945,6 +17110,7 @@ export declare const lineContract: {
16945
17110
  };
16946
17111
  upload: {
16947
17112
  id: string;
17113
+ status: string | null;
16948
17114
  createdAt: Date;
16949
17115
  updatedAt: Date;
16950
17116
  deletedAt: Date | null;
@@ -16953,7 +17119,6 @@ export declare const lineContract: {
16953
17119
  bucketName: string;
16954
17120
  fileSize: number;
16955
17121
  fileUrl: string | null;
16956
- status?: string | undefined;
16957
17122
  };
16958
17123
  assignee: {
16959
17124
  id: string;
@@ -17014,15 +17179,18 @@ export declare const lineContract: {
17014
17179
  additionalCredentials?: any;
17015
17180
  senderId?: string | undefined;
17016
17181
  whatsapp?: {
17017
- email: string;
17018
- wabaExternalId: string;
17019
- phoneNumberId: string;
17020
- wabaBusinessId?: string | undefined;
17021
- clientId?: string | undefined;
17022
- channelId?: string | undefined;
17023
- status?: "active" | "pending" | undefined;
17182
+ wabaBusinessId?: string | null | undefined;
17183
+ wabaExternalId?: string | null | undefined;
17184
+ phoneNumberId?: string | null | undefined;
17185
+ email?: string | null | undefined;
17186
+ clientId?: string | null | undefined;
17187
+ channelId?: string | null | undefined;
17188
+ waapiInstanceId?: string | null | undefined;
17189
+ qr?: string | null | undefined;
17190
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17024
17191
  apiKey?: string | undefined;
17025
17192
  tier?: "basic" | "regular" | "premium" | undefined;
17193
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17026
17194
  } | undefined;
17027
17195
  vonageCredentials?: {
17028
17196
  apiKey: string;
@@ -17194,6 +17362,7 @@ export declare const lineContract: {
17194
17362
  dateValue: Date | null;
17195
17363
  uploads: {
17196
17364
  id: string;
17365
+ status: string | null;
17197
17366
  createdAt: Date;
17198
17367
  updatedAt: Date;
17199
17368
  deletedAt: Date | null;
@@ -17202,7 +17371,6 @@ export declare const lineContract: {
17202
17371
  bucketName: string;
17203
17372
  fileSize: number;
17204
17373
  fileUrl: string | null;
17205
- status?: string | undefined;
17206
17374
  }[];
17207
17375
  }[];
17208
17376
  company: {
@@ -17441,7 +17609,7 @@ export declare const lineContract: {
17441
17609
  previewUrl: string;
17442
17610
  imageSetId: string;
17443
17611
  repliedMessage: {
17444
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17612
+ 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";
17445
17613
  message: string;
17446
17614
  id: string;
17447
17615
  url: string;
@@ -17495,6 +17663,7 @@ export declare const lineContract: {
17495
17663
  };
17496
17664
  upload: {
17497
17665
  id: string;
17666
+ status: string | null;
17498
17667
  createdAt: Date;
17499
17668
  updatedAt: Date;
17500
17669
  deletedAt: Date | null;
@@ -17503,7 +17672,6 @@ export declare const lineContract: {
17503
17672
  bucketName: string;
17504
17673
  fileSize: number;
17505
17674
  fileUrl: string | null;
17506
- status?: string | undefined;
17507
17675
  };
17508
17676
  assignee: {
17509
17677
  id: string;
@@ -17652,7 +17820,7 @@ export declare const lineContract: {
17652
17820
  template?: any;
17653
17821
  metadata?: any;
17654
17822
  fromMessage?: {
17655
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17823
+ 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";
17656
17824
  message: string;
17657
17825
  id: string;
17658
17826
  url: string;
@@ -17706,6 +17874,7 @@ export declare const lineContract: {
17706
17874
  };
17707
17875
  upload: {
17708
17876
  id: string;
17877
+ status: string | null;
17709
17878
  createdAt: Date;
17710
17879
  updatedAt: Date;
17711
17880
  deletedAt: Date | null;
@@ -17714,7 +17883,6 @@ export declare const lineContract: {
17714
17883
  bucketName: string;
17715
17884
  fileSize: number;
17716
17885
  fileUrl: string | null;
17717
- status?: string | undefined;
17718
17886
  };
17719
17887
  assignee: {
17720
17888
  id: string;
@@ -17775,15 +17943,18 @@ export declare const lineContract: {
17775
17943
  additionalCredentials?: any;
17776
17944
  senderId?: string | undefined;
17777
17945
  whatsapp?: {
17778
- email: string;
17779
- wabaExternalId: string;
17780
- phoneNumberId: string;
17781
- wabaBusinessId?: string | undefined;
17782
- clientId?: string | undefined;
17783
- channelId?: string | undefined;
17784
- status?: "active" | "pending" | undefined;
17946
+ wabaBusinessId?: string | null | undefined;
17947
+ wabaExternalId?: string | null | undefined;
17948
+ phoneNumberId?: string | null | undefined;
17949
+ email?: string | null | undefined;
17950
+ clientId?: string | null | undefined;
17951
+ channelId?: string | null | undefined;
17952
+ waapiInstanceId?: string | null | undefined;
17953
+ qr?: string | null | undefined;
17954
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17785
17955
  apiKey?: string | undefined;
17786
17956
  tier?: "basic" | "regular" | "premium" | undefined;
17957
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17787
17958
  } | undefined;
17788
17959
  vonageCredentials?: {
17789
17960
  apiKey: string;
@@ -17955,6 +18126,7 @@ export declare const lineContract: {
17955
18126
  dateValue: Date | null;
17956
18127
  uploads: {
17957
18128
  id: string;
18129
+ status: string | null;
17958
18130
  createdAt: Date;
17959
18131
  updatedAt: Date;
17960
18132
  deletedAt: Date | null;
@@ -17963,7 +18135,6 @@ export declare const lineContract: {
17963
18135
  bucketName: string;
17964
18136
  fileSize: number;
17965
18137
  fileUrl: string | null;
17966
- status?: string | undefined;
17967
18138
  }[];
17968
18139
  }[];
17969
18140
  company: {
@@ -18202,7 +18373,7 @@ export declare const lineContract: {
18202
18373
  previewUrl: string;
18203
18374
  imageSetId: string;
18204
18375
  repliedMessage: {
18205
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18376
+ 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";
18206
18377
  message: string;
18207
18378
  id: string;
18208
18379
  url: string;
@@ -18256,6 +18427,7 @@ export declare const lineContract: {
18256
18427
  };
18257
18428
  upload: {
18258
18429
  id: string;
18430
+ status: string | null;
18259
18431
  createdAt: Date;
18260
18432
  updatedAt: Date;
18261
18433
  deletedAt: Date | null;
@@ -18264,7 +18436,6 @@ export declare const lineContract: {
18264
18436
  bucketName: string;
18265
18437
  fileSize: number;
18266
18438
  fileUrl: string | null;
18267
- status?: string | undefined;
18268
18439
  };
18269
18440
  assignee: {
18270
18441
  id: string;
@@ -18417,7 +18588,7 @@ export declare const lineContract: {
18417
18588
  requestId: string;
18418
18589
  }, {
18419
18590
  data: {
18420
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18591
+ 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";
18421
18592
  message: string;
18422
18593
  id: string;
18423
18594
  url: string;
@@ -18471,6 +18642,7 @@ export declare const lineContract: {
18471
18642
  };
18472
18643
  upload: {
18473
18644
  id: string;
18645
+ status: string | null;
18474
18646
  createdAt: Date;
18475
18647
  updatedAt: Date;
18476
18648
  deletedAt: Date | null;
@@ -18479,7 +18651,6 @@ export declare const lineContract: {
18479
18651
  bucketName: string;
18480
18652
  fileSize: number;
18481
18653
  fileUrl: string | null;
18482
- status?: string | undefined;
18483
18654
  };
18484
18655
  assignee: {
18485
18656
  id: string;
@@ -18540,15 +18711,18 @@ export declare const lineContract: {
18540
18711
  additionalCredentials?: any;
18541
18712
  senderId?: string | undefined;
18542
18713
  whatsapp?: {
18543
- email: string;
18544
- wabaExternalId: string;
18545
- phoneNumberId: string;
18546
- wabaBusinessId?: string | undefined;
18547
- clientId?: string | undefined;
18548
- channelId?: string | undefined;
18549
- status?: "active" | "pending" | undefined;
18714
+ wabaBusinessId?: string | null | undefined;
18715
+ wabaExternalId?: string | null | undefined;
18716
+ phoneNumberId?: string | null | undefined;
18717
+ email?: string | null | undefined;
18718
+ clientId?: string | null | undefined;
18719
+ channelId?: string | null | undefined;
18720
+ waapiInstanceId?: string | null | undefined;
18721
+ qr?: string | null | undefined;
18722
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18550
18723
  apiKey?: string | undefined;
18551
18724
  tier?: "basic" | "regular" | "premium" | undefined;
18725
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18552
18726
  } | undefined;
18553
18727
  vonageCredentials?: {
18554
18728
  apiKey: string;
@@ -18720,6 +18894,7 @@ export declare const lineContract: {
18720
18894
  dateValue: Date | null;
18721
18895
  uploads: {
18722
18896
  id: string;
18897
+ status: string | null;
18723
18898
  createdAt: Date;
18724
18899
  updatedAt: Date;
18725
18900
  deletedAt: Date | null;
@@ -18728,7 +18903,6 @@ export declare const lineContract: {
18728
18903
  bucketName: string;
18729
18904
  fileSize: number;
18730
18905
  fileUrl: string | null;
18731
- status?: string | undefined;
18732
18906
  }[];
18733
18907
  }[];
18734
18908
  company: {
@@ -18967,7 +19141,7 @@ export declare const lineContract: {
18967
19141
  previewUrl: string;
18968
19142
  imageSetId: string;
18969
19143
  repliedMessage: {
18970
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19144
+ 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";
18971
19145
  message: string;
18972
19146
  id: string;
18973
19147
  url: string;
@@ -19021,6 +19195,7 @@ export declare const lineContract: {
19021
19195
  };
19022
19196
  upload: {
19023
19197
  id: string;
19198
+ status: string | null;
19024
19199
  createdAt: Date;
19025
19200
  updatedAt: Date;
19026
19201
  deletedAt: Date | null;
@@ -19029,7 +19204,6 @@ export declare const lineContract: {
19029
19204
  bucketName: string;
19030
19205
  fileSize: number;
19031
19206
  fileUrl: string | null;
19032
- status?: string | undefined;
19033
19207
  };
19034
19208
  assignee: {
19035
19209
  id: string;
@@ -19178,7 +19352,7 @@ export declare const lineContract: {
19178
19352
  template?: any;
19179
19353
  metadata?: any;
19180
19354
  fromMessage?: {
19181
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19355
+ 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";
19182
19356
  message: string;
19183
19357
  id: string;
19184
19358
  url: string;
@@ -19232,6 +19406,7 @@ export declare const lineContract: {
19232
19406
  };
19233
19407
  upload: {
19234
19408
  id: string;
19409
+ status: string | null;
19235
19410
  createdAt: Date;
19236
19411
  updatedAt: Date;
19237
19412
  deletedAt: Date | null;
@@ -19240,7 +19415,6 @@ export declare const lineContract: {
19240
19415
  bucketName: string;
19241
19416
  fileSize: number;
19242
19417
  fileUrl: string | null;
19243
- status?: string | undefined;
19244
19418
  };
19245
19419
  assignee: {
19246
19420
  id: string;
@@ -19301,15 +19475,18 @@ export declare const lineContract: {
19301
19475
  additionalCredentials?: any;
19302
19476
  senderId?: string | undefined;
19303
19477
  whatsapp?: {
19304
- email: string;
19305
- wabaExternalId: string;
19306
- phoneNumberId: string;
19307
- wabaBusinessId?: string | undefined;
19308
- clientId?: string | undefined;
19309
- channelId?: string | undefined;
19310
- status?: "active" | "pending" | undefined;
19478
+ wabaBusinessId?: string | null | undefined;
19479
+ wabaExternalId?: string | null | undefined;
19480
+ phoneNumberId?: string | null | undefined;
19481
+ email?: string | null | undefined;
19482
+ clientId?: string | null | undefined;
19483
+ channelId?: string | null | undefined;
19484
+ waapiInstanceId?: string | null | undefined;
19485
+ qr?: string | null | undefined;
19486
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19311
19487
  apiKey?: string | undefined;
19312
19488
  tier?: "basic" | "regular" | "premium" | undefined;
19489
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19313
19490
  } | undefined;
19314
19491
  vonageCredentials?: {
19315
19492
  apiKey: string;
@@ -19481,6 +19658,7 @@ export declare const lineContract: {
19481
19658
  dateValue: Date | null;
19482
19659
  uploads: {
19483
19660
  id: string;
19661
+ status: string | null;
19484
19662
  createdAt: Date;
19485
19663
  updatedAt: Date;
19486
19664
  deletedAt: Date | null;
@@ -19489,7 +19667,6 @@ export declare const lineContract: {
19489
19667
  bucketName: string;
19490
19668
  fileSize: number;
19491
19669
  fileUrl: string | null;
19492
- status?: string | undefined;
19493
19670
  }[];
19494
19671
  }[];
19495
19672
  company: {
@@ -19728,7 +19905,7 @@ export declare const lineContract: {
19728
19905
  previewUrl: string;
19729
19906
  imageSetId: string;
19730
19907
  repliedMessage: {
19731
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19908
+ 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";
19732
19909
  message: string;
19733
19910
  id: string;
19734
19911
  url: string;
@@ -19782,6 +19959,7 @@ export declare const lineContract: {
19782
19959
  };
19783
19960
  upload: {
19784
19961
  id: string;
19962
+ status: string | null;
19785
19963
  createdAt: Date;
19786
19964
  updatedAt: Date;
19787
19965
  deletedAt: Date | null;
@@ -19790,7 +19968,6 @@ export declare const lineContract: {
19790
19968
  bucketName: string;
19791
19969
  fileSize: number;
19792
19970
  fileUrl: string | null;
19793
- status?: string | undefined;
19794
19971
  };
19795
19972
  assignee: {
19796
19973
  id: string;
@@ -19968,35 +20145,44 @@ export declare const lineContract: {
19968
20145
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19969
20146
  senderId: z.ZodOptional<z.ZodString>;
19970
20147
  whatsapp: z.ZodOptional<z.ZodObject<{
19971
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19972
- wabaExternalId: z.ZodString;
19973
- phoneNumberId: z.ZodString;
19974
- email: z.ZodString;
19975
- clientId: z.ZodOptional<z.ZodString>;
19976
- channelId: z.ZodOptional<z.ZodString>;
19977
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20148
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20149
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20150
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20151
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20152
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20153
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20154
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20155
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20156
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19978
20157
  apiKey: z.ZodOptional<z.ZodString>;
19979
20158
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20159
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19980
20160
  }, "strip", z.ZodTypeAny, {
19981
- email: string;
19982
- wabaExternalId: string;
19983
- phoneNumberId: string;
19984
- wabaBusinessId?: string | undefined;
19985
- clientId?: string | undefined;
19986
- channelId?: string | undefined;
19987
- status?: "active" | "pending" | undefined;
20161
+ wabaBusinessId?: string | null | undefined;
20162
+ wabaExternalId?: string | null | undefined;
20163
+ phoneNumberId?: string | null | undefined;
20164
+ email?: string | null | undefined;
20165
+ clientId?: string | null | undefined;
20166
+ channelId?: string | null | undefined;
20167
+ waapiInstanceId?: string | null | undefined;
20168
+ qr?: string | null | undefined;
20169
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19988
20170
  apiKey?: string | undefined;
19989
20171
  tier?: "basic" | "regular" | "premium" | undefined;
20172
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19990
20173
  }, {
19991
- email: string;
19992
- wabaExternalId: string;
19993
- phoneNumberId: string;
19994
- wabaBusinessId?: string | undefined;
19995
- clientId?: string | undefined;
19996
- channelId?: string | undefined;
19997
- status?: "active" | "pending" | undefined;
20174
+ wabaBusinessId?: string | null | undefined;
20175
+ wabaExternalId?: string | null | undefined;
20176
+ phoneNumberId?: string | null | undefined;
20177
+ email?: string | null | undefined;
20178
+ clientId?: string | null | undefined;
20179
+ channelId?: string | null | undefined;
20180
+ waapiInstanceId?: string | null | undefined;
20181
+ qr?: string | null | undefined;
20182
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19998
20183
  apiKey?: string | undefined;
19999
20184
  tier?: "basic" | "regular" | "premium" | undefined;
20185
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20000
20186
  }>>;
20001
20187
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20002
20188
  mobileNumber: z.ZodString;
@@ -20022,15 +20208,18 @@ export declare const lineContract: {
20022
20208
  additionalCredentials?: any;
20023
20209
  senderId?: string | undefined;
20024
20210
  whatsapp?: {
20025
- email: string;
20026
- wabaExternalId: string;
20027
- phoneNumberId: string;
20028
- wabaBusinessId?: string | undefined;
20029
- clientId?: string | undefined;
20030
- channelId?: string | undefined;
20031
- status?: "active" | "pending" | undefined;
20211
+ wabaBusinessId?: string | null | undefined;
20212
+ wabaExternalId?: string | null | undefined;
20213
+ phoneNumberId?: string | null | undefined;
20214
+ email?: string | null | undefined;
20215
+ clientId?: string | null | undefined;
20216
+ channelId?: string | null | undefined;
20217
+ waapiInstanceId?: string | null | undefined;
20218
+ qr?: string | null | undefined;
20219
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20032
20220
  apiKey?: string | undefined;
20033
20221
  tier?: "basic" | "regular" | "premium" | undefined;
20222
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20034
20223
  } | undefined;
20035
20224
  vonageCredentials?: {
20036
20225
  apiKey: string;
@@ -20048,15 +20237,18 @@ export declare const lineContract: {
20048
20237
  additionalCredentials?: any;
20049
20238
  senderId?: string | undefined;
20050
20239
  whatsapp?: {
20051
- email: string;
20052
- wabaExternalId: string;
20053
- phoneNumberId: string;
20054
- wabaBusinessId?: string | undefined;
20055
- clientId?: string | undefined;
20056
- channelId?: string | undefined;
20057
- status?: "active" | "pending" | undefined;
20240
+ wabaBusinessId?: string | null | undefined;
20241
+ wabaExternalId?: string | null | undefined;
20242
+ phoneNumberId?: string | null | undefined;
20243
+ email?: string | null | undefined;
20244
+ clientId?: string | null | undefined;
20245
+ channelId?: string | null | undefined;
20246
+ waapiInstanceId?: string | null | undefined;
20247
+ qr?: string | null | undefined;
20248
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20058
20249
  apiKey?: string | undefined;
20059
20250
  tier?: "basic" | "regular" | "premium" | undefined;
20251
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20060
20252
  } | undefined;
20061
20253
  vonageCredentials?: {
20062
20254
  apiKey: string;
@@ -20104,15 +20296,18 @@ export declare const lineContract: {
20104
20296
  additionalCredentials?: any;
20105
20297
  senderId?: string | undefined;
20106
20298
  whatsapp?: {
20107
- email: string;
20108
- wabaExternalId: string;
20109
- phoneNumberId: string;
20110
- wabaBusinessId?: string | undefined;
20111
- clientId?: string | undefined;
20112
- channelId?: string | undefined;
20113
- status?: "active" | "pending" | undefined;
20299
+ wabaBusinessId?: string | null | undefined;
20300
+ wabaExternalId?: string | null | undefined;
20301
+ phoneNumberId?: string | null | undefined;
20302
+ email?: string | null | undefined;
20303
+ clientId?: string | null | undefined;
20304
+ channelId?: string | null | undefined;
20305
+ waapiInstanceId?: string | null | undefined;
20306
+ qr?: string | null | undefined;
20307
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20114
20308
  apiKey?: string | undefined;
20115
20309
  tier?: "basic" | "regular" | "premium" | undefined;
20310
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20116
20311
  } | undefined;
20117
20312
  vonageCredentials?: {
20118
20313
  apiKey: string;
@@ -20148,15 +20343,18 @@ export declare const lineContract: {
20148
20343
  additionalCredentials?: any;
20149
20344
  senderId?: string | undefined;
20150
20345
  whatsapp?: {
20151
- email: string;
20152
- wabaExternalId: string;
20153
- phoneNumberId: string;
20154
- wabaBusinessId?: string | undefined;
20155
- clientId?: string | undefined;
20156
- channelId?: string | undefined;
20157
- status?: "active" | "pending" | undefined;
20346
+ wabaBusinessId?: string | null | undefined;
20347
+ wabaExternalId?: string | null | undefined;
20348
+ phoneNumberId?: string | null | undefined;
20349
+ email?: string | null | undefined;
20350
+ clientId?: string | null | undefined;
20351
+ channelId?: string | null | undefined;
20352
+ waapiInstanceId?: string | null | undefined;
20353
+ qr?: string | null | undefined;
20354
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20158
20355
  apiKey?: string | undefined;
20159
20356
  tier?: "basic" | "regular" | "premium" | undefined;
20357
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20160
20358
  } | undefined;
20161
20359
  vonageCredentials?: {
20162
20360
  apiKey: string;
@@ -20197,35 +20395,44 @@ export declare const lineContract: {
20197
20395
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20198
20396
  senderId: z.ZodOptional<z.ZodString>;
20199
20397
  whatsapp: z.ZodOptional<z.ZodObject<{
20200
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20201
- wabaExternalId: z.ZodString;
20202
- phoneNumberId: z.ZodString;
20203
- email: z.ZodString;
20204
- clientId: z.ZodOptional<z.ZodString>;
20205
- channelId: z.ZodOptional<z.ZodString>;
20206
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20398
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20399
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20400
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20401
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20402
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20403
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20404
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20405
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20406
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20207
20407
  apiKey: z.ZodOptional<z.ZodString>;
20208
20408
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20409
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20209
20410
  }, "strip", z.ZodTypeAny, {
20210
- email: string;
20211
- wabaExternalId: string;
20212
- phoneNumberId: string;
20213
- wabaBusinessId?: string | undefined;
20214
- clientId?: string | undefined;
20215
- channelId?: string | undefined;
20216
- status?: "active" | "pending" | undefined;
20411
+ wabaBusinessId?: string | null | undefined;
20412
+ wabaExternalId?: string | null | undefined;
20413
+ phoneNumberId?: string | null | undefined;
20414
+ email?: string | null | undefined;
20415
+ clientId?: string | null | undefined;
20416
+ channelId?: string | null | undefined;
20417
+ waapiInstanceId?: string | null | undefined;
20418
+ qr?: string | null | undefined;
20419
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20217
20420
  apiKey?: string | undefined;
20218
20421
  tier?: "basic" | "regular" | "premium" | undefined;
20422
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20219
20423
  }, {
20220
- email: string;
20221
- wabaExternalId: string;
20222
- phoneNumberId: string;
20223
- wabaBusinessId?: string | undefined;
20224
- clientId?: string | undefined;
20225
- channelId?: string | undefined;
20226
- status?: "active" | "pending" | undefined;
20424
+ wabaBusinessId?: string | null | undefined;
20425
+ wabaExternalId?: string | null | undefined;
20426
+ phoneNumberId?: string | null | undefined;
20427
+ email?: string | null | undefined;
20428
+ clientId?: string | null | undefined;
20429
+ channelId?: string | null | undefined;
20430
+ waapiInstanceId?: string | null | undefined;
20431
+ qr?: string | null | undefined;
20432
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20227
20433
  apiKey?: string | undefined;
20228
20434
  tier?: "basic" | "regular" | "premium" | undefined;
20435
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20229
20436
  }>>;
20230
20437
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20231
20438
  mobileNumber: z.ZodString;
@@ -20251,15 +20458,18 @@ export declare const lineContract: {
20251
20458
  additionalCredentials?: any;
20252
20459
  senderId?: string | undefined;
20253
20460
  whatsapp?: {
20254
- email: string;
20255
- wabaExternalId: string;
20256
- phoneNumberId: string;
20257
- wabaBusinessId?: string | undefined;
20258
- clientId?: string | undefined;
20259
- channelId?: string | undefined;
20260
- status?: "active" | "pending" | undefined;
20461
+ wabaBusinessId?: string | null | undefined;
20462
+ wabaExternalId?: string | null | undefined;
20463
+ phoneNumberId?: string | null | undefined;
20464
+ email?: string | null | undefined;
20465
+ clientId?: string | null | undefined;
20466
+ channelId?: string | null | undefined;
20467
+ waapiInstanceId?: string | null | undefined;
20468
+ qr?: string | null | undefined;
20469
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20261
20470
  apiKey?: string | undefined;
20262
20471
  tier?: "basic" | "regular" | "premium" | undefined;
20472
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20263
20473
  } | undefined;
20264
20474
  vonageCredentials?: {
20265
20475
  apiKey: string;
@@ -20277,15 +20487,18 @@ export declare const lineContract: {
20277
20487
  additionalCredentials?: any;
20278
20488
  senderId?: string | undefined;
20279
20489
  whatsapp?: {
20280
- email: string;
20281
- wabaExternalId: string;
20282
- phoneNumberId: string;
20283
- wabaBusinessId?: string | undefined;
20284
- clientId?: string | undefined;
20285
- channelId?: string | undefined;
20286
- status?: "active" | "pending" | undefined;
20490
+ wabaBusinessId?: string | null | undefined;
20491
+ wabaExternalId?: string | null | undefined;
20492
+ phoneNumberId?: string | null | undefined;
20493
+ email?: string | null | undefined;
20494
+ clientId?: string | null | undefined;
20495
+ channelId?: string | null | undefined;
20496
+ waapiInstanceId?: string | null | undefined;
20497
+ qr?: string | null | undefined;
20498
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20287
20499
  apiKey?: string | undefined;
20288
20500
  tier?: "basic" | "regular" | "premium" | undefined;
20501
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20289
20502
  } | undefined;
20290
20503
  vonageCredentials?: {
20291
20504
  apiKey: string;
@@ -20333,15 +20546,18 @@ export declare const lineContract: {
20333
20546
  additionalCredentials?: any;
20334
20547
  senderId?: string | undefined;
20335
20548
  whatsapp?: {
20336
- email: string;
20337
- wabaExternalId: string;
20338
- phoneNumberId: string;
20339
- wabaBusinessId?: string | undefined;
20340
- clientId?: string | undefined;
20341
- channelId?: string | undefined;
20342
- status?: "active" | "pending" | undefined;
20549
+ wabaBusinessId?: string | null | undefined;
20550
+ wabaExternalId?: string | null | undefined;
20551
+ phoneNumberId?: string | null | undefined;
20552
+ email?: string | null | undefined;
20553
+ clientId?: string | null | undefined;
20554
+ channelId?: string | null | undefined;
20555
+ waapiInstanceId?: string | null | undefined;
20556
+ qr?: string | null | undefined;
20557
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20343
20558
  apiKey?: string | undefined;
20344
20559
  tier?: "basic" | "regular" | "premium" | undefined;
20560
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20345
20561
  } | undefined;
20346
20562
  vonageCredentials?: {
20347
20563
  apiKey: string;
@@ -20377,15 +20593,18 @@ export declare const lineContract: {
20377
20593
  additionalCredentials?: any;
20378
20594
  senderId?: string | undefined;
20379
20595
  whatsapp?: {
20380
- email: string;
20381
- wabaExternalId: string;
20382
- phoneNumberId: string;
20383
- wabaBusinessId?: string | undefined;
20384
- clientId?: string | undefined;
20385
- channelId?: string | undefined;
20386
- status?: "active" | "pending" | undefined;
20596
+ wabaBusinessId?: string | null | undefined;
20597
+ wabaExternalId?: string | null | undefined;
20598
+ phoneNumberId?: string | null | undefined;
20599
+ email?: string | null | undefined;
20600
+ clientId?: string | null | undefined;
20601
+ channelId?: string | null | undefined;
20602
+ waapiInstanceId?: string | null | undefined;
20603
+ qr?: string | null | undefined;
20604
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20387
20605
  apiKey?: string | undefined;
20388
20606
  tier?: "basic" | "regular" | "premium" | undefined;
20607
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20389
20608
  } | undefined;
20390
20609
  vonageCredentials?: {
20391
20610
  apiKey: string;
@@ -20423,15 +20642,18 @@ export declare const lineContract: {
20423
20642
  additionalCredentials?: any;
20424
20643
  senderId?: string | undefined;
20425
20644
  whatsapp?: {
20426
- email: string;
20427
- wabaExternalId: string;
20428
- phoneNumberId: string;
20429
- wabaBusinessId?: string | undefined;
20430
- clientId?: string | undefined;
20431
- channelId?: string | undefined;
20432
- status?: "active" | "pending" | undefined;
20645
+ wabaBusinessId?: string | null | undefined;
20646
+ wabaExternalId?: string | null | undefined;
20647
+ phoneNumberId?: string | null | undefined;
20648
+ email?: string | null | undefined;
20649
+ clientId?: string | null | undefined;
20650
+ channelId?: string | null | undefined;
20651
+ waapiInstanceId?: string | null | undefined;
20652
+ qr?: string | null | undefined;
20653
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20433
20654
  apiKey?: string | undefined;
20434
20655
  tier?: "basic" | "regular" | "premium" | undefined;
20656
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20435
20657
  } | undefined;
20436
20658
  vonageCredentials?: {
20437
20659
  apiKey: string;
@@ -20470,15 +20692,18 @@ export declare const lineContract: {
20470
20692
  additionalCredentials?: any;
20471
20693
  senderId?: string | undefined;
20472
20694
  whatsapp?: {
20473
- email: string;
20474
- wabaExternalId: string;
20475
- phoneNumberId: string;
20476
- wabaBusinessId?: string | undefined;
20477
- clientId?: string | undefined;
20478
- channelId?: string | undefined;
20479
- status?: "active" | "pending" | undefined;
20695
+ wabaBusinessId?: string | null | undefined;
20696
+ wabaExternalId?: string | null | undefined;
20697
+ phoneNumberId?: string | null | undefined;
20698
+ email?: string | null | undefined;
20699
+ clientId?: string | null | undefined;
20700
+ channelId?: string | null | undefined;
20701
+ waapiInstanceId?: string | null | undefined;
20702
+ qr?: string | null | undefined;
20703
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20480
20704
  apiKey?: string | undefined;
20481
20705
  tier?: "basic" | "regular" | "premium" | undefined;
20706
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20482
20707
  } | undefined;
20483
20708
  vonageCredentials?: {
20484
20709
  apiKey: string;
@@ -20553,35 +20778,44 @@ export declare const lineContract: {
20553
20778
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20554
20779
  senderId: z.ZodOptional<z.ZodString>;
20555
20780
  whatsapp: z.ZodOptional<z.ZodObject<{
20556
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20557
- wabaExternalId: z.ZodString;
20558
- phoneNumberId: z.ZodString;
20559
- email: z.ZodString;
20560
- clientId: z.ZodOptional<z.ZodString>;
20561
- channelId: z.ZodOptional<z.ZodString>;
20562
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20781
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20782
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20783
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20784
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20785
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20786
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20787
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20788
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20789
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20563
20790
  apiKey: z.ZodOptional<z.ZodString>;
20564
20791
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20792
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20565
20793
  }, "strip", z.ZodTypeAny, {
20566
- email: string;
20567
- wabaExternalId: string;
20568
- phoneNumberId: string;
20569
- wabaBusinessId?: string | undefined;
20570
- clientId?: string | undefined;
20571
- channelId?: string | undefined;
20572
- status?: "active" | "pending" | undefined;
20794
+ wabaBusinessId?: string | null | undefined;
20795
+ wabaExternalId?: string | null | undefined;
20796
+ phoneNumberId?: string | null | undefined;
20797
+ email?: string | null | undefined;
20798
+ clientId?: string | null | undefined;
20799
+ channelId?: string | null | undefined;
20800
+ waapiInstanceId?: string | null | undefined;
20801
+ qr?: string | null | undefined;
20802
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20573
20803
  apiKey?: string | undefined;
20574
20804
  tier?: "basic" | "regular" | "premium" | undefined;
20805
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20575
20806
  }, {
20576
- email: string;
20577
- wabaExternalId: string;
20578
- phoneNumberId: string;
20579
- wabaBusinessId?: string | undefined;
20580
- clientId?: string | undefined;
20581
- channelId?: string | undefined;
20582
- status?: "active" | "pending" | undefined;
20807
+ wabaBusinessId?: string | null | undefined;
20808
+ wabaExternalId?: string | null | undefined;
20809
+ phoneNumberId?: string | null | undefined;
20810
+ email?: string | null | undefined;
20811
+ clientId?: string | null | undefined;
20812
+ channelId?: string | null | undefined;
20813
+ waapiInstanceId?: string | null | undefined;
20814
+ qr?: string | null | undefined;
20815
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20583
20816
  apiKey?: string | undefined;
20584
20817
  tier?: "basic" | "regular" | "premium" | undefined;
20818
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20585
20819
  }>>;
20586
20820
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20587
20821
  mobileNumber: z.ZodString;
@@ -20607,15 +20841,18 @@ export declare const lineContract: {
20607
20841
  additionalCredentials?: any;
20608
20842
  senderId?: string | undefined;
20609
20843
  whatsapp?: {
20610
- email: string;
20611
- wabaExternalId: string;
20612
- phoneNumberId: string;
20613
- wabaBusinessId?: string | undefined;
20614
- clientId?: string | undefined;
20615
- channelId?: string | undefined;
20616
- status?: "active" | "pending" | undefined;
20844
+ wabaBusinessId?: string | null | undefined;
20845
+ wabaExternalId?: string | null | undefined;
20846
+ phoneNumberId?: string | null | undefined;
20847
+ email?: string | null | undefined;
20848
+ clientId?: string | null | undefined;
20849
+ channelId?: string | null | undefined;
20850
+ waapiInstanceId?: string | null | undefined;
20851
+ qr?: string | null | undefined;
20852
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20617
20853
  apiKey?: string | undefined;
20618
20854
  tier?: "basic" | "regular" | "premium" | undefined;
20855
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20619
20856
  } | undefined;
20620
20857
  vonageCredentials?: {
20621
20858
  apiKey: string;
@@ -20633,15 +20870,18 @@ export declare const lineContract: {
20633
20870
  additionalCredentials?: any;
20634
20871
  senderId?: string | undefined;
20635
20872
  whatsapp?: {
20636
- email: string;
20637
- wabaExternalId: string;
20638
- phoneNumberId: string;
20639
- wabaBusinessId?: string | undefined;
20640
- clientId?: string | undefined;
20641
- channelId?: string | undefined;
20642
- status?: "active" | "pending" | undefined;
20873
+ wabaBusinessId?: string | null | undefined;
20874
+ wabaExternalId?: string | null | undefined;
20875
+ phoneNumberId?: string | null | undefined;
20876
+ email?: string | null | undefined;
20877
+ clientId?: string | null | undefined;
20878
+ channelId?: string | null | undefined;
20879
+ waapiInstanceId?: string | null | undefined;
20880
+ qr?: string | null | undefined;
20881
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20643
20882
  apiKey?: string | undefined;
20644
20883
  tier?: "basic" | "regular" | "premium" | undefined;
20884
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20645
20885
  } | undefined;
20646
20886
  vonageCredentials?: {
20647
20887
  apiKey: string;
@@ -20689,15 +20929,18 @@ export declare const lineContract: {
20689
20929
  additionalCredentials?: any;
20690
20930
  senderId?: string | undefined;
20691
20931
  whatsapp?: {
20692
- email: string;
20693
- wabaExternalId: string;
20694
- phoneNumberId: string;
20695
- wabaBusinessId?: string | undefined;
20696
- clientId?: string | undefined;
20697
- channelId?: string | undefined;
20698
- status?: "active" | "pending" | undefined;
20932
+ wabaBusinessId?: string | null | undefined;
20933
+ wabaExternalId?: string | null | undefined;
20934
+ phoneNumberId?: string | null | undefined;
20935
+ email?: string | null | undefined;
20936
+ clientId?: string | null | undefined;
20937
+ channelId?: string | null | undefined;
20938
+ waapiInstanceId?: string | null | undefined;
20939
+ qr?: string | null | undefined;
20940
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20699
20941
  apiKey?: string | undefined;
20700
20942
  tier?: "basic" | "regular" | "premium" | undefined;
20943
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20701
20944
  } | undefined;
20702
20945
  vonageCredentials?: {
20703
20946
  apiKey: string;
@@ -20733,15 +20976,18 @@ export declare const lineContract: {
20733
20976
  additionalCredentials?: any;
20734
20977
  senderId?: string | undefined;
20735
20978
  whatsapp?: {
20736
- email: string;
20737
- wabaExternalId: string;
20738
- phoneNumberId: string;
20739
- wabaBusinessId?: string | undefined;
20740
- clientId?: string | undefined;
20741
- channelId?: string | undefined;
20742
- status?: "active" | "pending" | undefined;
20979
+ wabaBusinessId?: string | null | undefined;
20980
+ wabaExternalId?: string | null | undefined;
20981
+ phoneNumberId?: string | null | undefined;
20982
+ email?: string | null | undefined;
20983
+ clientId?: string | null | undefined;
20984
+ channelId?: string | null | undefined;
20985
+ waapiInstanceId?: string | null | undefined;
20986
+ qr?: string | null | undefined;
20987
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20743
20988
  apiKey?: string | undefined;
20744
20989
  tier?: "basic" | "regular" | "premium" | undefined;
20990
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20745
20991
  } | undefined;
20746
20992
  vonageCredentials?: {
20747
20993
  apiKey: string;
@@ -20779,15 +21025,18 @@ export declare const lineContract: {
20779
21025
  additionalCredentials?: any;
20780
21026
  senderId?: string | undefined;
20781
21027
  whatsapp?: {
20782
- email: string;
20783
- wabaExternalId: string;
20784
- phoneNumberId: string;
20785
- wabaBusinessId?: string | undefined;
20786
- clientId?: string | undefined;
20787
- channelId?: string | undefined;
20788
- status?: "active" | "pending" | undefined;
21028
+ wabaBusinessId?: string | null | undefined;
21029
+ wabaExternalId?: string | null | undefined;
21030
+ phoneNumberId?: string | null | undefined;
21031
+ email?: string | null | undefined;
21032
+ clientId?: string | null | undefined;
21033
+ channelId?: string | null | undefined;
21034
+ waapiInstanceId?: string | null | undefined;
21035
+ qr?: string | null | undefined;
21036
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20789
21037
  apiKey?: string | undefined;
20790
21038
  tier?: "basic" | "regular" | "premium" | undefined;
21039
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20791
21040
  } | undefined;
20792
21041
  vonageCredentials?: {
20793
21042
  apiKey: string;
@@ -20826,15 +21075,18 @@ export declare const lineContract: {
20826
21075
  additionalCredentials?: any;
20827
21076
  senderId?: string | undefined;
20828
21077
  whatsapp?: {
20829
- email: string;
20830
- wabaExternalId: string;
20831
- phoneNumberId: string;
20832
- wabaBusinessId?: string | undefined;
20833
- clientId?: string | undefined;
20834
- channelId?: string | undefined;
20835
- status?: "active" | "pending" | undefined;
21078
+ wabaBusinessId?: string | null | undefined;
21079
+ wabaExternalId?: string | null | undefined;
21080
+ phoneNumberId?: string | null | undefined;
21081
+ email?: string | null | undefined;
21082
+ clientId?: string | null | undefined;
21083
+ channelId?: string | null | undefined;
21084
+ waapiInstanceId?: string | null | undefined;
21085
+ qr?: string | null | undefined;
21086
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20836
21087
  apiKey?: string | undefined;
20837
21088
  tier?: "basic" | "regular" | "premium" | undefined;
21089
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20838
21090
  } | undefined;
20839
21091
  vonageCredentials?: {
20840
21092
  apiKey: string;
@@ -20909,35 +21161,44 @@ export declare const lineContract: {
20909
21161
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20910
21162
  senderId: z.ZodOptional<z.ZodString>;
20911
21163
  whatsapp: z.ZodOptional<z.ZodObject<{
20912
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20913
- wabaExternalId: z.ZodString;
20914
- phoneNumberId: z.ZodString;
20915
- email: z.ZodString;
20916
- clientId: z.ZodOptional<z.ZodString>;
20917
- channelId: z.ZodOptional<z.ZodString>;
20918
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
21164
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21165
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21166
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21167
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21168
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21169
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21170
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21171
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21172
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20919
21173
  apiKey: z.ZodOptional<z.ZodString>;
20920
21174
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
21175
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20921
21176
  }, "strip", z.ZodTypeAny, {
20922
- email: string;
20923
- wabaExternalId: string;
20924
- phoneNumberId: string;
20925
- wabaBusinessId?: string | undefined;
20926
- clientId?: string | undefined;
20927
- channelId?: string | undefined;
20928
- status?: "active" | "pending" | undefined;
21177
+ wabaBusinessId?: string | null | undefined;
21178
+ wabaExternalId?: string | null | undefined;
21179
+ phoneNumberId?: string | null | undefined;
21180
+ email?: string | null | undefined;
21181
+ clientId?: string | null | undefined;
21182
+ channelId?: string | null | undefined;
21183
+ waapiInstanceId?: string | null | undefined;
21184
+ qr?: string | null | undefined;
21185
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20929
21186
  apiKey?: string | undefined;
20930
21187
  tier?: "basic" | "regular" | "premium" | undefined;
21188
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20931
21189
  }, {
20932
- email: string;
20933
- wabaExternalId: string;
20934
- phoneNumberId: string;
20935
- wabaBusinessId?: string | undefined;
20936
- clientId?: string | undefined;
20937
- channelId?: string | undefined;
20938
- status?: "active" | "pending" | undefined;
21190
+ wabaBusinessId?: string | null | undefined;
21191
+ wabaExternalId?: string | null | undefined;
21192
+ phoneNumberId?: string | null | undefined;
21193
+ email?: string | null | undefined;
21194
+ clientId?: string | null | undefined;
21195
+ channelId?: string | null | undefined;
21196
+ waapiInstanceId?: string | null | undefined;
21197
+ qr?: string | null | undefined;
21198
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20939
21199
  apiKey?: string | undefined;
20940
21200
  tier?: "basic" | "regular" | "premium" | undefined;
21201
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20941
21202
  }>>;
20942
21203
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20943
21204
  mobileNumber: z.ZodString;
@@ -20963,15 +21224,18 @@ export declare const lineContract: {
20963
21224
  additionalCredentials?: any;
20964
21225
  senderId?: string | undefined;
20965
21226
  whatsapp?: {
20966
- email: string;
20967
- wabaExternalId: string;
20968
- phoneNumberId: string;
20969
- wabaBusinessId?: string | undefined;
20970
- clientId?: string | undefined;
20971
- channelId?: string | undefined;
20972
- status?: "active" | "pending" | undefined;
21227
+ wabaBusinessId?: string | null | undefined;
21228
+ wabaExternalId?: string | null | undefined;
21229
+ phoneNumberId?: string | null | undefined;
21230
+ email?: string | null | undefined;
21231
+ clientId?: string | null | undefined;
21232
+ channelId?: string | null | undefined;
21233
+ waapiInstanceId?: string | null | undefined;
21234
+ qr?: string | null | undefined;
21235
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20973
21236
  apiKey?: string | undefined;
20974
21237
  tier?: "basic" | "regular" | "premium" | undefined;
21238
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20975
21239
  } | undefined;
20976
21240
  vonageCredentials?: {
20977
21241
  apiKey: string;
@@ -20989,15 +21253,18 @@ export declare const lineContract: {
20989
21253
  additionalCredentials?: any;
20990
21254
  senderId?: string | undefined;
20991
21255
  whatsapp?: {
20992
- email: string;
20993
- wabaExternalId: string;
20994
- phoneNumberId: string;
20995
- wabaBusinessId?: string | undefined;
20996
- clientId?: string | undefined;
20997
- channelId?: string | undefined;
20998
- status?: "active" | "pending" | undefined;
21256
+ wabaBusinessId?: string | null | undefined;
21257
+ wabaExternalId?: string | null | undefined;
21258
+ phoneNumberId?: string | null | undefined;
21259
+ email?: string | null | undefined;
21260
+ clientId?: string | null | undefined;
21261
+ channelId?: string | null | undefined;
21262
+ waapiInstanceId?: string | null | undefined;
21263
+ qr?: string | null | undefined;
21264
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20999
21265
  apiKey?: string | undefined;
21000
21266
  tier?: "basic" | "regular" | "premium" | undefined;
21267
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21001
21268
  } | undefined;
21002
21269
  vonageCredentials?: {
21003
21270
  apiKey: string;
@@ -21045,15 +21312,18 @@ export declare const lineContract: {
21045
21312
  additionalCredentials?: any;
21046
21313
  senderId?: string | undefined;
21047
21314
  whatsapp?: {
21048
- email: string;
21049
- wabaExternalId: string;
21050
- phoneNumberId: string;
21051
- wabaBusinessId?: string | undefined;
21052
- clientId?: string | undefined;
21053
- channelId?: string | undefined;
21054
- status?: "active" | "pending" | undefined;
21315
+ wabaBusinessId?: string | null | undefined;
21316
+ wabaExternalId?: string | null | undefined;
21317
+ phoneNumberId?: string | null | undefined;
21318
+ email?: string | null | undefined;
21319
+ clientId?: string | null | undefined;
21320
+ channelId?: string | null | undefined;
21321
+ waapiInstanceId?: string | null | undefined;
21322
+ qr?: string | null | undefined;
21323
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21055
21324
  apiKey?: string | undefined;
21056
21325
  tier?: "basic" | "regular" | "premium" | undefined;
21326
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21057
21327
  } | undefined;
21058
21328
  vonageCredentials?: {
21059
21329
  apiKey: string;
@@ -21089,15 +21359,18 @@ export declare const lineContract: {
21089
21359
  additionalCredentials?: any;
21090
21360
  senderId?: string | undefined;
21091
21361
  whatsapp?: {
21092
- email: string;
21093
- wabaExternalId: string;
21094
- phoneNumberId: string;
21095
- wabaBusinessId?: string | undefined;
21096
- clientId?: string | undefined;
21097
- channelId?: string | undefined;
21098
- status?: "active" | "pending" | undefined;
21362
+ wabaBusinessId?: string | null | undefined;
21363
+ wabaExternalId?: string | null | undefined;
21364
+ phoneNumberId?: string | null | undefined;
21365
+ email?: string | null | undefined;
21366
+ clientId?: string | null | undefined;
21367
+ channelId?: string | null | undefined;
21368
+ waapiInstanceId?: string | null | undefined;
21369
+ qr?: string | null | undefined;
21370
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21099
21371
  apiKey?: string | undefined;
21100
21372
  tier?: "basic" | "regular" | "premium" | undefined;
21373
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21101
21374
  } | undefined;
21102
21375
  vonageCredentials?: {
21103
21376
  apiKey: string;
@@ -21135,15 +21408,18 @@ export declare const lineContract: {
21135
21408
  additionalCredentials?: any;
21136
21409
  senderId?: string | undefined;
21137
21410
  whatsapp?: {
21138
- email: string;
21139
- wabaExternalId: string;
21140
- phoneNumberId: string;
21141
- wabaBusinessId?: string | undefined;
21142
- clientId?: string | undefined;
21143
- channelId?: string | undefined;
21144
- status?: "active" | "pending" | undefined;
21411
+ wabaBusinessId?: string | null | undefined;
21412
+ wabaExternalId?: string | null | undefined;
21413
+ phoneNumberId?: string | null | undefined;
21414
+ email?: string | null | undefined;
21415
+ clientId?: string | null | undefined;
21416
+ channelId?: string | null | undefined;
21417
+ waapiInstanceId?: string | null | undefined;
21418
+ qr?: string | null | undefined;
21419
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21145
21420
  apiKey?: string | undefined;
21146
21421
  tier?: "basic" | "regular" | "premium" | undefined;
21422
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21147
21423
  } | undefined;
21148
21424
  vonageCredentials?: {
21149
21425
  apiKey: string;
@@ -21182,15 +21458,18 @@ export declare const lineContract: {
21182
21458
  additionalCredentials?: any;
21183
21459
  senderId?: string | undefined;
21184
21460
  whatsapp?: {
21185
- email: string;
21186
- wabaExternalId: string;
21187
- phoneNumberId: string;
21188
- wabaBusinessId?: string | undefined;
21189
- clientId?: string | undefined;
21190
- channelId?: string | undefined;
21191
- status?: "active" | "pending" | undefined;
21461
+ wabaBusinessId?: string | null | undefined;
21462
+ wabaExternalId?: string | null | undefined;
21463
+ phoneNumberId?: string | null | undefined;
21464
+ email?: string | null | undefined;
21465
+ clientId?: string | null | undefined;
21466
+ channelId?: string | null | undefined;
21467
+ waapiInstanceId?: string | null | undefined;
21468
+ qr?: string | null | undefined;
21469
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21192
21470
  apiKey?: string | undefined;
21193
21471
  tier?: "basic" | "regular" | "premium" | undefined;
21472
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21194
21473
  } | undefined;
21195
21474
  vonageCredentials?: {
21196
21475
  apiKey: string;