@kl1/contracts 1.2.36-uat → 1.2.38-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 (99) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2971 -2760
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +87 -75
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +98 -84
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +2629 -6954
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +721 -1675
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +818 -1512
  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 +11876 -13847
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-intelligence/index.d.ts +115 -0
  21. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
  22. package/dist/api-contracts/src/cx-log/index.d.ts +143 -190
  23. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/cx-log/schema.d.ts +119 -233
  25. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/index.d.ts +99 -77
  27. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/schema.d.ts +55 -12
  29. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  30. package/dist/api-contracts/src/dashboard/validation.d.ts +0 -26
  31. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  32. package/dist/api-contracts/src/extension/index.d.ts +0 -81
  33. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +1060 -1466
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +77 -68
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +60 -53
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +0 -4
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +836 -1271
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +757 -1204
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +82 -71
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/mail/mail-contract.d.ts +7 -619
  49. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  50. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -619
  51. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  52. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +0 -204
  53. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -165
  55. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/messenger/index.d.ts +836 -1271
  57. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/messenger/validation.d.ts +60 -53
  59. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  61. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  62. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  63. package/dist/api-contracts/src/sms/index.d.ts +146 -180
  64. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/sms/schema.d.ts +0 -22
  66. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  67. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  68. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  69. package/dist/api-contracts/src/telegram/index.d.ts +626 -1091
  70. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +89 -34
  72. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +27 -10
  74. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  76. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  77. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  78. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  79. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  80. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +8 -16
  82. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +10 -20
  84. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  85. package/dist/api-contracts/src/viber/index.d.ts +626 -1091
  86. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/webchat/index.d.ts +626 -1091
  88. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  89. package/dist/api-contracts/src/whatsapp/index.d.ts +724 -1175
  90. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  91. package/dist/api-contracts/src/workflow-rule/index.d.ts +183 -569
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  93. package/dist/entities/src/enums/chat.d.ts +0 -3
  94. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  95. package/dist/index.js +4369 -4862
  96. package/dist/index.js.map +1 -1
  97. package/dist/index.mjs +4339 -4827
  98. package/dist/index.mjs.map +1 -1
  99. package/package.json +3 -7
@@ -119,35 +119,38 @@ 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>;
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
128
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
129
129
  apiKey: z.ZodOptional<z.ZodString>;
130
130
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
131
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
131
132
  }, "strip", z.ZodTypeAny, {
132
- email: string;
133
- wabaExternalId: string;
134
- phoneNumberId: string;
135
- wabaBusinessId?: string | undefined;
136
- clientId?: string | undefined;
137
- channelId?: string | undefined;
133
+ wabaBusinessId?: string | null | undefined;
134
+ wabaExternalId?: string | null | undefined;
135
+ phoneNumberId?: string | null | undefined;
136
+ email?: string | null | undefined;
137
+ clientId?: string | null | undefined;
138
+ channelId?: string | null | undefined;
138
139
  status?: "active" | "pending" | undefined;
139
140
  apiKey?: string | undefined;
140
141
  tier?: "basic" | "regular" | "premium" | undefined;
142
+ integrationType?: "meta" | "360dialog" | undefined;
141
143
  }, {
142
- email: string;
143
- wabaExternalId: string;
144
- phoneNumberId: string;
145
- wabaBusinessId?: string | undefined;
146
- clientId?: string | undefined;
147
- channelId?: string | undefined;
144
+ wabaBusinessId?: string | null | undefined;
145
+ wabaExternalId?: string | null | undefined;
146
+ phoneNumberId?: string | null | undefined;
147
+ email?: string | null | undefined;
148
+ clientId?: string | null | undefined;
149
+ channelId?: string | null | undefined;
148
150
  status?: "active" | "pending" | undefined;
149
151
  apiKey?: string | undefined;
150
152
  tier?: "basic" | "regular" | "premium" | undefined;
153
+ integrationType?: "meta" | "360dialog" | undefined;
151
154
  }>>;
152
155
  vonageCredentials: z.ZodOptional<z.ZodObject<{
153
156
  mobileNumber: z.ZodString;
@@ -172,15 +175,16 @@ export declare const lineContract: {
172
175
  additionalCredentials?: any;
173
176
  senderId?: string | undefined;
174
177
  whatsapp?: {
175
- email: string;
176
- wabaExternalId: string;
177
- phoneNumberId: string;
178
- wabaBusinessId?: string | undefined;
179
- clientId?: string | undefined;
180
- channelId?: string | undefined;
178
+ wabaBusinessId?: string | null | undefined;
179
+ wabaExternalId?: string | null | undefined;
180
+ phoneNumberId?: string | null | undefined;
181
+ email?: string | null | undefined;
182
+ clientId?: string | null | undefined;
183
+ channelId?: string | null | undefined;
181
184
  status?: "active" | "pending" | undefined;
182
185
  apiKey?: string | undefined;
183
186
  tier?: "basic" | "regular" | "premium" | undefined;
187
+ integrationType?: "meta" | "360dialog" | undefined;
184
188
  } | undefined;
185
189
  vonageCredentials?: {
186
190
  apiKey: string;
@@ -197,15 +201,16 @@ export declare const lineContract: {
197
201
  additionalCredentials?: any;
198
202
  senderId?: string | undefined;
199
203
  whatsapp?: {
200
- email: string;
201
- wabaExternalId: string;
202
- phoneNumberId: string;
203
- wabaBusinessId?: string | undefined;
204
- clientId?: string | undefined;
205
- channelId?: string | undefined;
204
+ wabaBusinessId?: string | null | undefined;
205
+ wabaExternalId?: string | null | undefined;
206
+ phoneNumberId?: string | null | undefined;
207
+ email?: string | null | undefined;
208
+ clientId?: string | null | undefined;
209
+ channelId?: string | null | undefined;
206
210
  status?: "active" | "pending" | undefined;
207
211
  apiKey?: string | undefined;
208
212
  tier?: "basic" | "regular" | "premium" | undefined;
213
+ integrationType?: "meta" | "360dialog" | undefined;
209
214
  } | undefined;
210
215
  vonageCredentials?: {
211
216
  apiKey: string;
@@ -252,15 +257,16 @@ export declare const lineContract: {
252
257
  additionalCredentials?: any;
253
258
  senderId?: string | undefined;
254
259
  whatsapp?: {
255
- email: string;
256
- wabaExternalId: string;
257
- phoneNumberId: string;
258
- wabaBusinessId?: string | undefined;
259
- clientId?: string | undefined;
260
- channelId?: string | undefined;
260
+ wabaBusinessId?: string | null | undefined;
261
+ wabaExternalId?: string | null | undefined;
262
+ phoneNumberId?: string | null | undefined;
263
+ email?: string | null | undefined;
264
+ clientId?: string | null | undefined;
265
+ channelId?: string | null | undefined;
261
266
  status?: "active" | "pending" | undefined;
262
267
  apiKey?: string | undefined;
263
268
  tier?: "basic" | "regular" | "premium" | undefined;
269
+ integrationType?: "meta" | "360dialog" | undefined;
264
270
  } | undefined;
265
271
  vonageCredentials?: {
266
272
  apiKey: string;
@@ -295,15 +301,16 @@ export declare const lineContract: {
295
301
  additionalCredentials?: any;
296
302
  senderId?: string | undefined;
297
303
  whatsapp?: {
298
- email: string;
299
- wabaExternalId: string;
300
- phoneNumberId: string;
301
- wabaBusinessId?: string | undefined;
302
- clientId?: string | undefined;
303
- channelId?: string | undefined;
304
+ wabaBusinessId?: string | null | undefined;
305
+ wabaExternalId?: string | null | undefined;
306
+ phoneNumberId?: string | null | undefined;
307
+ email?: string | null | undefined;
308
+ clientId?: string | null | undefined;
309
+ channelId?: string | null | undefined;
304
310
  status?: "active" | "pending" | undefined;
305
311
  apiKey?: string | undefined;
306
312
  tier?: "basic" | "regular" | "premium" | undefined;
313
+ integrationType?: "meta" | "360dialog" | undefined;
307
314
  } | undefined;
308
315
  vonageCredentials?: {
309
316
  apiKey: string;
@@ -341,15 +348,16 @@ export declare const lineContract: {
341
348
  additionalCredentials?: any;
342
349
  senderId?: string | undefined;
343
350
  whatsapp?: {
344
- email: string;
345
- wabaExternalId: string;
346
- phoneNumberId: string;
347
- wabaBusinessId?: string | undefined;
348
- clientId?: string | undefined;
349
- channelId?: string | undefined;
351
+ wabaBusinessId?: string | null | undefined;
352
+ wabaExternalId?: string | null | undefined;
353
+ phoneNumberId?: string | null | undefined;
354
+ email?: string | null | undefined;
355
+ clientId?: string | null | undefined;
356
+ channelId?: string | null | undefined;
350
357
  status?: "active" | "pending" | undefined;
351
358
  apiKey?: string | undefined;
352
359
  tier?: "basic" | "regular" | "premium" | undefined;
360
+ integrationType?: "meta" | "360dialog" | undefined;
353
361
  } | undefined;
354
362
  vonageCredentials?: {
355
363
  apiKey: string;
@@ -416,15 +424,16 @@ export declare const lineContract: {
416
424
  additionalCredentials?: any;
417
425
  senderId?: string | undefined;
418
426
  whatsapp?: {
419
- email: string;
420
- wabaExternalId: string;
421
- phoneNumberId: string;
422
- wabaBusinessId?: string | undefined;
423
- clientId?: string | undefined;
424
- channelId?: string | undefined;
427
+ wabaBusinessId?: string | null | undefined;
428
+ wabaExternalId?: string | null | undefined;
429
+ phoneNumberId?: string | null | undefined;
430
+ email?: string | null | undefined;
431
+ clientId?: string | null | undefined;
432
+ channelId?: string | null | undefined;
425
433
  status?: "active" | "pending" | undefined;
426
434
  apiKey?: string | undefined;
427
435
  tier?: "basic" | "regular" | "premium" | undefined;
436
+ integrationType?: "meta" | "360dialog" | undefined;
428
437
  } | undefined;
429
438
  vonageCredentials?: {
430
439
  apiKey: string;
@@ -481,7 +490,7 @@ export declare const lineContract: {
481
490
  message: z.ZodObject<{
482
491
  message: z.ZodOptional<z.ZodString>;
483
492
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
484
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
493
+ 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", "edited", "deleted", "unsupported"]>;
485
494
  readAt: z.ZodOptional<z.ZodDate>;
486
495
  metadata: z.ZodOptional<z.ZodAny>;
487
496
  platformId: z.ZodOptional<z.ZodString>;
@@ -525,7 +534,7 @@ export declare const lineContract: {
525
534
  phone: string | null;
526
535
  }>;
527
536
  }, "strip", z.ZodTypeAny, {
528
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
537
+ 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" | "edited" | "deleted" | "unsupported";
529
538
  direction: "incoming" | "outgoing" | "system";
530
539
  sender: {
531
540
  name: string;
@@ -551,7 +560,7 @@ export declare const lineContract: {
551
560
  fileSize: number;
552
561
  } | undefined;
553
562
  }, {
554
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
563
+ 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" | "edited" | "deleted" | "unsupported";
555
564
  direction: "incoming" | "outgoing" | "system";
556
565
  sender: {
557
566
  name: string;
@@ -579,7 +588,7 @@ export declare const lineContract: {
579
588
  }>;
580
589
  }, "strip", z.ZodTypeAny, {
581
590
  message: {
582
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
591
+ 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" | "edited" | "deleted" | "unsupported";
583
592
  direction: "incoming" | "outgoing" | "system";
584
593
  sender: {
585
594
  name: string;
@@ -619,15 +628,16 @@ export declare const lineContract: {
619
628
  additionalCredentials?: any;
620
629
  senderId?: string | undefined;
621
630
  whatsapp?: {
622
- email: string;
623
- wabaExternalId: string;
624
- phoneNumberId: string;
625
- wabaBusinessId?: string | undefined;
626
- clientId?: string | undefined;
627
- channelId?: string | undefined;
631
+ wabaBusinessId?: string | null | undefined;
632
+ wabaExternalId?: string | null | undefined;
633
+ phoneNumberId?: string | null | undefined;
634
+ email?: string | null | undefined;
635
+ clientId?: string | null | undefined;
636
+ channelId?: string | null | undefined;
628
637
  status?: "active" | "pending" | undefined;
629
638
  apiKey?: string | undefined;
630
639
  tier?: "basic" | "regular" | "premium" | undefined;
640
+ integrationType?: "meta" | "360dialog" | undefined;
631
641
  } | undefined;
632
642
  vonageCredentials?: {
633
643
  apiKey: string;
@@ -685,7 +695,7 @@ export declare const lineContract: {
685
695
  stickerId: number;
686
696
  }, {
687
697
  message: {
688
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
698
+ 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" | "edited" | "deleted" | "unsupported";
689
699
  direction: "incoming" | "outgoing" | "system";
690
700
  sender: {
691
701
  name: string;
@@ -725,15 +735,16 @@ export declare const lineContract: {
725
735
  additionalCredentials?: any;
726
736
  senderId?: string | undefined;
727
737
  whatsapp?: {
728
- email: string;
729
- wabaExternalId: string;
730
- phoneNumberId: string;
731
- wabaBusinessId?: string | undefined;
732
- clientId?: string | undefined;
733
- channelId?: string | undefined;
738
+ wabaBusinessId?: string | null | undefined;
739
+ wabaExternalId?: string | null | undefined;
740
+ phoneNumberId?: string | null | undefined;
741
+ email?: string | null | undefined;
742
+ clientId?: string | null | undefined;
743
+ channelId?: string | null | undefined;
734
744
  status?: "active" | "pending" | undefined;
735
745
  apiKey?: string | undefined;
736
746
  tier?: "basic" | "regular" | "premium" | undefined;
747
+ integrationType?: "meta" | "360dialog" | undefined;
737
748
  } | undefined;
738
749
  vonageCredentials?: {
739
750
  apiKey: string;
@@ -886,35 +897,38 @@ export declare const lineContract: {
886
897
  additionalCredentials: z.ZodOptional<z.ZodAny>;
887
898
  senderId: z.ZodOptional<z.ZodString>;
888
899
  whatsapp: z.ZodOptional<z.ZodObject<{
889
- wabaBusinessId: z.ZodOptional<z.ZodString>;
890
- wabaExternalId: z.ZodString;
891
- phoneNumberId: z.ZodString;
892
- email: z.ZodString;
893
- clientId: z.ZodOptional<z.ZodString>;
894
- channelId: z.ZodOptional<z.ZodString>;
900
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
901
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
902
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
903
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
904
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
905
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
895
906
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
896
907
  apiKey: z.ZodOptional<z.ZodString>;
897
908
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
909
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
898
910
  }, "strip", z.ZodTypeAny, {
899
- email: string;
900
- wabaExternalId: string;
901
- phoneNumberId: string;
902
- wabaBusinessId?: string | undefined;
903
- clientId?: string | undefined;
904
- channelId?: string | undefined;
911
+ wabaBusinessId?: string | null | undefined;
912
+ wabaExternalId?: string | null | undefined;
913
+ phoneNumberId?: string | null | undefined;
914
+ email?: string | null | undefined;
915
+ clientId?: string | null | undefined;
916
+ channelId?: string | null | undefined;
905
917
  status?: "active" | "pending" | undefined;
906
918
  apiKey?: string | undefined;
907
919
  tier?: "basic" | "regular" | "premium" | undefined;
920
+ integrationType?: "meta" | "360dialog" | undefined;
908
921
  }, {
909
- email: string;
910
- wabaExternalId: string;
911
- phoneNumberId: string;
912
- wabaBusinessId?: string | undefined;
913
- clientId?: string | undefined;
914
- channelId?: string | undefined;
922
+ wabaBusinessId?: string | null | undefined;
923
+ wabaExternalId?: string | null | undefined;
924
+ phoneNumberId?: string | null | undefined;
925
+ email?: string | null | undefined;
926
+ clientId?: string | null | undefined;
927
+ channelId?: string | null | undefined;
915
928
  status?: "active" | "pending" | undefined;
916
929
  apiKey?: string | undefined;
917
930
  tier?: "basic" | "regular" | "premium" | undefined;
931
+ integrationType?: "meta" | "360dialog" | undefined;
918
932
  }>>;
919
933
  vonageCredentials: z.ZodOptional<z.ZodObject<{
920
934
  mobileNumber: z.ZodString;
@@ -939,15 +953,16 @@ export declare const lineContract: {
939
953
  additionalCredentials?: any;
940
954
  senderId?: string | undefined;
941
955
  whatsapp?: {
942
- email: string;
943
- wabaExternalId: string;
944
- phoneNumberId: string;
945
- wabaBusinessId?: string | undefined;
946
- clientId?: string | undefined;
947
- channelId?: string | undefined;
956
+ wabaBusinessId?: string | null | undefined;
957
+ wabaExternalId?: string | null | undefined;
958
+ phoneNumberId?: string | null | undefined;
959
+ email?: string | null | undefined;
960
+ clientId?: string | null | undefined;
961
+ channelId?: string | null | undefined;
948
962
  status?: "active" | "pending" | undefined;
949
963
  apiKey?: string | undefined;
950
964
  tier?: "basic" | "regular" | "premium" | undefined;
965
+ integrationType?: "meta" | "360dialog" | undefined;
951
966
  } | undefined;
952
967
  vonageCredentials?: {
953
968
  apiKey: string;
@@ -964,15 +979,16 @@ export declare const lineContract: {
964
979
  additionalCredentials?: any;
965
980
  senderId?: string | undefined;
966
981
  whatsapp?: {
967
- email: string;
968
- wabaExternalId: string;
969
- phoneNumberId: string;
970
- wabaBusinessId?: string | undefined;
971
- clientId?: string | undefined;
972
- channelId?: string | undefined;
982
+ wabaBusinessId?: string | null | undefined;
983
+ wabaExternalId?: string | null | undefined;
984
+ phoneNumberId?: string | null | undefined;
985
+ email?: string | null | undefined;
986
+ clientId?: string | null | undefined;
987
+ channelId?: string | null | undefined;
973
988
  status?: "active" | "pending" | undefined;
974
989
  apiKey?: string | undefined;
975
990
  tier?: "basic" | "regular" | "premium" | undefined;
991
+ integrationType?: "meta" | "360dialog" | undefined;
976
992
  } | undefined;
977
993
  vonageCredentials?: {
978
994
  apiKey: string;
@@ -1019,15 +1035,16 @@ export declare const lineContract: {
1019
1035
  additionalCredentials?: any;
1020
1036
  senderId?: string | undefined;
1021
1037
  whatsapp?: {
1022
- email: string;
1023
- wabaExternalId: string;
1024
- phoneNumberId: string;
1025
- wabaBusinessId?: string | undefined;
1026
- clientId?: string | undefined;
1027
- channelId?: string | undefined;
1038
+ wabaBusinessId?: string | null | undefined;
1039
+ wabaExternalId?: string | null | undefined;
1040
+ phoneNumberId?: string | null | undefined;
1041
+ email?: string | null | undefined;
1042
+ clientId?: string | null | undefined;
1043
+ channelId?: string | null | undefined;
1028
1044
  status?: "active" | "pending" | undefined;
1029
1045
  apiKey?: string | undefined;
1030
1046
  tier?: "basic" | "regular" | "premium" | undefined;
1047
+ integrationType?: "meta" | "360dialog" | undefined;
1031
1048
  } | undefined;
1032
1049
  vonageCredentials?: {
1033
1050
  apiKey: string;
@@ -1062,15 +1079,16 @@ export declare const lineContract: {
1062
1079
  additionalCredentials?: any;
1063
1080
  senderId?: string | undefined;
1064
1081
  whatsapp?: {
1065
- email: string;
1066
- wabaExternalId: string;
1067
- phoneNumberId: string;
1068
- wabaBusinessId?: string | undefined;
1069
- clientId?: string | undefined;
1070
- channelId?: string | 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;
1071
1088
  status?: "active" | "pending" | undefined;
1072
1089
  apiKey?: string | undefined;
1073
1090
  tier?: "basic" | "regular" | "premium" | undefined;
1091
+ integrationType?: "meta" | "360dialog" | undefined;
1074
1092
  } | undefined;
1075
1093
  vonageCredentials?: {
1076
1094
  apiKey: string;
@@ -1107,15 +1125,16 @@ export declare const lineContract: {
1107
1125
  additionalCredentials?: any;
1108
1126
  senderId?: string | undefined;
1109
1127
  whatsapp?: {
1110
- email: string;
1111
- wabaExternalId: string;
1112
- phoneNumberId: string;
1113
- wabaBusinessId?: string | undefined;
1114
- clientId?: string | undefined;
1115
- channelId?: string | undefined;
1128
+ wabaBusinessId?: string | null | undefined;
1129
+ wabaExternalId?: string | null | undefined;
1130
+ phoneNumberId?: string | null | undefined;
1131
+ email?: string | null | undefined;
1132
+ clientId?: string | null | undefined;
1133
+ channelId?: string | null | undefined;
1116
1134
  status?: "active" | "pending" | undefined;
1117
1135
  apiKey?: string | undefined;
1118
1136
  tier?: "basic" | "regular" | "premium" | undefined;
1137
+ integrationType?: "meta" | "360dialog" | undefined;
1119
1138
  } | undefined;
1120
1139
  vonageCredentials?: {
1121
1140
  apiKey: string;
@@ -1153,15 +1172,16 @@ export declare const lineContract: {
1153
1172
  additionalCredentials?: any;
1154
1173
  senderId?: string | undefined;
1155
1174
  whatsapp?: {
1156
- email: string;
1157
- wabaExternalId: string;
1158
- phoneNumberId: string;
1159
- wabaBusinessId?: string | undefined;
1160
- clientId?: string | undefined;
1161
- channelId?: string | undefined;
1175
+ wabaBusinessId?: string | null | undefined;
1176
+ wabaExternalId?: string | null | undefined;
1177
+ phoneNumberId?: string | null | undefined;
1178
+ email?: string | null | undefined;
1179
+ clientId?: string | null | undefined;
1180
+ channelId?: string | null | undefined;
1162
1181
  status?: "active" | "pending" | undefined;
1163
1182
  apiKey?: string | undefined;
1164
1183
  tier?: "basic" | "regular" | "premium" | undefined;
1184
+ integrationType?: "meta" | "360dialog" | undefined;
1165
1185
  } | undefined;
1166
1186
  vonageCredentials?: {
1167
1187
  apiKey: string;
@@ -1348,35 +1368,38 @@ export declare const lineContract: {
1348
1368
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1349
1369
  senderId: z.ZodOptional<z.ZodString>;
1350
1370
  whatsapp: z.ZodOptional<z.ZodObject<{
1351
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1352
- wabaExternalId: z.ZodString;
1353
- phoneNumberId: z.ZodString;
1354
- email: z.ZodString;
1355
- clientId: z.ZodOptional<z.ZodString>;
1356
- channelId: z.ZodOptional<z.ZodString>;
1371
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1372
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1373
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1374
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1375
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1376
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1357
1377
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1358
1378
  apiKey: z.ZodOptional<z.ZodString>;
1359
1379
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1380
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1360
1381
  }, "strip", z.ZodTypeAny, {
1361
- email: string;
1362
- wabaExternalId: string;
1363
- phoneNumberId: string;
1364
- wabaBusinessId?: string | undefined;
1365
- clientId?: string | undefined;
1366
- channelId?: string | undefined;
1382
+ wabaBusinessId?: string | null | undefined;
1383
+ wabaExternalId?: string | null | undefined;
1384
+ phoneNumberId?: string | null | undefined;
1385
+ email?: string | null | undefined;
1386
+ clientId?: string | null | undefined;
1387
+ channelId?: string | null | undefined;
1367
1388
  status?: "active" | "pending" | undefined;
1368
1389
  apiKey?: string | undefined;
1369
1390
  tier?: "basic" | "regular" | "premium" | undefined;
1391
+ integrationType?: "meta" | "360dialog" | undefined;
1370
1392
  }, {
1371
- email: string;
1372
- wabaExternalId: string;
1373
- phoneNumberId: string;
1374
- wabaBusinessId?: string | undefined;
1375
- clientId?: string | undefined;
1376
- channelId?: string | undefined;
1393
+ wabaBusinessId?: string | null | undefined;
1394
+ wabaExternalId?: string | null | undefined;
1395
+ phoneNumberId?: string | null | undefined;
1396
+ email?: string | null | undefined;
1397
+ clientId?: string | null | undefined;
1398
+ channelId?: string | null | undefined;
1377
1399
  status?: "active" | "pending" | undefined;
1378
1400
  apiKey?: string | undefined;
1379
1401
  tier?: "basic" | "regular" | "premium" | undefined;
1402
+ integrationType?: "meta" | "360dialog" | undefined;
1380
1403
  }>>;
1381
1404
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1382
1405
  mobileNumber: z.ZodString;
@@ -1401,15 +1424,16 @@ export declare const lineContract: {
1401
1424
  additionalCredentials?: any;
1402
1425
  senderId?: string | undefined;
1403
1426
  whatsapp?: {
1404
- email: string;
1405
- wabaExternalId: string;
1406
- phoneNumberId: string;
1407
- wabaBusinessId?: string | undefined;
1408
- clientId?: string | undefined;
1409
- channelId?: string | undefined;
1427
+ wabaBusinessId?: string | null | undefined;
1428
+ wabaExternalId?: string | null | undefined;
1429
+ phoneNumberId?: string | null | undefined;
1430
+ email?: string | null | undefined;
1431
+ clientId?: string | null | undefined;
1432
+ channelId?: string | null | undefined;
1410
1433
  status?: "active" | "pending" | undefined;
1411
1434
  apiKey?: string | undefined;
1412
1435
  tier?: "basic" | "regular" | "premium" | undefined;
1436
+ integrationType?: "meta" | "360dialog" | undefined;
1413
1437
  } | undefined;
1414
1438
  vonageCredentials?: {
1415
1439
  apiKey: string;
@@ -1426,15 +1450,16 @@ export declare const lineContract: {
1426
1450
  additionalCredentials?: any;
1427
1451
  senderId?: string | undefined;
1428
1452
  whatsapp?: {
1429
- email: string;
1430
- wabaExternalId: string;
1431
- phoneNumberId: string;
1432
- wabaBusinessId?: string | undefined;
1433
- clientId?: string | undefined;
1434
- channelId?: string | 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;
1435
1459
  status?: "active" | "pending" | undefined;
1436
1460
  apiKey?: string | undefined;
1437
1461
  tier?: "basic" | "regular" | "premium" | undefined;
1462
+ integrationType?: "meta" | "360dialog" | undefined;
1438
1463
  } | undefined;
1439
1464
  vonageCredentials?: {
1440
1465
  apiKey: string;
@@ -1481,15 +1506,16 @@ export declare const lineContract: {
1481
1506
  additionalCredentials?: any;
1482
1507
  senderId?: string | undefined;
1483
1508
  whatsapp?: {
1484
- email: string;
1485
- wabaExternalId: string;
1486
- phoneNumberId: string;
1487
- wabaBusinessId?: string | undefined;
1488
- clientId?: string | undefined;
1489
- channelId?: string | undefined;
1509
+ wabaBusinessId?: string | null | undefined;
1510
+ wabaExternalId?: string | null | undefined;
1511
+ phoneNumberId?: string | null | undefined;
1512
+ email?: string | null | undefined;
1513
+ clientId?: string | null | undefined;
1514
+ channelId?: string | null | undefined;
1490
1515
  status?: "active" | "pending" | undefined;
1491
1516
  apiKey?: string | undefined;
1492
1517
  tier?: "basic" | "regular" | "premium" | undefined;
1518
+ integrationType?: "meta" | "360dialog" | undefined;
1493
1519
  } | undefined;
1494
1520
  vonageCredentials?: {
1495
1521
  apiKey: string;
@@ -1524,15 +1550,16 @@ export declare const lineContract: {
1524
1550
  additionalCredentials?: any;
1525
1551
  senderId?: string | undefined;
1526
1552
  whatsapp?: {
1527
- email: string;
1528
- wabaExternalId: string;
1529
- phoneNumberId: string;
1530
- wabaBusinessId?: string | undefined;
1531
- clientId?: string | undefined;
1532
- channelId?: string | undefined;
1553
+ wabaBusinessId?: string | null | undefined;
1554
+ wabaExternalId?: string | null | undefined;
1555
+ phoneNumberId?: string | null | undefined;
1556
+ email?: string | null | undefined;
1557
+ clientId?: string | null | undefined;
1558
+ channelId?: string | null | undefined;
1533
1559
  status?: "active" | "pending" | undefined;
1534
1560
  apiKey?: string | undefined;
1535
1561
  tier?: "basic" | "regular" | "premium" | undefined;
1562
+ integrationType?: "meta" | "360dialog" | undefined;
1536
1563
  } | undefined;
1537
1564
  vonageCredentials?: {
1538
1565
  apiKey: string;
@@ -1572,15 +1599,16 @@ export declare const lineContract: {
1572
1599
  additionalCredentials?: any;
1573
1600
  senderId?: string | undefined;
1574
1601
  whatsapp?: {
1575
- email: string;
1576
- wabaExternalId: string;
1577
- phoneNumberId: string;
1578
- wabaBusinessId?: string | undefined;
1579
- clientId?: string | undefined;
1580
- channelId?: string | undefined;
1602
+ wabaBusinessId?: string | null | undefined;
1603
+ wabaExternalId?: string | null | undefined;
1604
+ phoneNumberId?: string | null | undefined;
1605
+ email?: string | null | undefined;
1606
+ clientId?: string | null | undefined;
1607
+ channelId?: string | null | undefined;
1581
1608
  status?: "active" | "pending" | undefined;
1582
1609
  apiKey?: string | undefined;
1583
1610
  tier?: "basic" | "regular" | "premium" | undefined;
1611
+ integrationType?: "meta" | "360dialog" | undefined;
1584
1612
  } | undefined;
1585
1613
  vonageCredentials?: {
1586
1614
  apiKey: string;
@@ -1659,15 +1687,16 @@ export declare const lineContract: {
1659
1687
  additionalCredentials?: any;
1660
1688
  senderId?: string | undefined;
1661
1689
  whatsapp?: {
1662
- email: string;
1663
- wabaExternalId: string;
1664
- phoneNumberId: string;
1665
- wabaBusinessId?: string | undefined;
1666
- clientId?: string | undefined;
1667
- channelId?: string | undefined;
1690
+ wabaBusinessId?: string | null | undefined;
1691
+ wabaExternalId?: string | null | undefined;
1692
+ phoneNumberId?: string | null | undefined;
1693
+ email?: string | null | undefined;
1694
+ clientId?: string | null | undefined;
1695
+ channelId?: string | null | undefined;
1668
1696
  status?: "active" | "pending" | undefined;
1669
1697
  apiKey?: string | undefined;
1670
1698
  tier?: "basic" | "regular" | "premium" | undefined;
1699
+ integrationType?: "meta" | "360dialog" | undefined;
1671
1700
  } | undefined;
1672
1701
  vonageCredentials?: {
1673
1702
  apiKey: string;
@@ -1737,7 +1766,7 @@ export declare const lineContract: {
1737
1766
  id: z.ZodOptional<z.ZodString>;
1738
1767
  message: z.ZodOptional<z.ZodString>;
1739
1768
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1740
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1769
+ 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", "edited", "deleted", "unsupported"]>;
1741
1770
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1742
1771
  metadata: z.ZodOptional<z.ZodAny>;
1743
1772
  platformId: z.ZodOptional<z.ZodString>;
@@ -1793,7 +1822,7 @@ export declare const lineContract: {
1793
1822
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1794
1823
  label: z.ZodOptional<z.ZodString>;
1795
1824
  }, "strip", z.ZodTypeAny, {
1796
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1825
+ 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" | "edited" | "deleted" | "unsupported";
1797
1826
  direction: "incoming" | "outgoing" | "system";
1798
1827
  id?: string | undefined;
1799
1828
  message?: string | undefined;
@@ -1828,7 +1857,7 @@ export declare const lineContract: {
1828
1857
  editedAt?: string | Date | null | undefined;
1829
1858
  label?: string | undefined;
1830
1859
  }, {
1831
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1860
+ 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" | "edited" | "deleted" | "unsupported";
1832
1861
  direction: "incoming" | "outgoing" | "system";
1833
1862
  id?: string | undefined;
1834
1863
  message?: string | undefined;
@@ -1865,7 +1894,7 @@ export declare const lineContract: {
1865
1894
  }>;
1866
1895
  }, "strip", z.ZodTypeAny, {
1867
1896
  message: {
1868
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1897
+ 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" | "edited" | "deleted" | "unsupported";
1869
1898
  direction: "incoming" | "outgoing" | "system";
1870
1899
  id?: string | undefined;
1871
1900
  message?: string | undefined;
@@ -1914,15 +1943,16 @@ export declare const lineContract: {
1914
1943
  additionalCredentials?: any;
1915
1944
  senderId?: string | undefined;
1916
1945
  whatsapp?: {
1917
- email: string;
1918
- wabaExternalId: string;
1919
- phoneNumberId: string;
1920
- wabaBusinessId?: string | undefined;
1921
- clientId?: string | undefined;
1922
- channelId?: string | undefined;
1946
+ wabaBusinessId?: string | null | undefined;
1947
+ wabaExternalId?: string | null | undefined;
1948
+ phoneNumberId?: string | null | undefined;
1949
+ email?: string | null | undefined;
1950
+ clientId?: string | null | undefined;
1951
+ channelId?: string | null | undefined;
1923
1952
  status?: "active" | "pending" | undefined;
1924
1953
  apiKey?: string | undefined;
1925
1954
  tier?: "basic" | "regular" | "premium" | undefined;
1955
+ integrationType?: "meta" | "360dialog" | undefined;
1926
1956
  } | undefined;
1927
1957
  vonageCredentials?: {
1928
1958
  apiKey: string;
@@ -1991,7 +2021,7 @@ export declare const lineContract: {
1991
2021
  isBot: boolean | null;
1992
2022
  }, {
1993
2023
  message: {
1994
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2024
+ 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" | "edited" | "deleted" | "unsupported";
1995
2025
  direction: "incoming" | "outgoing" | "system";
1996
2026
  id?: string | undefined;
1997
2027
  message?: string | undefined;
@@ -2040,15 +2070,16 @@ export declare const lineContract: {
2040
2070
  additionalCredentials?: any;
2041
2071
  senderId?: string | undefined;
2042
2072
  whatsapp?: {
2043
- email: string;
2044
- wabaExternalId: string;
2045
- phoneNumberId: string;
2046
- wabaBusinessId?: string | undefined;
2047
- clientId?: string | undefined;
2048
- channelId?: string | undefined;
2073
+ wabaBusinessId?: string | null | undefined;
2074
+ wabaExternalId?: string | null | undefined;
2075
+ phoneNumberId?: string | null | undefined;
2076
+ email?: string | null | undefined;
2077
+ clientId?: string | null | undefined;
2078
+ channelId?: string | null | undefined;
2049
2079
  status?: "active" | "pending" | undefined;
2050
2080
  apiKey?: string | undefined;
2051
2081
  tier?: "basic" | "regular" | "premium" | undefined;
2082
+ integrationType?: "meta" | "360dialog" | undefined;
2052
2083
  } | undefined;
2053
2084
  vonageCredentials?: {
2054
2085
  apiKey: string;
@@ -2121,7 +2152,7 @@ export declare const lineContract: {
2121
2152
  200: z.ZodObject<{
2122
2153
  requestId: z.ZodString;
2123
2154
  data: z.ZodObject<{
2124
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2155
+ 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", "edited", "deleted", "unsupported"]>;
2125
2156
  message: z.ZodString;
2126
2157
  id: z.ZodString;
2127
2158
  url: z.ZodString;
@@ -2346,10 +2377,9 @@ export declare const lineContract: {
2346
2377
  fileSize: z.ZodNumber;
2347
2378
  fileKey: z.ZodString;
2348
2379
  fileUrl: z.ZodNullable<z.ZodString>;
2349
- status: z.ZodNullable<z.ZodString>;
2380
+ status: z.ZodOptional<z.ZodString>;
2350
2381
  }, "strip", z.ZodTypeAny, {
2351
2382
  id: string;
2352
- status: string | null;
2353
2383
  createdAt: Date;
2354
2384
  updatedAt: Date;
2355
2385
  deletedAt: Date | null;
@@ -2358,9 +2388,9 @@ export declare const lineContract: {
2358
2388
  bucketName: string;
2359
2389
  fileSize: number;
2360
2390
  fileUrl: string | null;
2391
+ status?: string | undefined;
2361
2392
  }, {
2362
2393
  id: string;
2363
- status: string | null;
2364
2394
  createdAt: Date;
2365
2395
  updatedAt: Date;
2366
2396
  deletedAt: Date | null;
@@ -2369,6 +2399,7 @@ export declare const lineContract: {
2369
2399
  bucketName: string;
2370
2400
  fileSize: number;
2371
2401
  fileUrl: string | null;
2402
+ status?: string | undefined;
2372
2403
  }>;
2373
2404
  assignee: z.ZodObject<{
2374
2405
  id: z.ZodString;
@@ -2963,10 +2994,9 @@ export declare const lineContract: {
2963
2994
  fileSize: z.ZodNumber;
2964
2995
  fileKey: z.ZodString;
2965
2996
  fileUrl: z.ZodNullable<z.ZodString>;
2966
- status: z.ZodNullable<z.ZodString>;
2997
+ status: z.ZodOptional<z.ZodString>;
2967
2998
  }, "strip", z.ZodTypeAny, {
2968
2999
  id: string;
2969
- status: string | null;
2970
3000
  createdAt: Date;
2971
3001
  updatedAt: Date;
2972
3002
  deletedAt: Date | null;
@@ -2975,9 +3005,9 @@ export declare const lineContract: {
2975
3005
  bucketName: string;
2976
3006
  fileSize: number;
2977
3007
  fileUrl: string | null;
3008
+ status?: string | undefined;
2978
3009
  }, {
2979
3010
  id: string;
2980
- status: string | null;
2981
3011
  createdAt: Date;
2982
3012
  updatedAt: Date;
2983
3013
  deletedAt: Date | null;
@@ -2986,6 +3016,7 @@ export declare const lineContract: {
2986
3016
  bucketName: string;
2987
3017
  fileSize: number;
2988
3018
  fileUrl: string | null;
3019
+ status?: string | undefined;
2989
3020
  }>, "many">;
2990
3021
  }, "strip", z.ZodTypeAny, {
2991
3022
  id: string;
@@ -3012,7 +3043,6 @@ export declare const lineContract: {
3012
3043
  dateValue: Date | null;
3013
3044
  uploads: {
3014
3045
  id: string;
3015
- status: string | null;
3016
3046
  createdAt: Date;
3017
3047
  updatedAt: Date;
3018
3048
  deletedAt: Date | null;
@@ -3021,6 +3051,7 @@ export declare const lineContract: {
3021
3051
  bucketName: string;
3022
3052
  fileSize: number;
3023
3053
  fileUrl: string | null;
3054
+ status?: string | undefined;
3024
3055
  }[];
3025
3056
  }, {
3026
3057
  id: string;
@@ -3047,7 +3078,6 @@ export declare const lineContract: {
3047
3078
  dateValue: Date | null;
3048
3079
  uploads: {
3049
3080
  id: string;
3050
- status: string | null;
3051
3081
  createdAt: Date;
3052
3082
  updatedAt: Date;
3053
3083
  deletedAt: Date | null;
@@ -3056,6 +3086,7 @@ export declare const lineContract: {
3056
3086
  bucketName: string;
3057
3087
  fileSize: number;
3058
3088
  fileUrl: string | null;
3089
+ status?: string | undefined;
3059
3090
  }[];
3060
3091
  }>, "many">;
3061
3092
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3195,7 +3226,6 @@ export declare const lineContract: {
3195
3226
  dateValue: Date | null;
3196
3227
  uploads: {
3197
3228
  id: string;
3198
- status: string | null;
3199
3229
  createdAt: Date;
3200
3230
  updatedAt: Date;
3201
3231
  deletedAt: Date | null;
@@ -3204,6 +3234,7 @@ export declare const lineContract: {
3204
3234
  bucketName: string;
3205
3235
  fileSize: number;
3206
3236
  fileUrl: string | null;
3237
+ status?: string | undefined;
3207
3238
  }[];
3208
3239
  }[];
3209
3240
  company: {
@@ -3306,7 +3337,6 @@ export declare const lineContract: {
3306
3337
  dateValue: Date | null;
3307
3338
  uploads: {
3308
3339
  id: string;
3309
- status: string | null;
3310
3340
  createdAt: Date;
3311
3341
  updatedAt: Date;
3312
3342
  deletedAt: Date | null;
@@ -3315,6 +3345,7 @@ export declare const lineContract: {
3315
3345
  bucketName: string;
3316
3346
  fileSize: number;
3317
3347
  fileUrl: string | null;
3348
+ status?: string | undefined;
3318
3349
  }[];
3319
3350
  }[];
3320
3351
  company: {
@@ -3430,7 +3461,6 @@ export declare const lineContract: {
3430
3461
  dateValue: Date | null;
3431
3462
  uploads: {
3432
3463
  id: string;
3433
- status: string | null;
3434
3464
  createdAt: Date;
3435
3465
  updatedAt: Date;
3436
3466
  deletedAt: Date | null;
@@ -3439,6 +3469,7 @@ export declare const lineContract: {
3439
3469
  bucketName: string;
3440
3470
  fileSize: number;
3441
3471
  fileUrl: string | null;
3472
+ status?: string | undefined;
3442
3473
  }[];
3443
3474
  }[];
3444
3475
  company: {
@@ -3556,7 +3587,6 @@ export declare const lineContract: {
3556
3587
  dateValue: Date | null;
3557
3588
  uploads: {
3558
3589
  id: string;
3559
- status: string | null;
3560
3590
  createdAt: Date;
3561
3591
  updatedAt: Date;
3562
3592
  deletedAt: Date | null;
@@ -3565,6 +3595,7 @@ export declare const lineContract: {
3565
3595
  bucketName: string;
3566
3596
  fileSize: number;
3567
3597
  fileUrl: string | null;
3598
+ status?: string | undefined;
3568
3599
  }[];
3569
3600
  }[];
3570
3601
  company: {
@@ -4061,35 +4092,38 @@ export declare const lineContract: {
4061
4092
  additionalCredentials: z.ZodOptional<z.ZodAny>;
4062
4093
  senderId: z.ZodOptional<z.ZodString>;
4063
4094
  whatsapp: z.ZodOptional<z.ZodObject<{
4064
- wabaBusinessId: z.ZodOptional<z.ZodString>;
4065
- wabaExternalId: z.ZodString;
4066
- phoneNumberId: z.ZodString;
4067
- email: z.ZodString;
4068
- clientId: z.ZodOptional<z.ZodString>;
4069
- channelId: z.ZodOptional<z.ZodString>;
4095
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4096
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4097
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4098
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4099
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4100
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4070
4101
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
4071
4102
  apiKey: z.ZodOptional<z.ZodString>;
4072
4103
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
4104
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
4073
4105
  }, "strip", z.ZodTypeAny, {
4074
- email: string;
4075
- wabaExternalId: string;
4076
- phoneNumberId: string;
4077
- wabaBusinessId?: string | undefined;
4078
- clientId?: string | undefined;
4079
- channelId?: string | undefined;
4106
+ wabaBusinessId?: string | null | undefined;
4107
+ wabaExternalId?: string | null | undefined;
4108
+ phoneNumberId?: string | null | undefined;
4109
+ email?: string | null | undefined;
4110
+ clientId?: string | null | undefined;
4111
+ channelId?: string | null | undefined;
4080
4112
  status?: "active" | "pending" | undefined;
4081
4113
  apiKey?: string | undefined;
4082
4114
  tier?: "basic" | "regular" | "premium" | undefined;
4115
+ integrationType?: "meta" | "360dialog" | undefined;
4083
4116
  }, {
4084
- email: string;
4085
- wabaExternalId: string;
4086
- phoneNumberId: string;
4087
- wabaBusinessId?: string | undefined;
4088
- clientId?: string | undefined;
4089
- channelId?: string | undefined;
4117
+ wabaBusinessId?: string | null | undefined;
4118
+ wabaExternalId?: string | null | undefined;
4119
+ phoneNumberId?: string | null | undefined;
4120
+ email?: string | null | undefined;
4121
+ clientId?: string | null | undefined;
4122
+ channelId?: string | null | undefined;
4090
4123
  status?: "active" | "pending" | undefined;
4091
4124
  apiKey?: string | undefined;
4092
4125
  tier?: "basic" | "regular" | "premium" | undefined;
4126
+ integrationType?: "meta" | "360dialog" | undefined;
4093
4127
  }>>;
4094
4128
  vonageCredentials: z.ZodOptional<z.ZodObject<{
4095
4129
  mobileNumber: z.ZodString;
@@ -4114,15 +4148,16 @@ export declare const lineContract: {
4114
4148
  additionalCredentials?: any;
4115
4149
  senderId?: string | undefined;
4116
4150
  whatsapp?: {
4117
- email: string;
4118
- wabaExternalId: string;
4119
- phoneNumberId: string;
4120
- wabaBusinessId?: string | undefined;
4121
- clientId?: string | undefined;
4122
- channelId?: string | undefined;
4151
+ wabaBusinessId?: string | null | undefined;
4152
+ wabaExternalId?: string | null | undefined;
4153
+ phoneNumberId?: string | null | undefined;
4154
+ email?: string | null | undefined;
4155
+ clientId?: string | null | undefined;
4156
+ channelId?: string | null | undefined;
4123
4157
  status?: "active" | "pending" | undefined;
4124
4158
  apiKey?: string | undefined;
4125
4159
  tier?: "basic" | "regular" | "premium" | undefined;
4160
+ integrationType?: "meta" | "360dialog" | undefined;
4126
4161
  } | undefined;
4127
4162
  vonageCredentials?: {
4128
4163
  apiKey: string;
@@ -4139,15 +4174,16 @@ export declare const lineContract: {
4139
4174
  additionalCredentials?: any;
4140
4175
  senderId?: string | undefined;
4141
4176
  whatsapp?: {
4142
- email: string;
4143
- wabaExternalId: string;
4144
- phoneNumberId: string;
4145
- wabaBusinessId?: string | undefined;
4146
- clientId?: string | undefined;
4147
- channelId?: string | undefined;
4177
+ wabaBusinessId?: string | null | undefined;
4178
+ wabaExternalId?: string | null | undefined;
4179
+ phoneNumberId?: string | null | undefined;
4180
+ email?: string | null | undefined;
4181
+ clientId?: string | null | undefined;
4182
+ channelId?: string | null | undefined;
4148
4183
  status?: "active" | "pending" | undefined;
4149
4184
  apiKey?: string | undefined;
4150
4185
  tier?: "basic" | "regular" | "premium" | undefined;
4186
+ integrationType?: "meta" | "360dialog" | undefined;
4151
4187
  } | undefined;
4152
4188
  vonageCredentials?: {
4153
4189
  apiKey: string;
@@ -4398,15 +4434,16 @@ export declare const lineContract: {
4398
4434
  additionalCredentials?: any;
4399
4435
  senderId?: string | undefined;
4400
4436
  whatsapp?: {
4401
- email: string;
4402
- wabaExternalId: string;
4403
- phoneNumberId: string;
4404
- wabaBusinessId?: string | undefined;
4405
- clientId?: string | undefined;
4406
- channelId?: string | undefined;
4437
+ wabaBusinessId?: string | null | undefined;
4438
+ wabaExternalId?: string | null | undefined;
4439
+ phoneNumberId?: string | null | undefined;
4440
+ email?: string | null | undefined;
4441
+ clientId?: string | null | undefined;
4442
+ channelId?: string | null | undefined;
4407
4443
  status?: "active" | "pending" | undefined;
4408
4444
  apiKey?: string | undefined;
4409
4445
  tier?: "basic" | "regular" | "premium" | undefined;
4446
+ integrationType?: "meta" | "360dialog" | undefined;
4410
4447
  } | undefined;
4411
4448
  vonageCredentials?: {
4412
4449
  apiKey: string;
@@ -4488,15 +4525,16 @@ export declare const lineContract: {
4488
4525
  additionalCredentials?: any;
4489
4526
  senderId?: string | undefined;
4490
4527
  whatsapp?: {
4491
- email: string;
4492
- wabaExternalId: string;
4493
- phoneNumberId: string;
4494
- wabaBusinessId?: string | undefined;
4495
- clientId?: string | undefined;
4496
- channelId?: string | undefined;
4528
+ wabaBusinessId?: string | null | undefined;
4529
+ wabaExternalId?: string | null | undefined;
4530
+ phoneNumberId?: string | null | undefined;
4531
+ email?: string | null | undefined;
4532
+ clientId?: string | null | undefined;
4533
+ channelId?: string | null | undefined;
4497
4534
  status?: "active" | "pending" | undefined;
4498
4535
  apiKey?: string | undefined;
4499
4536
  tier?: "basic" | "regular" | "premium" | undefined;
4537
+ integrationType?: "meta" | "360dialog" | undefined;
4500
4538
  } | undefined;
4501
4539
  vonageCredentials?: {
4502
4540
  apiKey: string;
@@ -4581,12 +4619,8 @@ export declare const lineContract: {
4581
4619
  agentId: z.ZodNullable<z.ZodString>;
4582
4620
  direction: z.ZodNullable<z.ZodString>;
4583
4621
  startedDate: z.ZodNullable<z.ZodDate>;
4584
- totalHoldDuration: z.ZodNullable<z.ZodNumber>;
4585
4622
  handledTime: z.ZodNullable<z.ZodNumber>;
4586
- fullHandledTime: z.ZodNullable<z.ZodNumber>;
4587
4623
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
4588
- resolutionTime: z.ZodNullable<z.ZodNumber>;
4589
- fullResolutionTime: z.ZodNullable<z.ZodNumber>;
4590
4624
  wrapUpForm: z.ZodNullable<z.ZodObject<{
4591
4625
  id: z.ZodString;
4592
4626
  createdAt: z.ZodDate;
@@ -4853,74 +4887,6 @@ export declare const lineContract: {
4853
4887
  dateValue: Date | null;
4854
4888
  }[] | null | undefined;
4855
4889
  }>>;
4856
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4857
- id: z.ZodString;
4858
- createdAt: z.ZodDate;
4859
- updatedAt: z.ZodDate;
4860
- deletedAt: z.ZodNullable<z.ZodDate>;
4861
- startedAt: z.ZodString;
4862
- endedAt: z.ZodNullable<z.ZodString>;
4863
- duration: z.ZodNullable<z.ZodNumber>;
4864
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4865
- id: z.ZodString;
4866
- createdAt: z.ZodDate;
4867
- updatedAt: z.ZodDate;
4868
- deletedAt: z.ZodNullable<z.ZodDate>;
4869
- name: z.ZodString;
4870
- position: z.ZodNumber;
4871
- isDefault: z.ZodDefault<z.ZodBoolean>;
4872
- }, "strip", z.ZodTypeAny, {
4873
- name: string;
4874
- id: string;
4875
- position: number;
4876
- createdAt: Date;
4877
- updatedAt: Date;
4878
- deletedAt: Date | null;
4879
- isDefault: boolean;
4880
- }, {
4881
- name: string;
4882
- id: string;
4883
- position: number;
4884
- createdAt: Date;
4885
- updatedAt: Date;
4886
- deletedAt: Date | null;
4887
- isDefault?: boolean | undefined;
4888
- }>>>;
4889
- }, "strip", z.ZodTypeAny, {
4890
- id: string;
4891
- createdAt: Date;
4892
- updatedAt: Date;
4893
- deletedAt: Date | null;
4894
- startedAt: string;
4895
- endedAt: string | null;
4896
- duration: number | null;
4897
- holdLabel?: {
4898
- name: string;
4899
- id: string;
4900
- position: number;
4901
- createdAt: Date;
4902
- updatedAt: Date;
4903
- deletedAt: Date | null;
4904
- isDefault: boolean;
4905
- } | null | undefined;
4906
- }, {
4907
- id: string;
4908
- createdAt: Date;
4909
- updatedAt: Date;
4910
- deletedAt: Date | null;
4911
- startedAt: string;
4912
- endedAt: string | null;
4913
- duration: number | null;
4914
- holdLabel?: {
4915
- name: string;
4916
- id: string;
4917
- position: number;
4918
- createdAt: Date;
4919
- updatedAt: Date;
4920
- deletedAt: Date | null;
4921
- isDefault?: boolean | undefined;
4922
- } | null | undefined;
4923
- }>, "many">>>;
4924
4890
  }, "strip", z.ZodTypeAny, {
4925
4891
  id: string;
4926
4892
  channel: string | null;
@@ -4935,12 +4901,8 @@ export declare const lineContract: {
4935
4901
  entityName: string;
4936
4902
  agentId: string | null;
4937
4903
  startedDate: Date | null;
4938
- totalHoldDuration: number | null;
4939
4904
  handledTime: number | null;
4940
- fullHandledTime: number | null;
4941
4905
  firstResponseTime: number | null;
4942
- resolutionTime: number | null;
4943
- fullResolutionTime: number | null;
4944
4906
  wrapUpForm: {
4945
4907
  type: string;
4946
4908
  id: string;
@@ -4993,24 +4955,6 @@ export declare const lineContract: {
4993
4955
  dateValue: Date | null;
4994
4956
  }[] | null | undefined;
4995
4957
  } | null;
4996
- holdLogs?: {
4997
- id: string;
4998
- createdAt: Date;
4999
- updatedAt: Date;
5000
- deletedAt: Date | null;
5001
- startedAt: string;
5002
- endedAt: string | null;
5003
- duration: number | null;
5004
- holdLabel?: {
5005
- name: string;
5006
- id: string;
5007
- position: number;
5008
- createdAt: Date;
5009
- updatedAt: Date;
5010
- deletedAt: Date | null;
5011
- isDefault: boolean;
5012
- } | null | undefined;
5013
- }[] | null | undefined;
5014
4958
  }, {
5015
4959
  id: string;
5016
4960
  channel: string | null;
@@ -5025,12 +4969,8 @@ export declare const lineContract: {
5025
4969
  entityName: string;
5026
4970
  agentId: string | null;
5027
4971
  startedDate: Date | null;
5028
- totalHoldDuration: number | null;
5029
4972
  handledTime: number | null;
5030
- fullHandledTime: number | null;
5031
4973
  firstResponseTime: number | null;
5032
- resolutionTime: number | null;
5033
- fullResolutionTime: number | null;
5034
4974
  wrapUpForm: {
5035
4975
  type: string;
5036
4976
  id: string;
@@ -5083,24 +5023,6 @@ export declare const lineContract: {
5083
5023
  dateValue: Date | null;
5084
5024
  }[] | null | undefined;
5085
5025
  } | null;
5086
- holdLogs?: {
5087
- id: string;
5088
- createdAt: Date;
5089
- updatedAt: Date;
5090
- deletedAt: Date | null;
5091
- startedAt: string;
5092
- endedAt: string | null;
5093
- duration: number | null;
5094
- holdLabel?: {
5095
- name: string;
5096
- id: string;
5097
- position: number;
5098
- createdAt: Date;
5099
- updatedAt: Date;
5100
- deletedAt: Date | null;
5101
- isDefault?: boolean | undefined;
5102
- } | null | undefined;
5103
- }[] | null | undefined;
5104
5026
  }>;
5105
5027
  workflowRule: z.ZodObject<{
5106
5028
  id: z.ZodString;
@@ -5142,15 +5064,16 @@ export declare const lineContract: {
5142
5064
  additionalCredentials?: any;
5143
5065
  senderId?: string | undefined;
5144
5066
  whatsapp?: {
5145
- email: string;
5146
- wabaExternalId: string;
5147
- phoneNumberId: string;
5148
- wabaBusinessId?: string | undefined;
5149
- clientId?: string | undefined;
5150
- channelId?: string | undefined;
5067
+ wabaBusinessId?: string | null | undefined;
5068
+ wabaExternalId?: string | null | undefined;
5069
+ phoneNumberId?: string | null | undefined;
5070
+ email?: string | null | undefined;
5071
+ clientId?: string | null | undefined;
5072
+ channelId?: string | null | undefined;
5151
5073
  status?: "active" | "pending" | undefined;
5152
5074
  apiKey?: string | undefined;
5153
5075
  tier?: "basic" | "regular" | "premium" | undefined;
5076
+ integrationType?: "meta" | "360dialog" | undefined;
5154
5077
  } | undefined;
5155
5078
  vonageCredentials?: {
5156
5079
  apiKey: string;
@@ -5321,7 +5244,6 @@ export declare const lineContract: {
5321
5244
  dateValue: Date | null;
5322
5245
  uploads: {
5323
5246
  id: string;
5324
- status: string | null;
5325
5247
  createdAt: Date;
5326
5248
  updatedAt: Date;
5327
5249
  deletedAt: Date | null;
@@ -5330,6 +5252,7 @@ export declare const lineContract: {
5330
5252
  bucketName: string;
5331
5253
  fileSize: number;
5332
5254
  fileUrl: string | null;
5255
+ status?: string | undefined;
5333
5256
  }[];
5334
5257
  }[];
5335
5258
  company: {
@@ -5464,12 +5387,8 @@ export declare const lineContract: {
5464
5387
  entityName: string;
5465
5388
  agentId: string | null;
5466
5389
  startedDate: Date | null;
5467
- totalHoldDuration: number | null;
5468
5390
  handledTime: number | null;
5469
- fullHandledTime: number | null;
5470
5391
  firstResponseTime: number | null;
5471
- resolutionTime: number | null;
5472
- fullResolutionTime: number | null;
5473
5392
  wrapUpForm: {
5474
5393
  type: string;
5475
5394
  id: string;
@@ -5522,24 +5441,6 @@ export declare const lineContract: {
5522
5441
  dateValue: Date | null;
5523
5442
  }[] | null | undefined;
5524
5443
  } | null;
5525
- holdLogs?: {
5526
- id: string;
5527
- createdAt: Date;
5528
- updatedAt: Date;
5529
- deletedAt: Date | null;
5530
- startedAt: string;
5531
- endedAt: string | null;
5532
- duration: number | null;
5533
- holdLabel?: {
5534
- name: string;
5535
- id: string;
5536
- position: number;
5537
- createdAt: Date;
5538
- updatedAt: Date;
5539
- deletedAt: Date | null;
5540
- isDefault: boolean;
5541
- } | null | undefined;
5542
- }[] | null | undefined;
5543
5444
  };
5544
5445
  workflowRule: {
5545
5446
  name: string;
@@ -5565,15 +5466,16 @@ export declare const lineContract: {
5565
5466
  additionalCredentials?: any;
5566
5467
  senderId?: string | undefined;
5567
5468
  whatsapp?: {
5568
- email: string;
5569
- wabaExternalId: string;
5570
- phoneNumberId: string;
5571
- wabaBusinessId?: string | undefined;
5572
- clientId?: string | undefined;
5573
- channelId?: string | undefined;
5469
+ wabaBusinessId?: string | null | undefined;
5470
+ wabaExternalId?: string | null | undefined;
5471
+ phoneNumberId?: string | null | undefined;
5472
+ email?: string | null | undefined;
5473
+ clientId?: string | null | undefined;
5474
+ channelId?: string | null | undefined;
5574
5475
  status?: "active" | "pending" | undefined;
5575
5476
  apiKey?: string | undefined;
5576
5477
  tier?: "basic" | "regular" | "premium" | undefined;
5478
+ integrationType?: "meta" | "360dialog" | undefined;
5577
5479
  } | undefined;
5578
5480
  vonageCredentials?: {
5579
5481
  apiKey: string;
@@ -5744,7 +5646,6 @@ export declare const lineContract: {
5744
5646
  dateValue: Date | null;
5745
5647
  uploads: {
5746
5648
  id: string;
5747
- status: string | null;
5748
5649
  createdAt: Date;
5749
5650
  updatedAt: Date;
5750
5651
  deletedAt: Date | null;
@@ -5753,6 +5654,7 @@ export declare const lineContract: {
5753
5654
  bucketName: string;
5754
5655
  fileSize: number;
5755
5656
  fileUrl: string | null;
5657
+ status?: string | undefined;
5756
5658
  }[];
5757
5659
  }[];
5758
5660
  company: {
@@ -5887,12 +5789,8 @@ export declare const lineContract: {
5887
5789
  entityName: string;
5888
5790
  agentId: string | null;
5889
5791
  startedDate: Date | null;
5890
- totalHoldDuration: number | null;
5891
5792
  handledTime: number | null;
5892
- fullHandledTime: number | null;
5893
5793
  firstResponseTime: number | null;
5894
- resolutionTime: number | null;
5895
- fullResolutionTime: number | null;
5896
5794
  wrapUpForm: {
5897
5795
  type: string;
5898
5796
  id: string;
@@ -5945,24 +5843,6 @@ export declare const lineContract: {
5945
5843
  dateValue: Date | null;
5946
5844
  }[] | null | undefined;
5947
5845
  } | null;
5948
- holdLogs?: {
5949
- id: string;
5950
- createdAt: Date;
5951
- updatedAt: Date;
5952
- deletedAt: Date | null;
5953
- startedAt: string;
5954
- endedAt: string | null;
5955
- duration: number | null;
5956
- holdLabel?: {
5957
- name: string;
5958
- id: string;
5959
- position: number;
5960
- createdAt: Date;
5961
- updatedAt: Date;
5962
- deletedAt: Date | null;
5963
- isDefault?: boolean | undefined;
5964
- } | null | undefined;
5965
- }[] | null | undefined;
5966
5846
  };
5967
5847
  workflowRule: {
5968
5848
  name: string;
@@ -6013,7 +5893,7 @@ export declare const lineContract: {
6013
5893
  deletedAt: z.ZodNullable<z.ZodDate>;
6014
5894
  message: z.ZodString;
6015
5895
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6016
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
5896
+ 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", "edited", "deleted", "unsupported"]>;
6017
5897
  readAt: z.ZodDate;
6018
5898
  metadata: z.ZodAny;
6019
5899
  platformId: z.ZodString;
@@ -6034,10 +5914,9 @@ export declare const lineContract: {
6034
5914
  fileSize: z.ZodNumber;
6035
5915
  fileKey: z.ZodString;
6036
5916
  fileUrl: z.ZodNullable<z.ZodString>;
6037
- status: z.ZodNullable<z.ZodString>;
5917
+ status: z.ZodOptional<z.ZodString>;
6038
5918
  }, "strip", z.ZodTypeAny, {
6039
5919
  id: string;
6040
- status: string | null;
6041
5920
  createdAt: Date;
6042
5921
  updatedAt: Date;
6043
5922
  deletedAt: Date | null;
@@ -6046,9 +5925,9 @@ export declare const lineContract: {
6046
5925
  bucketName: string;
6047
5926
  fileSize: number;
6048
5927
  fileUrl: string | null;
5928
+ status?: string | undefined;
6049
5929
  }, {
6050
5930
  id: string;
6051
- status: string | null;
6052
5931
  createdAt: Date;
6053
5932
  updatedAt: Date;
6054
5933
  deletedAt: Date | null;
@@ -6057,6 +5936,7 @@ export declare const lineContract: {
6057
5936
  bucketName: string;
6058
5937
  fileSize: number;
6059
5938
  fileUrl: string | null;
5939
+ status?: string | undefined;
6060
5940
  }>;
6061
5941
  actor: z.ZodObject<{
6062
5942
  id: z.ZodString;
@@ -6671,7 +6551,7 @@ export declare const lineContract: {
6671
6551
  };
6672
6552
  }>;
6673
6553
  }, "strip", z.ZodTypeAny, {
6674
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6554
+ 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" | "edited" | "deleted" | "unsupported";
6675
6555
  message: string;
6676
6556
  id: string;
6677
6557
  url: string;
@@ -6725,7 +6605,6 @@ export declare const lineContract: {
6725
6605
  };
6726
6606
  upload: {
6727
6607
  id: string;
6728
- status: string | null;
6729
6608
  createdAt: Date;
6730
6609
  updatedAt: Date;
6731
6610
  deletedAt: Date | null;
@@ -6734,6 +6613,7 @@ export declare const lineContract: {
6734
6613
  bucketName: string;
6735
6614
  fileSize: number;
6736
6615
  fileUrl: string | null;
6616
+ status?: string | undefined;
6737
6617
  };
6738
6618
  assignee: {
6739
6619
  name: string;
@@ -6833,7 +6713,7 @@ export declare const lineContract: {
6833
6713
  metadata?: any;
6834
6714
  template?: any;
6835
6715
  }, {
6836
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
6716
+ 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" | "edited" | "deleted" | "unsupported";
6837
6717
  message: string;
6838
6718
  id: string;
6839
6719
  url: string;
@@ -6887,7 +6767,6 @@ export declare const lineContract: {
6887
6767
  };
6888
6768
  upload: {
6889
6769
  id: string;
6890
- status: string | null;
6891
6770
  createdAt: Date;
6892
6771
  updatedAt: Date;
6893
6772
  deletedAt: Date | null;
@@ -6896,6 +6775,7 @@ export declare const lineContract: {
6896
6775
  bucketName: string;
6897
6776
  fileSize: number;
6898
6777
  fileUrl: string | null;
6778
+ status?: string | undefined;
6899
6779
  };
6900
6780
  assignee: {
6901
6781
  name: string;
@@ -7207,7 +7087,7 @@ export declare const lineContract: {
7207
7087
  deletedAt: z.ZodNullable<z.ZodDate>;
7208
7088
  message: z.ZodString;
7209
7089
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7210
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7090
+ 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", "edited", "deleted", "unsupported"]>;
7211
7091
  readAt: z.ZodDate;
7212
7092
  metadata: z.ZodAny;
7213
7093
  platformId: z.ZodString;
@@ -7606,10 +7486,9 @@ export declare const lineContract: {
7606
7486
  fileSize: z.ZodNumber;
7607
7487
  fileKey: z.ZodString;
7608
7488
  fileUrl: z.ZodNullable<z.ZodString>;
7609
- status: z.ZodNullable<z.ZodString>;
7489
+ status: z.ZodOptional<z.ZodString>;
7610
7490
  }, "strip", z.ZodTypeAny, {
7611
7491
  id: string;
7612
- status: string | null;
7613
7492
  createdAt: Date;
7614
7493
  updatedAt: Date;
7615
7494
  deletedAt: Date | null;
@@ -7618,9 +7497,9 @@ export declare const lineContract: {
7618
7497
  bucketName: string;
7619
7498
  fileSize: number;
7620
7499
  fileUrl: string | null;
7500
+ status?: string | undefined;
7621
7501
  }, {
7622
7502
  id: string;
7623
- status: string | null;
7624
7503
  createdAt: Date;
7625
7504
  updatedAt: Date;
7626
7505
  deletedAt: Date | null;
@@ -7629,6 +7508,7 @@ export declare const lineContract: {
7629
7508
  bucketName: string;
7630
7509
  fileSize: number;
7631
7510
  fileUrl: string | null;
7511
+ status?: string | undefined;
7632
7512
  }>, "many">;
7633
7513
  }, "strip", z.ZodTypeAny, {
7634
7514
  id: string;
@@ -7655,7 +7535,6 @@ export declare const lineContract: {
7655
7535
  dateValue: Date | null;
7656
7536
  uploads: {
7657
7537
  id: string;
7658
- status: string | null;
7659
7538
  createdAt: Date;
7660
7539
  updatedAt: Date;
7661
7540
  deletedAt: Date | null;
@@ -7664,6 +7543,7 @@ export declare const lineContract: {
7664
7543
  bucketName: string;
7665
7544
  fileSize: number;
7666
7545
  fileUrl: string | null;
7546
+ status?: string | undefined;
7667
7547
  }[];
7668
7548
  }, {
7669
7549
  id: string;
@@ -7690,7 +7570,6 @@ export declare const lineContract: {
7690
7570
  dateValue: Date | null;
7691
7571
  uploads: {
7692
7572
  id: string;
7693
- status: string | null;
7694
7573
  createdAt: Date;
7695
7574
  updatedAt: Date;
7696
7575
  deletedAt: Date | null;
@@ -7699,6 +7578,7 @@ export declare const lineContract: {
7699
7578
  bucketName: string;
7700
7579
  fileSize: number;
7701
7580
  fileUrl: string | null;
7581
+ status?: string | undefined;
7702
7582
  }[];
7703
7583
  }>, "many">;
7704
7584
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -7838,7 +7718,6 @@ export declare const lineContract: {
7838
7718
  dateValue: Date | null;
7839
7719
  uploads: {
7840
7720
  id: string;
7841
- status: string | null;
7842
7721
  createdAt: Date;
7843
7722
  updatedAt: Date;
7844
7723
  deletedAt: Date | null;
@@ -7847,6 +7726,7 @@ export declare const lineContract: {
7847
7726
  bucketName: string;
7848
7727
  fileSize: number;
7849
7728
  fileUrl: string | null;
7729
+ status?: string | undefined;
7850
7730
  }[];
7851
7731
  }[];
7852
7732
  company: {
@@ -7949,7 +7829,6 @@ export declare const lineContract: {
7949
7829
  dateValue: Date | null;
7950
7830
  uploads: {
7951
7831
  id: string;
7952
- status: string | null;
7953
7832
  createdAt: Date;
7954
7833
  updatedAt: Date;
7955
7834
  deletedAt: Date | null;
@@ -7958,6 +7837,7 @@ export declare const lineContract: {
7958
7837
  bucketName: string;
7959
7838
  fileSize: number;
7960
7839
  fileUrl: string | null;
7840
+ status?: string | undefined;
7961
7841
  }[];
7962
7842
  }[];
7963
7843
  company: {
@@ -8073,7 +7953,6 @@ export declare const lineContract: {
8073
7953
  dateValue: Date | null;
8074
7954
  uploads: {
8075
7955
  id: string;
8076
- status: string | null;
8077
7956
  createdAt: Date;
8078
7957
  updatedAt: Date;
8079
7958
  deletedAt: Date | null;
@@ -8082,6 +7961,7 @@ export declare const lineContract: {
8082
7961
  bucketName: string;
8083
7962
  fileSize: number;
8084
7963
  fileUrl: string | null;
7964
+ status?: string | undefined;
8085
7965
  }[];
8086
7966
  }[];
8087
7967
  company: {
@@ -8199,7 +8079,6 @@ export declare const lineContract: {
8199
8079
  dateValue: Date | null;
8200
8080
  uploads: {
8201
8081
  id: string;
8202
- status: string | null;
8203
8082
  createdAt: Date;
8204
8083
  updatedAt: Date;
8205
8084
  deletedAt: Date | null;
@@ -8208,6 +8087,7 @@ export declare const lineContract: {
8208
8087
  bucketName: string;
8209
8088
  fileSize: number;
8210
8089
  fileUrl: string | null;
8090
+ status?: string | undefined;
8211
8091
  }[];
8212
8092
  }[];
8213
8093
  company: {
@@ -8704,35 +8584,38 @@ export declare const lineContract: {
8704
8584
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8705
8585
  senderId: z.ZodOptional<z.ZodString>;
8706
8586
  whatsapp: z.ZodOptional<z.ZodObject<{
8707
- wabaBusinessId: z.ZodOptional<z.ZodString>;
8708
- wabaExternalId: z.ZodString;
8709
- phoneNumberId: z.ZodString;
8710
- email: z.ZodString;
8711
- clientId: z.ZodOptional<z.ZodString>;
8712
- channelId: z.ZodOptional<z.ZodString>;
8587
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8588
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8589
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8590
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8591
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8592
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8713
8593
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
8714
8594
  apiKey: z.ZodOptional<z.ZodString>;
8715
8595
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
8596
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
8716
8597
  }, "strip", z.ZodTypeAny, {
8717
- email: string;
8718
- wabaExternalId: string;
8719
- phoneNumberId: string;
8720
- wabaBusinessId?: string | undefined;
8721
- clientId?: string | undefined;
8722
- channelId?: string | undefined;
8598
+ wabaBusinessId?: string | null | undefined;
8599
+ wabaExternalId?: string | null | undefined;
8600
+ phoneNumberId?: string | null | undefined;
8601
+ email?: string | null | undefined;
8602
+ clientId?: string | null | undefined;
8603
+ channelId?: string | null | undefined;
8723
8604
  status?: "active" | "pending" | undefined;
8724
8605
  apiKey?: string | undefined;
8725
8606
  tier?: "basic" | "regular" | "premium" | undefined;
8607
+ integrationType?: "meta" | "360dialog" | undefined;
8726
8608
  }, {
8727
- email: string;
8728
- wabaExternalId: string;
8729
- phoneNumberId: string;
8730
- wabaBusinessId?: string | undefined;
8731
- clientId?: string | undefined;
8732
- channelId?: string | undefined;
8609
+ wabaBusinessId?: string | null | undefined;
8610
+ wabaExternalId?: string | null | undefined;
8611
+ phoneNumberId?: string | null | undefined;
8612
+ email?: string | null | undefined;
8613
+ clientId?: string | null | undefined;
8614
+ channelId?: string | null | undefined;
8733
8615
  status?: "active" | "pending" | undefined;
8734
8616
  apiKey?: string | undefined;
8735
8617
  tier?: "basic" | "regular" | "premium" | undefined;
8618
+ integrationType?: "meta" | "360dialog" | undefined;
8736
8619
  }>>;
8737
8620
  vonageCredentials: z.ZodOptional<z.ZodObject<{
8738
8621
  mobileNumber: z.ZodString;
@@ -8757,15 +8640,16 @@ export declare const lineContract: {
8757
8640
  additionalCredentials?: any;
8758
8641
  senderId?: string | undefined;
8759
8642
  whatsapp?: {
8760
- email: string;
8761
- wabaExternalId: string;
8762
- phoneNumberId: string;
8763
- wabaBusinessId?: string | undefined;
8764
- clientId?: string | undefined;
8765
- channelId?: string | undefined;
8643
+ wabaBusinessId?: string | null | undefined;
8644
+ wabaExternalId?: string | null | undefined;
8645
+ phoneNumberId?: string | null | undefined;
8646
+ email?: string | null | undefined;
8647
+ clientId?: string | null | undefined;
8648
+ channelId?: string | null | undefined;
8766
8649
  status?: "active" | "pending" | undefined;
8767
8650
  apiKey?: string | undefined;
8768
8651
  tier?: "basic" | "regular" | "premium" | undefined;
8652
+ integrationType?: "meta" | "360dialog" | undefined;
8769
8653
  } | undefined;
8770
8654
  vonageCredentials?: {
8771
8655
  apiKey: string;
@@ -8782,15 +8666,16 @@ export declare const lineContract: {
8782
8666
  additionalCredentials?: any;
8783
8667
  senderId?: string | undefined;
8784
8668
  whatsapp?: {
8785
- email: string;
8786
- wabaExternalId: string;
8787
- phoneNumberId: string;
8788
- wabaBusinessId?: string | undefined;
8789
- clientId?: string | undefined;
8790
- channelId?: string | undefined;
8669
+ wabaBusinessId?: string | null | undefined;
8670
+ wabaExternalId?: string | null | undefined;
8671
+ phoneNumberId?: string | null | undefined;
8672
+ email?: string | null | undefined;
8673
+ clientId?: string | null | undefined;
8674
+ channelId?: string | null | undefined;
8791
8675
  status?: "active" | "pending" | undefined;
8792
8676
  apiKey?: string | undefined;
8793
8677
  tier?: "basic" | "regular" | "premium" | undefined;
8678
+ integrationType?: "meta" | "360dialog" | undefined;
8794
8679
  } | undefined;
8795
8680
  vonageCredentials?: {
8796
8681
  apiKey: string;
@@ -9041,15 +8926,16 @@ export declare const lineContract: {
9041
8926
  additionalCredentials?: any;
9042
8927
  senderId?: string | undefined;
9043
8928
  whatsapp?: {
9044
- email: string;
9045
- wabaExternalId: string;
9046
- phoneNumberId: string;
9047
- wabaBusinessId?: string | undefined;
9048
- clientId?: string | undefined;
9049
- channelId?: string | undefined;
8929
+ wabaBusinessId?: string | null | undefined;
8930
+ wabaExternalId?: string | null | undefined;
8931
+ phoneNumberId?: string | null | undefined;
8932
+ email?: string | null | undefined;
8933
+ clientId?: string | null | undefined;
8934
+ channelId?: string | null | undefined;
9050
8935
  status?: "active" | "pending" | undefined;
9051
8936
  apiKey?: string | undefined;
9052
8937
  tier?: "basic" | "regular" | "premium" | undefined;
8938
+ integrationType?: "meta" | "360dialog" | undefined;
9053
8939
  } | undefined;
9054
8940
  vonageCredentials?: {
9055
8941
  apiKey: string;
@@ -9131,15 +9017,16 @@ export declare const lineContract: {
9131
9017
  additionalCredentials?: any;
9132
9018
  senderId?: string | undefined;
9133
9019
  whatsapp?: {
9134
- email: string;
9135
- wabaExternalId: string;
9136
- phoneNumberId: string;
9137
- wabaBusinessId?: string | undefined;
9138
- clientId?: string | undefined;
9139
- channelId?: string | undefined;
9020
+ wabaBusinessId?: string | null | undefined;
9021
+ wabaExternalId?: string | null | undefined;
9022
+ phoneNumberId?: string | null | undefined;
9023
+ email?: string | null | undefined;
9024
+ clientId?: string | null | undefined;
9025
+ channelId?: string | null | undefined;
9140
9026
  status?: "active" | "pending" | undefined;
9141
9027
  apiKey?: string | undefined;
9142
9028
  tier?: "basic" | "regular" | "premium" | undefined;
9029
+ integrationType?: "meta" | "360dialog" | undefined;
9143
9030
  } | undefined;
9144
9031
  vonageCredentials?: {
9145
9032
  apiKey: string;
@@ -9224,12 +9111,8 @@ export declare const lineContract: {
9224
9111
  agentId: z.ZodNullable<z.ZodString>;
9225
9112
  direction: z.ZodNullable<z.ZodString>;
9226
9113
  startedDate: z.ZodNullable<z.ZodDate>;
9227
- totalHoldDuration: z.ZodNullable<z.ZodNumber>;
9228
9114
  handledTime: z.ZodNullable<z.ZodNumber>;
9229
- fullHandledTime: z.ZodNullable<z.ZodNumber>;
9230
9115
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
9231
- resolutionTime: z.ZodNullable<z.ZodNumber>;
9232
- fullResolutionTime: z.ZodNullable<z.ZodNumber>;
9233
9116
  wrapUpForm: z.ZodNullable<z.ZodObject<{
9234
9117
  id: z.ZodString;
9235
9118
  createdAt: z.ZodDate;
@@ -9496,74 +9379,6 @@ export declare const lineContract: {
9496
9379
  dateValue: Date | null;
9497
9380
  }[] | null | undefined;
9498
9381
  }>>;
9499
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9500
- id: z.ZodString;
9501
- createdAt: z.ZodDate;
9502
- updatedAt: z.ZodDate;
9503
- deletedAt: z.ZodNullable<z.ZodDate>;
9504
- startedAt: z.ZodString;
9505
- endedAt: z.ZodNullable<z.ZodString>;
9506
- duration: z.ZodNullable<z.ZodNumber>;
9507
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9508
- id: z.ZodString;
9509
- createdAt: z.ZodDate;
9510
- updatedAt: z.ZodDate;
9511
- deletedAt: z.ZodNullable<z.ZodDate>;
9512
- name: z.ZodString;
9513
- position: z.ZodNumber;
9514
- isDefault: z.ZodDefault<z.ZodBoolean>;
9515
- }, "strip", z.ZodTypeAny, {
9516
- name: string;
9517
- id: string;
9518
- position: number;
9519
- createdAt: Date;
9520
- updatedAt: Date;
9521
- deletedAt: Date | null;
9522
- isDefault: boolean;
9523
- }, {
9524
- name: string;
9525
- id: string;
9526
- position: number;
9527
- createdAt: Date;
9528
- updatedAt: Date;
9529
- deletedAt: Date | null;
9530
- isDefault?: boolean | undefined;
9531
- }>>>;
9532
- }, "strip", z.ZodTypeAny, {
9533
- id: string;
9534
- createdAt: Date;
9535
- updatedAt: Date;
9536
- deletedAt: Date | null;
9537
- startedAt: string;
9538
- endedAt: string | null;
9539
- duration: number | null;
9540
- holdLabel?: {
9541
- name: string;
9542
- id: string;
9543
- position: number;
9544
- createdAt: Date;
9545
- updatedAt: Date;
9546
- deletedAt: Date | null;
9547
- isDefault: boolean;
9548
- } | null | undefined;
9549
- }, {
9550
- id: string;
9551
- createdAt: Date;
9552
- updatedAt: Date;
9553
- deletedAt: Date | null;
9554
- startedAt: string;
9555
- endedAt: string | null;
9556
- duration: number | null;
9557
- holdLabel?: {
9558
- name: string;
9559
- id: string;
9560
- position: number;
9561
- createdAt: Date;
9562
- updatedAt: Date;
9563
- deletedAt: Date | null;
9564
- isDefault?: boolean | undefined;
9565
- } | null | undefined;
9566
- }>, "many">>>;
9567
9382
  }, "strip", z.ZodTypeAny, {
9568
9383
  id: string;
9569
9384
  channel: string | null;
@@ -9578,12 +9393,8 @@ export declare const lineContract: {
9578
9393
  entityName: string;
9579
9394
  agentId: string | null;
9580
9395
  startedDate: Date | null;
9581
- totalHoldDuration: number | null;
9582
9396
  handledTime: number | null;
9583
- fullHandledTime: number | null;
9584
9397
  firstResponseTime: number | null;
9585
- resolutionTime: number | null;
9586
- fullResolutionTime: number | null;
9587
9398
  wrapUpForm: {
9588
9399
  type: string;
9589
9400
  id: string;
@@ -9636,24 +9447,6 @@ export declare const lineContract: {
9636
9447
  dateValue: Date | null;
9637
9448
  }[] | null | undefined;
9638
9449
  } | null;
9639
- holdLogs?: {
9640
- id: string;
9641
- createdAt: Date;
9642
- updatedAt: Date;
9643
- deletedAt: Date | null;
9644
- startedAt: string;
9645
- endedAt: string | null;
9646
- duration: number | null;
9647
- holdLabel?: {
9648
- name: string;
9649
- id: string;
9650
- position: number;
9651
- createdAt: Date;
9652
- updatedAt: Date;
9653
- deletedAt: Date | null;
9654
- isDefault: boolean;
9655
- } | null | undefined;
9656
- }[] | null | undefined;
9657
9450
  }, {
9658
9451
  id: string;
9659
9452
  channel: string | null;
@@ -9668,12 +9461,8 @@ export declare const lineContract: {
9668
9461
  entityName: string;
9669
9462
  agentId: string | null;
9670
9463
  startedDate: Date | null;
9671
- totalHoldDuration: number | null;
9672
9464
  handledTime: number | null;
9673
- fullHandledTime: number | null;
9674
9465
  firstResponseTime: number | null;
9675
- resolutionTime: number | null;
9676
- fullResolutionTime: number | null;
9677
9466
  wrapUpForm: {
9678
9467
  type: string;
9679
9468
  id: string;
@@ -9726,24 +9515,6 @@ export declare const lineContract: {
9726
9515
  dateValue: Date | null;
9727
9516
  }[] | null | undefined;
9728
9517
  } | null;
9729
- holdLogs?: {
9730
- id: string;
9731
- createdAt: Date;
9732
- updatedAt: Date;
9733
- deletedAt: Date | null;
9734
- startedAt: string;
9735
- endedAt: string | null;
9736
- duration: number | null;
9737
- holdLabel?: {
9738
- name: string;
9739
- id: string;
9740
- position: number;
9741
- createdAt: Date;
9742
- updatedAt: Date;
9743
- deletedAt: Date | null;
9744
- isDefault?: boolean | undefined;
9745
- } | null | undefined;
9746
- }[] | null | undefined;
9747
9518
  }>;
9748
9519
  workflowRule: z.ZodObject<{
9749
9520
  id: z.ZodString;
@@ -9785,15 +9556,16 @@ export declare const lineContract: {
9785
9556
  additionalCredentials?: any;
9786
9557
  senderId?: string | undefined;
9787
9558
  whatsapp?: {
9788
- email: string;
9789
- wabaExternalId: string;
9790
- phoneNumberId: string;
9791
- wabaBusinessId?: string | undefined;
9792
- clientId?: string | undefined;
9793
- channelId?: string | undefined;
9559
+ wabaBusinessId?: string | null | undefined;
9560
+ wabaExternalId?: string | null | undefined;
9561
+ phoneNumberId?: string | null | undefined;
9562
+ email?: string | null | undefined;
9563
+ clientId?: string | null | undefined;
9564
+ channelId?: string | null | undefined;
9794
9565
  status?: "active" | "pending" | undefined;
9795
9566
  apiKey?: string | undefined;
9796
9567
  tier?: "basic" | "regular" | "premium" | undefined;
9568
+ integrationType?: "meta" | "360dialog" | undefined;
9797
9569
  } | undefined;
9798
9570
  vonageCredentials?: {
9799
9571
  apiKey: string;
@@ -9964,7 +9736,6 @@ export declare const lineContract: {
9964
9736
  dateValue: Date | null;
9965
9737
  uploads: {
9966
9738
  id: string;
9967
- status: string | null;
9968
9739
  createdAt: Date;
9969
9740
  updatedAt: Date;
9970
9741
  deletedAt: Date | null;
@@ -9973,6 +9744,7 @@ export declare const lineContract: {
9973
9744
  bucketName: string;
9974
9745
  fileSize: number;
9975
9746
  fileUrl: string | null;
9747
+ status?: string | undefined;
9976
9748
  }[];
9977
9749
  }[];
9978
9750
  company: {
@@ -10107,12 +9879,8 @@ export declare const lineContract: {
10107
9879
  entityName: string;
10108
9880
  agentId: string | null;
10109
9881
  startedDate: Date | null;
10110
- totalHoldDuration: number | null;
10111
9882
  handledTime: number | null;
10112
- fullHandledTime: number | null;
10113
9883
  firstResponseTime: number | null;
10114
- resolutionTime: number | null;
10115
- fullResolutionTime: number | null;
10116
9884
  wrapUpForm: {
10117
9885
  type: string;
10118
9886
  id: string;
@@ -10165,24 +9933,6 @@ export declare const lineContract: {
10165
9933
  dateValue: Date | null;
10166
9934
  }[] | null | undefined;
10167
9935
  } | null;
10168
- holdLogs?: {
10169
- id: string;
10170
- createdAt: Date;
10171
- updatedAt: Date;
10172
- deletedAt: Date | null;
10173
- startedAt: string;
10174
- endedAt: string | null;
10175
- duration: number | null;
10176
- holdLabel?: {
10177
- name: string;
10178
- id: string;
10179
- position: number;
10180
- createdAt: Date;
10181
- updatedAt: Date;
10182
- deletedAt: Date | null;
10183
- isDefault: boolean;
10184
- } | null | undefined;
10185
- }[] | null | undefined;
10186
9936
  };
10187
9937
  workflowRule: {
10188
9938
  name: string;
@@ -10208,15 +9958,16 @@ export declare const lineContract: {
10208
9958
  additionalCredentials?: any;
10209
9959
  senderId?: string | undefined;
10210
9960
  whatsapp?: {
10211
- email: string;
10212
- wabaExternalId: string;
10213
- phoneNumberId: string;
10214
- wabaBusinessId?: string | undefined;
10215
- clientId?: string | undefined;
10216
- channelId?: string | undefined;
9961
+ wabaBusinessId?: string | null | undefined;
9962
+ wabaExternalId?: string | null | undefined;
9963
+ phoneNumberId?: string | null | undefined;
9964
+ email?: string | null | undefined;
9965
+ clientId?: string | null | undefined;
9966
+ channelId?: string | null | undefined;
10217
9967
  status?: "active" | "pending" | undefined;
10218
9968
  apiKey?: string | undefined;
10219
9969
  tier?: "basic" | "regular" | "premium" | undefined;
9970
+ integrationType?: "meta" | "360dialog" | undefined;
10220
9971
  } | undefined;
10221
9972
  vonageCredentials?: {
10222
9973
  apiKey: string;
@@ -10387,7 +10138,6 @@ export declare const lineContract: {
10387
10138
  dateValue: Date | null;
10388
10139
  uploads: {
10389
10140
  id: string;
10390
- status: string | null;
10391
10141
  createdAt: Date;
10392
10142
  updatedAt: Date;
10393
10143
  deletedAt: Date | null;
@@ -10396,6 +10146,7 @@ export declare const lineContract: {
10396
10146
  bucketName: string;
10397
10147
  fileSize: number;
10398
10148
  fileUrl: string | null;
10149
+ status?: string | undefined;
10399
10150
  }[];
10400
10151
  }[];
10401
10152
  company: {
@@ -10530,12 +10281,8 @@ export declare const lineContract: {
10530
10281
  entityName: string;
10531
10282
  agentId: string | null;
10532
10283
  startedDate: Date | null;
10533
- totalHoldDuration: number | null;
10534
10284
  handledTime: number | null;
10535
- fullHandledTime: number | null;
10536
10285
  firstResponseTime: number | null;
10537
- resolutionTime: number | null;
10538
- fullResolutionTime: number | null;
10539
10286
  wrapUpForm: {
10540
10287
  type: string;
10541
10288
  id: string;
@@ -10588,24 +10335,6 @@ export declare const lineContract: {
10588
10335
  dateValue: Date | null;
10589
10336
  }[] | null | undefined;
10590
10337
  } | null;
10591
- holdLogs?: {
10592
- id: string;
10593
- createdAt: Date;
10594
- updatedAt: Date;
10595
- deletedAt: Date | null;
10596
- startedAt: string;
10597
- endedAt: string | null;
10598
- duration: number | null;
10599
- holdLabel?: {
10600
- name: string;
10601
- id: string;
10602
- position: number;
10603
- createdAt: Date;
10604
- updatedAt: Date;
10605
- deletedAt: Date | null;
10606
- isDefault?: boolean | undefined;
10607
- } | null | undefined;
10608
- }[] | null | undefined;
10609
10338
  };
10610
10339
  workflowRule: {
10611
10340
  name: string;
@@ -10628,10 +10357,9 @@ export declare const lineContract: {
10628
10357
  fileSize: z.ZodNumber;
10629
10358
  fileKey: z.ZodString;
10630
10359
  fileUrl: z.ZodNullable<z.ZodString>;
10631
- status: z.ZodNullable<z.ZodString>;
10360
+ status: z.ZodOptional<z.ZodString>;
10632
10361
  }, "strip", z.ZodTypeAny, {
10633
10362
  id: string;
10634
- status: string | null;
10635
10363
  createdAt: Date;
10636
10364
  updatedAt: Date;
10637
10365
  deletedAt: Date | null;
@@ -10640,9 +10368,9 @@ export declare const lineContract: {
10640
10368
  bucketName: string;
10641
10369
  fileSize: number;
10642
10370
  fileUrl: string | null;
10371
+ status?: string | undefined;
10643
10372
  }, {
10644
10373
  id: string;
10645
- status: string | null;
10646
10374
  createdAt: Date;
10647
10375
  updatedAt: Date;
10648
10376
  deletedAt: Date | null;
@@ -10651,6 +10379,7 @@ export declare const lineContract: {
10651
10379
  bucketName: string;
10652
10380
  fileSize: number;
10653
10381
  fileUrl: string | null;
10382
+ status?: string | undefined;
10654
10383
  }>;
10655
10384
  repliedMessage: z.ZodLazy<z.ZodObject<{
10656
10385
  id: z.ZodString;
@@ -10659,7 +10388,7 @@ export declare const lineContract: {
10659
10388
  deletedAt: z.ZodNullable<z.ZodDate>;
10660
10389
  message: z.ZodString;
10661
10390
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10662
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
10391
+ 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", "edited", "deleted", "unsupported"]>;
10663
10392
  readAt: z.ZodDate;
10664
10393
  metadata: z.ZodAny;
10665
10394
  platformId: z.ZodString;
@@ -10680,10 +10409,9 @@ export declare const lineContract: {
10680
10409
  fileSize: z.ZodNumber;
10681
10410
  fileKey: z.ZodString;
10682
10411
  fileUrl: z.ZodNullable<z.ZodString>;
10683
- status: z.ZodNullable<z.ZodString>;
10412
+ status: z.ZodOptional<z.ZodString>;
10684
10413
  }, "strip", z.ZodTypeAny, {
10685
10414
  id: string;
10686
- status: string | null;
10687
10415
  createdAt: Date;
10688
10416
  updatedAt: Date;
10689
10417
  deletedAt: Date | null;
@@ -10692,9 +10420,9 @@ export declare const lineContract: {
10692
10420
  bucketName: string;
10693
10421
  fileSize: number;
10694
10422
  fileUrl: string | null;
10423
+ status?: string | undefined;
10695
10424
  }, {
10696
10425
  id: string;
10697
- status: string | null;
10698
10426
  createdAt: Date;
10699
10427
  updatedAt: Date;
10700
10428
  deletedAt: Date | null;
@@ -10703,6 +10431,7 @@ export declare const lineContract: {
10703
10431
  bucketName: string;
10704
10432
  fileSize: number;
10705
10433
  fileUrl: string | null;
10434
+ status?: string | undefined;
10706
10435
  }>;
10707
10436
  actor: z.ZodObject<{
10708
10437
  id: z.ZodString;
@@ -11317,7 +11046,7 @@ export declare const lineContract: {
11317
11046
  };
11318
11047
  }>;
11319
11048
  }, "strip", z.ZodTypeAny, {
11320
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11049
+ 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" | "edited" | "deleted" | "unsupported";
11321
11050
  message: string;
11322
11051
  id: string;
11323
11052
  url: string;
@@ -11371,7 +11100,6 @@ export declare const lineContract: {
11371
11100
  };
11372
11101
  upload: {
11373
11102
  id: string;
11374
- status: string | null;
11375
11103
  createdAt: Date;
11376
11104
  updatedAt: Date;
11377
11105
  deletedAt: Date | null;
@@ -11380,6 +11108,7 @@ export declare const lineContract: {
11380
11108
  bucketName: string;
11381
11109
  fileSize: number;
11382
11110
  fileUrl: string | null;
11111
+ status?: string | undefined;
11383
11112
  };
11384
11113
  assignee: {
11385
11114
  name: string;
@@ -11479,7 +11208,7 @@ export declare const lineContract: {
11479
11208
  metadata?: any;
11480
11209
  template?: any;
11481
11210
  }, {
11482
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11211
+ 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" | "edited" | "deleted" | "unsupported";
11483
11212
  message: string;
11484
11213
  id: string;
11485
11214
  url: string;
@@ -11533,7 +11262,6 @@ export declare const lineContract: {
11533
11262
  };
11534
11263
  upload: {
11535
11264
  id: string;
11536
- status: string | null;
11537
11265
  createdAt: Date;
11538
11266
  updatedAt: Date;
11539
11267
  deletedAt: Date | null;
@@ -11542,6 +11270,7 @@ export declare const lineContract: {
11542
11270
  bucketName: string;
11543
11271
  fileSize: number;
11544
11272
  fileUrl: string | null;
11273
+ status?: string | undefined;
11545
11274
  };
11546
11275
  assignee: {
11547
11276
  name: string;
@@ -12281,7 +12010,7 @@ export declare const lineContract: {
12281
12010
  editedMessageid: z.ZodString;
12282
12011
  label: z.ZodOptional<z.ZodString>;
12283
12012
  }, "strip", z.ZodTypeAny, {
12284
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12013
+ 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" | "edited" | "deleted" | "unsupported";
12285
12014
  message: string;
12286
12015
  id: string;
12287
12016
  url: string;
@@ -12335,7 +12064,6 @@ export declare const lineContract: {
12335
12064
  };
12336
12065
  upload: {
12337
12066
  id: string;
12338
- status: string | null;
12339
12067
  createdAt: Date;
12340
12068
  updatedAt: Date;
12341
12069
  deletedAt: Date | null;
@@ -12344,6 +12072,7 @@ export declare const lineContract: {
12344
12072
  bucketName: string;
12345
12073
  fileSize: number;
12346
12074
  fileUrl: string | null;
12075
+ status?: string | undefined;
12347
12076
  };
12348
12077
  assignee: {
12349
12078
  name: string;
@@ -12404,15 +12133,16 @@ export declare const lineContract: {
12404
12133
  additionalCredentials?: any;
12405
12134
  senderId?: string | undefined;
12406
12135
  whatsapp?: {
12407
- email: string;
12408
- wabaExternalId: string;
12409
- phoneNumberId: string;
12410
- wabaBusinessId?: string | undefined;
12411
- clientId?: string | undefined;
12412
- channelId?: string | undefined;
12136
+ wabaBusinessId?: string | null | undefined;
12137
+ wabaExternalId?: string | null | undefined;
12138
+ phoneNumberId?: string | null | undefined;
12139
+ email?: string | null | undefined;
12140
+ clientId?: string | null | undefined;
12141
+ channelId?: string | null | undefined;
12413
12142
  status?: "active" | "pending" | undefined;
12414
12143
  apiKey?: string | undefined;
12415
12144
  tier?: "basic" | "regular" | "premium" | undefined;
12145
+ integrationType?: "meta" | "360dialog" | undefined;
12416
12146
  } | undefined;
12417
12147
  vonageCredentials?: {
12418
12148
  apiKey: string;
@@ -12583,7 +12313,6 @@ export declare const lineContract: {
12583
12313
  dateValue: Date | null;
12584
12314
  uploads: {
12585
12315
  id: string;
12586
- status: string | null;
12587
12316
  createdAt: Date;
12588
12317
  updatedAt: Date;
12589
12318
  deletedAt: Date | null;
@@ -12592,6 +12321,7 @@ export declare const lineContract: {
12592
12321
  bucketName: string;
12593
12322
  fileSize: number;
12594
12323
  fileUrl: string | null;
12324
+ status?: string | undefined;
12595
12325
  }[];
12596
12326
  }[];
12597
12327
  company: {
@@ -12726,12 +12456,8 @@ export declare const lineContract: {
12726
12456
  entityName: string;
12727
12457
  agentId: string | null;
12728
12458
  startedDate: Date | null;
12729
- totalHoldDuration: number | null;
12730
12459
  handledTime: number | null;
12731
- fullHandledTime: number | null;
12732
12460
  firstResponseTime: number | null;
12733
- resolutionTime: number | null;
12734
- fullResolutionTime: number | null;
12735
12461
  wrapUpForm: {
12736
12462
  type: string;
12737
12463
  id: string;
@@ -12784,24 +12510,6 @@ export declare const lineContract: {
12784
12510
  dateValue: Date | null;
12785
12511
  }[] | null | undefined;
12786
12512
  } | null;
12787
- holdLogs?: {
12788
- id: string;
12789
- createdAt: Date;
12790
- updatedAt: Date;
12791
- deletedAt: Date | null;
12792
- startedAt: string;
12793
- endedAt: string | null;
12794
- duration: number | null;
12795
- holdLabel?: {
12796
- name: string;
12797
- id: string;
12798
- position: number;
12799
- createdAt: Date;
12800
- updatedAt: Date;
12801
- deletedAt: Date | null;
12802
- isDefault: boolean;
12803
- } | null | undefined;
12804
- }[] | null | undefined;
12805
12513
  };
12806
12514
  workflowRule: {
12807
12515
  name: string;
@@ -12830,7 +12538,7 @@ export declare const lineContract: {
12830
12538
  previewUrl: string;
12831
12539
  imageSetId: string;
12832
12540
  repliedMessage: {
12833
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12541
+ 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" | "edited" | "deleted" | "unsupported";
12834
12542
  message: string;
12835
12543
  id: string;
12836
12544
  url: string;
@@ -12884,7 +12592,6 @@ export declare const lineContract: {
12884
12592
  };
12885
12593
  upload: {
12886
12594
  id: string;
12887
- status: string | null;
12888
12595
  createdAt: Date;
12889
12596
  updatedAt: Date;
12890
12597
  deletedAt: Date | null;
@@ -12893,6 +12600,7 @@ export declare const lineContract: {
12893
12600
  bucketName: string;
12894
12601
  fileSize: number;
12895
12602
  fileUrl: string | null;
12603
+ status?: string | undefined;
12896
12604
  };
12897
12605
  assignee: {
12898
12606
  name: string;
@@ -13041,7 +12749,7 @@ export declare const lineContract: {
13041
12749
  template?: any;
13042
12750
  label?: string | undefined;
13043
12751
  }, {
13044
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12752
+ 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" | "edited" | "deleted" | "unsupported";
13045
12753
  message: string;
13046
12754
  id: string;
13047
12755
  url: string;
@@ -13095,7 +12803,6 @@ export declare const lineContract: {
13095
12803
  };
13096
12804
  upload: {
13097
12805
  id: string;
13098
- status: string | null;
13099
12806
  createdAt: Date;
13100
12807
  updatedAt: Date;
13101
12808
  deletedAt: Date | null;
@@ -13104,6 +12811,7 @@ export declare const lineContract: {
13104
12811
  bucketName: string;
13105
12812
  fileSize: number;
13106
12813
  fileUrl: string | null;
12814
+ status?: string | undefined;
13107
12815
  };
13108
12816
  assignee: {
13109
12817
  name: string;
@@ -13164,15 +12872,16 @@ export declare const lineContract: {
13164
12872
  additionalCredentials?: any;
13165
12873
  senderId?: string | undefined;
13166
12874
  whatsapp?: {
13167
- email: string;
13168
- wabaExternalId: string;
13169
- phoneNumberId: string;
13170
- wabaBusinessId?: string | undefined;
13171
- clientId?: string | undefined;
13172
- channelId?: string | undefined;
12875
+ wabaBusinessId?: string | null | undefined;
12876
+ wabaExternalId?: string | null | undefined;
12877
+ phoneNumberId?: string | null | undefined;
12878
+ email?: string | null | undefined;
12879
+ clientId?: string | null | undefined;
12880
+ channelId?: string | null | undefined;
13173
12881
  status?: "active" | "pending" | undefined;
13174
12882
  apiKey?: string | undefined;
13175
12883
  tier?: "basic" | "regular" | "premium" | undefined;
12884
+ integrationType?: "meta" | "360dialog" | undefined;
13176
12885
  } | undefined;
13177
12886
  vonageCredentials?: {
13178
12887
  apiKey: string;
@@ -13343,7 +13052,6 @@ export declare const lineContract: {
13343
13052
  dateValue: Date | null;
13344
13053
  uploads: {
13345
13054
  id: string;
13346
- status: string | null;
13347
13055
  createdAt: Date;
13348
13056
  updatedAt: Date;
13349
13057
  deletedAt: Date | null;
@@ -13352,6 +13060,7 @@ export declare const lineContract: {
13352
13060
  bucketName: string;
13353
13061
  fileSize: number;
13354
13062
  fileUrl: string | null;
13063
+ status?: string | undefined;
13355
13064
  }[];
13356
13065
  }[];
13357
13066
  company: {
@@ -13486,12 +13195,8 @@ export declare const lineContract: {
13486
13195
  entityName: string;
13487
13196
  agentId: string | null;
13488
13197
  startedDate: Date | null;
13489
- totalHoldDuration: number | null;
13490
13198
  handledTime: number | null;
13491
- fullHandledTime: number | null;
13492
13199
  firstResponseTime: number | null;
13493
- resolutionTime: number | null;
13494
- fullResolutionTime: number | null;
13495
13200
  wrapUpForm: {
13496
13201
  type: string;
13497
13202
  id: string;
@@ -13544,24 +13249,6 @@ export declare const lineContract: {
13544
13249
  dateValue: Date | null;
13545
13250
  }[] | null | undefined;
13546
13251
  } | null;
13547
- holdLogs?: {
13548
- id: string;
13549
- createdAt: Date;
13550
- updatedAt: Date;
13551
- deletedAt: Date | null;
13552
- startedAt: string;
13553
- endedAt: string | null;
13554
- duration: number | null;
13555
- holdLabel?: {
13556
- name: string;
13557
- id: string;
13558
- position: number;
13559
- createdAt: Date;
13560
- updatedAt: Date;
13561
- deletedAt: Date | null;
13562
- isDefault?: boolean | undefined;
13563
- } | null | undefined;
13564
- }[] | null | undefined;
13565
13252
  };
13566
13253
  workflowRule: {
13567
13254
  name: string;
@@ -13590,7 +13277,7 @@ export declare const lineContract: {
13590
13277
  previewUrl: string;
13591
13278
  imageSetId: string;
13592
13279
  repliedMessage: {
13593
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13280
+ 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" | "edited" | "deleted" | "unsupported";
13594
13281
  message: string;
13595
13282
  id: string;
13596
13283
  url: string;
@@ -13644,7 +13331,6 @@ export declare const lineContract: {
13644
13331
  };
13645
13332
  upload: {
13646
13333
  id: string;
13647
- status: string | null;
13648
13334
  createdAt: Date;
13649
13335
  updatedAt: Date;
13650
13336
  deletedAt: Date | null;
@@ -13653,6 +13339,7 @@ export declare const lineContract: {
13653
13339
  bucketName: string;
13654
13340
  fileSize: number;
13655
13341
  fileUrl: string | null;
13342
+ status?: string | undefined;
13656
13343
  };
13657
13344
  assignee: {
13658
13345
  name: string;
@@ -13802,7 +13489,7 @@ export declare const lineContract: {
13802
13489
  label?: string | undefined;
13803
13490
  }>>>;
13804
13491
  }, "strip", z.ZodTypeAny, {
13805
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13492
+ 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" | "edited" | "deleted" | "unsupported";
13806
13493
  message: string;
13807
13494
  id: string;
13808
13495
  url: string;
@@ -13856,7 +13543,6 @@ export declare const lineContract: {
13856
13543
  };
13857
13544
  upload: {
13858
13545
  id: string;
13859
- status: string | null;
13860
13546
  createdAt: Date;
13861
13547
  updatedAt: Date;
13862
13548
  deletedAt: Date | null;
@@ -13865,6 +13551,7 @@ export declare const lineContract: {
13865
13551
  bucketName: string;
13866
13552
  fileSize: number;
13867
13553
  fileUrl: string | null;
13554
+ status?: string | undefined;
13868
13555
  };
13869
13556
  assignee: {
13870
13557
  name: string;
@@ -13925,15 +13612,16 @@ export declare const lineContract: {
13925
13612
  additionalCredentials?: any;
13926
13613
  senderId?: string | undefined;
13927
13614
  whatsapp?: {
13928
- email: string;
13929
- wabaExternalId: string;
13930
- phoneNumberId: string;
13931
- wabaBusinessId?: string | undefined;
13932
- clientId?: string | undefined;
13933
- channelId?: string | undefined;
13615
+ wabaBusinessId?: string | null | undefined;
13616
+ wabaExternalId?: string | null | undefined;
13617
+ phoneNumberId?: string | null | undefined;
13618
+ email?: string | null | undefined;
13619
+ clientId?: string | null | undefined;
13620
+ channelId?: string | null | undefined;
13934
13621
  status?: "active" | "pending" | undefined;
13935
13622
  apiKey?: string | undefined;
13936
13623
  tier?: "basic" | "regular" | "premium" | undefined;
13624
+ integrationType?: "meta" | "360dialog" | undefined;
13937
13625
  } | undefined;
13938
13626
  vonageCredentials?: {
13939
13627
  apiKey: string;
@@ -14104,7 +13792,6 @@ export declare const lineContract: {
14104
13792
  dateValue: Date | null;
14105
13793
  uploads: {
14106
13794
  id: string;
14107
- status: string | null;
14108
13795
  createdAt: Date;
14109
13796
  updatedAt: Date;
14110
13797
  deletedAt: Date | null;
@@ -14113,6 +13800,7 @@ export declare const lineContract: {
14113
13800
  bucketName: string;
14114
13801
  fileSize: number;
14115
13802
  fileUrl: string | null;
13803
+ status?: string | undefined;
14116
13804
  }[];
14117
13805
  }[];
14118
13806
  company: {
@@ -14247,12 +13935,8 @@ export declare const lineContract: {
14247
13935
  entityName: string;
14248
13936
  agentId: string | null;
14249
13937
  startedDate: Date | null;
14250
- totalHoldDuration: number | null;
14251
13938
  handledTime: number | null;
14252
- fullHandledTime: number | null;
14253
13939
  firstResponseTime: number | null;
14254
- resolutionTime: number | null;
14255
- fullResolutionTime: number | null;
14256
13940
  wrapUpForm: {
14257
13941
  type: string;
14258
13942
  id: string;
@@ -14305,24 +13989,6 @@ export declare const lineContract: {
14305
13989
  dateValue: Date | null;
14306
13990
  }[] | null | undefined;
14307
13991
  } | null;
14308
- holdLogs?: {
14309
- id: string;
14310
- createdAt: Date;
14311
- updatedAt: Date;
14312
- deletedAt: Date | null;
14313
- startedAt: string;
14314
- endedAt: string | null;
14315
- duration: number | null;
14316
- holdLabel?: {
14317
- name: string;
14318
- id: string;
14319
- position: number;
14320
- createdAt: Date;
14321
- updatedAt: Date;
14322
- deletedAt: Date | null;
14323
- isDefault: boolean;
14324
- } | null | undefined;
14325
- }[] | null | undefined;
14326
13992
  };
14327
13993
  workflowRule: {
14328
13994
  name: string;
@@ -14351,7 +14017,7 @@ export declare const lineContract: {
14351
14017
  previewUrl: string;
14352
14018
  imageSetId: string;
14353
14019
  repliedMessage: {
14354
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14020
+ 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" | "edited" | "deleted" | "unsupported";
14355
14021
  message: string;
14356
14022
  id: string;
14357
14023
  url: string;
@@ -14405,7 +14071,6 @@ export declare const lineContract: {
14405
14071
  };
14406
14072
  upload: {
14407
14073
  id: string;
14408
- status: string | null;
14409
14074
  createdAt: Date;
14410
14075
  updatedAt: Date;
14411
14076
  deletedAt: Date | null;
@@ -14414,6 +14079,7 @@ export declare const lineContract: {
14414
14079
  bucketName: string;
14415
14080
  fileSize: number;
14416
14081
  fileUrl: string | null;
14082
+ status?: string | undefined;
14417
14083
  };
14418
14084
  assignee: {
14419
14085
  name: string;
@@ -14562,7 +14228,7 @@ export declare const lineContract: {
14562
14228
  template?: any;
14563
14229
  metadata?: any;
14564
14230
  fromMessage?: {
14565
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14231
+ 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" | "edited" | "deleted" | "unsupported";
14566
14232
  message: string;
14567
14233
  id: string;
14568
14234
  url: string;
@@ -14616,7 +14282,6 @@ export declare const lineContract: {
14616
14282
  };
14617
14283
  upload: {
14618
14284
  id: string;
14619
- status: string | null;
14620
14285
  createdAt: Date;
14621
14286
  updatedAt: Date;
14622
14287
  deletedAt: Date | null;
@@ -14625,6 +14290,7 @@ export declare const lineContract: {
14625
14290
  bucketName: string;
14626
14291
  fileSize: number;
14627
14292
  fileUrl: string | null;
14293
+ status?: string | undefined;
14628
14294
  };
14629
14295
  assignee: {
14630
14296
  name: string;
@@ -14685,15 +14351,16 @@ export declare const lineContract: {
14685
14351
  additionalCredentials?: any;
14686
14352
  senderId?: string | undefined;
14687
14353
  whatsapp?: {
14688
- email: string;
14689
- wabaExternalId: string;
14690
- phoneNumberId: string;
14691
- wabaBusinessId?: string | undefined;
14692
- clientId?: string | undefined;
14693
- channelId?: string | undefined;
14354
+ wabaBusinessId?: string | null | undefined;
14355
+ wabaExternalId?: string | null | undefined;
14356
+ phoneNumberId?: string | null | undefined;
14357
+ email?: string | null | undefined;
14358
+ clientId?: string | null | undefined;
14359
+ channelId?: string | null | undefined;
14694
14360
  status?: "active" | "pending" | undefined;
14695
14361
  apiKey?: string | undefined;
14696
14362
  tier?: "basic" | "regular" | "premium" | undefined;
14363
+ integrationType?: "meta" | "360dialog" | undefined;
14697
14364
  } | undefined;
14698
14365
  vonageCredentials?: {
14699
14366
  apiKey: string;
@@ -14864,7 +14531,6 @@ export declare const lineContract: {
14864
14531
  dateValue: Date | null;
14865
14532
  uploads: {
14866
14533
  id: string;
14867
- status: string | null;
14868
14534
  createdAt: Date;
14869
14535
  updatedAt: Date;
14870
14536
  deletedAt: Date | null;
@@ -14873,6 +14539,7 @@ export declare const lineContract: {
14873
14539
  bucketName: string;
14874
14540
  fileSize: number;
14875
14541
  fileUrl: string | null;
14542
+ status?: string | undefined;
14876
14543
  }[];
14877
14544
  }[];
14878
14545
  company: {
@@ -15007,12 +14674,8 @@ export declare const lineContract: {
15007
14674
  entityName: string;
15008
14675
  agentId: string | null;
15009
14676
  startedDate: Date | null;
15010
- totalHoldDuration: number | null;
15011
14677
  handledTime: number | null;
15012
- fullHandledTime: number | null;
15013
14678
  firstResponseTime: number | null;
15014
- resolutionTime: number | null;
15015
- fullResolutionTime: number | null;
15016
14679
  wrapUpForm: {
15017
14680
  type: string;
15018
14681
  id: string;
@@ -15065,24 +14728,6 @@ export declare const lineContract: {
15065
14728
  dateValue: Date | null;
15066
14729
  }[] | null | undefined;
15067
14730
  } | null;
15068
- holdLogs?: {
15069
- id: string;
15070
- createdAt: Date;
15071
- updatedAt: Date;
15072
- deletedAt: Date | null;
15073
- startedAt: string;
15074
- endedAt: string | null;
15075
- duration: number | null;
15076
- holdLabel?: {
15077
- name: string;
15078
- id: string;
15079
- position: number;
15080
- createdAt: Date;
15081
- updatedAt: Date;
15082
- deletedAt: Date | null;
15083
- isDefault: boolean;
15084
- } | null | undefined;
15085
- }[] | null | undefined;
15086
14731
  };
15087
14732
  workflowRule: {
15088
14733
  name: string;
@@ -15111,7 +14756,7 @@ export declare const lineContract: {
15111
14756
  previewUrl: string;
15112
14757
  imageSetId: string;
15113
14758
  repliedMessage: {
15114
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14759
+ 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" | "edited" | "deleted" | "unsupported";
15115
14760
  message: string;
15116
14761
  id: string;
15117
14762
  url: string;
@@ -15165,7 +14810,6 @@ export declare const lineContract: {
15165
14810
  };
15166
14811
  upload: {
15167
14812
  id: string;
15168
- status: string | null;
15169
14813
  createdAt: Date;
15170
14814
  updatedAt: Date;
15171
14815
  deletedAt: Date | null;
@@ -15174,6 +14818,7 @@ export declare const lineContract: {
15174
14818
  bucketName: string;
15175
14819
  fileSize: number;
15176
14820
  fileUrl: string | null;
14821
+ status?: string | undefined;
15177
14822
  };
15178
14823
  assignee: {
15179
14824
  name: string;
@@ -15323,7 +14968,7 @@ export declare const lineContract: {
15323
14968
  label?: string | undefined;
15324
14969
  } | null | undefined;
15325
14970
  }, {
15326
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14971
+ 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" | "edited" | "deleted" | "unsupported";
15327
14972
  message: string;
15328
14973
  id: string;
15329
14974
  url: string;
@@ -15377,7 +15022,6 @@ export declare const lineContract: {
15377
15022
  };
15378
15023
  upload: {
15379
15024
  id: string;
15380
- status: string | null;
15381
15025
  createdAt: Date;
15382
15026
  updatedAt: Date;
15383
15027
  deletedAt: Date | null;
@@ -15386,6 +15030,7 @@ export declare const lineContract: {
15386
15030
  bucketName: string;
15387
15031
  fileSize: number;
15388
15032
  fileUrl: string | null;
15033
+ status?: string | undefined;
15389
15034
  };
15390
15035
  assignee: {
15391
15036
  name: string;
@@ -15446,15 +15091,16 @@ export declare const lineContract: {
15446
15091
  additionalCredentials?: any;
15447
15092
  senderId?: string | undefined;
15448
15093
  whatsapp?: {
15449
- email: string;
15450
- wabaExternalId: string;
15451
- phoneNumberId: string;
15452
- wabaBusinessId?: string | undefined;
15453
- clientId?: string | undefined;
15454
- channelId?: string | undefined;
15094
+ wabaBusinessId?: string | null | undefined;
15095
+ wabaExternalId?: string | null | undefined;
15096
+ phoneNumberId?: string | null | undefined;
15097
+ email?: string | null | undefined;
15098
+ clientId?: string | null | undefined;
15099
+ channelId?: string | null | undefined;
15455
15100
  status?: "active" | "pending" | undefined;
15456
15101
  apiKey?: string | undefined;
15457
15102
  tier?: "basic" | "regular" | "premium" | undefined;
15103
+ integrationType?: "meta" | "360dialog" | undefined;
15458
15104
  } | undefined;
15459
15105
  vonageCredentials?: {
15460
15106
  apiKey: string;
@@ -15625,7 +15271,6 @@ export declare const lineContract: {
15625
15271
  dateValue: Date | null;
15626
15272
  uploads: {
15627
15273
  id: string;
15628
- status: string | null;
15629
15274
  createdAt: Date;
15630
15275
  updatedAt: Date;
15631
15276
  deletedAt: Date | null;
@@ -15634,6 +15279,7 @@ export declare const lineContract: {
15634
15279
  bucketName: string;
15635
15280
  fileSize: number;
15636
15281
  fileUrl: string | null;
15282
+ status?: string | undefined;
15637
15283
  }[];
15638
15284
  }[];
15639
15285
  company: {
@@ -15768,12 +15414,8 @@ export declare const lineContract: {
15768
15414
  entityName: string;
15769
15415
  agentId: string | null;
15770
15416
  startedDate: Date | null;
15771
- totalHoldDuration: number | null;
15772
15417
  handledTime: number | null;
15773
- fullHandledTime: number | null;
15774
15418
  firstResponseTime: number | null;
15775
- resolutionTime: number | null;
15776
- fullResolutionTime: number | null;
15777
15419
  wrapUpForm: {
15778
15420
  type: string;
15779
15421
  id: string;
@@ -15826,24 +15468,6 @@ export declare const lineContract: {
15826
15468
  dateValue: Date | null;
15827
15469
  }[] | null | undefined;
15828
15470
  } | null;
15829
- holdLogs?: {
15830
- id: string;
15831
- createdAt: Date;
15832
- updatedAt: Date;
15833
- deletedAt: Date | null;
15834
- startedAt: string;
15835
- endedAt: string | null;
15836
- duration: number | null;
15837
- holdLabel?: {
15838
- name: string;
15839
- id: string;
15840
- position: number;
15841
- createdAt: Date;
15842
- updatedAt: Date;
15843
- deletedAt: Date | null;
15844
- isDefault?: boolean | undefined;
15845
- } | null | undefined;
15846
- }[] | null | undefined;
15847
15471
  };
15848
15472
  workflowRule: {
15849
15473
  name: string;
@@ -15872,7 +15496,7 @@ export declare const lineContract: {
15872
15496
  previewUrl: string;
15873
15497
  imageSetId: string;
15874
15498
  repliedMessage: {
15875
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15499
+ 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" | "edited" | "deleted" | "unsupported";
15876
15500
  message: string;
15877
15501
  id: string;
15878
15502
  url: string;
@@ -15926,7 +15550,6 @@ export declare const lineContract: {
15926
15550
  };
15927
15551
  upload: {
15928
15552
  id: string;
15929
- status: string | null;
15930
15553
  createdAt: Date;
15931
15554
  updatedAt: Date;
15932
15555
  deletedAt: Date | null;
@@ -15935,6 +15558,7 @@ export declare const lineContract: {
15935
15558
  bucketName: string;
15936
15559
  fileSize: number;
15937
15560
  fileUrl: string | null;
15561
+ status?: string | undefined;
15938
15562
  };
15939
15563
  assignee: {
15940
15564
  name: string;
@@ -16083,7 +15707,7 @@ export declare const lineContract: {
16083
15707
  template?: any;
16084
15708
  metadata?: any;
16085
15709
  fromMessage?: {
16086
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15710
+ 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" | "edited" | "deleted" | "unsupported";
16087
15711
  message: string;
16088
15712
  id: string;
16089
15713
  url: string;
@@ -16137,7 +15761,6 @@ export declare const lineContract: {
16137
15761
  };
16138
15762
  upload: {
16139
15763
  id: string;
16140
- status: string | null;
16141
15764
  createdAt: Date;
16142
15765
  updatedAt: Date;
16143
15766
  deletedAt: Date | null;
@@ -16146,6 +15769,7 @@ export declare const lineContract: {
16146
15769
  bucketName: string;
16147
15770
  fileSize: number;
16148
15771
  fileUrl: string | null;
15772
+ status?: string | undefined;
16149
15773
  };
16150
15774
  assignee: {
16151
15775
  name: string;
@@ -16206,15 +15830,16 @@ export declare const lineContract: {
16206
15830
  additionalCredentials?: any;
16207
15831
  senderId?: string | undefined;
16208
15832
  whatsapp?: {
16209
- email: string;
16210
- wabaExternalId: string;
16211
- phoneNumberId: string;
16212
- wabaBusinessId?: string | undefined;
16213
- clientId?: string | undefined;
16214
- channelId?: string | undefined;
15833
+ wabaBusinessId?: string | null | undefined;
15834
+ wabaExternalId?: string | null | undefined;
15835
+ phoneNumberId?: string | null | undefined;
15836
+ email?: string | null | undefined;
15837
+ clientId?: string | null | undefined;
15838
+ channelId?: string | null | undefined;
16215
15839
  status?: "active" | "pending" | undefined;
16216
15840
  apiKey?: string | undefined;
16217
15841
  tier?: "basic" | "regular" | "premium" | undefined;
15842
+ integrationType?: "meta" | "360dialog" | undefined;
16218
15843
  } | undefined;
16219
15844
  vonageCredentials?: {
16220
15845
  apiKey: string;
@@ -16385,7 +16010,6 @@ export declare const lineContract: {
16385
16010
  dateValue: Date | null;
16386
16011
  uploads: {
16387
16012
  id: string;
16388
- status: string | null;
16389
16013
  createdAt: Date;
16390
16014
  updatedAt: Date;
16391
16015
  deletedAt: Date | null;
@@ -16394,6 +16018,7 @@ export declare const lineContract: {
16394
16018
  bucketName: string;
16395
16019
  fileSize: number;
16396
16020
  fileUrl: string | null;
16021
+ status?: string | undefined;
16397
16022
  }[];
16398
16023
  }[];
16399
16024
  company: {
@@ -16528,12 +16153,8 @@ export declare const lineContract: {
16528
16153
  entityName: string;
16529
16154
  agentId: string | null;
16530
16155
  startedDate: Date | null;
16531
- totalHoldDuration: number | null;
16532
16156
  handledTime: number | null;
16533
- fullHandledTime: number | null;
16534
16157
  firstResponseTime: number | null;
16535
- resolutionTime: number | null;
16536
- fullResolutionTime: number | null;
16537
16158
  wrapUpForm: {
16538
16159
  type: string;
16539
16160
  id: string;
@@ -16586,24 +16207,6 @@ export declare const lineContract: {
16586
16207
  dateValue: Date | null;
16587
16208
  }[] | null | undefined;
16588
16209
  } | null;
16589
- holdLogs?: {
16590
- id: string;
16591
- createdAt: Date;
16592
- updatedAt: Date;
16593
- deletedAt: Date | null;
16594
- startedAt: string;
16595
- endedAt: string | null;
16596
- duration: number | null;
16597
- holdLabel?: {
16598
- name: string;
16599
- id: string;
16600
- position: number;
16601
- createdAt: Date;
16602
- updatedAt: Date;
16603
- deletedAt: Date | null;
16604
- isDefault?: boolean | undefined;
16605
- } | null | undefined;
16606
- }[] | null | undefined;
16607
16210
  };
16608
16211
  workflowRule: {
16609
16212
  name: string;
@@ -16632,7 +16235,7 @@ export declare const lineContract: {
16632
16235
  previewUrl: string;
16633
16236
  imageSetId: string;
16634
16237
  repliedMessage: {
16635
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16238
+ 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" | "edited" | "deleted" | "unsupported";
16636
16239
  message: string;
16637
16240
  id: string;
16638
16241
  url: string;
@@ -16686,7 +16289,6 @@ export declare const lineContract: {
16686
16289
  };
16687
16290
  upload: {
16688
16291
  id: string;
16689
- status: string | null;
16690
16292
  createdAt: Date;
16691
16293
  updatedAt: Date;
16692
16294
  deletedAt: Date | null;
@@ -16695,6 +16297,7 @@ export declare const lineContract: {
16695
16297
  bucketName: string;
16696
16298
  fileSize: number;
16697
16299
  fileUrl: string | null;
16300
+ status?: string | undefined;
16698
16301
  };
16699
16302
  assignee: {
16700
16303
  name: string;
@@ -16846,7 +16449,7 @@ export declare const lineContract: {
16846
16449
  }>;
16847
16450
  }, "strip", z.ZodTypeAny, {
16848
16451
  data: {
16849
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16452
+ 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" | "edited" | "deleted" | "unsupported";
16850
16453
  message: string;
16851
16454
  id: string;
16852
16455
  url: string;
@@ -16900,7 +16503,6 @@ export declare const lineContract: {
16900
16503
  };
16901
16504
  upload: {
16902
16505
  id: string;
16903
- status: string | null;
16904
16506
  createdAt: Date;
16905
16507
  updatedAt: Date;
16906
16508
  deletedAt: Date | null;
@@ -16909,6 +16511,7 @@ export declare const lineContract: {
16909
16511
  bucketName: string;
16910
16512
  fileSize: number;
16911
16513
  fileUrl: string | null;
16514
+ status?: string | undefined;
16912
16515
  };
16913
16516
  assignee: {
16914
16517
  name: string;
@@ -16969,15 +16572,16 @@ export declare const lineContract: {
16969
16572
  additionalCredentials?: any;
16970
16573
  senderId?: string | undefined;
16971
16574
  whatsapp?: {
16972
- email: string;
16973
- wabaExternalId: string;
16974
- phoneNumberId: string;
16975
- wabaBusinessId?: string | undefined;
16976
- clientId?: string | undefined;
16977
- channelId?: string | undefined;
16575
+ wabaBusinessId?: string | null | undefined;
16576
+ wabaExternalId?: string | null | undefined;
16577
+ phoneNumberId?: string | null | undefined;
16578
+ email?: string | null | undefined;
16579
+ clientId?: string | null | undefined;
16580
+ channelId?: string | null | undefined;
16978
16581
  status?: "active" | "pending" | undefined;
16979
16582
  apiKey?: string | undefined;
16980
16583
  tier?: "basic" | "regular" | "premium" | undefined;
16584
+ integrationType?: "meta" | "360dialog" | undefined;
16981
16585
  } | undefined;
16982
16586
  vonageCredentials?: {
16983
16587
  apiKey: string;
@@ -17148,7 +16752,6 @@ export declare const lineContract: {
17148
16752
  dateValue: Date | null;
17149
16753
  uploads: {
17150
16754
  id: string;
17151
- status: string | null;
17152
16755
  createdAt: Date;
17153
16756
  updatedAt: Date;
17154
16757
  deletedAt: Date | null;
@@ -17157,6 +16760,7 @@ export declare const lineContract: {
17157
16760
  bucketName: string;
17158
16761
  fileSize: number;
17159
16762
  fileUrl: string | null;
16763
+ status?: string | undefined;
17160
16764
  }[];
17161
16765
  }[];
17162
16766
  company: {
@@ -17291,12 +16895,8 @@ export declare const lineContract: {
17291
16895
  entityName: string;
17292
16896
  agentId: string | null;
17293
16897
  startedDate: Date | null;
17294
- totalHoldDuration: number | null;
17295
16898
  handledTime: number | null;
17296
- fullHandledTime: number | null;
17297
16899
  firstResponseTime: number | null;
17298
- resolutionTime: number | null;
17299
- fullResolutionTime: number | null;
17300
16900
  wrapUpForm: {
17301
16901
  type: string;
17302
16902
  id: string;
@@ -17349,24 +16949,6 @@ export declare const lineContract: {
17349
16949
  dateValue: Date | null;
17350
16950
  }[] | null | undefined;
17351
16951
  } | null;
17352
- holdLogs?: {
17353
- id: string;
17354
- createdAt: Date;
17355
- updatedAt: Date;
17356
- deletedAt: Date | null;
17357
- startedAt: string;
17358
- endedAt: string | null;
17359
- duration: number | null;
17360
- holdLabel?: {
17361
- name: string;
17362
- id: string;
17363
- position: number;
17364
- createdAt: Date;
17365
- updatedAt: Date;
17366
- deletedAt: Date | null;
17367
- isDefault: boolean;
17368
- } | null | undefined;
17369
- }[] | null | undefined;
17370
16952
  };
17371
16953
  workflowRule: {
17372
16954
  name: string;
@@ -17395,7 +16977,7 @@ export declare const lineContract: {
17395
16977
  previewUrl: string;
17396
16978
  imageSetId: string;
17397
16979
  repliedMessage: {
17398
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16980
+ 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" | "edited" | "deleted" | "unsupported";
17399
16981
  message: string;
17400
16982
  id: string;
17401
16983
  url: string;
@@ -17449,7 +17031,6 @@ export declare const lineContract: {
17449
17031
  };
17450
17032
  upload: {
17451
17033
  id: string;
17452
- status: string | null;
17453
17034
  createdAt: Date;
17454
17035
  updatedAt: Date;
17455
17036
  deletedAt: Date | null;
@@ -17458,6 +17039,7 @@ export declare const lineContract: {
17458
17039
  bucketName: string;
17459
17040
  fileSize: number;
17460
17041
  fileUrl: string | null;
17042
+ status?: string | undefined;
17461
17043
  };
17462
17044
  assignee: {
17463
17045
  name: string;
@@ -17606,7 +17188,7 @@ export declare const lineContract: {
17606
17188
  template?: any;
17607
17189
  metadata?: any;
17608
17190
  fromMessage?: {
17609
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17191
+ 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" | "edited" | "deleted" | "unsupported";
17610
17192
  message: string;
17611
17193
  id: string;
17612
17194
  url: string;
@@ -17660,7 +17242,6 @@ export declare const lineContract: {
17660
17242
  };
17661
17243
  upload: {
17662
17244
  id: string;
17663
- status: string | null;
17664
17245
  createdAt: Date;
17665
17246
  updatedAt: Date;
17666
17247
  deletedAt: Date | null;
@@ -17669,6 +17250,7 @@ export declare const lineContract: {
17669
17250
  bucketName: string;
17670
17251
  fileSize: number;
17671
17252
  fileUrl: string | null;
17253
+ status?: string | undefined;
17672
17254
  };
17673
17255
  assignee: {
17674
17256
  name: string;
@@ -17729,15 +17311,16 @@ export declare const lineContract: {
17729
17311
  additionalCredentials?: any;
17730
17312
  senderId?: string | undefined;
17731
17313
  whatsapp?: {
17732
- email: string;
17733
- wabaExternalId: string;
17734
- phoneNumberId: string;
17735
- wabaBusinessId?: string | undefined;
17736
- clientId?: string | undefined;
17737
- channelId?: string | undefined;
17314
+ wabaBusinessId?: string | null | undefined;
17315
+ wabaExternalId?: string | null | undefined;
17316
+ phoneNumberId?: string | null | undefined;
17317
+ email?: string | null | undefined;
17318
+ clientId?: string | null | undefined;
17319
+ channelId?: string | null | undefined;
17738
17320
  status?: "active" | "pending" | undefined;
17739
17321
  apiKey?: string | undefined;
17740
17322
  tier?: "basic" | "regular" | "premium" | undefined;
17323
+ integrationType?: "meta" | "360dialog" | undefined;
17741
17324
  } | undefined;
17742
17325
  vonageCredentials?: {
17743
17326
  apiKey: string;
@@ -17908,7 +17491,6 @@ export declare const lineContract: {
17908
17491
  dateValue: Date | null;
17909
17492
  uploads: {
17910
17493
  id: string;
17911
- status: string | null;
17912
17494
  createdAt: Date;
17913
17495
  updatedAt: Date;
17914
17496
  deletedAt: Date | null;
@@ -17917,6 +17499,7 @@ export declare const lineContract: {
17917
17499
  bucketName: string;
17918
17500
  fileSize: number;
17919
17501
  fileUrl: string | null;
17502
+ status?: string | undefined;
17920
17503
  }[];
17921
17504
  }[];
17922
17505
  company: {
@@ -18051,12 +17634,8 @@ export declare const lineContract: {
18051
17634
  entityName: string;
18052
17635
  agentId: string | null;
18053
17636
  startedDate: Date | null;
18054
- totalHoldDuration: number | null;
18055
17637
  handledTime: number | null;
18056
- fullHandledTime: number | null;
18057
17638
  firstResponseTime: number | null;
18058
- resolutionTime: number | null;
18059
- fullResolutionTime: number | null;
18060
17639
  wrapUpForm: {
18061
17640
  type: string;
18062
17641
  id: string;
@@ -18109,24 +17688,6 @@ export declare const lineContract: {
18109
17688
  dateValue: Date | null;
18110
17689
  }[] | null | undefined;
18111
17690
  } | null;
18112
- holdLogs?: {
18113
- id: string;
18114
- createdAt: Date;
18115
- updatedAt: Date;
18116
- deletedAt: Date | null;
18117
- startedAt: string;
18118
- endedAt: string | null;
18119
- duration: number | null;
18120
- holdLabel?: {
18121
- name: string;
18122
- id: string;
18123
- position: number;
18124
- createdAt: Date;
18125
- updatedAt: Date;
18126
- deletedAt: Date | null;
18127
- isDefault: boolean;
18128
- } | null | undefined;
18129
- }[] | null | undefined;
18130
17691
  };
18131
17692
  workflowRule: {
18132
17693
  name: string;
@@ -18155,7 +17716,7 @@ export declare const lineContract: {
18155
17716
  previewUrl: string;
18156
17717
  imageSetId: string;
18157
17718
  repliedMessage: {
18158
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17719
+ 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" | "edited" | "deleted" | "unsupported";
18159
17720
  message: string;
18160
17721
  id: string;
18161
17722
  url: string;
@@ -18209,7 +17770,6 @@ export declare const lineContract: {
18209
17770
  };
18210
17771
  upload: {
18211
17772
  id: string;
18212
- status: string | null;
18213
17773
  createdAt: Date;
18214
17774
  updatedAt: Date;
18215
17775
  deletedAt: Date | null;
@@ -18218,6 +17778,7 @@ export declare const lineContract: {
18218
17778
  bucketName: string;
18219
17779
  fileSize: number;
18220
17780
  fileUrl: string | null;
17781
+ status?: string | undefined;
18221
17782
  };
18222
17783
  assignee: {
18223
17784
  name: string;
@@ -18370,7 +17931,7 @@ export declare const lineContract: {
18370
17931
  requestId: string;
18371
17932
  }, {
18372
17933
  data: {
18373
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17934
+ 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" | "edited" | "deleted" | "unsupported";
18374
17935
  message: string;
18375
17936
  id: string;
18376
17937
  url: string;
@@ -18424,7 +17985,6 @@ export declare const lineContract: {
18424
17985
  };
18425
17986
  upload: {
18426
17987
  id: string;
18427
- status: string | null;
18428
17988
  createdAt: Date;
18429
17989
  updatedAt: Date;
18430
17990
  deletedAt: Date | null;
@@ -18433,6 +17993,7 @@ export declare const lineContract: {
18433
17993
  bucketName: string;
18434
17994
  fileSize: number;
18435
17995
  fileUrl: string | null;
17996
+ status?: string | undefined;
18436
17997
  };
18437
17998
  assignee: {
18438
17999
  name: string;
@@ -18493,15 +18054,16 @@ export declare const lineContract: {
18493
18054
  additionalCredentials?: any;
18494
18055
  senderId?: string | undefined;
18495
18056
  whatsapp?: {
18496
- email: string;
18497
- wabaExternalId: string;
18498
- phoneNumberId: string;
18499
- wabaBusinessId?: string | undefined;
18500
- clientId?: string | undefined;
18501
- channelId?: string | undefined;
18057
+ wabaBusinessId?: string | null | undefined;
18058
+ wabaExternalId?: string | null | undefined;
18059
+ phoneNumberId?: string | null | undefined;
18060
+ email?: string | null | undefined;
18061
+ clientId?: string | null | undefined;
18062
+ channelId?: string | null | undefined;
18502
18063
  status?: "active" | "pending" | undefined;
18503
18064
  apiKey?: string | undefined;
18504
18065
  tier?: "basic" | "regular" | "premium" | undefined;
18066
+ integrationType?: "meta" | "360dialog" | undefined;
18505
18067
  } | undefined;
18506
18068
  vonageCredentials?: {
18507
18069
  apiKey: string;
@@ -18672,7 +18234,6 @@ export declare const lineContract: {
18672
18234
  dateValue: Date | null;
18673
18235
  uploads: {
18674
18236
  id: string;
18675
- status: string | null;
18676
18237
  createdAt: Date;
18677
18238
  updatedAt: Date;
18678
18239
  deletedAt: Date | null;
@@ -18681,6 +18242,7 @@ export declare const lineContract: {
18681
18242
  bucketName: string;
18682
18243
  fileSize: number;
18683
18244
  fileUrl: string | null;
18245
+ status?: string | undefined;
18684
18246
  }[];
18685
18247
  }[];
18686
18248
  company: {
@@ -18815,12 +18377,8 @@ export declare const lineContract: {
18815
18377
  entityName: string;
18816
18378
  agentId: string | null;
18817
18379
  startedDate: Date | null;
18818
- totalHoldDuration: number | null;
18819
18380
  handledTime: number | null;
18820
- fullHandledTime: number | null;
18821
18381
  firstResponseTime: number | null;
18822
- resolutionTime: number | null;
18823
- fullResolutionTime: number | null;
18824
18382
  wrapUpForm: {
18825
18383
  type: string;
18826
18384
  id: string;
@@ -18873,24 +18431,6 @@ export declare const lineContract: {
18873
18431
  dateValue: Date | null;
18874
18432
  }[] | null | undefined;
18875
18433
  } | null;
18876
- holdLogs?: {
18877
- id: string;
18878
- createdAt: Date;
18879
- updatedAt: Date;
18880
- deletedAt: Date | null;
18881
- startedAt: string;
18882
- endedAt: string | null;
18883
- duration: number | null;
18884
- holdLabel?: {
18885
- name: string;
18886
- id: string;
18887
- position: number;
18888
- createdAt: Date;
18889
- updatedAt: Date;
18890
- deletedAt: Date | null;
18891
- isDefault?: boolean | undefined;
18892
- } | null | undefined;
18893
- }[] | null | undefined;
18894
18434
  };
18895
18435
  workflowRule: {
18896
18436
  name: string;
@@ -18919,7 +18459,7 @@ export declare const lineContract: {
18919
18459
  previewUrl: string;
18920
18460
  imageSetId: string;
18921
18461
  repliedMessage: {
18922
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18462
+ 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" | "edited" | "deleted" | "unsupported";
18923
18463
  message: string;
18924
18464
  id: string;
18925
18465
  url: string;
@@ -18973,7 +18513,6 @@ export declare const lineContract: {
18973
18513
  };
18974
18514
  upload: {
18975
18515
  id: string;
18976
- status: string | null;
18977
18516
  createdAt: Date;
18978
18517
  updatedAt: Date;
18979
18518
  deletedAt: Date | null;
@@ -18982,6 +18521,7 @@ export declare const lineContract: {
18982
18521
  bucketName: string;
18983
18522
  fileSize: number;
18984
18523
  fileUrl: string | null;
18524
+ status?: string | undefined;
18985
18525
  };
18986
18526
  assignee: {
18987
18527
  name: string;
@@ -19130,7 +18670,7 @@ export declare const lineContract: {
19130
18670
  template?: any;
19131
18671
  metadata?: any;
19132
18672
  fromMessage?: {
19133
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18673
+ 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" | "edited" | "deleted" | "unsupported";
19134
18674
  message: string;
19135
18675
  id: string;
19136
18676
  url: string;
@@ -19184,7 +18724,6 @@ export declare const lineContract: {
19184
18724
  };
19185
18725
  upload: {
19186
18726
  id: string;
19187
- status: string | null;
19188
18727
  createdAt: Date;
19189
18728
  updatedAt: Date;
19190
18729
  deletedAt: Date | null;
@@ -19193,6 +18732,7 @@ export declare const lineContract: {
19193
18732
  bucketName: string;
19194
18733
  fileSize: number;
19195
18734
  fileUrl: string | null;
18735
+ status?: string | undefined;
19196
18736
  };
19197
18737
  assignee: {
19198
18738
  name: string;
@@ -19253,15 +18793,16 @@ export declare const lineContract: {
19253
18793
  additionalCredentials?: any;
19254
18794
  senderId?: string | undefined;
19255
18795
  whatsapp?: {
19256
- email: string;
19257
- wabaExternalId: string;
19258
- phoneNumberId: string;
19259
- wabaBusinessId?: string | undefined;
19260
- clientId?: string | undefined;
19261
- channelId?: string | undefined;
18796
+ wabaBusinessId?: string | null | undefined;
18797
+ wabaExternalId?: string | null | undefined;
18798
+ phoneNumberId?: string | null | undefined;
18799
+ email?: string | null | undefined;
18800
+ clientId?: string | null | undefined;
18801
+ channelId?: string | null | undefined;
19262
18802
  status?: "active" | "pending" | undefined;
19263
18803
  apiKey?: string | undefined;
19264
18804
  tier?: "basic" | "regular" | "premium" | undefined;
18805
+ integrationType?: "meta" | "360dialog" | undefined;
19265
18806
  } | undefined;
19266
18807
  vonageCredentials?: {
19267
18808
  apiKey: string;
@@ -19432,7 +18973,6 @@ export declare const lineContract: {
19432
18973
  dateValue: Date | null;
19433
18974
  uploads: {
19434
18975
  id: string;
19435
- status: string | null;
19436
18976
  createdAt: Date;
19437
18977
  updatedAt: Date;
19438
18978
  deletedAt: Date | null;
@@ -19441,6 +18981,7 @@ export declare const lineContract: {
19441
18981
  bucketName: string;
19442
18982
  fileSize: number;
19443
18983
  fileUrl: string | null;
18984
+ status?: string | undefined;
19444
18985
  }[];
19445
18986
  }[];
19446
18987
  company: {
@@ -19575,12 +19116,8 @@ export declare const lineContract: {
19575
19116
  entityName: string;
19576
19117
  agentId: string | null;
19577
19118
  startedDate: Date | null;
19578
- totalHoldDuration: number | null;
19579
19119
  handledTime: number | null;
19580
- fullHandledTime: number | null;
19581
19120
  firstResponseTime: number | null;
19582
- resolutionTime: number | null;
19583
- fullResolutionTime: number | null;
19584
19121
  wrapUpForm: {
19585
19122
  type: string;
19586
19123
  id: string;
@@ -19633,24 +19170,6 @@ export declare const lineContract: {
19633
19170
  dateValue: Date | null;
19634
19171
  }[] | null | undefined;
19635
19172
  } | null;
19636
- holdLogs?: {
19637
- id: string;
19638
- createdAt: Date;
19639
- updatedAt: Date;
19640
- deletedAt: Date | null;
19641
- startedAt: string;
19642
- endedAt: string | null;
19643
- duration: number | null;
19644
- holdLabel?: {
19645
- name: string;
19646
- id: string;
19647
- position: number;
19648
- createdAt: Date;
19649
- updatedAt: Date;
19650
- deletedAt: Date | null;
19651
- isDefault?: boolean | undefined;
19652
- } | null | undefined;
19653
- }[] | null | undefined;
19654
19173
  };
19655
19174
  workflowRule: {
19656
19175
  name: string;
@@ -19679,7 +19198,7 @@ export declare const lineContract: {
19679
19198
  previewUrl: string;
19680
19199
  imageSetId: string;
19681
19200
  repliedMessage: {
19682
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19201
+ 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" | "edited" | "deleted" | "unsupported";
19683
19202
  message: string;
19684
19203
  id: string;
19685
19204
  url: string;
@@ -19733,7 +19252,6 @@ export declare const lineContract: {
19733
19252
  };
19734
19253
  upload: {
19735
19254
  id: string;
19736
- status: string | null;
19737
19255
  createdAt: Date;
19738
19256
  updatedAt: Date;
19739
19257
  deletedAt: Date | null;
@@ -19742,6 +19260,7 @@ export declare const lineContract: {
19742
19260
  bucketName: string;
19743
19261
  fileSize: number;
19744
19262
  fileUrl: string | null;
19263
+ status?: string | undefined;
19745
19264
  };
19746
19265
  assignee: {
19747
19266
  name: string;
@@ -19919,35 +19438,38 @@ export declare const lineContract: {
19919
19438
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19920
19439
  senderId: z.ZodOptional<z.ZodString>;
19921
19440
  whatsapp: z.ZodOptional<z.ZodObject<{
19922
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19923
- wabaExternalId: z.ZodString;
19924
- phoneNumberId: z.ZodString;
19925
- email: z.ZodString;
19926
- clientId: z.ZodOptional<z.ZodString>;
19927
- channelId: z.ZodOptional<z.ZodString>;
19441
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19442
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19443
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19444
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19445
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19446
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19928
19447
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19929
19448
  apiKey: z.ZodOptional<z.ZodString>;
19930
19449
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19450
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19931
19451
  }, "strip", z.ZodTypeAny, {
19932
- email: string;
19933
- wabaExternalId: string;
19934
- phoneNumberId: string;
19935
- wabaBusinessId?: string | undefined;
19936
- clientId?: string | undefined;
19937
- channelId?: string | undefined;
19452
+ wabaBusinessId?: string | null | undefined;
19453
+ wabaExternalId?: string | null | undefined;
19454
+ phoneNumberId?: string | null | undefined;
19455
+ email?: string | null | undefined;
19456
+ clientId?: string | null | undefined;
19457
+ channelId?: string | null | undefined;
19938
19458
  status?: "active" | "pending" | undefined;
19939
19459
  apiKey?: string | undefined;
19940
19460
  tier?: "basic" | "regular" | "premium" | undefined;
19461
+ integrationType?: "meta" | "360dialog" | undefined;
19941
19462
  }, {
19942
- email: string;
19943
- wabaExternalId: string;
19944
- phoneNumberId: string;
19945
- wabaBusinessId?: string | undefined;
19946
- clientId?: string | undefined;
19947
- channelId?: string | undefined;
19463
+ wabaBusinessId?: string | null | undefined;
19464
+ wabaExternalId?: string | null | undefined;
19465
+ phoneNumberId?: string | null | undefined;
19466
+ email?: string | null | undefined;
19467
+ clientId?: string | null | undefined;
19468
+ channelId?: string | null | undefined;
19948
19469
  status?: "active" | "pending" | undefined;
19949
19470
  apiKey?: string | undefined;
19950
19471
  tier?: "basic" | "regular" | "premium" | undefined;
19472
+ integrationType?: "meta" | "360dialog" | undefined;
19951
19473
  }>>;
19952
19474
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19953
19475
  mobileNumber: z.ZodString;
@@ -19972,15 +19494,16 @@ export declare const lineContract: {
19972
19494
  additionalCredentials?: any;
19973
19495
  senderId?: string | undefined;
19974
19496
  whatsapp?: {
19975
- email: string;
19976
- wabaExternalId: string;
19977
- phoneNumberId: string;
19978
- wabaBusinessId?: string | undefined;
19979
- clientId?: string | undefined;
19980
- channelId?: string | undefined;
19497
+ wabaBusinessId?: string | null | undefined;
19498
+ wabaExternalId?: string | null | undefined;
19499
+ phoneNumberId?: string | null | undefined;
19500
+ email?: string | null | undefined;
19501
+ clientId?: string | null | undefined;
19502
+ channelId?: string | null | undefined;
19981
19503
  status?: "active" | "pending" | undefined;
19982
19504
  apiKey?: string | undefined;
19983
19505
  tier?: "basic" | "regular" | "premium" | undefined;
19506
+ integrationType?: "meta" | "360dialog" | undefined;
19984
19507
  } | undefined;
19985
19508
  vonageCredentials?: {
19986
19509
  apiKey: string;
@@ -19997,15 +19520,16 @@ export declare const lineContract: {
19997
19520
  additionalCredentials?: any;
19998
19521
  senderId?: string | undefined;
19999
19522
  whatsapp?: {
20000
- email: string;
20001
- wabaExternalId: string;
20002
- phoneNumberId: string;
20003
- wabaBusinessId?: string | undefined;
20004
- clientId?: string | undefined;
20005
- channelId?: string | undefined;
19523
+ wabaBusinessId?: string | null | undefined;
19524
+ wabaExternalId?: string | null | undefined;
19525
+ phoneNumberId?: string | null | undefined;
19526
+ email?: string | null | undefined;
19527
+ clientId?: string | null | undefined;
19528
+ channelId?: string | null | undefined;
20006
19529
  status?: "active" | "pending" | undefined;
20007
19530
  apiKey?: string | undefined;
20008
19531
  tier?: "basic" | "regular" | "premium" | undefined;
19532
+ integrationType?: "meta" | "360dialog" | undefined;
20009
19533
  } | undefined;
20010
19534
  vonageCredentials?: {
20011
19535
  apiKey: string;
@@ -20052,15 +19576,16 @@ export declare const lineContract: {
20052
19576
  additionalCredentials?: any;
20053
19577
  senderId?: string | undefined;
20054
19578
  whatsapp?: {
20055
- email: string;
20056
- wabaExternalId: string;
20057
- phoneNumberId: string;
20058
- wabaBusinessId?: string | undefined;
20059
- clientId?: string | undefined;
20060
- channelId?: string | undefined;
19579
+ wabaBusinessId?: string | null | undefined;
19580
+ wabaExternalId?: string | null | undefined;
19581
+ phoneNumberId?: string | null | undefined;
19582
+ email?: string | null | undefined;
19583
+ clientId?: string | null | undefined;
19584
+ channelId?: string | null | undefined;
20061
19585
  status?: "active" | "pending" | undefined;
20062
19586
  apiKey?: string | undefined;
20063
19587
  tier?: "basic" | "regular" | "premium" | undefined;
19588
+ integrationType?: "meta" | "360dialog" | undefined;
20064
19589
  } | undefined;
20065
19590
  vonageCredentials?: {
20066
19591
  apiKey: string;
@@ -20095,15 +19620,16 @@ export declare const lineContract: {
20095
19620
  additionalCredentials?: any;
20096
19621
  senderId?: string | undefined;
20097
19622
  whatsapp?: {
20098
- email: string;
20099
- wabaExternalId: string;
20100
- phoneNumberId: string;
20101
- wabaBusinessId?: string | undefined;
20102
- clientId?: string | undefined;
20103
- channelId?: string | undefined;
19623
+ wabaBusinessId?: string | null | undefined;
19624
+ wabaExternalId?: string | null | undefined;
19625
+ phoneNumberId?: string | null | undefined;
19626
+ email?: string | null | undefined;
19627
+ clientId?: string | null | undefined;
19628
+ channelId?: string | null | undefined;
20104
19629
  status?: "active" | "pending" | undefined;
20105
19630
  apiKey?: string | undefined;
20106
19631
  tier?: "basic" | "regular" | "premium" | undefined;
19632
+ integrationType?: "meta" | "360dialog" | undefined;
20107
19633
  } | undefined;
20108
19634
  vonageCredentials?: {
20109
19635
  apiKey: string;
@@ -20143,35 +19669,38 @@ export declare const lineContract: {
20143
19669
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20144
19670
  senderId: z.ZodOptional<z.ZodString>;
20145
19671
  whatsapp: z.ZodOptional<z.ZodObject<{
20146
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20147
- wabaExternalId: z.ZodString;
20148
- phoneNumberId: z.ZodString;
20149
- email: z.ZodString;
20150
- clientId: z.ZodOptional<z.ZodString>;
20151
- channelId: z.ZodOptional<z.ZodString>;
19672
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19673
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19674
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19675
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19676
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19677
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20152
19678
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20153
19679
  apiKey: z.ZodOptional<z.ZodString>;
20154
19680
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19681
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20155
19682
  }, "strip", z.ZodTypeAny, {
20156
- email: string;
20157
- wabaExternalId: string;
20158
- phoneNumberId: string;
20159
- wabaBusinessId?: string | undefined;
20160
- clientId?: string | undefined;
20161
- channelId?: string | undefined;
19683
+ wabaBusinessId?: string | null | undefined;
19684
+ wabaExternalId?: string | null | undefined;
19685
+ phoneNumberId?: string | null | undefined;
19686
+ email?: string | null | undefined;
19687
+ clientId?: string | null | undefined;
19688
+ channelId?: string | null | undefined;
20162
19689
  status?: "active" | "pending" | undefined;
20163
19690
  apiKey?: string | undefined;
20164
19691
  tier?: "basic" | "regular" | "premium" | undefined;
19692
+ integrationType?: "meta" | "360dialog" | undefined;
20165
19693
  }, {
20166
- email: string;
20167
- wabaExternalId: string;
20168
- phoneNumberId: string;
20169
- wabaBusinessId?: string | undefined;
20170
- clientId?: string | undefined;
20171
- channelId?: string | undefined;
19694
+ wabaBusinessId?: string | null | undefined;
19695
+ wabaExternalId?: string | null | undefined;
19696
+ phoneNumberId?: string | null | undefined;
19697
+ email?: string | null | undefined;
19698
+ clientId?: string | null | undefined;
19699
+ channelId?: string | null | undefined;
20172
19700
  status?: "active" | "pending" | undefined;
20173
19701
  apiKey?: string | undefined;
20174
19702
  tier?: "basic" | "regular" | "premium" | undefined;
19703
+ integrationType?: "meta" | "360dialog" | undefined;
20175
19704
  }>>;
20176
19705
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20177
19706
  mobileNumber: z.ZodString;
@@ -20196,15 +19725,16 @@ export declare const lineContract: {
20196
19725
  additionalCredentials?: any;
20197
19726
  senderId?: string | undefined;
20198
19727
  whatsapp?: {
20199
- email: string;
20200
- wabaExternalId: string;
20201
- phoneNumberId: string;
20202
- wabaBusinessId?: string | undefined;
20203
- clientId?: string | undefined;
20204
- channelId?: string | undefined;
19728
+ wabaBusinessId?: string | null | undefined;
19729
+ wabaExternalId?: string | null | undefined;
19730
+ phoneNumberId?: string | null | undefined;
19731
+ email?: string | null | undefined;
19732
+ clientId?: string | null | undefined;
19733
+ channelId?: string | null | undefined;
20205
19734
  status?: "active" | "pending" | undefined;
20206
19735
  apiKey?: string | undefined;
20207
19736
  tier?: "basic" | "regular" | "premium" | undefined;
19737
+ integrationType?: "meta" | "360dialog" | undefined;
20208
19738
  } | undefined;
20209
19739
  vonageCredentials?: {
20210
19740
  apiKey: string;
@@ -20221,15 +19751,16 @@ export declare const lineContract: {
20221
19751
  additionalCredentials?: any;
20222
19752
  senderId?: string | undefined;
20223
19753
  whatsapp?: {
20224
- email: string;
20225
- wabaExternalId: string;
20226
- phoneNumberId: string;
20227
- wabaBusinessId?: string | undefined;
20228
- clientId?: string | undefined;
20229
- channelId?: string | undefined;
19754
+ wabaBusinessId?: string | null | undefined;
19755
+ wabaExternalId?: string | null | undefined;
19756
+ phoneNumberId?: string | null | undefined;
19757
+ email?: string | null | undefined;
19758
+ clientId?: string | null | undefined;
19759
+ channelId?: string | null | undefined;
20230
19760
  status?: "active" | "pending" | undefined;
20231
19761
  apiKey?: string | undefined;
20232
19762
  tier?: "basic" | "regular" | "premium" | undefined;
19763
+ integrationType?: "meta" | "360dialog" | undefined;
20233
19764
  } | undefined;
20234
19765
  vonageCredentials?: {
20235
19766
  apiKey: string;
@@ -20276,15 +19807,16 @@ export declare const lineContract: {
20276
19807
  additionalCredentials?: any;
20277
19808
  senderId?: string | undefined;
20278
19809
  whatsapp?: {
20279
- email: string;
20280
- wabaExternalId: string;
20281
- phoneNumberId: string;
20282
- wabaBusinessId?: string | undefined;
20283
- clientId?: string | undefined;
20284
- channelId?: string | undefined;
19810
+ wabaBusinessId?: string | null | undefined;
19811
+ wabaExternalId?: string | null | undefined;
19812
+ phoneNumberId?: string | null | undefined;
19813
+ email?: string | null | undefined;
19814
+ clientId?: string | null | undefined;
19815
+ channelId?: string | null | undefined;
20285
19816
  status?: "active" | "pending" | undefined;
20286
19817
  apiKey?: string | undefined;
20287
19818
  tier?: "basic" | "regular" | "premium" | undefined;
19819
+ integrationType?: "meta" | "360dialog" | undefined;
20288
19820
  } | undefined;
20289
19821
  vonageCredentials?: {
20290
19822
  apiKey: string;
@@ -20319,15 +19851,16 @@ export declare const lineContract: {
20319
19851
  additionalCredentials?: any;
20320
19852
  senderId?: string | undefined;
20321
19853
  whatsapp?: {
20322
- email: string;
20323
- wabaExternalId: string;
20324
- phoneNumberId: string;
20325
- wabaBusinessId?: string | undefined;
20326
- clientId?: string | undefined;
20327
- channelId?: string | undefined;
19854
+ wabaBusinessId?: string | null | undefined;
19855
+ wabaExternalId?: string | null | undefined;
19856
+ phoneNumberId?: string | null | undefined;
19857
+ email?: string | null | undefined;
19858
+ clientId?: string | null | undefined;
19859
+ channelId?: string | null | undefined;
20328
19860
  status?: "active" | "pending" | undefined;
20329
19861
  apiKey?: string | undefined;
20330
19862
  tier?: "basic" | "regular" | "premium" | undefined;
19863
+ integrationType?: "meta" | "360dialog" | undefined;
20331
19864
  } | undefined;
20332
19865
  vonageCredentials?: {
20333
19866
  apiKey: string;
@@ -20364,15 +19897,16 @@ export declare const lineContract: {
20364
19897
  additionalCredentials?: any;
20365
19898
  senderId?: string | undefined;
20366
19899
  whatsapp?: {
20367
- email: string;
20368
- wabaExternalId: string;
20369
- phoneNumberId: string;
20370
- wabaBusinessId?: string | undefined;
20371
- clientId?: string | undefined;
20372
- channelId?: string | undefined;
19900
+ wabaBusinessId?: string | null | undefined;
19901
+ wabaExternalId?: string | null | undefined;
19902
+ phoneNumberId?: string | null | undefined;
19903
+ email?: string | null | undefined;
19904
+ clientId?: string | null | undefined;
19905
+ channelId?: string | null | undefined;
20373
19906
  status?: "active" | "pending" | undefined;
20374
19907
  apiKey?: string | undefined;
20375
19908
  tier?: "basic" | "regular" | "premium" | undefined;
19909
+ integrationType?: "meta" | "360dialog" | undefined;
20376
19910
  } | undefined;
20377
19911
  vonageCredentials?: {
20378
19912
  apiKey: string;
@@ -20410,15 +19944,16 @@ export declare const lineContract: {
20410
19944
  additionalCredentials?: any;
20411
19945
  senderId?: string | undefined;
20412
19946
  whatsapp?: {
20413
- email: string;
20414
- wabaExternalId: string;
20415
- phoneNumberId: string;
20416
- wabaBusinessId?: string | undefined;
20417
- clientId?: string | undefined;
20418
- channelId?: string | undefined;
19947
+ wabaBusinessId?: string | null | undefined;
19948
+ wabaExternalId?: string | null | undefined;
19949
+ phoneNumberId?: string | null | undefined;
19950
+ email?: string | null | undefined;
19951
+ clientId?: string | null | undefined;
19952
+ channelId?: string | null | undefined;
20419
19953
  status?: "active" | "pending" | undefined;
20420
19954
  apiKey?: string | undefined;
20421
19955
  tier?: "basic" | "regular" | "premium" | undefined;
19956
+ integrationType?: "meta" | "360dialog" | undefined;
20422
19957
  } | undefined;
20423
19958
  vonageCredentials?: {
20424
19959
  apiKey: string;
@@ -20492,35 +20027,38 @@ export declare const lineContract: {
20492
20027
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20493
20028
  senderId: z.ZodOptional<z.ZodString>;
20494
20029
  whatsapp: z.ZodOptional<z.ZodObject<{
20495
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20496
- wabaExternalId: z.ZodString;
20497
- phoneNumberId: z.ZodString;
20498
- email: z.ZodString;
20499
- clientId: z.ZodOptional<z.ZodString>;
20500
- channelId: z.ZodOptional<z.ZodString>;
20030
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20031
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20032
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20033
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20034
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20035
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20501
20036
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20502
20037
  apiKey: z.ZodOptional<z.ZodString>;
20503
20038
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20039
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20504
20040
  }, "strip", z.ZodTypeAny, {
20505
- email: string;
20506
- wabaExternalId: string;
20507
- phoneNumberId: string;
20508
- wabaBusinessId?: string | undefined;
20509
- clientId?: string | undefined;
20510
- channelId?: string | undefined;
20041
+ wabaBusinessId?: string | null | undefined;
20042
+ wabaExternalId?: string | null | undefined;
20043
+ phoneNumberId?: string | null | undefined;
20044
+ email?: string | null | undefined;
20045
+ clientId?: string | null | undefined;
20046
+ channelId?: string | null | undefined;
20511
20047
  status?: "active" | "pending" | undefined;
20512
20048
  apiKey?: string | undefined;
20513
20049
  tier?: "basic" | "regular" | "premium" | undefined;
20050
+ integrationType?: "meta" | "360dialog" | undefined;
20514
20051
  }, {
20515
- email: string;
20516
- wabaExternalId: string;
20517
- phoneNumberId: string;
20518
- wabaBusinessId?: string | undefined;
20519
- clientId?: string | undefined;
20520
- channelId?: string | undefined;
20052
+ wabaBusinessId?: string | null | undefined;
20053
+ wabaExternalId?: string | null | undefined;
20054
+ phoneNumberId?: string | null | undefined;
20055
+ email?: string | null | undefined;
20056
+ clientId?: string | null | undefined;
20057
+ channelId?: string | null | undefined;
20521
20058
  status?: "active" | "pending" | undefined;
20522
20059
  apiKey?: string | undefined;
20523
20060
  tier?: "basic" | "regular" | "premium" | undefined;
20061
+ integrationType?: "meta" | "360dialog" | undefined;
20524
20062
  }>>;
20525
20063
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20526
20064
  mobileNumber: z.ZodString;
@@ -20545,15 +20083,16 @@ export declare const lineContract: {
20545
20083
  additionalCredentials?: any;
20546
20084
  senderId?: string | undefined;
20547
20085
  whatsapp?: {
20548
- email: string;
20549
- wabaExternalId: string;
20550
- phoneNumberId: string;
20551
- wabaBusinessId?: string | undefined;
20552
- clientId?: string | undefined;
20553
- channelId?: string | undefined;
20086
+ wabaBusinessId?: string | null | undefined;
20087
+ wabaExternalId?: string | null | undefined;
20088
+ phoneNumberId?: string | null | undefined;
20089
+ email?: string | null | undefined;
20090
+ clientId?: string | null | undefined;
20091
+ channelId?: string | null | undefined;
20554
20092
  status?: "active" | "pending" | undefined;
20555
20093
  apiKey?: string | undefined;
20556
20094
  tier?: "basic" | "regular" | "premium" | undefined;
20095
+ integrationType?: "meta" | "360dialog" | undefined;
20557
20096
  } | undefined;
20558
20097
  vonageCredentials?: {
20559
20098
  apiKey: string;
@@ -20570,15 +20109,16 @@ export declare const lineContract: {
20570
20109
  additionalCredentials?: any;
20571
20110
  senderId?: string | undefined;
20572
20111
  whatsapp?: {
20573
- email: string;
20574
- wabaExternalId: string;
20575
- phoneNumberId: string;
20576
- wabaBusinessId?: string | undefined;
20577
- clientId?: string | undefined;
20578
- channelId?: string | undefined;
20112
+ wabaBusinessId?: string | null | undefined;
20113
+ wabaExternalId?: string | null | undefined;
20114
+ phoneNumberId?: string | null | undefined;
20115
+ email?: string | null | undefined;
20116
+ clientId?: string | null | undefined;
20117
+ channelId?: string | null | undefined;
20579
20118
  status?: "active" | "pending" | undefined;
20580
20119
  apiKey?: string | undefined;
20581
20120
  tier?: "basic" | "regular" | "premium" | undefined;
20121
+ integrationType?: "meta" | "360dialog" | undefined;
20582
20122
  } | undefined;
20583
20123
  vonageCredentials?: {
20584
20124
  apiKey: string;
@@ -20625,15 +20165,16 @@ export declare const lineContract: {
20625
20165
  additionalCredentials?: any;
20626
20166
  senderId?: string | undefined;
20627
20167
  whatsapp?: {
20628
- email: string;
20629
- wabaExternalId: string;
20630
- phoneNumberId: string;
20631
- wabaBusinessId?: string | undefined;
20632
- clientId?: string | undefined;
20633
- channelId?: string | undefined;
20168
+ wabaBusinessId?: string | null | undefined;
20169
+ wabaExternalId?: string | null | undefined;
20170
+ phoneNumberId?: string | null | undefined;
20171
+ email?: string | null | undefined;
20172
+ clientId?: string | null | undefined;
20173
+ channelId?: string | null | undefined;
20634
20174
  status?: "active" | "pending" | undefined;
20635
20175
  apiKey?: string | undefined;
20636
20176
  tier?: "basic" | "regular" | "premium" | undefined;
20177
+ integrationType?: "meta" | "360dialog" | undefined;
20637
20178
  } | undefined;
20638
20179
  vonageCredentials?: {
20639
20180
  apiKey: string;
@@ -20668,15 +20209,16 @@ export declare const lineContract: {
20668
20209
  additionalCredentials?: any;
20669
20210
  senderId?: string | undefined;
20670
20211
  whatsapp?: {
20671
- email: string;
20672
- wabaExternalId: string;
20673
- phoneNumberId: string;
20674
- wabaBusinessId?: string | undefined;
20675
- clientId?: string | undefined;
20676
- channelId?: string | undefined;
20212
+ wabaBusinessId?: string | null | undefined;
20213
+ wabaExternalId?: string | null | undefined;
20214
+ phoneNumberId?: string | null | undefined;
20215
+ email?: string | null | undefined;
20216
+ clientId?: string | null | undefined;
20217
+ channelId?: string | null | undefined;
20677
20218
  status?: "active" | "pending" | undefined;
20678
20219
  apiKey?: string | undefined;
20679
20220
  tier?: "basic" | "regular" | "premium" | undefined;
20221
+ integrationType?: "meta" | "360dialog" | undefined;
20680
20222
  } | undefined;
20681
20223
  vonageCredentials?: {
20682
20224
  apiKey: string;
@@ -20713,15 +20255,16 @@ export declare const lineContract: {
20713
20255
  additionalCredentials?: any;
20714
20256
  senderId?: string | undefined;
20715
20257
  whatsapp?: {
20716
- email: string;
20717
- wabaExternalId: string;
20718
- phoneNumberId: string;
20719
- wabaBusinessId?: string | undefined;
20720
- clientId?: string | undefined;
20721
- channelId?: string | undefined;
20258
+ wabaBusinessId?: string | null | undefined;
20259
+ wabaExternalId?: string | null | undefined;
20260
+ phoneNumberId?: string | null | undefined;
20261
+ email?: string | null | undefined;
20262
+ clientId?: string | null | undefined;
20263
+ channelId?: string | null | undefined;
20722
20264
  status?: "active" | "pending" | undefined;
20723
20265
  apiKey?: string | undefined;
20724
20266
  tier?: "basic" | "regular" | "premium" | undefined;
20267
+ integrationType?: "meta" | "360dialog" | undefined;
20725
20268
  } | undefined;
20726
20269
  vonageCredentials?: {
20727
20270
  apiKey: string;
@@ -20759,15 +20302,16 @@ export declare const lineContract: {
20759
20302
  additionalCredentials?: any;
20760
20303
  senderId?: string | undefined;
20761
20304
  whatsapp?: {
20762
- email: string;
20763
- wabaExternalId: string;
20764
- phoneNumberId: string;
20765
- wabaBusinessId?: string | undefined;
20766
- clientId?: string | undefined;
20767
- channelId?: string | undefined;
20305
+ wabaBusinessId?: string | null | undefined;
20306
+ wabaExternalId?: string | null | undefined;
20307
+ phoneNumberId?: string | null | undefined;
20308
+ email?: string | null | undefined;
20309
+ clientId?: string | null | undefined;
20310
+ channelId?: string | null | undefined;
20768
20311
  status?: "active" | "pending" | undefined;
20769
20312
  apiKey?: string | undefined;
20770
20313
  tier?: "basic" | "regular" | "premium" | undefined;
20314
+ integrationType?: "meta" | "360dialog" | undefined;
20771
20315
  } | undefined;
20772
20316
  vonageCredentials?: {
20773
20317
  apiKey: string;
@@ -20841,35 +20385,38 @@ export declare const lineContract: {
20841
20385
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20842
20386
  senderId: z.ZodOptional<z.ZodString>;
20843
20387
  whatsapp: z.ZodOptional<z.ZodObject<{
20844
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20845
- wabaExternalId: z.ZodString;
20846
- phoneNumberId: z.ZodString;
20847
- email: z.ZodString;
20848
- clientId: z.ZodOptional<z.ZodString>;
20849
- channelId: z.ZodOptional<z.ZodString>;
20388
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20389
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20390
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20391
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20392
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20393
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20850
20394
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20851
20395
  apiKey: z.ZodOptional<z.ZodString>;
20852
20396
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20397
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20853
20398
  }, "strip", z.ZodTypeAny, {
20854
- email: string;
20855
- wabaExternalId: string;
20856
- phoneNumberId: string;
20857
- wabaBusinessId?: string | undefined;
20858
- clientId?: string | undefined;
20859
- channelId?: string | undefined;
20399
+ wabaBusinessId?: string | null | undefined;
20400
+ wabaExternalId?: string | null | undefined;
20401
+ phoneNumberId?: string | null | undefined;
20402
+ email?: string | null | undefined;
20403
+ clientId?: string | null | undefined;
20404
+ channelId?: string | null | undefined;
20860
20405
  status?: "active" | "pending" | undefined;
20861
20406
  apiKey?: string | undefined;
20862
20407
  tier?: "basic" | "regular" | "premium" | undefined;
20408
+ integrationType?: "meta" | "360dialog" | undefined;
20863
20409
  }, {
20864
- email: string;
20865
- wabaExternalId: string;
20866
- phoneNumberId: string;
20867
- wabaBusinessId?: string | undefined;
20868
- clientId?: string | undefined;
20869
- channelId?: string | undefined;
20410
+ wabaBusinessId?: string | null | undefined;
20411
+ wabaExternalId?: string | null | undefined;
20412
+ phoneNumberId?: string | null | undefined;
20413
+ email?: string | null | undefined;
20414
+ clientId?: string | null | undefined;
20415
+ channelId?: string | null | undefined;
20870
20416
  status?: "active" | "pending" | undefined;
20871
20417
  apiKey?: string | undefined;
20872
20418
  tier?: "basic" | "regular" | "premium" | undefined;
20419
+ integrationType?: "meta" | "360dialog" | undefined;
20873
20420
  }>>;
20874
20421
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20875
20422
  mobileNumber: z.ZodString;
@@ -20894,15 +20441,16 @@ export declare const lineContract: {
20894
20441
  additionalCredentials?: any;
20895
20442
  senderId?: string | undefined;
20896
20443
  whatsapp?: {
20897
- email: string;
20898
- wabaExternalId: string;
20899
- phoneNumberId: string;
20900
- wabaBusinessId?: string | undefined;
20901
- clientId?: string | undefined;
20902
- channelId?: string | undefined;
20444
+ wabaBusinessId?: string | null | undefined;
20445
+ wabaExternalId?: string | null | undefined;
20446
+ phoneNumberId?: string | null | undefined;
20447
+ email?: string | null | undefined;
20448
+ clientId?: string | null | undefined;
20449
+ channelId?: string | null | undefined;
20903
20450
  status?: "active" | "pending" | undefined;
20904
20451
  apiKey?: string | undefined;
20905
20452
  tier?: "basic" | "regular" | "premium" | undefined;
20453
+ integrationType?: "meta" | "360dialog" | undefined;
20906
20454
  } | undefined;
20907
20455
  vonageCredentials?: {
20908
20456
  apiKey: string;
@@ -20919,15 +20467,16 @@ export declare const lineContract: {
20919
20467
  additionalCredentials?: any;
20920
20468
  senderId?: string | undefined;
20921
20469
  whatsapp?: {
20922
- email: string;
20923
- wabaExternalId: string;
20924
- phoneNumberId: string;
20925
- wabaBusinessId?: string | undefined;
20926
- clientId?: string | undefined;
20927
- channelId?: string | undefined;
20470
+ wabaBusinessId?: string | null | undefined;
20471
+ wabaExternalId?: string | null | undefined;
20472
+ phoneNumberId?: string | null | undefined;
20473
+ email?: string | null | undefined;
20474
+ clientId?: string | null | undefined;
20475
+ channelId?: string | null | undefined;
20928
20476
  status?: "active" | "pending" | undefined;
20929
20477
  apiKey?: string | undefined;
20930
20478
  tier?: "basic" | "regular" | "premium" | undefined;
20479
+ integrationType?: "meta" | "360dialog" | undefined;
20931
20480
  } | undefined;
20932
20481
  vonageCredentials?: {
20933
20482
  apiKey: string;
@@ -20974,15 +20523,16 @@ export declare const lineContract: {
20974
20523
  additionalCredentials?: any;
20975
20524
  senderId?: string | undefined;
20976
20525
  whatsapp?: {
20977
- email: string;
20978
- wabaExternalId: string;
20979
- phoneNumberId: string;
20980
- wabaBusinessId?: string | undefined;
20981
- clientId?: string | undefined;
20982
- channelId?: string | undefined;
20526
+ wabaBusinessId?: string | null | undefined;
20527
+ wabaExternalId?: string | null | undefined;
20528
+ phoneNumberId?: string | null | undefined;
20529
+ email?: string | null | undefined;
20530
+ clientId?: string | null | undefined;
20531
+ channelId?: string | null | undefined;
20983
20532
  status?: "active" | "pending" | undefined;
20984
20533
  apiKey?: string | undefined;
20985
20534
  tier?: "basic" | "regular" | "premium" | undefined;
20535
+ integrationType?: "meta" | "360dialog" | undefined;
20986
20536
  } | undefined;
20987
20537
  vonageCredentials?: {
20988
20538
  apiKey: string;
@@ -21017,15 +20567,16 @@ export declare const lineContract: {
21017
20567
  additionalCredentials?: any;
21018
20568
  senderId?: string | undefined;
21019
20569
  whatsapp?: {
21020
- email: string;
21021
- wabaExternalId: string;
21022
- phoneNumberId: string;
21023
- wabaBusinessId?: string | undefined;
21024
- clientId?: string | undefined;
21025
- channelId?: string | undefined;
20570
+ wabaBusinessId?: string | null | undefined;
20571
+ wabaExternalId?: string | null | undefined;
20572
+ phoneNumberId?: string | null | undefined;
20573
+ email?: string | null | undefined;
20574
+ clientId?: string | null | undefined;
20575
+ channelId?: string | null | undefined;
21026
20576
  status?: "active" | "pending" | undefined;
21027
20577
  apiKey?: string | undefined;
21028
20578
  tier?: "basic" | "regular" | "premium" | undefined;
20579
+ integrationType?: "meta" | "360dialog" | undefined;
21029
20580
  } | undefined;
21030
20581
  vonageCredentials?: {
21031
20582
  apiKey: string;
@@ -21062,15 +20613,16 @@ export declare const lineContract: {
21062
20613
  additionalCredentials?: any;
21063
20614
  senderId?: string | undefined;
21064
20615
  whatsapp?: {
21065
- email: string;
21066
- wabaExternalId: string;
21067
- phoneNumberId: string;
21068
- wabaBusinessId?: string | undefined;
21069
- clientId?: string | undefined;
21070
- channelId?: string | undefined;
20616
+ wabaBusinessId?: string | null | undefined;
20617
+ wabaExternalId?: string | null | undefined;
20618
+ phoneNumberId?: string | null | undefined;
20619
+ email?: string | null | undefined;
20620
+ clientId?: string | null | undefined;
20621
+ channelId?: string | null | undefined;
21071
20622
  status?: "active" | "pending" | undefined;
21072
20623
  apiKey?: string | undefined;
21073
20624
  tier?: "basic" | "regular" | "premium" | undefined;
20625
+ integrationType?: "meta" | "360dialog" | undefined;
21074
20626
  } | undefined;
21075
20627
  vonageCredentials?: {
21076
20628
  apiKey: string;
@@ -21108,15 +20660,16 @@ export declare const lineContract: {
21108
20660
  additionalCredentials?: any;
21109
20661
  senderId?: string | undefined;
21110
20662
  whatsapp?: {
21111
- email: string;
21112
- wabaExternalId: string;
21113
- phoneNumberId: string;
21114
- wabaBusinessId?: string | undefined;
21115
- clientId?: string | undefined;
21116
- channelId?: string | undefined;
20663
+ wabaBusinessId?: string | null | undefined;
20664
+ wabaExternalId?: string | null | undefined;
20665
+ phoneNumberId?: string | null | undefined;
20666
+ email?: string | null | undefined;
20667
+ clientId?: string | null | undefined;
20668
+ channelId?: string | null | undefined;
21117
20669
  status?: "active" | "pending" | undefined;
21118
20670
  apiKey?: string | undefined;
21119
20671
  tier?: "basic" | "regular" | "premium" | undefined;
20672
+ integrationType?: "meta" | "360dialog" | undefined;
21120
20673
  } | undefined;
21121
20674
  vonageCredentials?: {
21122
20675
  apiKey: string;