@kl1/contracts 1.2.46-uat → 1.2.48-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1985 -1268
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +123 -93
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +140 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3403 -2580
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +861 -662
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1109 -818
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +75766 -60354
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/index.d.ts +291 -139
  21. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/schema.d.ts +198 -117
  23. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +73 -95
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +10 -53
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  31. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/facebook-feed/index.d.ts +1462 -1060
  33. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/schema.d.ts +104 -77
  35. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/validation.d.ts +81 -60
  37. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/index.d.ts +5 -0
  39. package/dist/api-contracts/src/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/instagram/index.d.ts +1151 -836
  41. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/line/index.d.ts +1036 -757
  43. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/validation.d.ts +115 -82
  45. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  46. package/dist/api-contracts/src/mail/mail-contract.d.ts +13 -13
  47. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  48. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -7
  49. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  50. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -5
  51. package/dist/api-contracts/src/messenger/index.d.ts +1151 -836
  52. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/messenger/validation.d.ts +81 -60
  54. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  56. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  57. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  58. package/dist/api-contracts/src/sms/index.d.ts +3133 -146
  59. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  61. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  63. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  64. package/dist/api-contracts/src/subscription/index.d.ts +20 -1
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  66. package/dist/api-contracts/src/subscription/validation.d.ts +10 -0
  67. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  68. package/dist/api-contracts/src/telegram/index.d.ts +851 -626
  69. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +34 -89
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +10 -27
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  74. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  77. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  78. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  79. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  80. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -10
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/viber/index.d.ts +851 -626
  85. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/webchat/index.d.ts +851 -626
  87. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/whatsapp/index.d.ts +1155 -725
  89. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  91. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts +8659 -373
  93. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  94. package/dist/entities/src/enums/chat.d.ts +1 -0
  95. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  96. package/dist/index.js +4853 -4291
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.mjs +4842 -4285
  99. package/dist/index.mjs.map +1 -1
  100. package/package.json +7 -3
@@ -808,9 +808,10 @@ export declare const cxLogContract: {
808
808
  fileSize: z.ZodNumber;
809
809
  fileKey: z.ZodString;
810
810
  fileUrl: z.ZodNullable<z.ZodString>;
811
- status: z.ZodOptional<z.ZodString>;
811
+ status: z.ZodNullable<z.ZodString>;
812
812
  }, "strip", z.ZodTypeAny, {
813
813
  id: string;
814
+ status: string | null;
814
815
  createdAt: Date;
815
816
  updatedAt: Date;
816
817
  deletedAt: Date | null;
@@ -819,9 +820,9 @@ export declare const cxLogContract: {
819
820
  bucketName: string;
820
821
  fileSize: number;
821
822
  fileUrl: string | null;
822
- status?: string | undefined;
823
823
  }, {
824
824
  id: string;
825
+ status: string | null;
825
826
  createdAt: Date;
826
827
  updatedAt: Date;
827
828
  deletedAt: Date | null;
@@ -830,7 +831,6 @@ export declare const cxLogContract: {
830
831
  bucketName: string;
831
832
  fileSize: number;
832
833
  fileUrl: string | null;
833
- status?: string | undefined;
834
834
  }>, "many">;
835
835
  }, "strip", z.ZodTypeAny, {
836
836
  id: string;
@@ -857,6 +857,7 @@ export declare const cxLogContract: {
857
857
  dateValue: Date | null;
858
858
  uploads: {
859
859
  id: string;
860
+ status: string | null;
860
861
  createdAt: Date;
861
862
  updatedAt: Date;
862
863
  deletedAt: Date | null;
@@ -865,7 +866,6 @@ export declare const cxLogContract: {
865
866
  bucketName: string;
866
867
  fileSize: number;
867
868
  fileUrl: string | null;
868
- status?: string | undefined;
869
869
  }[];
870
870
  }, {
871
871
  id: string;
@@ -892,6 +892,7 @@ export declare const cxLogContract: {
892
892
  dateValue: Date | null;
893
893
  uploads: {
894
894
  id: string;
895
+ status: string | null;
895
896
  createdAt: Date;
896
897
  updatedAt: Date;
897
898
  deletedAt: Date | null;
@@ -900,7 +901,6 @@ export declare const cxLogContract: {
900
901
  bucketName: string;
901
902
  fileSize: number;
902
903
  fileUrl: string | null;
903
- status?: string | undefined;
904
904
  }[];
905
905
  }>, "many">;
906
906
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1040,6 +1040,7 @@ export declare const cxLogContract: {
1040
1040
  dateValue: Date | null;
1041
1041
  uploads: {
1042
1042
  id: string;
1043
+ status: string | null;
1043
1044
  createdAt: Date;
1044
1045
  updatedAt: Date;
1045
1046
  deletedAt: Date | null;
@@ -1048,7 +1049,6 @@ export declare const cxLogContract: {
1048
1049
  bucketName: string;
1049
1050
  fileSize: number;
1050
1051
  fileUrl: string | null;
1051
- status?: string | undefined;
1052
1052
  }[];
1053
1053
  }[];
1054
1054
  company: {
@@ -1151,6 +1151,7 @@ export declare const cxLogContract: {
1151
1151
  dateValue: Date | null;
1152
1152
  uploads: {
1153
1153
  id: string;
1154
+ status: string | null;
1154
1155
  createdAt: Date;
1155
1156
  updatedAt: Date;
1156
1157
  deletedAt: Date | null;
@@ -1159,7 +1160,6 @@ export declare const cxLogContract: {
1159
1160
  bucketName: string;
1160
1161
  fileSize: number;
1161
1162
  fileUrl: string | null;
1162
- status?: string | undefined;
1163
1163
  }[];
1164
1164
  }[];
1165
1165
  company: {
@@ -1275,6 +1275,7 @@ export declare const cxLogContract: {
1275
1275
  dateValue: Date | null;
1276
1276
  uploads: {
1277
1277
  id: string;
1278
+ status: string | null;
1278
1279
  createdAt: Date;
1279
1280
  updatedAt: Date;
1280
1281
  deletedAt: Date | null;
@@ -1283,7 +1284,6 @@ export declare const cxLogContract: {
1283
1284
  bucketName: string;
1284
1285
  fileSize: number;
1285
1286
  fileUrl: string | null;
1286
- status?: string | undefined;
1287
1287
  }[];
1288
1288
  }[];
1289
1289
  company: {
@@ -1401,6 +1401,7 @@ export declare const cxLogContract: {
1401
1401
  dateValue: Date | null;
1402
1402
  uploads: {
1403
1403
  id: string;
1404
+ status: string | null;
1404
1405
  createdAt: Date;
1405
1406
  updatedAt: Date;
1406
1407
  deletedAt: Date | null;
@@ -1409,7 +1410,6 @@ export declare const cxLogContract: {
1409
1410
  bucketName: string;
1410
1411
  fileSize: number;
1411
1412
  fileUrl: string | null;
1412
- status?: string | undefined;
1413
1413
  }[];
1414
1414
  }[];
1415
1415
  company: {
@@ -1906,35 +1906,44 @@ export declare const cxLogContract: {
1906
1906
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1907
1907
  senderId: z.ZodOptional<z.ZodString>;
1908
1908
  whatsapp: z.ZodOptional<z.ZodObject<{
1909
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1910
- wabaExternalId: z.ZodString;
1911
- phoneNumberId: z.ZodString;
1912
- email: z.ZodString;
1913
- clientId: z.ZodOptional<z.ZodString>;
1914
- channelId: z.ZodOptional<z.ZodString>;
1915
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1909
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1910
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1911
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1912
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1913
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1914
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1915
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1916
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1917
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1916
1918
  apiKey: z.ZodOptional<z.ZodString>;
1917
1919
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1920
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1918
1921
  }, "strip", z.ZodTypeAny, {
1919
- email: string;
1920
- wabaExternalId: string;
1921
- phoneNumberId: string;
1922
- wabaBusinessId?: string | undefined;
1923
- clientId?: string | undefined;
1924
- channelId?: string | undefined;
1925
- status?: "active" | "pending" | undefined;
1922
+ wabaBusinessId?: string | null | undefined;
1923
+ wabaExternalId?: string | null | undefined;
1924
+ phoneNumberId?: string | null | undefined;
1925
+ email?: string | null | undefined;
1926
+ clientId?: string | null | undefined;
1927
+ channelId?: string | null | undefined;
1928
+ waapiInstanceId?: string | null | undefined;
1929
+ qr?: string | null | undefined;
1930
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1926
1931
  apiKey?: string | undefined;
1927
1932
  tier?: "basic" | "regular" | "premium" | undefined;
1933
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1928
1934
  }, {
1929
- email: string;
1930
- wabaExternalId: string;
1931
- phoneNumberId: string;
1932
- wabaBusinessId?: string | undefined;
1933
- clientId?: string | undefined;
1934
- channelId?: string | undefined;
1935
- status?: "active" | "pending" | undefined;
1935
+ wabaBusinessId?: string | null | undefined;
1936
+ wabaExternalId?: string | null | undefined;
1937
+ phoneNumberId?: string | null | undefined;
1938
+ email?: string | null | undefined;
1939
+ clientId?: string | null | undefined;
1940
+ channelId?: string | null | undefined;
1941
+ waapiInstanceId?: string | null | undefined;
1942
+ qr?: string | null | undefined;
1943
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1936
1944
  apiKey?: string | undefined;
1937
1945
  tier?: "basic" | "regular" | "premium" | undefined;
1946
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1938
1947
  }>>;
1939
1948
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1940
1949
  mobileNumber: z.ZodString;
@@ -1960,15 +1969,18 @@ export declare const cxLogContract: {
1960
1969
  additionalCredentials?: any;
1961
1970
  senderId?: string | undefined;
1962
1971
  whatsapp?: {
1963
- email: string;
1964
- wabaExternalId: string;
1965
- phoneNumberId: string;
1966
- wabaBusinessId?: string | undefined;
1967
- clientId?: string | undefined;
1968
- channelId?: string | undefined;
1969
- status?: "active" | "pending" | undefined;
1972
+ wabaBusinessId?: string | null | undefined;
1973
+ wabaExternalId?: string | null | undefined;
1974
+ phoneNumberId?: string | null | undefined;
1975
+ email?: string | null | undefined;
1976
+ clientId?: string | null | undefined;
1977
+ channelId?: string | null | undefined;
1978
+ waapiInstanceId?: string | null | undefined;
1979
+ qr?: string | null | undefined;
1980
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1970
1981
  apiKey?: string | undefined;
1971
1982
  tier?: "basic" | "regular" | "premium" | undefined;
1983
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1972
1984
  } | undefined;
1973
1985
  vonageCredentials?: {
1974
1986
  apiKey: string;
@@ -1986,15 +1998,18 @@ export declare const cxLogContract: {
1986
1998
  additionalCredentials?: any;
1987
1999
  senderId?: string | undefined;
1988
2000
  whatsapp?: {
1989
- email: string;
1990
- wabaExternalId: string;
1991
- phoneNumberId: string;
1992
- wabaBusinessId?: string | undefined;
1993
- clientId?: string | undefined;
1994
- channelId?: string | undefined;
1995
- status?: "active" | "pending" | undefined;
2001
+ wabaBusinessId?: string | null | undefined;
2002
+ wabaExternalId?: string | null | undefined;
2003
+ phoneNumberId?: string | null | undefined;
2004
+ email?: string | null | undefined;
2005
+ clientId?: string | null | undefined;
2006
+ channelId?: string | null | undefined;
2007
+ waapiInstanceId?: string | null | undefined;
2008
+ qr?: string | null | undefined;
2009
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1996
2010
  apiKey?: string | undefined;
1997
2011
  tier?: "basic" | "regular" | "premium" | undefined;
2012
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1998
2013
  } | undefined;
1999
2014
  vonageCredentials?: {
2000
2015
  apiKey: string;
@@ -2246,15 +2261,18 @@ export declare const cxLogContract: {
2246
2261
  additionalCredentials?: any;
2247
2262
  senderId?: string | undefined;
2248
2263
  whatsapp?: {
2249
- email: string;
2250
- wabaExternalId: string;
2251
- phoneNumberId: string;
2252
- wabaBusinessId?: string | undefined;
2253
- clientId?: string | undefined;
2254
- channelId?: string | undefined;
2255
- status?: "active" | "pending" | undefined;
2264
+ wabaBusinessId?: string | null | undefined;
2265
+ wabaExternalId?: string | null | undefined;
2266
+ phoneNumberId?: string | null | undefined;
2267
+ email?: string | null | undefined;
2268
+ clientId?: string | null | undefined;
2269
+ channelId?: string | null | undefined;
2270
+ waapiInstanceId?: string | null | undefined;
2271
+ qr?: string | null | undefined;
2272
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2256
2273
  apiKey?: string | undefined;
2257
2274
  tier?: "basic" | "regular" | "premium" | undefined;
2275
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2258
2276
  } | undefined;
2259
2277
  vonageCredentials?: {
2260
2278
  apiKey: string;
@@ -2337,15 +2355,18 @@ export declare const cxLogContract: {
2337
2355
  additionalCredentials?: any;
2338
2356
  senderId?: string | undefined;
2339
2357
  whatsapp?: {
2340
- email: string;
2341
- wabaExternalId: string;
2342
- phoneNumberId: string;
2343
- wabaBusinessId?: string | undefined;
2344
- clientId?: string | undefined;
2345
- channelId?: string | undefined;
2346
- status?: "active" | "pending" | undefined;
2358
+ wabaBusinessId?: string | null | undefined;
2359
+ wabaExternalId?: string | null | undefined;
2360
+ phoneNumberId?: string | null | undefined;
2361
+ email?: string | null | undefined;
2362
+ clientId?: string | null | undefined;
2363
+ channelId?: string | null | undefined;
2364
+ waapiInstanceId?: string | null | undefined;
2365
+ qr?: string | null | undefined;
2366
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2347
2367
  apiKey?: string | undefined;
2348
2368
  tier?: "basic" | "regular" | "premium" | undefined;
2369
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2349
2370
  } | undefined;
2350
2371
  vonageCredentials?: {
2351
2372
  apiKey: string;
@@ -2431,15 +2452,18 @@ export declare const cxLogContract: {
2431
2452
  additionalCredentials?: any;
2432
2453
  senderId?: string | undefined;
2433
2454
  whatsapp?: {
2434
- email: string;
2435
- wabaExternalId: string;
2436
- phoneNumberId: string;
2437
- wabaBusinessId?: string | undefined;
2438
- clientId?: string | undefined;
2439
- channelId?: string | undefined;
2440
- status?: "active" | "pending" | undefined;
2455
+ wabaBusinessId?: string | null | undefined;
2456
+ wabaExternalId?: string | null | undefined;
2457
+ phoneNumberId?: string | null | undefined;
2458
+ email?: string | null | undefined;
2459
+ clientId?: string | null | undefined;
2460
+ channelId?: string | null | undefined;
2461
+ waapiInstanceId?: string | null | undefined;
2462
+ qr?: string | null | undefined;
2463
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2441
2464
  apiKey?: string | undefined;
2442
2465
  tier?: "basic" | "regular" | "premium" | undefined;
2466
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2443
2467
  } | undefined;
2444
2468
  vonageCredentials?: {
2445
2469
  apiKey: string;
@@ -2611,6 +2635,7 @@ export declare const cxLogContract: {
2611
2635
  dateValue: Date | null;
2612
2636
  uploads: {
2613
2637
  id: string;
2638
+ status: string | null;
2614
2639
  createdAt: Date;
2615
2640
  updatedAt: Date;
2616
2641
  deletedAt: Date | null;
@@ -2619,7 +2644,6 @@ export declare const cxLogContract: {
2619
2644
  bucketName: string;
2620
2645
  fileSize: number;
2621
2646
  fileUrl: string | null;
2622
- status?: string | undefined;
2623
2647
  }[];
2624
2648
  }[];
2625
2649
  company: {
@@ -2751,15 +2775,18 @@ export declare const cxLogContract: {
2751
2775
  additionalCredentials?: any;
2752
2776
  senderId?: string | undefined;
2753
2777
  whatsapp?: {
2754
- email: string;
2755
- wabaExternalId: string;
2756
- phoneNumberId: string;
2757
- wabaBusinessId?: string | undefined;
2758
- clientId?: string | undefined;
2759
- channelId?: string | undefined;
2760
- status?: "active" | "pending" | undefined;
2778
+ wabaBusinessId?: string | null | undefined;
2779
+ wabaExternalId?: string | null | undefined;
2780
+ phoneNumberId?: string | null | undefined;
2781
+ email?: string | null | undefined;
2782
+ clientId?: string | null | undefined;
2783
+ channelId?: string | null | undefined;
2784
+ waapiInstanceId?: string | null | undefined;
2785
+ qr?: string | null | undefined;
2786
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2761
2787
  apiKey?: string | undefined;
2762
2788
  tier?: "basic" | "regular" | "premium" | undefined;
2789
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2763
2790
  } | undefined;
2764
2791
  vonageCredentials?: {
2765
2792
  apiKey: string;
@@ -2931,6 +2958,7 @@ export declare const cxLogContract: {
2931
2958
  dateValue: Date | null;
2932
2959
  uploads: {
2933
2960
  id: string;
2961
+ status: string | null;
2934
2962
  createdAt: Date;
2935
2963
  updatedAt: Date;
2936
2964
  deletedAt: Date | null;
@@ -2939,7 +2967,6 @@ export declare const cxLogContract: {
2939
2967
  bucketName: string;
2940
2968
  fileSize: number;
2941
2969
  fileUrl: string | null;
2942
- status?: string | undefined;
2943
2970
  }[];
2944
2971
  }[];
2945
2972
  company: {
@@ -3419,9 +3446,10 @@ export declare const cxLogContract: {
3419
3446
  fileSize: z.ZodNumber;
3420
3447
  fileKey: z.ZodString;
3421
3448
  fileUrl: z.ZodNullable<z.ZodString>;
3422
- status: z.ZodOptional<z.ZodString>;
3449
+ status: z.ZodNullable<z.ZodString>;
3423
3450
  }, "strip", z.ZodTypeAny, {
3424
3451
  id: string;
3452
+ status: string | null;
3425
3453
  createdAt: Date;
3426
3454
  updatedAt: Date;
3427
3455
  deletedAt: Date | null;
@@ -3430,9 +3458,9 @@ export declare const cxLogContract: {
3430
3458
  bucketName: string;
3431
3459
  fileSize: number;
3432
3460
  fileUrl: string | null;
3433
- status?: string | undefined;
3434
3461
  }, {
3435
3462
  id: string;
3463
+ status: string | null;
3436
3464
  createdAt: Date;
3437
3465
  updatedAt: Date;
3438
3466
  deletedAt: Date | null;
@@ -3441,7 +3469,6 @@ export declare const cxLogContract: {
3441
3469
  bucketName: string;
3442
3470
  fileSize: number;
3443
3471
  fileUrl: string | null;
3444
- status?: string | undefined;
3445
3472
  }>, "many">;
3446
3473
  }, "strip", z.ZodTypeAny, {
3447
3474
  id: string;
@@ -3468,6 +3495,7 @@ export declare const cxLogContract: {
3468
3495
  dateValue: Date | null;
3469
3496
  uploads: {
3470
3497
  id: string;
3498
+ status: string | null;
3471
3499
  createdAt: Date;
3472
3500
  updatedAt: Date;
3473
3501
  deletedAt: Date | null;
@@ -3476,7 +3504,6 @@ export declare const cxLogContract: {
3476
3504
  bucketName: string;
3477
3505
  fileSize: number;
3478
3506
  fileUrl: string | null;
3479
- status?: string | undefined;
3480
3507
  }[];
3481
3508
  }, {
3482
3509
  id: string;
@@ -3503,6 +3530,7 @@ export declare const cxLogContract: {
3503
3530
  dateValue: Date | null;
3504
3531
  uploads: {
3505
3532
  id: string;
3533
+ status: string | null;
3506
3534
  createdAt: Date;
3507
3535
  updatedAt: Date;
3508
3536
  deletedAt: Date | null;
@@ -3511,7 +3539,6 @@ export declare const cxLogContract: {
3511
3539
  bucketName: string;
3512
3540
  fileSize: number;
3513
3541
  fileUrl: string | null;
3514
- status?: string | undefined;
3515
3542
  }[];
3516
3543
  }>, "many">;
3517
3544
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3651,6 +3678,7 @@ export declare const cxLogContract: {
3651
3678
  dateValue: Date | null;
3652
3679
  uploads: {
3653
3680
  id: string;
3681
+ status: string | null;
3654
3682
  createdAt: Date;
3655
3683
  updatedAt: Date;
3656
3684
  deletedAt: Date | null;
@@ -3659,7 +3687,6 @@ export declare const cxLogContract: {
3659
3687
  bucketName: string;
3660
3688
  fileSize: number;
3661
3689
  fileUrl: string | null;
3662
- status?: string | undefined;
3663
3690
  }[];
3664
3691
  }[];
3665
3692
  company: {
@@ -3762,6 +3789,7 @@ export declare const cxLogContract: {
3762
3789
  dateValue: Date | null;
3763
3790
  uploads: {
3764
3791
  id: string;
3792
+ status: string | null;
3765
3793
  createdAt: Date;
3766
3794
  updatedAt: Date;
3767
3795
  deletedAt: Date | null;
@@ -3770,7 +3798,6 @@ export declare const cxLogContract: {
3770
3798
  bucketName: string;
3771
3799
  fileSize: number;
3772
3800
  fileUrl: string | null;
3773
- status?: string | undefined;
3774
3801
  }[];
3775
3802
  }[];
3776
3803
  company: {
@@ -3887,9 +3914,10 @@ export declare const cxLogContract: {
3887
3914
  fileSize: z.ZodNumber;
3888
3915
  fileKey: z.ZodString;
3889
3916
  fileUrl: z.ZodNullable<z.ZodString>;
3890
- status: z.ZodOptional<z.ZodString>;
3917
+ status: z.ZodNullable<z.ZodString>;
3891
3918
  }, "strip", z.ZodTypeAny, {
3892
3919
  id: string;
3920
+ status: string | null;
3893
3921
  createdAt: Date;
3894
3922
  updatedAt: Date;
3895
3923
  deletedAt: Date | null;
@@ -3898,9 +3926,9 @@ export declare const cxLogContract: {
3898
3926
  bucketName: string;
3899
3927
  fileSize: number;
3900
3928
  fileUrl: string | null;
3901
- status?: string | undefined;
3902
3929
  }, {
3903
3930
  id: string;
3931
+ status: string | null;
3904
3932
  createdAt: Date;
3905
3933
  updatedAt: Date;
3906
3934
  deletedAt: Date | null;
@@ -3909,7 +3937,6 @@ export declare const cxLogContract: {
3909
3937
  bucketName: string;
3910
3938
  fileSize: number;
3911
3939
  fileUrl: string | null;
3912
- status?: string | undefined;
3913
3940
  }>>>;
3914
3941
  callParticipants: z.ZodNullable<z.ZodObject<{
3915
3942
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4874,6 +4901,7 @@ export declare const cxLogContract: {
4874
4901
  dateValue: Date | null;
4875
4902
  uploads: {
4876
4903
  id: string;
4904
+ status: string | null;
4877
4905
  createdAt: Date;
4878
4906
  updatedAt: Date;
4879
4907
  deletedAt: Date | null;
@@ -4882,7 +4910,6 @@ export declare const cxLogContract: {
4882
4910
  bucketName: string;
4883
4911
  fileSize: number;
4884
4912
  fileUrl: string | null;
4885
- status?: string | undefined;
4886
4913
  }[];
4887
4914
  }[];
4888
4915
  company: {
@@ -4965,6 +4992,7 @@ export declare const cxLogContract: {
4965
4992
  } | null | undefined;
4966
4993
  upload?: {
4967
4994
  id: string;
4995
+ status: string | null;
4968
4996
  createdAt: Date;
4969
4997
  updatedAt: Date;
4970
4998
  deletedAt: Date | null;
@@ -4973,7 +5001,6 @@ export declare const cxLogContract: {
4973
5001
  bucketName: string;
4974
5002
  fileSize: number;
4975
5003
  fileUrl: string | null;
4976
- status?: string | undefined;
4977
5004
  } | null | undefined;
4978
5005
  extension?: {
4979
5006
  id: string;
@@ -5144,6 +5171,7 @@ export declare const cxLogContract: {
5144
5171
  dateValue: Date | null;
5145
5172
  uploads: {
5146
5173
  id: string;
5174
+ status: string | null;
5147
5175
  createdAt: Date;
5148
5176
  updatedAt: Date;
5149
5177
  deletedAt: Date | null;
@@ -5152,7 +5180,6 @@ export declare const cxLogContract: {
5152
5180
  bucketName: string;
5153
5181
  fileSize: number;
5154
5182
  fileUrl: string | null;
5155
- status?: string | undefined;
5156
5183
  }[];
5157
5184
  }[];
5158
5185
  company: {
@@ -5235,6 +5262,7 @@ export declare const cxLogContract: {
5235
5262
  } | null | undefined;
5236
5263
  upload?: {
5237
5264
  id: string;
5265
+ status: string | null;
5238
5266
  createdAt: Date;
5239
5267
  updatedAt: Date;
5240
5268
  deletedAt: Date | null;
@@ -5243,7 +5271,6 @@ export declare const cxLogContract: {
5243
5271
  bucketName: string;
5244
5272
  fileSize: number;
5245
5273
  fileUrl: string | null;
5246
- status?: string | undefined;
5247
5274
  } | null | undefined;
5248
5275
  extension?: {
5249
5276
  id: string;
@@ -5658,9 +5685,10 @@ export declare const cxLogContract: {
5658
5685
  fileSize: z.ZodNumber;
5659
5686
  fileKey: z.ZodString;
5660
5687
  fileUrl: z.ZodNullable<z.ZodString>;
5661
- status: z.ZodOptional<z.ZodString>;
5688
+ status: z.ZodNullable<z.ZodString>;
5662
5689
  }, "strip", z.ZodTypeAny, {
5663
5690
  id: string;
5691
+ status: string | null;
5664
5692
  createdAt: Date;
5665
5693
  updatedAt: Date;
5666
5694
  deletedAt: Date | null;
@@ -5669,9 +5697,9 @@ export declare const cxLogContract: {
5669
5697
  bucketName: string;
5670
5698
  fileSize: number;
5671
5699
  fileUrl: string | null;
5672
- status?: string | undefined;
5673
5700
  }, {
5674
5701
  id: string;
5702
+ status: string | null;
5675
5703
  createdAt: Date;
5676
5704
  updatedAt: Date;
5677
5705
  deletedAt: Date | null;
@@ -5680,7 +5708,6 @@ export declare const cxLogContract: {
5680
5708
  bucketName: string;
5681
5709
  fileSize: number;
5682
5710
  fileUrl: string | null;
5683
- status?: string | undefined;
5684
5711
  }>, "many">;
5685
5712
  }, "strip", z.ZodTypeAny, {
5686
5713
  id: string;
@@ -5707,6 +5734,7 @@ export declare const cxLogContract: {
5707
5734
  dateValue: Date | null;
5708
5735
  uploads: {
5709
5736
  id: string;
5737
+ status: string | null;
5710
5738
  createdAt: Date;
5711
5739
  updatedAt: Date;
5712
5740
  deletedAt: Date | null;
@@ -5715,7 +5743,6 @@ export declare const cxLogContract: {
5715
5743
  bucketName: string;
5716
5744
  fileSize: number;
5717
5745
  fileUrl: string | null;
5718
- status?: string | undefined;
5719
5746
  }[];
5720
5747
  }, {
5721
5748
  id: string;
@@ -5742,6 +5769,7 @@ export declare const cxLogContract: {
5742
5769
  dateValue: Date | null;
5743
5770
  uploads: {
5744
5771
  id: string;
5772
+ status: string | null;
5745
5773
  createdAt: Date;
5746
5774
  updatedAt: Date;
5747
5775
  deletedAt: Date | null;
@@ -5750,7 +5778,6 @@ export declare const cxLogContract: {
5750
5778
  bucketName: string;
5751
5779
  fileSize: number;
5752
5780
  fileUrl: string | null;
5753
- status?: string | undefined;
5754
5781
  }[];
5755
5782
  }>, "many">;
5756
5783
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -5890,6 +5917,7 @@ export declare const cxLogContract: {
5890
5917
  dateValue: Date | null;
5891
5918
  uploads: {
5892
5919
  id: string;
5920
+ status: string | null;
5893
5921
  createdAt: Date;
5894
5922
  updatedAt: Date;
5895
5923
  deletedAt: Date | null;
@@ -5898,7 +5926,6 @@ export declare const cxLogContract: {
5898
5926
  bucketName: string;
5899
5927
  fileSize: number;
5900
5928
  fileUrl: string | null;
5901
- status?: string | undefined;
5902
5929
  }[];
5903
5930
  }[];
5904
5931
  company: {
@@ -6001,6 +6028,7 @@ export declare const cxLogContract: {
6001
6028
  dateValue: Date | null;
6002
6029
  uploads: {
6003
6030
  id: string;
6031
+ status: string | null;
6004
6032
  createdAt: Date;
6005
6033
  updatedAt: Date;
6006
6034
  deletedAt: Date | null;
@@ -6009,7 +6037,6 @@ export declare const cxLogContract: {
6009
6037
  bucketName: string;
6010
6038
  fileSize: number;
6011
6039
  fileUrl: string | null;
6012
- status?: string | undefined;
6013
6040
  }[];
6014
6041
  }[];
6015
6042
  company: {
@@ -6693,6 +6720,34 @@ export declare const cxLogContract: {
6693
6720
  };
6694
6721
  }>>;
6695
6722
  contactLabel: z.ZodArray<z.ZodString, "many">;
6723
+ cxIntelligence: z.ZodObject<{
6724
+ id: z.ZodString;
6725
+ intelligenceType: z.ZodString;
6726
+ provider: z.ZodString;
6727
+ cxLogId: z.ZodString;
6728
+ transcript: z.ZodString;
6729
+ summary: z.ZodString;
6730
+ usage: z.ZodNumber;
6731
+ usageUnit: z.ZodString;
6732
+ }, "strip", z.ZodTypeAny, {
6733
+ id: string;
6734
+ summary: string;
6735
+ cxLogId: string;
6736
+ intelligenceType: string;
6737
+ provider: string;
6738
+ transcript: string;
6739
+ usage: number;
6740
+ usageUnit: string;
6741
+ }, {
6742
+ id: string;
6743
+ summary: string;
6744
+ cxLogId: string;
6745
+ intelligenceType: string;
6746
+ provider: string;
6747
+ transcript: string;
6748
+ usage: number;
6749
+ usageUnit: string;
6750
+ }>;
6696
6751
  }, "strip", z.ZodTypeAny, {
6697
6752
  id: string;
6698
6753
  channel: string | null;
@@ -6734,6 +6789,7 @@ export declare const cxLogContract: {
6734
6789
  dateValue: Date | null;
6735
6790
  uploads: {
6736
6791
  id: string;
6792
+ status: string | null;
6737
6793
  createdAt: Date;
6738
6794
  updatedAt: Date;
6739
6795
  deletedAt: Date | null;
@@ -6742,7 +6798,6 @@ export declare const cxLogContract: {
6742
6798
  bucketName: string;
6743
6799
  fileSize: number;
6744
6800
  fileUrl: string | null;
6745
- status?: string | undefined;
6746
6801
  }[];
6747
6802
  }[];
6748
6803
  company: {
@@ -6903,15 +6958,18 @@ export declare const cxLogContract: {
6903
6958
  additionalCredentials?: any;
6904
6959
  senderId?: string | undefined;
6905
6960
  whatsapp?: {
6906
- email: string;
6907
- wabaExternalId: string;
6908
- phoneNumberId: string;
6909
- wabaBusinessId?: string | undefined;
6910
- clientId?: string | undefined;
6911
- channelId?: string | undefined;
6912
- status?: "active" | "pending" | undefined;
6961
+ wabaBusinessId?: string | null | undefined;
6962
+ wabaExternalId?: string | null | undefined;
6963
+ phoneNumberId?: string | null | undefined;
6964
+ email?: string | null | undefined;
6965
+ clientId?: string | null | undefined;
6966
+ channelId?: string | null | undefined;
6967
+ waapiInstanceId?: string | null | undefined;
6968
+ qr?: string | null | undefined;
6969
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6913
6970
  apiKey?: string | undefined;
6914
6971
  tier?: "basic" | "regular" | "premium" | undefined;
6972
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6915
6973
  } | undefined;
6916
6974
  vonageCredentials?: {
6917
6975
  apiKey: string;
@@ -7083,6 +7141,7 @@ export declare const cxLogContract: {
7083
7141
  dateValue: Date | null;
7084
7142
  uploads: {
7085
7143
  id: string;
7144
+ status: string | null;
7086
7145
  createdAt: Date;
7087
7146
  updatedAt: Date;
7088
7147
  deletedAt: Date | null;
@@ -7091,7 +7150,6 @@ export declare const cxLogContract: {
7091
7150
  bucketName: string;
7092
7151
  fileSize: number;
7093
7152
  fileUrl: string | null;
7094
- status?: string | undefined;
7095
7153
  }[];
7096
7154
  }[];
7097
7155
  company: {
@@ -7322,6 +7380,7 @@ export declare const cxLogContract: {
7322
7380
  dateValue: Date | null;
7323
7381
  uploads: {
7324
7382
  id: string;
7383
+ status: string | null;
7325
7384
  createdAt: Date;
7326
7385
  updatedAt: Date;
7327
7386
  deletedAt: Date | null;
@@ -7330,7 +7389,6 @@ export declare const cxLogContract: {
7330
7389
  bucketName: string;
7331
7390
  fileSize: number;
7332
7391
  fileUrl: string | null;
7333
- status?: string | undefined;
7334
7392
  }[];
7335
7393
  }[];
7336
7394
  company: {
@@ -7413,6 +7471,7 @@ export declare const cxLogContract: {
7413
7471
  } | null | undefined;
7414
7472
  upload?: {
7415
7473
  id: string;
7474
+ status: string | null;
7416
7475
  createdAt: Date;
7417
7476
  updatedAt: Date;
7418
7477
  deletedAt: Date | null;
@@ -7421,7 +7480,6 @@ export declare const cxLogContract: {
7421
7480
  bucketName: string;
7422
7481
  fileSize: number;
7423
7482
  fileUrl: string | null;
7424
- status?: string | undefined;
7425
7483
  } | null | undefined;
7426
7484
  extension?: {
7427
7485
  id: string;
@@ -7617,6 +7675,16 @@ export declare const cxLogContract: {
7617
7675
  };
7618
7676
  } | null;
7619
7677
  contactLabel: string[];
7678
+ cxIntelligence: {
7679
+ id: string;
7680
+ summary: string;
7681
+ cxLogId: string;
7682
+ intelligenceType: string;
7683
+ provider: string;
7684
+ transcript: string;
7685
+ usage: number;
7686
+ usageUnit: string;
7687
+ };
7620
7688
  }, {
7621
7689
  id: string;
7622
7690
  channel: string | null;
@@ -7658,6 +7726,7 @@ export declare const cxLogContract: {
7658
7726
  dateValue: Date | null;
7659
7727
  uploads: {
7660
7728
  id: string;
7729
+ status: string | null;
7661
7730
  createdAt: Date;
7662
7731
  updatedAt: Date;
7663
7732
  deletedAt: Date | null;
@@ -7666,7 +7735,6 @@ export declare const cxLogContract: {
7666
7735
  bucketName: string;
7667
7736
  fileSize: number;
7668
7737
  fileUrl: string | null;
7669
- status?: string | undefined;
7670
7738
  }[];
7671
7739
  }[];
7672
7740
  company: {
@@ -7827,15 +7895,18 @@ export declare const cxLogContract: {
7827
7895
  additionalCredentials?: any;
7828
7896
  senderId?: string | undefined;
7829
7897
  whatsapp?: {
7830
- email: string;
7831
- wabaExternalId: string;
7832
- phoneNumberId: string;
7833
- wabaBusinessId?: string | undefined;
7834
- clientId?: string | undefined;
7835
- channelId?: string | undefined;
7836
- status?: "active" | "pending" | undefined;
7898
+ wabaBusinessId?: string | null | undefined;
7899
+ wabaExternalId?: string | null | undefined;
7900
+ phoneNumberId?: string | null | undefined;
7901
+ email?: string | null | undefined;
7902
+ clientId?: string | null | undefined;
7903
+ channelId?: string | null | undefined;
7904
+ waapiInstanceId?: string | null | undefined;
7905
+ qr?: string | null | undefined;
7906
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7837
7907
  apiKey?: string | undefined;
7838
7908
  tier?: "basic" | "regular" | "premium" | undefined;
7909
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7839
7910
  } | undefined;
7840
7911
  vonageCredentials?: {
7841
7912
  apiKey: string;
@@ -8007,6 +8078,7 @@ export declare const cxLogContract: {
8007
8078
  dateValue: Date | null;
8008
8079
  uploads: {
8009
8080
  id: string;
8081
+ status: string | null;
8010
8082
  createdAt: Date;
8011
8083
  updatedAt: Date;
8012
8084
  deletedAt: Date | null;
@@ -8015,7 +8087,6 @@ export declare const cxLogContract: {
8015
8087
  bucketName: string;
8016
8088
  fileSize: number;
8017
8089
  fileUrl: string | null;
8018
- status?: string | undefined;
8019
8090
  }[];
8020
8091
  }[];
8021
8092
  company: {
@@ -8246,6 +8317,7 @@ export declare const cxLogContract: {
8246
8317
  dateValue: Date | null;
8247
8318
  uploads: {
8248
8319
  id: string;
8320
+ status: string | null;
8249
8321
  createdAt: Date;
8250
8322
  updatedAt: Date;
8251
8323
  deletedAt: Date | null;
@@ -8254,7 +8326,6 @@ export declare const cxLogContract: {
8254
8326
  bucketName: string;
8255
8327
  fileSize: number;
8256
8328
  fileUrl: string | null;
8257
- status?: string | undefined;
8258
8329
  }[];
8259
8330
  }[];
8260
8331
  company: {
@@ -8337,6 +8408,7 @@ export declare const cxLogContract: {
8337
8408
  } | null | undefined;
8338
8409
  upload?: {
8339
8410
  id: string;
8411
+ status: string | null;
8340
8412
  createdAt: Date;
8341
8413
  updatedAt: Date;
8342
8414
  deletedAt: Date | null;
@@ -8345,7 +8417,6 @@ export declare const cxLogContract: {
8345
8417
  bucketName: string;
8346
8418
  fileSize: number;
8347
8419
  fileUrl: string | null;
8348
- status?: string | undefined;
8349
8420
  } | null | undefined;
8350
8421
  extension?: {
8351
8422
  id: string;
@@ -8541,6 +8612,16 @@ export declare const cxLogContract: {
8541
8612
  };
8542
8613
  } | null;
8543
8614
  contactLabel: string[];
8615
+ cxIntelligence: {
8616
+ id: string;
8617
+ summary: string;
8618
+ cxLogId: string;
8619
+ intelligenceType: string;
8620
+ provider: string;
8621
+ transcript: string;
8622
+ usage: number;
8623
+ usageUnit: string;
8624
+ };
8544
8625
  }>, "many">;
8545
8626
  }, "strip", z.ZodTypeAny, {
8546
8627
  total: number;
@@ -8588,6 +8669,7 @@ export declare const cxLogContract: {
8588
8669
  dateValue: Date | null;
8589
8670
  uploads: {
8590
8671
  id: string;
8672
+ status: string | null;
8591
8673
  createdAt: Date;
8592
8674
  updatedAt: Date;
8593
8675
  deletedAt: Date | null;
@@ -8596,7 +8678,6 @@ export declare const cxLogContract: {
8596
8678
  bucketName: string;
8597
8679
  fileSize: number;
8598
8680
  fileUrl: string | null;
8599
- status?: string | undefined;
8600
8681
  }[];
8601
8682
  }[];
8602
8683
  company: {
@@ -8757,15 +8838,18 @@ export declare const cxLogContract: {
8757
8838
  additionalCredentials?: any;
8758
8839
  senderId?: string | undefined;
8759
8840
  whatsapp?: {
8760
- email: string;
8761
- wabaExternalId: string;
8762
- phoneNumberId: string;
8763
- wabaBusinessId?: string | undefined;
8764
- clientId?: string | undefined;
8765
- channelId?: string | undefined;
8766
- status?: "active" | "pending" | undefined;
8841
+ wabaBusinessId?: string | null | undefined;
8842
+ wabaExternalId?: string | null | undefined;
8843
+ phoneNumberId?: string | null | undefined;
8844
+ email?: string | null | undefined;
8845
+ clientId?: string | null | undefined;
8846
+ channelId?: string | null | undefined;
8847
+ waapiInstanceId?: string | null | undefined;
8848
+ qr?: string | null | undefined;
8849
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8767
8850
  apiKey?: string | undefined;
8768
8851
  tier?: "basic" | "regular" | "premium" | undefined;
8852
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8769
8853
  } | undefined;
8770
8854
  vonageCredentials?: {
8771
8855
  apiKey: string;
@@ -8937,6 +9021,7 @@ export declare const cxLogContract: {
8937
9021
  dateValue: Date | null;
8938
9022
  uploads: {
8939
9023
  id: string;
9024
+ status: string | null;
8940
9025
  createdAt: Date;
8941
9026
  updatedAt: Date;
8942
9027
  deletedAt: Date | null;
@@ -8945,7 +9030,6 @@ export declare const cxLogContract: {
8945
9030
  bucketName: string;
8946
9031
  fileSize: number;
8947
9032
  fileUrl: string | null;
8948
- status?: string | undefined;
8949
9033
  }[];
8950
9034
  }[];
8951
9035
  company: {
@@ -9176,6 +9260,7 @@ export declare const cxLogContract: {
9176
9260
  dateValue: Date | null;
9177
9261
  uploads: {
9178
9262
  id: string;
9263
+ status: string | null;
9179
9264
  createdAt: Date;
9180
9265
  updatedAt: Date;
9181
9266
  deletedAt: Date | null;
@@ -9184,7 +9269,6 @@ export declare const cxLogContract: {
9184
9269
  bucketName: string;
9185
9270
  fileSize: number;
9186
9271
  fileUrl: string | null;
9187
- status?: string | undefined;
9188
9272
  }[];
9189
9273
  }[];
9190
9274
  company: {
@@ -9267,6 +9351,7 @@ export declare const cxLogContract: {
9267
9351
  } | null | undefined;
9268
9352
  upload?: {
9269
9353
  id: string;
9354
+ status: string | null;
9270
9355
  createdAt: Date;
9271
9356
  updatedAt: Date;
9272
9357
  deletedAt: Date | null;
@@ -9275,7 +9360,6 @@ export declare const cxLogContract: {
9275
9360
  bucketName: string;
9276
9361
  fileSize: number;
9277
9362
  fileUrl: string | null;
9278
- status?: string | undefined;
9279
9363
  } | null | undefined;
9280
9364
  extension?: {
9281
9365
  id: string;
@@ -9471,6 +9555,16 @@ export declare const cxLogContract: {
9471
9555
  };
9472
9556
  } | null;
9473
9557
  contactLabel: string[];
9558
+ cxIntelligence: {
9559
+ id: string;
9560
+ summary: string;
9561
+ cxLogId: string;
9562
+ intelligenceType: string;
9563
+ provider: string;
9564
+ transcript: string;
9565
+ usage: number;
9566
+ usageUnit: string;
9567
+ };
9474
9568
  }[];
9475
9569
  }, {
9476
9570
  total: number;
@@ -9518,6 +9612,7 @@ export declare const cxLogContract: {
9518
9612
  dateValue: Date | null;
9519
9613
  uploads: {
9520
9614
  id: string;
9615
+ status: string | null;
9521
9616
  createdAt: Date;
9522
9617
  updatedAt: Date;
9523
9618
  deletedAt: Date | null;
@@ -9526,7 +9621,6 @@ export declare const cxLogContract: {
9526
9621
  bucketName: string;
9527
9622
  fileSize: number;
9528
9623
  fileUrl: string | null;
9529
- status?: string | undefined;
9530
9624
  }[];
9531
9625
  }[];
9532
9626
  company: {
@@ -9687,15 +9781,18 @@ export declare const cxLogContract: {
9687
9781
  additionalCredentials?: any;
9688
9782
  senderId?: string | undefined;
9689
9783
  whatsapp?: {
9690
- email: string;
9691
- wabaExternalId: string;
9692
- phoneNumberId: string;
9693
- wabaBusinessId?: string | undefined;
9694
- clientId?: string | undefined;
9695
- channelId?: string | undefined;
9696
- status?: "active" | "pending" | undefined;
9784
+ wabaBusinessId?: string | null | undefined;
9785
+ wabaExternalId?: string | null | undefined;
9786
+ phoneNumberId?: string | null | undefined;
9787
+ email?: string | null | undefined;
9788
+ clientId?: string | null | undefined;
9789
+ channelId?: string | null | undefined;
9790
+ waapiInstanceId?: string | null | undefined;
9791
+ qr?: string | null | undefined;
9792
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9697
9793
  apiKey?: string | undefined;
9698
9794
  tier?: "basic" | "regular" | "premium" | undefined;
9795
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9699
9796
  } | undefined;
9700
9797
  vonageCredentials?: {
9701
9798
  apiKey: string;
@@ -9867,6 +9964,7 @@ export declare const cxLogContract: {
9867
9964
  dateValue: Date | null;
9868
9965
  uploads: {
9869
9966
  id: string;
9967
+ status: string | null;
9870
9968
  createdAt: Date;
9871
9969
  updatedAt: Date;
9872
9970
  deletedAt: Date | null;
@@ -9875,7 +9973,6 @@ export declare const cxLogContract: {
9875
9973
  bucketName: string;
9876
9974
  fileSize: number;
9877
9975
  fileUrl: string | null;
9878
- status?: string | undefined;
9879
9976
  }[];
9880
9977
  }[];
9881
9978
  company: {
@@ -10106,6 +10203,7 @@ export declare const cxLogContract: {
10106
10203
  dateValue: Date | null;
10107
10204
  uploads: {
10108
10205
  id: string;
10206
+ status: string | null;
10109
10207
  createdAt: Date;
10110
10208
  updatedAt: Date;
10111
10209
  deletedAt: Date | null;
@@ -10114,7 +10212,6 @@ export declare const cxLogContract: {
10114
10212
  bucketName: string;
10115
10213
  fileSize: number;
10116
10214
  fileUrl: string | null;
10117
- status?: string | undefined;
10118
10215
  }[];
10119
10216
  }[];
10120
10217
  company: {
@@ -10197,6 +10294,7 @@ export declare const cxLogContract: {
10197
10294
  } | null | undefined;
10198
10295
  upload?: {
10199
10296
  id: string;
10297
+ status: string | null;
10200
10298
  createdAt: Date;
10201
10299
  updatedAt: Date;
10202
10300
  deletedAt: Date | null;
@@ -10205,7 +10303,6 @@ export declare const cxLogContract: {
10205
10303
  bucketName: string;
10206
10304
  fileSize: number;
10207
10305
  fileUrl: string | null;
10208
- status?: string | undefined;
10209
10306
  } | null | undefined;
10210
10307
  extension?: {
10211
10308
  id: string;
@@ -10401,6 +10498,16 @@ export declare const cxLogContract: {
10401
10498
  };
10402
10499
  } | null;
10403
10500
  contactLabel: string[];
10501
+ cxIntelligence: {
10502
+ id: string;
10503
+ summary: string;
10504
+ cxLogId: string;
10505
+ intelligenceType: string;
10506
+ provider: string;
10507
+ transcript: string;
10508
+ usage: number;
10509
+ usageUnit: string;
10510
+ };
10404
10511
  }[];
10405
10512
  }>;
10406
10513
  401: z.ZodObject<{
@@ -10562,6 +10669,51 @@ export declare const cxLogContract: {
10562
10669
  'x-client-timezone'?: string | undefined;
10563
10670
  }>>>;
10564
10671
  };
10672
+ syncSla: {
10673
+ body: null;
10674
+ summary: "Export cx-logs";
10675
+ method: "POST";
10676
+ responses: {
10677
+ 200: null;
10678
+ 401: z.ZodObject<{
10679
+ message: z.ZodString;
10680
+ error: z.ZodAny;
10681
+ }, "strip", z.ZodTypeAny, {
10682
+ message: string;
10683
+ error?: any;
10684
+ }, {
10685
+ message: string;
10686
+ error?: any;
10687
+ }>;
10688
+ 500: z.ZodObject<{
10689
+ message: z.ZodString;
10690
+ error: z.ZodAny;
10691
+ }, "strip", z.ZodTypeAny, {
10692
+ message: string;
10693
+ error?: any;
10694
+ }, {
10695
+ message: string;
10696
+ error?: any;
10697
+ }>;
10698
+ };
10699
+ path: "/cx-logs/sync-sla";
10700
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10701
+ 'x-tenant': z.ZodString;
10702
+ authorization: z.ZodString;
10703
+ 'x-code': z.ZodOptional<z.ZodString>;
10704
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10705
+ }, "strip", z.ZodTypeAny, {
10706
+ 'x-tenant': string;
10707
+ authorization: string;
10708
+ 'x-client-timezone': string;
10709
+ 'x-code'?: string | undefined;
10710
+ }, {
10711
+ 'x-tenant': string;
10712
+ authorization: string;
10713
+ 'x-code'?: string | undefined;
10714
+ 'x-client-timezone'?: string | undefined;
10715
+ }>>>;
10716
+ };
10565
10717
  updateSla: {
10566
10718
  body: z.ZodObject<{
10567
10719
  roomId: z.ZodString;