@kl1/contracts 1.0.47 → 1.0.49

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 (69) hide show
  1. package/dist/index.js +3441 -3175
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3441 -3175
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +7 -7
  6. package/dist/src/activity-log/schema.d.ts +7 -7
  7. package/dist/src/attribute/index.d.ts +12 -12
  8. package/dist/src/attribute/schema.d.ts +2 -2
  9. package/dist/src/auth/index.d.ts +7 -7
  10. package/dist/src/call-log/schema.d.ts +3 -3
  11. package/dist/src/channel/index.d.ts +36 -36
  12. package/dist/src/channel/schema.d.ts +8 -10
  13. package/dist/src/channel/schema.d.ts.map +1 -1
  14. package/dist/src/chat/index.d.ts +564 -561
  15. package/dist/src/chat/index.d.ts.map +1 -1
  16. package/dist/src/chat/schema.d.ts +127 -121
  17. package/dist/src/chat/schema.d.ts.map +1 -1
  18. package/dist/src/chat/validation.d.ts +183 -180
  19. package/dist/src/chat/validation.d.ts.map +1 -1
  20. package/dist/src/comment/index.d.ts +212 -212
  21. package/dist/src/comment/schema.d.ts +60 -60
  22. package/dist/src/company/index.d.ts +32 -32
  23. package/dist/src/company/schema.d.ts +10 -10
  24. package/dist/src/company/validation.d.ts +18 -18
  25. package/dist/src/contact/index.d.ts +88 -88
  26. package/dist/src/contact/schema.d.ts +14 -14
  27. package/dist/src/contact/validation.d.ts +72 -72
  28. package/dist/src/contract.d.ts +9174 -2386
  29. package/dist/src/contract.d.ts.map +1 -1
  30. package/dist/src/custom-field/schema.d.ts +2 -2
  31. package/dist/src/cx-log/index.d.ts +118 -118
  32. package/dist/src/cx-log/schema.d.ts +98 -98
  33. package/dist/src/extension/index.d.ts +33 -27
  34. package/dist/src/extension/index.d.ts.map +1 -1
  35. package/dist/src/extension/schema.d.ts +3 -3
  36. package/dist/src/extension/validation.d.ts +12 -6
  37. package/dist/src/extension/validation.d.ts.map +1 -1
  38. package/dist/src/instagram/index.d.ts +6643 -0
  39. package/dist/src/instagram/index.d.ts.map +1 -0
  40. package/dist/src/instagram/schema.d.ts +2 -0
  41. package/dist/src/instagram/schema.d.ts.map +1 -0
  42. package/dist/src/instagram/validation.d.ts +109 -0
  43. package/dist/src/instagram/validation.d.ts.map +1 -0
  44. package/dist/src/mail/mail-contract.d.ts +12 -12
  45. package/dist/src/mail/room-contract.d.ts +12 -12
  46. package/dist/src/mail/schemas/room-validation.schema.d.ts +4 -4
  47. package/dist/src/mail/schemas/room.schema.d.ts +2 -2
  48. package/dist/src/messenger/index.d.ts +94 -94
  49. package/dist/src/telephony-agent-presence-status/index.d.ts +23 -23
  50. package/dist/src/telephony-agent-presence-status/schema.d.ts +7 -7
  51. package/dist/src/telephony-cdr/index.d.ts +99 -99
  52. package/dist/src/telephony-cdr/schema.d.ts +32 -32
  53. package/dist/src/ticket/index.d.ts +214 -214
  54. package/dist/src/ticket/schema.d.ts +36 -36
  55. package/dist/src/user/index.d.ts +23 -23
  56. package/dist/src/user/schema.d.ts +5 -5
  57. package/dist/src/user-presence-status-log/index.d.ts +4 -4
  58. package/dist/src/user-presence-status-log/schema.d.ts +7 -7
  59. package/dist/src/wrap-up-form/index.d.ts +143 -1
  60. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  61. package/dist/src/wrap-up-form/validation.d.ts +13 -0
  62. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  63. package/package.json +1 -1
  64. package/dist/src/app/index.d.ts +0 -17
  65. package/dist/src/app/index.d.ts.map +0 -1
  66. package/dist/src/mail/mail-server.d.ts +0 -216
  67. package/dist/src/mail/mail-server.d.ts.map +0 -1
  68. package/dist/src/platform-contact/schema.d.ts +0 -30
  69. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -29,23 +29,23 @@ export declare const GetRoomsSchema: z.ZodObject<{
29
29
  createdAt: Date;
30
30
  updatedAt: Date;
31
31
  deletedAt: Date | null;
32
+ entityId: string;
32
33
  attributeId: string;
33
34
  textValue: string | null;
34
35
  booleanValue: boolean | null;
35
36
  numberValue: number | null;
36
37
  dateValue: Date | null;
37
- entityId: string;
38
38
  }, {
39
39
  id: string;
40
40
  createdAt: Date;
41
41
  updatedAt: Date;
42
42
  deletedAt: Date | null;
43
+ entityId: string;
43
44
  attributeId: string;
44
45
  textValue: string | null;
45
46
  booleanValue: boolean | null;
46
47
  numberValue: number | null;
47
48
  dateValue: Date | null;
48
- entityId: string;
49
49
  }>, "many">>;
50
50
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51
51
  phone: z.ZodOptional<z.ZodString>;
@@ -74,12 +74,12 @@ export declare const GetRoomsSchema: z.ZodObject<{
74
74
  createdAt: Date;
75
75
  updatedAt: Date;
76
76
  deletedAt: Date | null;
77
+ entityId: string;
77
78
  attributeId: string;
78
79
  textValue: string | null;
79
80
  booleanValue: boolean | null;
80
81
  numberValue: number | null;
81
82
  dateValue: Date | null;
82
- entityId: string;
83
83
  }[] | undefined;
84
84
  tags?: string[] | undefined;
85
85
  phone?: string | undefined;
@@ -106,12 +106,12 @@ export declare const GetRoomsSchema: z.ZodObject<{
106
106
  createdAt: Date;
107
107
  updatedAt: Date;
108
108
  deletedAt: Date | null;
109
+ entityId: string;
109
110
  attributeId: string;
110
111
  textValue: string | null;
111
112
  booleanValue: boolean | null;
112
113
  numberValue: number | null;
113
114
  dateValue: Date | null;
114
- entityId: string;
115
115
  }[] | undefined;
116
116
  tags?: string[] | undefined;
117
117
  phone?: string | undefined;
@@ -241,7 +241,7 @@ export declare const StickerSchema: z.ZodObject<{
241
241
  }>;
242
242
  export declare const SendMessageSchema: z.ZodObject<{
243
243
  roomId: z.ZodString;
244
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
244
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
245
245
  message: z.ZodOptional<z.ZodString>;
246
246
  messageAttachments: z.ZodOptional<z.ZodObject<{
247
247
  bucketName: z.ZodString;
@@ -357,7 +357,7 @@ export declare const SendMessageSchema: z.ZodObject<{
357
357
  sipServerUrl: z.ZodString;
358
358
  sipUserName: z.ZodString;
359
359
  webphoneLoginUser: z.ZodString;
360
- extensionId: z.ZodNumber;
360
+ extensionId: z.ZodNullable<z.ZodString>;
361
361
  extensionName: z.ZodString;
362
362
  telephonySignature: z.ZodNullable<z.ZodString>;
363
363
  }, "strip", z.ZodTypeAny, {
@@ -369,7 +369,7 @@ export declare const SendMessageSchema: z.ZodObject<{
369
369
  sipServerUrl: string;
370
370
  sipUserName: string;
371
371
  webphoneLoginUser: string;
372
- extensionId: number;
372
+ extensionId: string | null;
373
373
  extensionName: string;
374
374
  telephonySignature: string | null;
375
375
  }, {
@@ -381,7 +381,7 @@ export declare const SendMessageSchema: z.ZodObject<{
381
381
  sipServerUrl: string;
382
382
  sipUserName: string;
383
383
  webphoneLoginUser: string;
384
- extensionId: number;
384
+ extensionId: string | null;
385
385
  extensionName: string;
386
386
  telephonySignature: string | null;
387
387
  }>;
@@ -424,7 +424,7 @@ export declare const SendMessageSchema: z.ZodObject<{
424
424
  sipServerUrl: string;
425
425
  sipUserName: string;
426
426
  webphoneLoginUser: string;
427
- extensionId: number;
427
+ extensionId: string | null;
428
428
  extensionName: string;
429
429
  telephonySignature: string | null;
430
430
  };
@@ -467,7 +467,7 @@ export declare const SendMessageSchema: z.ZodObject<{
467
467
  sipServerUrl: string;
468
468
  sipUserName: string;
469
469
  webphoneLoginUser: string;
470
- extensionId: number;
470
+ extensionId: string | null;
471
471
  extensionName: string;
472
472
  telephonySignature: string | null;
473
473
  };
@@ -482,8 +482,9 @@ export declare const SendMessageSchema: z.ZodObject<{
482
482
  packageId?: number | undefined;
483
483
  stickerId?: number | undefined;
484
484
  }>>;
485
+ file: z.ZodOptional<z.ZodType<File, z.ZodTypeDef, File>>;
485
486
  }, "strip", z.ZodTypeAny, {
486
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
487
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
487
488
  roomId: string;
488
489
  message?: string | undefined;
489
490
  messageAttachments?: {
@@ -534,7 +535,7 @@ export declare const SendMessageSchema: z.ZodObject<{
534
535
  sipServerUrl: string;
535
536
  sipUserName: string;
536
537
  webphoneLoginUser: string;
537
- extensionId: number;
538
+ extensionId: string | null;
538
539
  extensionName: string;
539
540
  telephonySignature: string | null;
540
541
  };
@@ -543,8 +544,9 @@ export declare const SendMessageSchema: z.ZodObject<{
543
544
  packageId?: number | undefined;
544
545
  stickerId?: number | undefined;
545
546
  } | undefined;
547
+ file?: File | undefined;
546
548
  }, {
547
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
549
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
548
550
  roomId: string;
549
551
  message?: string | undefined;
550
552
  messageAttachments?: {
@@ -595,7 +597,7 @@ export declare const SendMessageSchema: z.ZodObject<{
595
597
  sipServerUrl: string;
596
598
  sipUserName: string;
597
599
  webphoneLoginUser: string;
598
- extensionId: number;
600
+ extensionId: string | null;
599
601
  extensionName: string;
600
602
  telephonySignature: string | null;
601
603
  };
@@ -604,6 +606,7 @@ export declare const SendMessageSchema: z.ZodObject<{
604
606
  packageId?: number | undefined;
605
607
  stickerId?: number | undefined;
606
608
  } | undefined;
609
+ file?: File | undefined;
607
610
  }>;
608
611
  export declare const SolveRoomSchema: z.ZodObject<{
609
612
  roomId: z.ZodString;
@@ -1022,7 +1025,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1022
1025
  message: z.ZodObject<{
1023
1026
  message: z.ZodOptional<z.ZodString>;
1024
1027
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1025
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
1028
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
1026
1029
  readAt: z.ZodOptional<z.ZodDate>;
1027
1030
  metadata: z.ZodOptional<z.ZodAny>;
1028
1031
  platformId: z.ZodOptional<z.ZodString>;
@@ -1066,7 +1069,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1066
1069
  phone: string | null;
1067
1070
  }>;
1068
1071
  }, "strip", z.ZodTypeAny, {
1069
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
1072
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
1070
1073
  direction: "incoming" | "outgoing" | "system";
1071
1074
  sender: {
1072
1075
  address: string | null;
@@ -1092,7 +1095,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1092
1095
  fileSize: number;
1093
1096
  } | undefined;
1094
1097
  }, {
1095
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
1098
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
1096
1099
  direction: "incoming" | "outgoing" | "system";
1097
1100
  sender: {
1098
1101
  address: string | null;
@@ -1120,7 +1123,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1120
1123
  }>;
1121
1124
  }, "strip", z.ZodTypeAny, {
1122
1125
  message: {
1123
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
1126
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
1124
1127
  direction: "incoming" | "outgoing" | "system";
1125
1128
  sender: {
1126
1129
  address: string | null;
@@ -1202,7 +1205,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1202
1205
  };
1203
1206
  }, {
1204
1207
  message: {
1205
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
1208
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
1206
1209
  direction: "incoming" | "outgoing" | "system";
1207
1210
  sender: {
1208
1211
  address: string | null;
@@ -1292,7 +1295,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1292
1295
  deletedAt: z.ZodNullable<z.ZodDate>;
1293
1296
  message: z.ZodString;
1294
1297
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1295
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
1298
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
1296
1299
  readAt: z.ZodDate;
1297
1300
  metadata: z.ZodAny;
1298
1301
  platformId: z.ZodString;
@@ -1449,9 +1452,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1449
1452
  createdAt: Date;
1450
1453
  updatedAt: Date;
1451
1454
  deletedAt: Date | null;
1452
- isDefault: boolean;
1453
1455
  systemName: string;
1454
1456
  displayName: string;
1457
+ isDefault: boolean;
1455
1458
  isArchived: boolean;
1456
1459
  isRequired: boolean;
1457
1460
  isUnique: boolean;
@@ -1462,9 +1465,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1462
1465
  createdAt: Date;
1463
1466
  updatedAt: Date;
1464
1467
  deletedAt: Date | null;
1465
- isDefault: boolean;
1466
1468
  systemName: string;
1467
1469
  displayName: string;
1470
+ isDefault: boolean;
1468
1471
  isArchived: boolean;
1469
1472
  isRequired: boolean;
1470
1473
  isUnique: boolean;
@@ -1481,9 +1484,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1481
1484
  createdAt: Date;
1482
1485
  updatedAt: Date;
1483
1486
  deletedAt: Date | null;
1484
- isDefault: boolean;
1485
1487
  systemName: string;
1486
1488
  displayName: string;
1489
+ isDefault: boolean;
1487
1490
  isArchived: boolean;
1488
1491
  isRequired: boolean;
1489
1492
  isUnique: boolean;
@@ -1504,9 +1507,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1504
1507
  createdAt: Date;
1505
1508
  updatedAt: Date;
1506
1509
  deletedAt: Date | null;
1507
- isDefault: boolean;
1508
1510
  systemName: string;
1509
1511
  displayName: string;
1512
+ isDefault: boolean;
1510
1513
  isArchived: boolean;
1511
1514
  isRequired: boolean;
1512
1515
  isUnique: boolean;
@@ -1605,9 +1608,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1605
1608
  createdAt: Date;
1606
1609
  updatedAt: Date;
1607
1610
  deletedAt: Date | null;
1608
- isDefault: boolean;
1609
1611
  systemName: string;
1610
1612
  displayName: string;
1613
+ isDefault: boolean;
1611
1614
  isArchived: boolean;
1612
1615
  isRequired: boolean;
1613
1616
  isUnique: boolean;
@@ -1618,9 +1621,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1618
1621
  createdAt: Date;
1619
1622
  updatedAt: Date;
1620
1623
  deletedAt: Date | null;
1621
- isDefault: boolean;
1622
1624
  systemName: string;
1623
1625
  displayName: string;
1626
+ isDefault: boolean;
1624
1627
  isArchived: boolean;
1625
1628
  isRequired: boolean;
1626
1629
  isUnique: boolean;
@@ -1714,9 +1717,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1714
1717
  createdAt: Date;
1715
1718
  updatedAt: Date;
1716
1719
  deletedAt: Date | null;
1717
- isDefault: boolean;
1718
1720
  systemName: string;
1719
1721
  displayName: string;
1722
+ isDefault: boolean;
1720
1723
  isArchived: boolean;
1721
1724
  isRequired: boolean;
1722
1725
  isUnique: boolean;
@@ -1756,9 +1759,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1756
1759
  createdAt: Date;
1757
1760
  updatedAt: Date;
1758
1761
  deletedAt: Date | null;
1759
- isDefault: boolean;
1760
1762
  systemName: string;
1761
1763
  displayName: string;
1764
+ isDefault: boolean;
1762
1765
  isArchived: boolean;
1763
1766
  isRequired: boolean;
1764
1767
  isUnique: boolean;
@@ -1911,9 +1914,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1911
1914
  createdAt: Date;
1912
1915
  updatedAt: Date;
1913
1916
  deletedAt: Date | null;
1914
- isDefault: boolean;
1915
1917
  systemName: string;
1916
1918
  displayName: string;
1919
+ isDefault: boolean;
1917
1920
  isArchived: boolean;
1918
1921
  isRequired: boolean;
1919
1922
  isUnique: boolean;
@@ -2014,9 +2017,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2014
2017
  createdAt: Date;
2015
2018
  updatedAt: Date;
2016
2019
  deletedAt: Date | null;
2017
- isDefault: boolean;
2018
2020
  systemName: string;
2019
2021
  displayName: string;
2022
+ isDefault: boolean;
2020
2023
  isArchived: boolean;
2021
2024
  isRequired: boolean;
2022
2025
  isUnique: boolean;
@@ -2131,9 +2134,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2131
2134
  createdAt: Date;
2132
2135
  updatedAt: Date;
2133
2136
  deletedAt: Date | null;
2134
- isDefault: boolean;
2135
2137
  systemName: string;
2136
2138
  displayName: string;
2139
+ isDefault: boolean;
2137
2140
  isArchived: boolean;
2138
2141
  isRequired: boolean;
2139
2142
  isUnique: boolean;
@@ -2249,9 +2252,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2249
2252
  createdAt: Date;
2250
2253
  updatedAt: Date;
2251
2254
  deletedAt: Date | null;
2252
- isDefault: boolean;
2253
2255
  systemName: string;
2254
2256
  displayName: string;
2257
+ isDefault: boolean;
2255
2258
  isArchived: boolean;
2256
2259
  isRequired: boolean;
2257
2260
  isUnique: boolean;
@@ -2424,7 +2427,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2424
2427
  sipServerUrl: z.ZodString;
2425
2428
  sipUserName: z.ZodString;
2426
2429
  webphoneLoginUser: z.ZodString;
2427
- extensionId: z.ZodNumber;
2430
+ extensionId: z.ZodNullable<z.ZodString>;
2428
2431
  extensionName: z.ZodString;
2429
2432
  telephonySignature: z.ZodNullable<z.ZodString>;
2430
2433
  }, "strip", z.ZodTypeAny, {
@@ -2436,7 +2439,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2436
2439
  sipServerUrl: string;
2437
2440
  sipUserName: string;
2438
2441
  webphoneLoginUser: string;
2439
- extensionId: number;
2442
+ extensionId: string | null;
2440
2443
  extensionName: string;
2441
2444
  telephonySignature: string | null;
2442
2445
  }, {
@@ -2448,7 +2451,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2448
2451
  sipServerUrl: string;
2449
2452
  sipUserName: string;
2450
2453
  webphoneLoginUser: string;
2451
- extensionId: number;
2454
+ extensionId: string | null;
2452
2455
  extensionName: string;
2453
2456
  telephonySignature: string | null;
2454
2457
  }>;
@@ -2491,7 +2494,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2491
2494
  sipServerUrl: string;
2492
2495
  sipUserName: string;
2493
2496
  webphoneLoginUser: string;
2494
- extensionId: number;
2497
+ extensionId: string | null;
2495
2498
  extensionName: string;
2496
2499
  telephonySignature: string | null;
2497
2500
  };
@@ -2534,7 +2537,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2534
2537
  sipServerUrl: string;
2535
2538
  sipUserName: string;
2536
2539
  webphoneLoginUser: string;
2537
- extensionId: number;
2540
+ extensionId: string | null;
2538
2541
  extensionName: string;
2539
2542
  telephonySignature: string | null;
2540
2543
  };
@@ -2628,7 +2631,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2628
2631
  sipServerUrl: z.ZodString;
2629
2632
  sipUserName: z.ZodString;
2630
2633
  webphoneLoginUser: z.ZodString;
2631
- extensionId: z.ZodNumber;
2634
+ extensionId: z.ZodNullable<z.ZodString>;
2632
2635
  extensionName: z.ZodString;
2633
2636
  telephonySignature: z.ZodNullable<z.ZodString>;
2634
2637
  }, "strip", z.ZodTypeAny, {
@@ -2640,7 +2643,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2640
2643
  sipServerUrl: string;
2641
2644
  sipUserName: string;
2642
2645
  webphoneLoginUser: string;
2643
- extensionId: number;
2646
+ extensionId: string | null;
2644
2647
  extensionName: string;
2645
2648
  telephonySignature: string | null;
2646
2649
  }, {
@@ -2652,7 +2655,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2652
2655
  sipServerUrl: string;
2653
2656
  sipUserName: string;
2654
2657
  webphoneLoginUser: string;
2655
- extensionId: number;
2658
+ extensionId: string | null;
2656
2659
  extensionName: string;
2657
2660
  telephonySignature: string | null;
2658
2661
  }>;
@@ -2695,7 +2698,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2695
2698
  sipServerUrl: string;
2696
2699
  sipUserName: string;
2697
2700
  webphoneLoginUser: string;
2698
- extensionId: number;
2701
+ extensionId: string | null;
2699
2702
  extensionName: string;
2700
2703
  telephonySignature: string | null;
2701
2704
  };
@@ -2738,7 +2741,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2738
2741
  sipServerUrl: string;
2739
2742
  sipUserName: string;
2740
2743
  webphoneLoginUser: string;
2741
- extensionId: number;
2744
+ extensionId: string | null;
2742
2745
  extensionName: string;
2743
2746
  telephonySignature: string | null;
2744
2747
  };
@@ -2861,7 +2864,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2861
2864
  sipServerUrl: z.ZodString;
2862
2865
  sipUserName: z.ZodString;
2863
2866
  webphoneLoginUser: z.ZodString;
2864
- extensionId: z.ZodNumber;
2867
+ extensionId: z.ZodNullable<z.ZodString>;
2865
2868
  extensionName: z.ZodString;
2866
2869
  telephonySignature: z.ZodNullable<z.ZodString>;
2867
2870
  }, "strip", z.ZodTypeAny, {
@@ -2873,7 +2876,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2873
2876
  sipServerUrl: string;
2874
2877
  sipUserName: string;
2875
2878
  webphoneLoginUser: string;
2876
- extensionId: number;
2879
+ extensionId: string | null;
2877
2880
  extensionName: string;
2878
2881
  telephonySignature: string | null;
2879
2882
  }, {
@@ -2885,7 +2888,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2885
2888
  sipServerUrl: string;
2886
2889
  sipUserName: string;
2887
2890
  webphoneLoginUser: string;
2888
- extensionId: number;
2891
+ extensionId: string | null;
2889
2892
  extensionName: string;
2890
2893
  telephonySignature: string | null;
2891
2894
  }>;
@@ -2928,7 +2931,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2928
2931
  sipServerUrl: string;
2929
2932
  sipUserName: string;
2930
2933
  webphoneLoginUser: string;
2931
- extensionId: number;
2934
+ extensionId: string | null;
2932
2935
  extensionName: string;
2933
2936
  telephonySignature: string | null;
2934
2937
  };
@@ -2971,7 +2974,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2971
2974
  sipServerUrl: string;
2972
2975
  sipUserName: string;
2973
2976
  webphoneLoginUser: string;
2974
- extensionId: number;
2977
+ extensionId: string | null;
2975
2978
  extensionName: string;
2976
2979
  telephonySignature: string | null;
2977
2980
  };
@@ -3034,7 +3037,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3034
3037
  sipServerUrl: string;
3035
3038
  sipUserName: string;
3036
3039
  webphoneLoginUser: string;
3037
- extensionId: number;
3040
+ extensionId: string | null;
3038
3041
  extensionName: string;
3039
3042
  telephonySignature: string | null;
3040
3043
  };
@@ -3097,7 +3100,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3097
3100
  sipServerUrl: string;
3098
3101
  sipUserName: string;
3099
3102
  webphoneLoginUser: string;
3100
- extensionId: number;
3103
+ extensionId: string | null;
3101
3104
  extensionName: string;
3102
3105
  telephonySignature: string | null;
3103
3106
  };
@@ -3295,7 +3298,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3295
3298
  sipServerUrl: string;
3296
3299
  sipUserName: string;
3297
3300
  webphoneLoginUser: string;
3298
- extensionId: number;
3301
+ extensionId: string | null;
3299
3302
  extensionName: string;
3300
3303
  telephonySignature: string | null;
3301
3304
  };
@@ -3340,9 +3343,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3340
3343
  createdAt: Date;
3341
3344
  updatedAt: Date;
3342
3345
  deletedAt: Date | null;
3343
- isDefault: boolean;
3344
3346
  systemName: string;
3345
3347
  displayName: string;
3348
+ isDefault: boolean;
3346
3349
  isArchived: boolean;
3347
3350
  isRequired: boolean;
3348
3351
  isUnique: boolean;
@@ -3465,7 +3468,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3465
3468
  sipServerUrl: string;
3466
3469
  sipUserName: string;
3467
3470
  webphoneLoginUser: string;
3468
- extensionId: number;
3471
+ extensionId: string | null;
3469
3472
  extensionName: string;
3470
3473
  telephonySignature: string | null;
3471
3474
  };
@@ -3563,7 +3566,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3563
3566
  sipServerUrl: string;
3564
3567
  sipUserName: string;
3565
3568
  webphoneLoginUser: string;
3566
- extensionId: number;
3569
+ extensionId: string | null;
3567
3570
  extensionName: string;
3568
3571
  telephonySignature: string | null;
3569
3572
  };
@@ -3614,7 +3617,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3614
3617
  sipServerUrl: string;
3615
3618
  sipUserName: string;
3616
3619
  webphoneLoginUser: string;
3617
- extensionId: number;
3620
+ extensionId: string | null;
3618
3621
  extensionName: string;
3619
3622
  telephonySignature: string | null;
3620
3623
  };
@@ -3659,9 +3662,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3659
3662
  createdAt: Date;
3660
3663
  updatedAt: Date;
3661
3664
  deletedAt: Date | null;
3662
- isDefault: boolean;
3663
3665
  systemName: string;
3664
3666
  displayName: string;
3667
+ isDefault: boolean;
3665
3668
  isArchived: boolean;
3666
3669
  isRequired: boolean;
3667
3670
  isUnique: boolean;
@@ -3784,7 +3787,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3784
3787
  sipServerUrl: string;
3785
3788
  sipUserName: string;
3786
3789
  webphoneLoginUser: string;
3787
- extensionId: number;
3790
+ extensionId: string | null;
3788
3791
  extensionName: string;
3789
3792
  telephonySignature: string | null;
3790
3793
  };
@@ -3882,7 +3885,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3882
3885
  sipServerUrl: string;
3883
3886
  sipUserName: string;
3884
3887
  webphoneLoginUser: string;
3885
- extensionId: number;
3888
+ extensionId: string | null;
3886
3889
  extensionName: string;
3887
3890
  telephonySignature: string | null;
3888
3891
  };
@@ -4012,7 +4015,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4012
4015
  sipServerUrl: z.ZodString;
4013
4016
  sipUserName: z.ZodString;
4014
4017
  webphoneLoginUser: z.ZodString;
4015
- extensionId: z.ZodNumber;
4018
+ extensionId: z.ZodNullable<z.ZodString>;
4016
4019
  extensionName: z.ZodString;
4017
4020
  telephonySignature: z.ZodNullable<z.ZodString>;
4018
4021
  }, "strip", z.ZodTypeAny, {
@@ -4024,7 +4027,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4024
4027
  sipServerUrl: string;
4025
4028
  sipUserName: string;
4026
4029
  webphoneLoginUser: string;
4027
- extensionId: number;
4030
+ extensionId: string | null;
4028
4031
  extensionName: string;
4029
4032
  telephonySignature: string | null;
4030
4033
  }, {
@@ -4036,7 +4039,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4036
4039
  sipServerUrl: string;
4037
4040
  sipUserName: string;
4038
4041
  webphoneLoginUser: string;
4039
- extensionId: number;
4042
+ extensionId: string | null;
4040
4043
  extensionName: string;
4041
4044
  telephonySignature: string | null;
4042
4045
  }>;
@@ -4079,7 +4082,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4079
4082
  sipServerUrl: string;
4080
4083
  sipUserName: string;
4081
4084
  webphoneLoginUser: string;
4082
- extensionId: number;
4085
+ extensionId: string | null;
4083
4086
  extensionName: string;
4084
4087
  telephonySignature: string | null;
4085
4088
  };
@@ -4122,7 +4125,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4122
4125
  sipServerUrl: string;
4123
4126
  sipUserName: string;
4124
4127
  webphoneLoginUser: string;
4125
- extensionId: number;
4128
+ extensionId: string | null;
4126
4129
  extensionName: string;
4127
4130
  telephonySignature: string | null;
4128
4131
  };
@@ -4216,7 +4219,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4216
4219
  sipServerUrl: z.ZodString;
4217
4220
  sipUserName: z.ZodString;
4218
4221
  webphoneLoginUser: z.ZodString;
4219
- extensionId: z.ZodNumber;
4222
+ extensionId: z.ZodNullable<z.ZodString>;
4220
4223
  extensionName: z.ZodString;
4221
4224
  telephonySignature: z.ZodNullable<z.ZodString>;
4222
4225
  }, "strip", z.ZodTypeAny, {
@@ -4228,7 +4231,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4228
4231
  sipServerUrl: string;
4229
4232
  sipUserName: string;
4230
4233
  webphoneLoginUser: string;
4231
- extensionId: number;
4234
+ extensionId: string | null;
4232
4235
  extensionName: string;
4233
4236
  telephonySignature: string | null;
4234
4237
  }, {
@@ -4240,7 +4243,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4240
4243
  sipServerUrl: string;
4241
4244
  sipUserName: string;
4242
4245
  webphoneLoginUser: string;
4243
- extensionId: number;
4246
+ extensionId: string | null;
4244
4247
  extensionName: string;
4245
4248
  telephonySignature: string | null;
4246
4249
  }>;
@@ -4283,7 +4286,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4283
4286
  sipServerUrl: string;
4284
4287
  sipUserName: string;
4285
4288
  webphoneLoginUser: string;
4286
- extensionId: number;
4289
+ extensionId: string | null;
4287
4290
  extensionName: string;
4288
4291
  telephonySignature: string | null;
4289
4292
  };
@@ -4326,7 +4329,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4326
4329
  sipServerUrl: string;
4327
4330
  sipUserName: string;
4328
4331
  webphoneLoginUser: string;
4329
- extensionId: number;
4332
+ extensionId: string | null;
4330
4333
  extensionName: string;
4331
4334
  telephonySignature: string | null;
4332
4335
  };
@@ -4420,7 +4423,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4420
4423
  sipServerUrl: z.ZodString;
4421
4424
  sipUserName: z.ZodString;
4422
4425
  webphoneLoginUser: z.ZodString;
4423
- extensionId: z.ZodNumber;
4426
+ extensionId: z.ZodNullable<z.ZodString>;
4424
4427
  extensionName: z.ZodString;
4425
4428
  telephonySignature: z.ZodNullable<z.ZodString>;
4426
4429
  }, "strip", z.ZodTypeAny, {
@@ -4432,7 +4435,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4432
4435
  sipServerUrl: string;
4433
4436
  sipUserName: string;
4434
4437
  webphoneLoginUser: string;
4435
- extensionId: number;
4438
+ extensionId: string | null;
4436
4439
  extensionName: string;
4437
4440
  telephonySignature: string | null;
4438
4441
  }, {
@@ -4444,7 +4447,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4444
4447
  sipServerUrl: string;
4445
4448
  sipUserName: string;
4446
4449
  webphoneLoginUser: string;
4447
- extensionId: number;
4450
+ extensionId: string | null;
4448
4451
  extensionName: string;
4449
4452
  telephonySignature: string | null;
4450
4453
  }>;
@@ -4487,7 +4490,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4487
4490
  sipServerUrl: string;
4488
4491
  sipUserName: string;
4489
4492
  webphoneLoginUser: string;
4490
- extensionId: number;
4493
+ extensionId: string | null;
4491
4494
  extensionName: string;
4492
4495
  telephonySignature: string | null;
4493
4496
  };
@@ -4530,13 +4533,13 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4530
4533
  sipServerUrl: string;
4531
4534
  sipUserName: string;
4532
4535
  webphoneLoginUser: string;
4533
- extensionId: number;
4536
+ extensionId: string | null;
4534
4537
  extensionName: string;
4535
4538
  telephonySignature: string | null;
4536
4539
  };
4537
4540
  }>;
4538
4541
  }, "strip", z.ZodTypeAny, {
4539
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
4542
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
4540
4543
  message: string;
4541
4544
  id: string;
4542
4545
  url: string;
@@ -4544,7 +4547,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4544
4547
  createdAt: Date;
4545
4548
  updatedAt: Date;
4546
4549
  deletedAt: Date | null;
4547
- platformId: string;
4548
4550
  actor: {
4549
4551
  id: string;
4550
4552
  address: string | null;
@@ -4584,11 +4586,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4584
4586
  sipServerUrl: string;
4585
4587
  sipUserName: string;
4586
4588
  webphoneLoginUser: string;
4587
- extensionId: number;
4589
+ extensionId: string | null;
4588
4590
  extensionName: string;
4589
4591
  telephonySignature: string | null;
4590
4592
  };
4591
4593
  };
4594
+ platformId: string;
4592
4595
  upload: {
4593
4596
  id: string;
4594
4597
  createdAt: Date;
@@ -4640,7 +4643,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4640
4643
  sipServerUrl: string;
4641
4644
  sipUserName: string;
4642
4645
  webphoneLoginUser: string;
4643
- extensionId: number;
4646
+ extensionId: string | null;
4644
4647
  extensionName: string;
4645
4648
  telephonySignature: string | null;
4646
4649
  };
@@ -4690,7 +4693,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4690
4693
  sipServerUrl: string;
4691
4694
  sipUserName: string;
4692
4695
  webphoneLoginUser: string;
4693
- extensionId: number;
4696
+ extensionId: string | null;
4694
4697
  extensionName: string;
4695
4698
  telephonySignature: string | null;
4696
4699
  };
@@ -4735,9 +4738,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4735
4738
  createdAt: Date;
4736
4739
  updatedAt: Date;
4737
4740
  deletedAt: Date | null;
4738
- isDefault: boolean;
4739
4741
  systemName: string;
4740
4742
  displayName: string;
4743
+ isDefault: boolean;
4741
4744
  isArchived: boolean;
4742
4745
  isRequired: boolean;
4743
4746
  isUnique: boolean;
@@ -4860,7 +4863,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4860
4863
  sipServerUrl: string;
4861
4864
  sipUserName: string;
4862
4865
  webphoneLoginUser: string;
4863
- extensionId: number;
4866
+ extensionId: string | null;
4864
4867
  extensionName: string;
4865
4868
  telephonySignature: string | null;
4866
4869
  };
@@ -4958,7 +4961,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4958
4961
  sipServerUrl: string;
4959
4962
  sipUserName: string;
4960
4963
  webphoneLoginUser: string;
4961
- extensionId: number;
4964
+ extensionId: string | null;
4962
4965
  extensionName: string;
4963
4966
  telephonySignature: string | null;
4964
4967
  };
@@ -5010,7 +5013,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5010
5013
  sipServerUrl: string;
5011
5014
  sipUserName: string;
5012
5015
  webphoneLoginUser: string;
5013
- extensionId: number;
5016
+ extensionId: string | null;
5014
5017
  extensionName: string;
5015
5018
  telephonySignature: string | null;
5016
5019
  };
@@ -5018,7 +5021,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5018
5021
  metadata?: any;
5019
5022
  template?: any;
5020
5023
  }, {
5021
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
5024
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
5022
5025
  message: string;
5023
5026
  id: string;
5024
5027
  url: string;
@@ -5026,7 +5029,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5026
5029
  createdAt: Date;
5027
5030
  updatedAt: Date;
5028
5031
  deletedAt: Date | null;
5029
- platformId: string;
5030
5032
  actor: {
5031
5033
  id: string;
5032
5034
  address: string | null;
@@ -5066,11 +5068,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5066
5068
  sipServerUrl: string;
5067
5069
  sipUserName: string;
5068
5070
  webphoneLoginUser: string;
5069
- extensionId: number;
5071
+ extensionId: string | null;
5070
5072
  extensionName: string;
5071
5073
  telephonySignature: string | null;
5072
5074
  };
5073
5075
  };
5076
+ platformId: string;
5074
5077
  upload: {
5075
5078
  id: string;
5076
5079
  createdAt: Date;
@@ -5122,7 +5125,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5122
5125
  sipServerUrl: string;
5123
5126
  sipUserName: string;
5124
5127
  webphoneLoginUser: string;
5125
- extensionId: number;
5128
+ extensionId: string | null;
5126
5129
  extensionName: string;
5127
5130
  telephonySignature: string | null;
5128
5131
  };
@@ -5172,7 +5175,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5172
5175
  sipServerUrl: string;
5173
5176
  sipUserName: string;
5174
5177
  webphoneLoginUser: string;
5175
- extensionId: number;
5178
+ extensionId: string | null;
5176
5179
  extensionName: string;
5177
5180
  telephonySignature: string | null;
5178
5181
  };
@@ -5217,9 +5220,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5217
5220
  createdAt: Date;
5218
5221
  updatedAt: Date;
5219
5222
  deletedAt: Date | null;
5220
- isDefault: boolean;
5221
5223
  systemName: string;
5222
5224
  displayName: string;
5225
+ isDefault: boolean;
5223
5226
  isArchived: boolean;
5224
5227
  isRequired: boolean;
5225
5228
  isUnique: boolean;
@@ -5342,7 +5345,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5342
5345
  sipServerUrl: string;
5343
5346
  sipUserName: string;
5344
5347
  webphoneLoginUser: string;
5345
- extensionId: number;
5348
+ extensionId: string | null;
5346
5349
  extensionName: string;
5347
5350
  telephonySignature: string | null;
5348
5351
  };
@@ -5440,7 +5443,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5440
5443
  sipServerUrl: string;
5441
5444
  sipUserName: string;
5442
5445
  webphoneLoginUser: string;
5443
- extensionId: number;
5446
+ extensionId: string | null;
5444
5447
  extensionName: string;
5445
5448
  telephonySignature: string | null;
5446
5449
  };
@@ -5492,7 +5495,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5492
5495
  sipServerUrl: string;
5493
5496
  sipUserName: string;
5494
5497
  webphoneLoginUser: string;
5495
- extensionId: number;
5498
+ extensionId: string | null;
5496
5499
  extensionName: string;
5497
5500
  telephonySignature: string | null;
5498
5501
  };
@@ -5502,7 +5505,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5502
5505
  }>;
5503
5506
  }, "strip", z.ZodTypeAny, {
5504
5507
  data: {
5505
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
5508
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
5506
5509
  message: string;
5507
5510
  id: string;
5508
5511
  url: string;
@@ -5510,7 +5513,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5510
5513
  createdAt: Date;
5511
5514
  updatedAt: Date;
5512
5515
  deletedAt: Date | null;
5513
- platformId: string;
5514
5516
  actor: {
5515
5517
  id: string;
5516
5518
  address: string | null;
@@ -5550,11 +5552,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5550
5552
  sipServerUrl: string;
5551
5553
  sipUserName: string;
5552
5554
  webphoneLoginUser: string;
5553
- extensionId: number;
5555
+ extensionId: string | null;
5554
5556
  extensionName: string;
5555
5557
  telephonySignature: string | null;
5556
5558
  };
5557
5559
  };
5560
+ platformId: string;
5558
5561
  upload: {
5559
5562
  id: string;
5560
5563
  createdAt: Date;
@@ -5606,7 +5609,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5606
5609
  sipServerUrl: string;
5607
5610
  sipUserName: string;
5608
5611
  webphoneLoginUser: string;
5609
- extensionId: number;
5612
+ extensionId: string | null;
5610
5613
  extensionName: string;
5611
5614
  telephonySignature: string | null;
5612
5615
  };
@@ -5656,7 +5659,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5656
5659
  sipServerUrl: string;
5657
5660
  sipUserName: string;
5658
5661
  webphoneLoginUser: string;
5659
- extensionId: number;
5662
+ extensionId: string | null;
5660
5663
  extensionName: string;
5661
5664
  telephonySignature: string | null;
5662
5665
  };
@@ -5701,9 +5704,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5701
5704
  createdAt: Date;
5702
5705
  updatedAt: Date;
5703
5706
  deletedAt: Date | null;
5704
- isDefault: boolean;
5705
5707
  systemName: string;
5706
5708
  displayName: string;
5709
+ isDefault: boolean;
5707
5710
  isArchived: boolean;
5708
5711
  isRequired: boolean;
5709
5712
  isUnique: boolean;
@@ -5826,7 +5829,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5826
5829
  sipServerUrl: string;
5827
5830
  sipUserName: string;
5828
5831
  webphoneLoginUser: string;
5829
- extensionId: number;
5832
+ extensionId: string | null;
5830
5833
  extensionName: string;
5831
5834
  telephonySignature: string | null;
5832
5835
  };
@@ -5924,7 +5927,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5924
5927
  sipServerUrl: string;
5925
5928
  sipUserName: string;
5926
5929
  webphoneLoginUser: string;
5927
- extensionId: number;
5930
+ extensionId: string | null;
5928
5931
  extensionName: string;
5929
5932
  telephonySignature: string | null;
5930
5933
  };
@@ -5976,7 +5979,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5976
5979
  sipServerUrl: string;
5977
5980
  sipUserName: string;
5978
5981
  webphoneLoginUser: string;
5979
- extensionId: number;
5982
+ extensionId: string | null;
5980
5983
  extensionName: string;
5981
5984
  telephonySignature: string | null;
5982
5985
  };
@@ -5987,7 +5990,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5987
5990
  requestId: string;
5988
5991
  }, {
5989
5992
  data: {
5990
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
5993
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
5991
5994
  message: string;
5992
5995
  id: string;
5993
5996
  url: string;
@@ -5995,7 +5998,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5995
5998
  createdAt: Date;
5996
5999
  updatedAt: Date;
5997
6000
  deletedAt: Date | null;
5998
- platformId: string;
5999
6001
  actor: {
6000
6002
  id: string;
6001
6003
  address: string | null;
@@ -6035,11 +6037,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6035
6037
  sipServerUrl: string;
6036
6038
  sipUserName: string;
6037
6039
  webphoneLoginUser: string;
6038
- extensionId: number;
6040
+ extensionId: string | null;
6039
6041
  extensionName: string;
6040
6042
  telephonySignature: string | null;
6041
6043
  };
6042
6044
  };
6045
+ platformId: string;
6043
6046
  upload: {
6044
6047
  id: string;
6045
6048
  createdAt: Date;
@@ -6091,7 +6094,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6091
6094
  sipServerUrl: string;
6092
6095
  sipUserName: string;
6093
6096
  webphoneLoginUser: string;
6094
- extensionId: number;
6097
+ extensionId: string | null;
6095
6098
  extensionName: string;
6096
6099
  telephonySignature: string | null;
6097
6100
  };
@@ -6141,7 +6144,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6141
6144
  sipServerUrl: string;
6142
6145
  sipUserName: string;
6143
6146
  webphoneLoginUser: string;
6144
- extensionId: number;
6147
+ extensionId: string | null;
6145
6148
  extensionName: string;
6146
6149
  telephonySignature: string | null;
6147
6150
  };
@@ -6186,9 +6189,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6186
6189
  createdAt: Date;
6187
6190
  updatedAt: Date;
6188
6191
  deletedAt: Date | null;
6189
- isDefault: boolean;
6190
6192
  systemName: string;
6191
6193
  displayName: string;
6194
+ isDefault: boolean;
6192
6195
  isArchived: boolean;
6193
6196
  isRequired: boolean;
6194
6197
  isUnique: boolean;
@@ -6311,7 +6314,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6311
6314
  sipServerUrl: string;
6312
6315
  sipUserName: string;
6313
6316
  webphoneLoginUser: string;
6314
- extensionId: number;
6317
+ extensionId: string | null;
6315
6318
  extensionName: string;
6316
6319
  telephonySignature: string | null;
6317
6320
  };
@@ -6409,7 +6412,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6409
6412
  sipServerUrl: string;
6410
6413
  sipUserName: string;
6411
6414
  webphoneLoginUser: string;
6412
- extensionId: number;
6415
+ extensionId: string | null;
6413
6416
  extensionName: string;
6414
6417
  telephonySignature: string | null;
6415
6418
  };
@@ -6461,7 +6464,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6461
6464
  sipServerUrl: string;
6462
6465
  sipUserName: string;
6463
6466
  webphoneLoginUser: string;
6464
- extensionId: number;
6467
+ extensionId: string | null;
6465
6468
  extensionName: string;
6466
6469
  telephonySignature: string | null;
6467
6470
  };
@@ -6612,7 +6615,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6612
6615
  message: z.ZodObject<{
6613
6616
  message: z.ZodString;
6614
6617
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6615
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
6618
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
6616
6619
  metadata: z.ZodAny;
6617
6620
  platformId: z.ZodString;
6618
6621
  platformMessageId: z.ZodString;
@@ -6764,9 +6767,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6764
6767
  createdAt: Date;
6765
6768
  updatedAt: Date;
6766
6769
  deletedAt: Date | null;
6767
- isDefault: boolean;
6768
6770
  systemName: string;
6769
6771
  displayName: string;
6772
+ isDefault: boolean;
6770
6773
  isArchived: boolean;
6771
6774
  isRequired: boolean;
6772
6775
  isUnique: boolean;
@@ -6777,9 +6780,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6777
6780
  createdAt: Date;
6778
6781
  updatedAt: Date;
6779
6782
  deletedAt: Date | null;
6780
- isDefault: boolean;
6781
6783
  systemName: string;
6782
6784
  displayName: string;
6785
+ isDefault: boolean;
6783
6786
  isArchived: boolean;
6784
6787
  isRequired: boolean;
6785
6788
  isUnique: boolean;
@@ -6796,9 +6799,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6796
6799
  createdAt: Date;
6797
6800
  updatedAt: Date;
6798
6801
  deletedAt: Date | null;
6799
- isDefault: boolean;
6800
6802
  systemName: string;
6801
6803
  displayName: string;
6804
+ isDefault: boolean;
6802
6805
  isArchived: boolean;
6803
6806
  isRequired: boolean;
6804
6807
  isUnique: boolean;
@@ -6819,9 +6822,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6819
6822
  createdAt: Date;
6820
6823
  updatedAt: Date;
6821
6824
  deletedAt: Date | null;
6822
- isDefault: boolean;
6823
6825
  systemName: string;
6824
6826
  displayName: string;
6827
+ isDefault: boolean;
6825
6828
  isArchived: boolean;
6826
6829
  isRequired: boolean;
6827
6830
  isUnique: boolean;
@@ -6920,9 +6923,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6920
6923
  createdAt: Date;
6921
6924
  updatedAt: Date;
6922
6925
  deletedAt: Date | null;
6923
- isDefault: boolean;
6924
6926
  systemName: string;
6925
6927
  displayName: string;
6928
+ isDefault: boolean;
6926
6929
  isArchived: boolean;
6927
6930
  isRequired: boolean;
6928
6931
  isUnique: boolean;
@@ -6933,9 +6936,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6933
6936
  createdAt: Date;
6934
6937
  updatedAt: Date;
6935
6938
  deletedAt: Date | null;
6936
- isDefault: boolean;
6937
6939
  systemName: string;
6938
6940
  displayName: string;
6941
+ isDefault: boolean;
6939
6942
  isArchived: boolean;
6940
6943
  isRequired: boolean;
6941
6944
  isUnique: boolean;
@@ -7029,9 +7032,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7029
7032
  createdAt: Date;
7030
7033
  updatedAt: Date;
7031
7034
  deletedAt: Date | null;
7032
- isDefault: boolean;
7033
7035
  systemName: string;
7034
7036
  displayName: string;
7037
+ isDefault: boolean;
7035
7038
  isArchived: boolean;
7036
7039
  isRequired: boolean;
7037
7040
  isUnique: boolean;
@@ -7071,9 +7074,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7071
7074
  createdAt: Date;
7072
7075
  updatedAt: Date;
7073
7076
  deletedAt: Date | null;
7074
- isDefault: boolean;
7075
7077
  systemName: string;
7076
7078
  displayName: string;
7079
+ isDefault: boolean;
7077
7080
  isArchived: boolean;
7078
7081
  isRequired: boolean;
7079
7082
  isUnique: boolean;
@@ -7226,9 +7229,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7226
7229
  createdAt: Date;
7227
7230
  updatedAt: Date;
7228
7231
  deletedAt: Date | null;
7229
- isDefault: boolean;
7230
7232
  systemName: string;
7231
7233
  displayName: string;
7234
+ isDefault: boolean;
7232
7235
  isArchived: boolean;
7233
7236
  isRequired: boolean;
7234
7237
  isUnique: boolean;
@@ -7329,9 +7332,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7329
7332
  createdAt: Date;
7330
7333
  updatedAt: Date;
7331
7334
  deletedAt: Date | null;
7332
- isDefault: boolean;
7333
7335
  systemName: string;
7334
7336
  displayName: string;
7337
+ isDefault: boolean;
7335
7338
  isArchived: boolean;
7336
7339
  isRequired: boolean;
7337
7340
  isUnique: boolean;
@@ -7446,9 +7449,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7446
7449
  createdAt: Date;
7447
7450
  updatedAt: Date;
7448
7451
  deletedAt: Date | null;
7449
- isDefault: boolean;
7450
7452
  systemName: string;
7451
7453
  displayName: string;
7454
+ isDefault: boolean;
7452
7455
  isArchived: boolean;
7453
7456
  isRequired: boolean;
7454
7457
  isUnique: boolean;
@@ -7564,9 +7567,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7564
7567
  createdAt: Date;
7565
7568
  updatedAt: Date;
7566
7569
  deletedAt: Date | null;
7567
- isDefault: boolean;
7568
7570
  systemName: string;
7569
7571
  displayName: string;
7572
+ isDefault: boolean;
7570
7573
  isArchived: boolean;
7571
7574
  isRequired: boolean;
7572
7575
  isUnique: boolean;
@@ -7739,7 +7742,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7739
7742
  sipServerUrl: z.ZodString;
7740
7743
  sipUserName: z.ZodString;
7741
7744
  webphoneLoginUser: z.ZodString;
7742
- extensionId: z.ZodNumber;
7745
+ extensionId: z.ZodNullable<z.ZodString>;
7743
7746
  extensionName: z.ZodString;
7744
7747
  telephonySignature: z.ZodNullable<z.ZodString>;
7745
7748
  }, "strip", z.ZodTypeAny, {
@@ -7751,7 +7754,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7751
7754
  sipServerUrl: string;
7752
7755
  sipUserName: string;
7753
7756
  webphoneLoginUser: string;
7754
- extensionId: number;
7757
+ extensionId: string | null;
7755
7758
  extensionName: string;
7756
7759
  telephonySignature: string | null;
7757
7760
  }, {
@@ -7763,7 +7766,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7763
7766
  sipServerUrl: string;
7764
7767
  sipUserName: string;
7765
7768
  webphoneLoginUser: string;
7766
- extensionId: number;
7769
+ extensionId: string | null;
7767
7770
  extensionName: string;
7768
7771
  telephonySignature: string | null;
7769
7772
  }>;
@@ -7806,7 +7809,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7806
7809
  sipServerUrl: string;
7807
7810
  sipUserName: string;
7808
7811
  webphoneLoginUser: string;
7809
- extensionId: number;
7812
+ extensionId: string | null;
7810
7813
  extensionName: string;
7811
7814
  telephonySignature: string | null;
7812
7815
  };
@@ -7849,7 +7852,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7849
7852
  sipServerUrl: string;
7850
7853
  sipUserName: string;
7851
7854
  webphoneLoginUser: string;
7852
- extensionId: number;
7855
+ extensionId: string | null;
7853
7856
  extensionName: string;
7854
7857
  telephonySignature: string | null;
7855
7858
  };
@@ -7943,7 +7946,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7943
7946
  sipServerUrl: z.ZodString;
7944
7947
  sipUserName: z.ZodString;
7945
7948
  webphoneLoginUser: z.ZodString;
7946
- extensionId: z.ZodNumber;
7949
+ extensionId: z.ZodNullable<z.ZodString>;
7947
7950
  extensionName: z.ZodString;
7948
7951
  telephonySignature: z.ZodNullable<z.ZodString>;
7949
7952
  }, "strip", z.ZodTypeAny, {
@@ -7955,7 +7958,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7955
7958
  sipServerUrl: string;
7956
7959
  sipUserName: string;
7957
7960
  webphoneLoginUser: string;
7958
- extensionId: number;
7961
+ extensionId: string | null;
7959
7962
  extensionName: string;
7960
7963
  telephonySignature: string | null;
7961
7964
  }, {
@@ -7967,7 +7970,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7967
7970
  sipServerUrl: string;
7968
7971
  sipUserName: string;
7969
7972
  webphoneLoginUser: string;
7970
- extensionId: number;
7973
+ extensionId: string | null;
7971
7974
  extensionName: string;
7972
7975
  telephonySignature: string | null;
7973
7976
  }>;
@@ -8010,7 +8013,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8010
8013
  sipServerUrl: string;
8011
8014
  sipUserName: string;
8012
8015
  webphoneLoginUser: string;
8013
- extensionId: number;
8016
+ extensionId: string | null;
8014
8017
  extensionName: string;
8015
8018
  telephonySignature: string | null;
8016
8019
  };
@@ -8053,7 +8056,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8053
8056
  sipServerUrl: string;
8054
8057
  sipUserName: string;
8055
8058
  webphoneLoginUser: string;
8056
- extensionId: number;
8059
+ extensionId: string | null;
8057
8060
  extensionName: string;
8058
8061
  telephonySignature: string | null;
8059
8062
  };
@@ -8333,9 +8336,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8333
8336
  createdAt: Date;
8334
8337
  updatedAt: Date;
8335
8338
  deletedAt: Date | null;
8336
- isDefault: boolean;
8337
8339
  systemName: string;
8338
8340
  displayName: string;
8341
+ isDefault: boolean;
8339
8342
  isArchived: boolean;
8340
8343
  isRequired: boolean;
8341
8344
  isUnique: boolean;
@@ -8458,7 +8461,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8458
8461
  sipServerUrl: string;
8459
8462
  sipUserName: string;
8460
8463
  webphoneLoginUser: string;
8461
- extensionId: number;
8464
+ extensionId: string | null;
8462
8465
  extensionName: string;
8463
8466
  telephonySignature: string | null;
8464
8467
  };
@@ -8502,7 +8505,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8502
8505
  sipServerUrl: string;
8503
8506
  sipUserName: string;
8504
8507
  webphoneLoginUser: string;
8505
- extensionId: number;
8508
+ extensionId: string | null;
8506
8509
  extensionName: string;
8507
8510
  telephonySignature: string | null;
8508
8511
  };
@@ -8606,9 +8609,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8606
8609
  createdAt: Date;
8607
8610
  updatedAt: Date;
8608
8611
  deletedAt: Date | null;
8609
- isDefault: boolean;
8610
8612
  systemName: string;
8611
8613
  displayName: string;
8614
+ isDefault: boolean;
8612
8615
  isArchived: boolean;
8613
8616
  isRequired: boolean;
8614
8617
  isUnique: boolean;
@@ -8731,7 +8734,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8731
8734
  sipServerUrl: string;
8732
8735
  sipUserName: string;
8733
8736
  webphoneLoginUser: string;
8734
- extensionId: number;
8737
+ extensionId: string | null;
8735
8738
  extensionName: string;
8736
8739
  telephonySignature: string | null;
8737
8740
  };
@@ -8775,7 +8778,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8775
8778
  sipServerUrl: string;
8776
8779
  sipUserName: string;
8777
8780
  webphoneLoginUser: string;
8778
- extensionId: number;
8781
+ extensionId: string | null;
8779
8782
  extensionName: string;
8780
8783
  telephonySignature: string | null;
8781
8784
  };
@@ -8961,7 +8964,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8961
8964
  sipServerUrl: z.ZodString;
8962
8965
  sipUserName: z.ZodString;
8963
8966
  webphoneLoginUser: z.ZodString;
8964
- extensionId: z.ZodNumber;
8967
+ extensionId: z.ZodNullable<z.ZodString>;
8965
8968
  extensionName: z.ZodString;
8966
8969
  telephonySignature: z.ZodNullable<z.ZodString>;
8967
8970
  }, "strip", z.ZodTypeAny, {
@@ -8973,7 +8976,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8973
8976
  sipServerUrl: string;
8974
8977
  sipUserName: string;
8975
8978
  webphoneLoginUser: string;
8976
- extensionId: number;
8979
+ extensionId: string | null;
8977
8980
  extensionName: string;
8978
8981
  telephonySignature: string | null;
8979
8982
  }, {
@@ -8985,7 +8988,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8985
8988
  sipServerUrl: string;
8986
8989
  sipUserName: string;
8987
8990
  webphoneLoginUser: string;
8988
- extensionId: number;
8991
+ extensionId: string | null;
8989
8992
  extensionName: string;
8990
8993
  telephonySignature: string | null;
8991
8994
  }>;
@@ -9028,7 +9031,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9028
9031
  sipServerUrl: string;
9029
9032
  sipUserName: string;
9030
9033
  webphoneLoginUser: string;
9031
- extensionId: number;
9034
+ extensionId: string | null;
9032
9035
  extensionName: string;
9033
9036
  telephonySignature: string | null;
9034
9037
  };
@@ -9071,7 +9074,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9071
9074
  sipServerUrl: string;
9072
9075
  sipUserName: string;
9073
9076
  webphoneLoginUser: string;
9074
- extensionId: number;
9077
+ extensionId: string | null;
9075
9078
  extensionName: string;
9076
9079
  telephonySignature: string | null;
9077
9080
  };
@@ -9165,7 +9168,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9165
9168
  sipServerUrl: z.ZodString;
9166
9169
  sipUserName: z.ZodString;
9167
9170
  webphoneLoginUser: z.ZodString;
9168
- extensionId: z.ZodNumber;
9171
+ extensionId: z.ZodNullable<z.ZodString>;
9169
9172
  extensionName: z.ZodString;
9170
9173
  telephonySignature: z.ZodNullable<z.ZodString>;
9171
9174
  }, "strip", z.ZodTypeAny, {
@@ -9177,7 +9180,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9177
9180
  sipServerUrl: string;
9178
9181
  sipUserName: string;
9179
9182
  webphoneLoginUser: string;
9180
- extensionId: number;
9183
+ extensionId: string | null;
9181
9184
  extensionName: string;
9182
9185
  telephonySignature: string | null;
9183
9186
  }, {
@@ -9189,7 +9192,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9189
9192
  sipServerUrl: string;
9190
9193
  sipUserName: string;
9191
9194
  webphoneLoginUser: string;
9192
- extensionId: number;
9195
+ extensionId: string | null;
9193
9196
  extensionName: string;
9194
9197
  telephonySignature: string | null;
9195
9198
  }>;
@@ -9232,7 +9235,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9232
9235
  sipServerUrl: string;
9233
9236
  sipUserName: string;
9234
9237
  webphoneLoginUser: string;
9235
- extensionId: number;
9238
+ extensionId: string | null;
9236
9239
  extensionName: string;
9237
9240
  telephonySignature: string | null;
9238
9241
  };
@@ -9275,7 +9278,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9275
9278
  sipServerUrl: string;
9276
9279
  sipUserName: string;
9277
9280
  webphoneLoginUser: string;
9278
- extensionId: number;
9281
+ extensionId: string | null;
9279
9282
  extensionName: string;
9280
9283
  telephonySignature: string | null;
9281
9284
  };
@@ -9369,7 +9372,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9369
9372
  sipServerUrl: z.ZodString;
9370
9373
  sipUserName: z.ZodString;
9371
9374
  webphoneLoginUser: z.ZodString;
9372
- extensionId: z.ZodNumber;
9375
+ extensionId: z.ZodNullable<z.ZodString>;
9373
9376
  extensionName: z.ZodString;
9374
9377
  telephonySignature: z.ZodNullable<z.ZodString>;
9375
9378
  }, "strip", z.ZodTypeAny, {
@@ -9381,7 +9384,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9381
9384
  sipServerUrl: string;
9382
9385
  sipUserName: string;
9383
9386
  webphoneLoginUser: string;
9384
- extensionId: number;
9387
+ extensionId: string | null;
9385
9388
  extensionName: string;
9386
9389
  telephonySignature: string | null;
9387
9390
  }, {
@@ -9393,7 +9396,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9393
9396
  sipServerUrl: string;
9394
9397
  sipUserName: string;
9395
9398
  webphoneLoginUser: string;
9396
- extensionId: number;
9399
+ extensionId: string | null;
9397
9400
  extensionName: string;
9398
9401
  telephonySignature: string | null;
9399
9402
  }>;
@@ -9436,7 +9439,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9436
9439
  sipServerUrl: string;
9437
9440
  sipUserName: string;
9438
9441
  webphoneLoginUser: string;
9439
- extensionId: number;
9442
+ extensionId: string | null;
9440
9443
  extensionName: string;
9441
9444
  telephonySignature: string | null;
9442
9445
  };
@@ -9479,13 +9482,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9479
9482
  sipServerUrl: string;
9480
9483
  sipUserName: string;
9481
9484
  webphoneLoginUser: string;
9482
- extensionId: number;
9485
+ extensionId: string | null;
9483
9486
  extensionName: string;
9484
9487
  telephonySignature: string | null;
9485
9488
  };
9486
9489
  }>>;
9487
9490
  }, "strip", z.ZodTypeAny, {
9488
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
9491
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
9489
9492
  message: string;
9490
9493
  direction: "incoming" | "outgoing" | "system";
9491
9494
  platformId: string;
@@ -9531,9 +9534,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9531
9534
  createdAt: Date;
9532
9535
  updatedAt: Date;
9533
9536
  deletedAt: Date | null;
9534
- isDefault: boolean;
9535
9537
  systemName: string;
9536
9538
  displayName: string;
9539
+ isDefault: boolean;
9537
9540
  isArchived: boolean;
9538
9541
  isRequired: boolean;
9539
9542
  isUnique: boolean;
@@ -9656,7 +9659,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9656
9659
  sipServerUrl: string;
9657
9660
  sipUserName: string;
9658
9661
  webphoneLoginUser: string;
9659
- extensionId: number;
9662
+ extensionId: string | null;
9660
9663
  extensionName: string;
9661
9664
  telephonySignature: string | null;
9662
9665
  };
@@ -9700,7 +9703,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9700
9703
  sipServerUrl: string;
9701
9704
  sipUserName: string;
9702
9705
  webphoneLoginUser: string;
9703
- extensionId: number;
9706
+ extensionId: string | null;
9704
9707
  extensionName: string;
9705
9708
  telephonySignature: string | null;
9706
9709
  };
@@ -9822,7 +9825,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9822
9825
  sipServerUrl: string;
9823
9826
  sipUserName: string;
9824
9827
  webphoneLoginUser: string;
9825
- extensionId: number;
9828
+ extensionId: string | null;
9826
9829
  extensionName: string;
9827
9830
  telephonySignature: string | null;
9828
9831
  };
@@ -9866,7 +9869,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9866
9869
  sipServerUrl: string;
9867
9870
  sipUserName: string;
9868
9871
  webphoneLoginUser: string;
9869
- extensionId: number;
9872
+ extensionId: string | null;
9870
9873
  extensionName: string;
9871
9874
  telephonySignature: string | null;
9872
9875
  };
@@ -9910,13 +9913,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9910
9913
  sipServerUrl: string;
9911
9914
  sipUserName: string;
9912
9915
  webphoneLoginUser: string;
9913
- extensionId: number;
9916
+ extensionId: string | null;
9914
9917
  extensionName: string;
9915
9918
  telephonySignature: string | null;
9916
9919
  };
9917
9920
  } | undefined;
9918
9921
  }, {
9919
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
9922
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
9920
9923
  message: string;
9921
9924
  direction: "incoming" | "outgoing" | "system";
9922
9925
  platformId: string;
@@ -9962,9 +9965,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9962
9965
  createdAt: Date;
9963
9966
  updatedAt: Date;
9964
9967
  deletedAt: Date | null;
9965
- isDefault: boolean;
9966
9968
  systemName: string;
9967
9969
  displayName: string;
9970
+ isDefault: boolean;
9968
9971
  isArchived: boolean;
9969
9972
  isRequired: boolean;
9970
9973
  isUnique: boolean;
@@ -10087,7 +10090,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10087
10090
  sipServerUrl: string;
10088
10091
  sipUserName: string;
10089
10092
  webphoneLoginUser: string;
10090
- extensionId: number;
10093
+ extensionId: string | null;
10091
10094
  extensionName: string;
10092
10095
  telephonySignature: string | null;
10093
10096
  };
@@ -10131,7 +10134,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10131
10134
  sipServerUrl: string;
10132
10135
  sipUserName: string;
10133
10136
  webphoneLoginUser: string;
10134
- extensionId: number;
10137
+ extensionId: string | null;
10135
10138
  extensionName: string;
10136
10139
  telephonySignature: string | null;
10137
10140
  };
@@ -10253,7 +10256,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10253
10256
  sipServerUrl: string;
10254
10257
  sipUserName: string;
10255
10258
  webphoneLoginUser: string;
10256
- extensionId: number;
10259
+ extensionId: string | null;
10257
10260
  extensionName: string;
10258
10261
  telephonySignature: string | null;
10259
10262
  };
@@ -10297,7 +10300,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10297
10300
  sipServerUrl: string;
10298
10301
  sipUserName: string;
10299
10302
  webphoneLoginUser: string;
10300
- extensionId: number;
10303
+ extensionId: string | null;
10301
10304
  extensionName: string;
10302
10305
  telephonySignature: string | null;
10303
10306
  };
@@ -10341,7 +10344,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10341
10344
  sipServerUrl: string;
10342
10345
  sipUserName: string;
10343
10346
  webphoneLoginUser: string;
10344
- extensionId: number;
10347
+ extensionId: string | null;
10345
10348
  extensionName: string;
10346
10349
  telephonySignature: string | null;
10347
10350
  };
@@ -10349,7 +10352,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10349
10352
  }>;
10350
10353
  }, "strip", z.ZodTypeAny, {
10351
10354
  message: {
10352
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
10355
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
10353
10356
  message: string;
10354
10357
  direction: "incoming" | "outgoing" | "system";
10355
10358
  platformId: string;
@@ -10395,9 +10398,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10395
10398
  createdAt: Date;
10396
10399
  updatedAt: Date;
10397
10400
  deletedAt: Date | null;
10398
- isDefault: boolean;
10399
10401
  systemName: string;
10400
10402
  displayName: string;
10403
+ isDefault: boolean;
10401
10404
  isArchived: boolean;
10402
10405
  isRequired: boolean;
10403
10406
  isUnique: boolean;
@@ -10520,7 +10523,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10520
10523
  sipServerUrl: string;
10521
10524
  sipUserName: string;
10522
10525
  webphoneLoginUser: string;
10523
- extensionId: number;
10526
+ extensionId: string | null;
10524
10527
  extensionName: string;
10525
10528
  telephonySignature: string | null;
10526
10529
  };
@@ -10564,7 +10567,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10564
10567
  sipServerUrl: string;
10565
10568
  sipUserName: string;
10566
10569
  webphoneLoginUser: string;
10567
- extensionId: number;
10570
+ extensionId: string | null;
10568
10571
  extensionName: string;
10569
10572
  telephonySignature: string | null;
10570
10573
  };
@@ -10686,7 +10689,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10686
10689
  sipServerUrl: string;
10687
10690
  sipUserName: string;
10688
10691
  webphoneLoginUser: string;
10689
- extensionId: number;
10692
+ extensionId: string | null;
10690
10693
  extensionName: string;
10691
10694
  telephonySignature: string | null;
10692
10695
  };
@@ -10730,7 +10733,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10730
10733
  sipServerUrl: string;
10731
10734
  sipUserName: string;
10732
10735
  webphoneLoginUser: string;
10733
- extensionId: number;
10736
+ extensionId: string | null;
10734
10737
  extensionName: string;
10735
10738
  telephonySignature: string | null;
10736
10739
  };
@@ -10774,7 +10777,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10774
10777
  sipServerUrl: string;
10775
10778
  sipUserName: string;
10776
10779
  webphoneLoginUser: string;
10777
- extensionId: number;
10780
+ extensionId: string | null;
10778
10781
  extensionName: string;
10779
10782
  telephonySignature: string | null;
10780
10783
  };
@@ -10782,7 +10785,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10782
10785
  };
10783
10786
  }, {
10784
10787
  message: {
10785
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
10788
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
10786
10789
  message: string;
10787
10790
  direction: "incoming" | "outgoing" | "system";
10788
10791
  platformId: string;
@@ -10828,9 +10831,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10828
10831
  createdAt: Date;
10829
10832
  updatedAt: Date;
10830
10833
  deletedAt: Date | null;
10831
- isDefault: boolean;
10832
10834
  systemName: string;
10833
10835
  displayName: string;
10836
+ isDefault: boolean;
10834
10837
  isArchived: boolean;
10835
10838
  isRequired: boolean;
10836
10839
  isUnique: boolean;
@@ -10953,7 +10956,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10953
10956
  sipServerUrl: string;
10954
10957
  sipUserName: string;
10955
10958
  webphoneLoginUser: string;
10956
- extensionId: number;
10959
+ extensionId: string | null;
10957
10960
  extensionName: string;
10958
10961
  telephonySignature: string | null;
10959
10962
  };
@@ -10997,7 +11000,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10997
11000
  sipServerUrl: string;
10998
11001
  sipUserName: string;
10999
11002
  webphoneLoginUser: string;
11000
- extensionId: number;
11003
+ extensionId: string | null;
11001
11004
  extensionName: string;
11002
11005
  telephonySignature: string | null;
11003
11006
  };
@@ -11119,7 +11122,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11119
11122
  sipServerUrl: string;
11120
11123
  sipUserName: string;
11121
11124
  webphoneLoginUser: string;
11122
- extensionId: number;
11125
+ extensionId: string | null;
11123
11126
  extensionName: string;
11124
11127
  telephonySignature: string | null;
11125
11128
  };
@@ -11163,7 +11166,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11163
11166
  sipServerUrl: string;
11164
11167
  sipUserName: string;
11165
11168
  webphoneLoginUser: string;
11166
- extensionId: number;
11169
+ extensionId: string | null;
11167
11170
  extensionName: string;
11168
11171
  telephonySignature: string | null;
11169
11172
  };
@@ -11207,7 +11210,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11207
11210
  sipServerUrl: string;
11208
11211
  sipUserName: string;
11209
11212
  webphoneLoginUser: string;
11210
- extensionId: number;
11213
+ extensionId: string | null;
11211
11214
  extensionName: string;
11212
11215
  telephonySignature: string | null;
11213
11216
  };