@babelforce/manager-sdk 0.38.0 → 0.39.0

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.
package/dist/index.d.ts CHANGED
@@ -91,11 +91,26 @@ type ActionProxyResponseResponse = {
91
91
  */
92
92
  contentType?: string;
93
93
  };
94
+ /**
95
+ * Request body to add a lead to a lead-list.
96
+ */
94
97
  type AddOutboundLeadRequest = {
98
+ /**
99
+ * Customer-supplied lead identifier, unique within the lead-list.
100
+ */
95
101
  uid: string;
102
+ /**
103
+ * Phone number to dial, in E.164 format.
104
+ */
96
105
  number: string;
106
+ /**
107
+ * Dial priority within the list; higher-ranked leads are dialled first.
108
+ */
97
109
  rank?: number;
98
110
  };
111
+ /**
112
+ * An ACD agent — a person or integration seat that handles calls and conversations and can belong to one or more agent groups.
113
+ */
99
114
  type Agent = {
100
115
  /**
101
116
  * The unique Identifier (UUID) of the object
@@ -128,8 +143,17 @@ type Agent = {
128
143
  state?: AgentLineStatus;
129
144
  presence?: AgentPresence;
130
145
  status?: AgentStatus;
146
+ /**
147
+ * The agent's current activity.
148
+ */
131
149
  activity?: string;
150
+ /**
151
+ * Human-readable status label for display.
152
+ */
132
153
  display_status?: string;
154
+ /**
155
+ * Whether the agent is currently available to take calls.
156
+ */
133
157
  available?: boolean;
134
158
  /**
135
159
  * A List of Tags describing an Object
@@ -175,11 +199,17 @@ type AgentBulkResponseBulkInner = {
175
199
  error?: string;
176
200
  item?: Agent;
177
201
  };
202
+ /**
203
+ * A named group of agents, used for queue routing and reporting.
204
+ */
178
205
  type AgentGroup = {
179
206
  /**
180
207
  * The unique Identifier (UUID) of the object
181
208
  */
182
209
  id: string;
210
+ /**
211
+ * The group's name.
212
+ */
183
213
  name: string;
184
214
  /**
185
215
  * A List of Tags describing an Object
@@ -298,9 +328,21 @@ type AgentOutboundCallRequest = {
298
328
  type AgentPasswordUpdateRequest = {
299
329
  newPassword: string;
300
330
  };
331
+ /**
332
+ * An agent presence state — `available`, or a custom busy reason.
333
+ */
301
334
  type AgentPresence = {
335
+ /**
336
+ * Whether agents in this presence can take calls.
337
+ */
302
338
  available: boolean;
339
+ /**
340
+ * Human-readable presence label.
341
+ */
303
342
  label: string;
343
+ /**
344
+ * The presence's unique name/key.
345
+ */
304
346
  name: string;
305
347
  };
306
348
  type AgentPresenceInfo = {
@@ -356,8 +398,17 @@ type AgentShort = {
356
398
  */
357
399
  number: string;
358
400
  };
401
+ /**
402
+ * An agent's composite status — account, availability, line, and outbound state.
403
+ */
359
404
  type AgentStatus = {
405
+ /**
406
+ * Whether the agent's account is enabled.
407
+ */
360
408
  enabled: boolean;
409
+ /**
410
+ * Whether the agent is currently available to take calls.
411
+ */
361
412
  available: boolean;
362
413
  outbound_status: AgentStatusOutboundStatus;
363
414
  line_status: AgentLineStatus;
@@ -493,7 +544,13 @@ type Application = ({
493
544
  } & TextToSpeechApplication) | ({
494
545
  module?: 'transfer';
495
546
  } & TransferApplication);
547
+ /**
548
+ * Request body to create an IVR voice-application. The chosen `module` fixes the application's type; its module-specific settings are then configured via update.
549
+ */
496
550
  type ApplicationCreateBody = {
551
+ /**
552
+ * The application's name.
553
+ */
497
554
  name: string;
498
555
  module: IvrModule;
499
556
  };
@@ -691,12 +748,18 @@ type AvailableExpression = {
691
748
  groupLabel: string;
692
749
  formatDescription: string;
693
750
  };
751
+ /**
752
+ * A babeldesk dashboard — a wallboard of widgets shared with a set of users and roles.
753
+ */
694
754
  type Babeldesk = {
695
755
  /**
696
756
  * The unique Identifier (UUID) of the object
697
757
  */
698
758
  id: string;
699
759
  dateCreated?: string;
760
+ /**
761
+ * The dashboard's label (unique per customer).
762
+ */
700
763
  label?: string;
701
764
  users?: Array<ManagedUserEmail>;
702
765
  /**
@@ -715,24 +778,51 @@ type BabeldeskItemResponse = {
715
778
  */
716
779
  success: boolean;
717
780
  };
781
+ /**
782
+ * A widget that can be placed on a babeldesk dashboard.
783
+ */
718
784
  type BabeldeskWidget = {
719
785
  /**
720
786
  * The unique Identifier (UUID) of the object
721
787
  */
722
788
  id: string;
723
789
  dateCreated?: string;
790
+ /**
791
+ * The widget type (e.g. `bar`, `iframe`).
792
+ */
724
793
  type?: string;
794
+ /**
795
+ * The widget's label (unique per customer).
796
+ */
725
797
  label?: string;
798
+ /**
799
+ * For iframe widgets, the URL embedded in the widget.
800
+ */
726
801
  iframeSource?: string;
727
802
  /**
728
803
  * A List of babeldesk widget metrics
729
804
  */
730
805
  metrics?: Array<BabeldeskWidgetMetric>;
731
806
  };
807
+ /**
808
+ * The placement of a widget on a dashboard's grid.
809
+ */
732
810
  type BabeldeskWidgetInstance = {
811
+ /**
812
+ * Column position on the dashboard grid.
813
+ */
733
814
  posX?: number;
815
+ /**
816
+ * Row position on the dashboard grid.
817
+ */
734
818
  posY?: number;
819
+ /**
820
+ * Width in grid columns.
821
+ */
735
822
  width?: number;
823
+ /**
824
+ * Height in grid rows.
825
+ */
736
826
  height?: number;
737
827
  /**
738
828
  * The unique Identifier (UUID) of the object
@@ -746,9 +836,21 @@ type BabeldeskWidgetItemResponse = {
746
836
  */
747
837
  success: boolean;
748
838
  };
839
+ /**
840
+ * A metric displayed by a babeldesk widget.
841
+ */
749
842
  type BabeldeskWidgetMetric = {
843
+ /**
844
+ * The metric name.
845
+ */
750
846
  name?: string;
847
+ /**
848
+ * The call direction/type the metric covers.
849
+ */
751
850
  type?: string;
851
+ /**
852
+ * The metric fields to display.
853
+ */
752
854
  fields?: Array<string>;
753
855
  /**
754
856
  * A list of call states
@@ -804,13 +906,25 @@ type BulkUpdateRequest = {
804
906
  [key: string]: unknown;
805
907
  }>;
806
908
  };
909
+ /**
910
+ * A business-hours profile — a named, time-zoned set of weekly open ranges used by call flows to branch on whether the account is open.
911
+ */
807
912
  type BusinessHour = {
808
913
  /**
809
914
  * The unique Identifier (UUID) of the object
810
915
  */
811
916
  id: string;
917
+ /**
918
+ * The profile's name (unique per customer).
919
+ */
812
920
  name: string;
921
+ /**
922
+ * Whether the profile is active and evaluated by call flows.
923
+ */
813
924
  enabled?: boolean;
925
+ /**
926
+ * IANA time zone the ranges are evaluated in.
927
+ */
814
928
  timeZone: string;
815
929
  /**
816
930
  * Whether the profile is currently within an open range
@@ -873,8 +987,17 @@ type BusinessHourRangeBody = {
873
987
  * A weekday + time-of-day boundary
874
988
  */
875
989
  type BusinessHourRangeBound = {
990
+ /**
991
+ * Day of the week the boundary falls on.
992
+ */
876
993
  day: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
994
+ /**
995
+ * Hour of day, 0–23.
996
+ */
877
997
  hour: number;
998
+ /**
999
+ * Minute of the hour, 0–59.
1000
+ */
878
1001
  minute: number;
879
1002
  };
880
1003
  type BusinessHourRangeItemResponse = {
@@ -894,14 +1017,29 @@ type BusinessHourRangeListResponse = {
894
1017
  type BusinessHourRangesBody = {
895
1018
  ranges: Array<BusinessHourRangeBody>;
896
1019
  };
1020
+ /**
1021
+ * A customer calendar — a named, time-zoned set of date ranges (typically holidays) used by call flows to branch on whether a date is blocked.
1022
+ */
897
1023
  type Calendar = {
898
1024
  /**
899
1025
  * The unique Identifier (UUID) of the object
900
1026
  */
901
1027
  id: string;
1028
+ /**
1029
+ * The calendar's name (unique per customer).
1030
+ */
902
1031
  name: string;
1032
+ /**
1033
+ * IANA time zone the calendar's dates are evaluated in.
1034
+ */
903
1035
  timeZone: string;
1036
+ /**
1037
+ * Whether the calendar is active and evaluated by call flows.
1038
+ */
904
1039
  enabled?: boolean;
1040
+ /**
1041
+ * Number of date ranges configured on the calendar.
1042
+ */
905
1043
  dateCount?: number;
906
1044
  /**
907
1045
  * A List of Tags describing an Object
@@ -912,15 +1050,24 @@ type CalendarBulkUpdateRequest = {
912
1050
  items: Array<BusinessHourBulkUpdateRequestItemsInner>;
913
1051
  };
914
1052
  /**
915
- * A date range within a calendar (e.g. a holiday)
1053
+ * A date range within a calendar (e.g. a holiday).
916
1054
  */
917
1055
  type CalendarDate = {
918
1056
  /**
919
1057
  * The unique Identifier (UUID) of the object
920
1058
  */
921
1059
  id: string;
1060
+ /**
1061
+ * A human-readable name for the date range (unique per calendar).
1062
+ */
922
1063
  label: string;
1064
+ /**
1065
+ * Inclusive start of the date range.
1066
+ */
923
1067
  dateStart: string;
1068
+ /**
1069
+ * Exclusive end of the date range (must be after dateStart).
1070
+ */
924
1071
  dateEnd: string;
925
1072
  type: CalendarDateType;
926
1073
  /**
@@ -929,11 +1076,20 @@ type CalendarDate = {
929
1076
  active?: boolean;
930
1077
  };
931
1078
  /**
932
- * Fields to create or update a calendar date
1079
+ * Fields to create or update a calendar date.
933
1080
  */
934
1081
  type CalendarDateBody = {
1082
+ /**
1083
+ * A human-readable name for the date range (unique per calendar).
1084
+ */
935
1085
  label: string;
1086
+ /**
1087
+ * Inclusive start of the date range.
1088
+ */
936
1089
  dateStart: string;
1090
+ /**
1091
+ * Exclusive end of the date range (must be after dateStart).
1092
+ */
937
1093
  dateEnd: string;
938
1094
  type?: CalendarDateType;
939
1095
  };
@@ -1115,20 +1271,35 @@ type CallSource = 'queue' | 'webrtc' | 'api' | 'dialer' | 'dial' | 'transfer' |
1115
1271
  type CallState = 'init' | 'scheduled' | 'ringing' | 'in-progress' | 'queued' | 'bridged' | 'canceled' | 'busy' | 'no-answer' | 'purged' | 'completed' | 'failed';
1116
1272
  type CallType = 'inbound' | 'outbound';
1117
1273
  /**
1118
- * An outbound dialer campaign
1274
+ * An outbound dialer campaign — the container for the leads to be dialled.
1119
1275
  */
1120
1276
  type Campaign = {
1121
1277
  /**
1122
1278
  * The unique Identifier (UUID) of the object
1123
1279
  */
1124
1280
  id: string;
1281
+ /**
1282
+ * The campaign's name.
1283
+ */
1125
1284
  name: string;
1285
+ /**
1286
+ * Number shown to leads as the caller ID.
1287
+ */
1126
1288
  displayNumber?: string;
1289
+ /**
1290
+ * Whether the campaign is active.
1291
+ */
1127
1292
  active?: boolean;
1293
+ /**
1294
+ * Whether the campaign runs in test mode (no real dials).
1295
+ */
1128
1296
  testMode?: boolean;
1129
- leadList?: GlobalQueueSelectionTrigger;
1297
+ leadList?: CampaignLeadList;
1130
1298
  listOrder?: CampaignListOrder;
1131
1299
  recording?: CampaignRecording;
1300
+ /**
1301
+ * Ratio of simultaneous dials to available agents.
1302
+ */
1132
1303
  callRatio?: number;
1133
1304
  };
1134
1305
  type CampaignHopperResponse = {
@@ -1175,6 +1346,19 @@ type CampaignStatisticsResponse = {
1175
1346
  items: Array<CampaignStatisticsItem>;
1176
1347
  success: boolean;
1177
1348
  };
1349
+ /**
1350
+ * The lead-list the campaign currently works on, if any.
1351
+ */
1352
+ type CampaignLeadList = {
1353
+ /**
1354
+ * The unique Identifier (UUID) of the object
1355
+ */
1356
+ id?: string;
1357
+ /**
1358
+ * The lead-list's name.
1359
+ */
1360
+ name?: string;
1361
+ } | null;
1178
1362
  type Conference = {
1179
1363
  /**
1180
1364
  * The unique Identifier (UUID) of the object
@@ -1216,6 +1400,9 @@ type ConferenceMember = {
1216
1400
  };
1217
1401
  type ConferenceMemberState = 'pending' | 'added' | 'removed';
1218
1402
  type ConferenceState = 'created' | 'finished';
1403
+ /**
1404
+ * A conversation — the container that ties together every interaction (calls, SMS, queue and integration events) with one consumer over time.
1405
+ */
1219
1406
  type Conversation = {
1220
1407
  /**
1221
1408
  * The unique Identifier (UUID) of the object
@@ -1223,8 +1410,14 @@ type Conversation = {
1223
1410
  id: string;
1224
1411
  dateCreated?: string;
1225
1412
  state?: ConversationState;
1413
+ /**
1414
+ * The consumer's phone number, when the conversation is identified by phone.
1415
+ */
1226
1416
  phone?: string;
1227
1417
  };
1418
+ /**
1419
+ * A single event within a conversation — something that happened on a call, SMS, queue, integration, or a custom event added by a user.
1420
+ */
1228
1421
  type ConversationEvent = {
1229
1422
  /**
1230
1423
  * The unique Identifier (UUID) of the object
@@ -1235,9 +1428,12 @@ type ConversationEvent = {
1235
1428
  */
1236
1429
  conversationId?: string;
1237
1430
  type: ConversationEventType;
1431
+ /**
1432
+ * The event name — what happened.
1433
+ */
1238
1434
  name: string;
1239
1435
  /**
1240
- * Level of Detail
1436
+ * Level of detail of the event (higher = more detail).
1241
1437
  */
1242
1438
  lod?: number;
1243
1439
  dateCreated?: string;
@@ -1252,14 +1448,23 @@ type ConversationEventItemResponse = {
1252
1448
  success: boolean;
1253
1449
  };
1254
1450
  /**
1255
- * A user event to add to a conversation
1451
+ * A custom user event to add to a conversation.
1256
1452
  */
1257
1453
  type ConversationEventRequest = {
1454
+ /**
1455
+ * The event name — what happened.
1456
+ */
1258
1457
  name: string;
1458
+ /**
1459
+ * Arbitrary key/value payload stored with the event.
1460
+ */
1259
1461
  data?: {
1260
1462
  [key: string]: unknown;
1261
1463
  };
1262
1464
  };
1465
+ /**
1466
+ * The area of concern an event belongs to — which subsystem produced it.
1467
+ */
1263
1468
  type ConversationEventType = 'call' | 'sms' | 'queue' | 'application' | 'integration' | 'agent' | 'external';
1264
1469
  type ConversationItemResponse = {
1265
1470
  item: Conversation;
@@ -1269,14 +1474,14 @@ type ConversationItemResponse = {
1269
1474
  success: boolean;
1270
1475
  };
1271
1476
  /**
1272
- * Key-Values of Variables
1477
+ * A flat key/value map of session variables shared between the conversation and its live call session.
1273
1478
  */
1274
1479
  type ConversationSessionVariables = {
1275
1480
  [key: string]: unknown;
1276
1481
  };
1277
1482
  type ConversationSessionVariablesItemResponse = {
1278
1483
  /**
1279
- * Key-Values of Variables
1484
+ * A flat key/value map of session variables shared between the conversation and its live call session.
1280
1485
  */
1281
1486
  item: {
1282
1487
  [key: string]: unknown;
@@ -1286,6 +1491,9 @@ type ConversationSessionVariablesItemResponse = {
1286
1491
  */
1287
1492
  success: boolean;
1288
1493
  };
1494
+ /**
1495
+ * Whether the conversation is currently open or closed.
1496
+ */
1289
1497
  type ConversationState = 'open' | 'closed';
1290
1498
  type CreateCampaignRequest = {
1291
1499
  name: string;
@@ -1295,19 +1503,43 @@ type CreateCampaignRequest = {
1295
1503
  listOrder: CampaignListOrder;
1296
1504
  callRatio?: number;
1297
1505
  };
1506
+ /**
1507
+ * Request body to create or rename a lead-list.
1508
+ */
1298
1509
  type CreateListRequest = {
1510
+ /**
1511
+ * The lead-list's name (unique per customer).
1512
+ */
1299
1513
  name: string;
1300
1514
  };
1515
+ /**
1516
+ * Request body to create a user.
1517
+ */
1301
1518
  type CreateManagedUserRequest = {
1519
+ /**
1520
+ * The user's initial password; a random one is generated if omitted.
1521
+ */
1302
1522
  password?: string;
1523
+ /**
1524
+ * The user's login email address (unique per account).
1525
+ */
1303
1526
  email: string;
1527
+ /**
1528
+ * Whether to enable and activate the user immediately.
1529
+ */
1304
1530
  activated?: boolean;
1305
1531
  /**
1306
1532
  * A List of Roles which are associated with the current User
1307
1533
  */
1308
1534
  roles: Array<AccountRole$1>;
1309
1535
  };
1536
+ /**
1537
+ * Request body to create a lead-list.
1538
+ */
1310
1539
  type CreateOutboundListRequest = {
1540
+ /**
1541
+ * The lead-list's name (unique per customer).
1542
+ */
1311
1543
  name: string;
1312
1544
  };
1313
1545
  type CreateTestCallRequest = {
@@ -1326,7 +1558,13 @@ type CreateTestCallRequest = {
1326
1558
  [key: string]: unknown;
1327
1559
  };
1328
1560
  };
1561
+ /**
1562
+ * Request body to create a custom event.
1563
+ */
1329
1564
  type CustomEventRequest = {
1565
+ /**
1566
+ * The custom event's name (combined with the `custom` type as its code).
1567
+ */
1330
1568
  name: string;
1331
1569
  /**
1332
1570
  * A List of Tags describing an Object
@@ -1395,6 +1633,9 @@ type DashboardUser = {
1395
1633
  * The unique Identifier (UUID) of the object
1396
1634
  */
1397
1635
  id: string;
1636
+ /**
1637
+ * The user's login email address.
1638
+ */
1398
1639
  email: string;
1399
1640
  };
1400
1641
  type DashboardUsersResponse = {
@@ -1414,19 +1655,25 @@ type DefaultV2MessageResponse = {
1414
1655
  */
1415
1656
  success: boolean;
1416
1657
  };
1658
+ /**
1659
+ * How the dialer places outbound calls — `standard` (automatic dialing), `manual` (agent-initiated), or `safety_first` (conservative pacing).
1660
+ */
1417
1661
  type DialMethod = 'standard' | 'manual' | 'safety_first';
1418
1662
  /**
1419
1663
  * The dial status of an outbound lead or call attempt
1420
1664
  */
1421
1665
  type DialStatus = 'pending' | 'new' | 'callback_hold' | 'answering_machine_auto' | 'busy_auto' | 'no_answer_auto' | 'disconnected_number_auto' | 'dropped' | 'in_call' | 'unknown' | 'picked_up' | 'voicemail' | 'agent_error' | 'not_viable' | 'queued' | 'dispo' | 'no_answer' | 'disconnected_number' | 'busy' | 'callback' | 'answering_machine' | 'not_interested' | 'do_not_call' | 'sale';
1422
1666
  /**
1423
- * A dialer behaviour
1667
+ * A named dialer-behaviour profile controlling how an outbound campaign places calls (its dial method and pacing settings).
1424
1668
  */
1425
1669
  type DialerBehaviour = {
1426
1670
  /**
1427
1671
  * The unique Identifier (UUID) of the object
1428
1672
  */
1429
1673
  id: string;
1674
+ /**
1675
+ * The profile's name (unique per customer).
1676
+ */
1430
1677
  name: string;
1431
1678
  dialMethod?: DialMethod;
1432
1679
  };
@@ -1434,7 +1681,13 @@ type DialerBehaviourItemResponse = {
1434
1681
  item: DialerBehaviour;
1435
1682
  success: boolean;
1436
1683
  };
1684
+ /**
1685
+ * Request body to create or update a dialer-behaviour profile.
1686
+ */
1437
1687
  type DialerBehaviourWriteBody = {
1688
+ /**
1689
+ * The profile's name (unique per customer).
1690
+ */
1438
1691
  name: string;
1439
1692
  dialMethod?: DialMethod;
1440
1693
  };
@@ -1476,6 +1729,9 @@ type EvaluateExpressionResponse = {
1476
1729
  evaluated?: unknown;
1477
1730
  message: string;
1478
1731
  };
1732
+ /**
1733
+ * A system event that automations can subscribe to, identified by its `code` (`<type>.<name>`, e.g. `call.inbound`).
1734
+ */
1479
1735
  type Event = {
1480
1736
  /**
1481
1737
  * The unique Identifier (UUID) of the object
@@ -1490,6 +1746,9 @@ type Event = {
1490
1746
  * Unique identifier of an Event
1491
1747
  */
1492
1748
  code: string;
1749
+ /**
1750
+ * Human-readable label for the event.
1751
+ */
1493
1752
  label: string;
1494
1753
  /**
1495
1754
  * A List of Tags describing an Object
@@ -1507,12 +1766,18 @@ type EventItemResponse = {
1507
1766
  * The Event category
1508
1767
  */
1509
1768
  type EventType = 'AGENT' | 'CALL' | 'CUSTOM' | 'MESSAGE' | 'RECORDING' | 'SMS' | 'TRANSACTION';
1769
+ /**
1770
+ * The files to delete.
1771
+ */
1510
1772
  type FileBulkDeleteRequest = {
1511
1773
  /**
1512
1774
  * File IDs to delete
1513
1775
  */
1514
1776
  ids: Array<ObjectUuid>;
1515
1777
  };
1778
+ /**
1779
+ * The files to bundle into a ZIP archive.
1780
+ */
1516
1781
  type FileBulkDownloadRequest = {
1517
1782
  /**
1518
1783
  * File IDs to include in the ZIP
@@ -1552,13 +1817,28 @@ type GetIntegrationProviderLogoResponseItem = {
1552
1817
  */
1553
1818
  base64?: string;
1554
1819
  };
1820
+ /**
1821
+ * An event trigger — an automation that fires its action when the subscribed event occurs (account-wide, unlike a per-application LocalAutomation).
1822
+ */
1555
1823
  type GlobalAutomation = BaseAutomation & GlobalAutomationEmbeddedEvent;
1556
1824
  type GlobalAutomationEmbeddedEvent = {
1557
1825
  event?: GlobalAutomationEvent;
1558
1826
  };
1827
+ /**
1828
+ * The event an event trigger subscribes to.
1829
+ */
1559
1830
  type GlobalAutomationEvent = {
1831
+ /**
1832
+ * The event's name (e.g. `inbound`).
1833
+ */
1560
1834
  name: string;
1835
+ /**
1836
+ * The event's type category (e.g. `call`).
1837
+ */
1561
1838
  type: string;
1839
+ /**
1840
+ * The provider that emits the event, when applicable.
1841
+ */
1562
1842
  provider?: string;
1563
1843
  };
1564
1844
  type GlobalAutomationItemResponse = {
@@ -1977,7 +2257,7 @@ type IntegrationUpdateRequest = {
1977
2257
  };
1978
2258
  type IvrModule = 'agentQueue' | 'agentic' | 'audioPlayer' | 'consumerQueue' | 'inputReader' | 'inputReader.v2' | 'promptPlayer' | 'recording' | 'simpleMenu' | 'speechToText' | 'switchNode' | 'textToSpeech' | 'transfer';
1979
2259
  /**
1980
- * An outbound dialer lead
2260
+ * An outbound dialer lead — one record in a lead-list, holding the number(s) to dial, its dial status, and any custom per-lead data.
1981
2261
  */
1982
2262
  type Lead = {
1983
2263
  /**
@@ -1985,7 +2265,7 @@ type Lead = {
1985
2265
  */
1986
2266
  id: string;
1987
2267
  /**
1988
- * Customer-supplied lead identifier
2268
+ * Customer-supplied lead identifier, unique within the lead-list.
1989
2269
  */
1990
2270
  uid?: string;
1991
2271
  /**
@@ -1996,14 +2276,38 @@ type Lead = {
1996
2276
  * The unique Identifier (UUID) of the object
1997
2277
  */
1998
2278
  campaignId?: string;
2279
+ /**
2280
+ * Primary phone number to dial, in E.164 format.
2281
+ */
1999
2282
  number: string;
2283
+ /**
2284
+ * First fallback number, tried when the primary is unreachable.
2285
+ */
2000
2286
  number2?: string;
2287
+ /**
2288
+ * Second fallback number.
2289
+ */
2001
2290
  number3?: string;
2291
+ /**
2292
+ * Caller ID presented when dialling this lead, overriding the campaign default.
2293
+ */
2002
2294
  callerId?: string;
2003
2295
  status?: DialStatus;
2296
+ /**
2297
+ * Dial priority within the list; higher-ranked leads are dialled first.
2298
+ */
2004
2299
  rank?: number;
2300
+ /**
2301
+ * Number of dial attempts made on this lead so far.
2302
+ */
2005
2303
  callCount?: number;
2304
+ /**
2305
+ * Total talk time across all attempts, in seconds.
2306
+ */
2006
2307
  duration?: number;
2308
+ /**
2309
+ * Whether the lead has been dialled since the list's call counters were last reset.
2310
+ */
2007
2311
  calledSinceReset?: boolean;
2008
2312
  dateCreated?: string;
2009
2313
  lastUpdated?: string;
@@ -2022,10 +2326,16 @@ type Lead = {
2022
2326
  } | null;
2023
2327
  };
2024
2328
  /**
2025
- * Lead IDs or UIDs to delete (provide one of `ids` or `uids`)
2329
+ * Lead IDs or UIDs to delete (provide one of `ids` or `uids`).
2026
2330
  */
2027
2331
  type LeadBulkDeleteRequest = {
2332
+ /**
2333
+ * Lead uuids to delete.
2334
+ */
2028
2335
  ids?: Array<ObjectUuid>;
2336
+ /**
2337
+ * Customer-supplied lead identifiers (`uid`) to delete.
2338
+ */
2029
2339
  uids?: Array<string>;
2030
2340
  };
2031
2341
  type LeadItemResponse = {
@@ -2033,20 +2343,23 @@ type LeadItemResponse = {
2033
2343
  success: boolean;
2034
2344
  };
2035
2345
  /**
2036
- * An outbound lead-list
2346
+ * A lead-list — a named collection of leads dialled by a campaign.
2037
2347
  */
2038
2348
  type LeadList = {
2039
2349
  /**
2040
2350
  * The unique Identifier (UUID) of the object
2041
2351
  */
2042
2352
  id: string;
2353
+ /**
2354
+ * The lead-list's name (unique per customer).
2355
+ */
2043
2356
  name: string;
2044
2357
  /**
2045
2358
  * The unique Identifier (UUID) of the object
2046
2359
  */
2047
2360
  campaignId?: string;
2048
2361
  /**
2049
- * Number of leads in the list
2362
+ * Number of leads in the list.
2050
2363
  */
2051
2364
  count?: number;
2052
2365
  };
@@ -2075,6 +2388,9 @@ type LeadUploadRequest = {
2075
2388
  */
2076
2389
  clear?: boolean;
2077
2390
  };
2391
+ /**
2392
+ * Result of a CSV lead upload — how many leads were imported.
2393
+ */
2078
2394
  type LeadUploadResponse = {
2079
2395
  item: LeadUploadResponseItem;
2080
2396
  success: boolean;
@@ -2084,28 +2400,55 @@ type LeadUploadResponseItem = {
2084
2400
  * The unique Identifier (UUID) of the object
2085
2401
  */
2086
2402
  listId?: string;
2403
+ /**
2404
+ * Number of leads imported from the file.
2405
+ */
2087
2406
  total?: number;
2407
+ /**
2408
+ * Human-readable summary of the import.
2409
+ */
2088
2410
  message?: string;
2089
2411
  };
2090
2412
  type ListModulesResponse = {
2091
2413
  items: Array<IvrModule>;
2092
2414
  };
2415
+ /**
2416
+ * A single live-log entry emitted while live logging is enabled.
2417
+ */
2093
2418
  type LiveLog = {
2094
2419
  /**
2095
2420
  * The unique Identifier (UUID) of the object
2096
2421
  */
2097
2422
  id: string;
2423
+ /**
2424
+ * Entry timestamp, as a Unix epoch in milliseconds.
2425
+ */
2098
2426
  time?: number;
2099
2427
  category: LiveLogCategory;
2100
2428
  level: LiveLogLevel;
2429
+ /**
2430
+ * The log message.
2431
+ */
2101
2432
  message: string;
2102
2433
  };
2434
+ /**
2435
+ * The subsystem that emitted the log entry.
2436
+ */
2103
2437
  type LiveLogCategory = 'ACTIONS' | 'APPLICATION' | 'VOICE_APPLICATIONS' | 'TRIGGERS' | 'EXPRESSIONS' | 'EVENT_TRIGGERS' | 'DIALER' | 'AGENT' | 'STORAGE' | 'VOICE' | 'TRANSACTION' | 'API';
2438
+ /**
2439
+ * The severity level of the log entry.
2440
+ */
2104
2441
  type LiveLogLevel = 'INFO' | 'DEBUG' | 'ERROR' | 'WARN' | 'TRACE';
2442
+ /**
2443
+ * An application action — a "local automation" attached to a single IVR application, run in `priority` order when the application is dispatched.
2444
+ */
2105
2445
  type LocalAutomation = BaseAutomation;
2446
+ /**
2447
+ * Optional context for dispatching an application's automations.
2448
+ */
2106
2449
  type LocalAutomationDispatch = {
2107
2450
  /**
2108
- * The ID of a Call to add to context
2451
+ * uuid of a call to add to the dispatch context.
2109
2452
  */
2110
2453
  callId?: string;
2111
2454
  };
@@ -2116,16 +2459,37 @@ type LocalAutomationItemResponse = {
2116
2459
  */
2117
2460
  success: boolean;
2118
2461
  };
2462
+ /**
2463
+ * A user account within the customer's account, with its login email, status flags, assigned roles and optionally the agent it is linked to.
2464
+ */
2119
2465
  type ManagedUser = {
2120
2466
  /**
2121
2467
  * The unique Identifier (UUID) of the object
2122
2468
  */
2123
2469
  id: string;
2470
+ /**
2471
+ * The user's login email address.
2472
+ */
2124
2473
  email: string;
2474
+ /**
2475
+ * Whether the user is enabled and may sign in.
2476
+ */
2125
2477
  enabled?: boolean;
2478
+ /**
2479
+ * Whether the user has activated their account.
2480
+ */
2126
2481
  activated?: boolean;
2482
+ /**
2483
+ * Whether the user's password has expired and must be reset.
2484
+ */
2127
2485
  passwordExpired?: boolean;
2486
+ /**
2487
+ * Whether the user's account has expired.
2488
+ */
2128
2489
  accountExpired?: boolean;
2490
+ /**
2491
+ * Whether the user's account is locked.
2492
+ */
2129
2493
  accountLocked?: boolean;
2130
2494
  /**
2131
2495
  * A List of Roles which are associated with the current User
@@ -2152,17 +2516,47 @@ type ManagedUserAgent = {
2152
2516
  type?: string;
2153
2517
  sourceId?: string;
2154
2518
  };
2519
+ /**
2520
+ * The definition of a metric — its id, a human description, and the filters it accepts when queried.
2521
+ */
2155
2522
  type MetricDefinition = {
2156
2523
  id: MetricId;
2524
+ /**
2525
+ * Human-readable description of what the metric measures.
2526
+ */
2157
2527
  description: string;
2528
+ /**
2529
+ * Tags categorizing the metric.
2530
+ */
2158
2531
  tags?: Array<string>;
2532
+ /**
2533
+ * The filters this metric accepts.
2534
+ */
2159
2535
  filters?: Array<MetricDefinitionFilter>;
2160
2536
  };
2537
+ /**
2538
+ * A filter a metric accepts when queried.
2539
+ */
2161
2540
  type MetricDefinitionFilter = {
2541
+ /**
2542
+ * The filter's parameter name.
2543
+ */
2162
2544
  name: string;
2545
+ /**
2546
+ * Human-readable description of the filter.
2547
+ */
2163
2548
  description: string;
2549
+ /**
2550
+ * The filter's value type.
2551
+ */
2164
2552
  type: string;
2553
+ /**
2554
+ * Expected value format, when applicable.
2555
+ */
2165
2556
  format?: string;
2557
+ /**
2558
+ * Allowed values, when the filter is an enumeration.
2559
+ */
2166
2560
  enum?: Array<string>;
2167
2561
  items?: MetricDefinitionFilterItems;
2168
2562
  };
@@ -2189,6 +2583,9 @@ type MetricIdItemsResponse = {
2189
2583
  */
2190
2584
  success: boolean;
2191
2585
  };
2586
+ /**
2587
+ * A metric query result — the computed value plus the request it was evaluated for.
2588
+ */
2192
2589
  type MetricResponse = {
2193
2590
  id: MetricId;
2194
2591
  /**
@@ -2239,14 +2636,29 @@ type ObjectListResponse = {
2239
2636
  * The unique Identifier (UUID) of the object
2240
2637
  */
2241
2638
  type ObjectUuid = string;
2639
+ /**
2640
+ * An outbound dialer campaign — the container for the leads to be dialled.
2641
+ */
2242
2642
  type OutboundCampaign = {
2243
2643
  /**
2244
2644
  * The unique Identifier (UUID) of the object
2245
2645
  */
2246
2646
  id: string;
2647
+ /**
2648
+ * The campaign's name.
2649
+ */
2247
2650
  name: string;
2651
+ /**
2652
+ * Whether the campaign is active.
2653
+ */
2248
2654
  active: boolean;
2655
+ /**
2656
+ * Number shown to leads as the caller ID.
2657
+ */
2249
2658
  displayNumber: string;
2659
+ /**
2660
+ * Whether the campaign runs in test mode (no real dials).
2661
+ */
2250
2662
  testMode: boolean;
2251
2663
  leadList?: OutboundCampaignLeadList;
2252
2664
  listOrder: CampaignListOrder;
@@ -2259,13 +2671,22 @@ type OutboundCampaignItemResponse = {
2259
2671
  */
2260
2672
  success: boolean;
2261
2673
  };
2674
+ /**
2675
+ * The lead-list the campaign currently works on.
2676
+ */
2262
2677
  type OutboundCampaignLeadList = {
2263
2678
  /**
2264
2679
  * The unique Identifier (UUID) of the object
2265
2680
  */
2266
2681
  id: string;
2682
+ /**
2683
+ * The lead-list's name.
2684
+ */
2267
2685
  name: string;
2268
2686
  };
2687
+ /**
2688
+ * An outbound dialer lead as returned when adding or updating a single lead — the number(s) to dial, dial status, attempt counters, and custom data.
2689
+ */
2269
2690
  type OutboundLead = {
2270
2691
  /**
2271
2692
  * The unique Identifier (UUID) of the object
@@ -2275,15 +2696,45 @@ type OutboundLead = {
2275
2696
  * The unique Identifier (UUID) of the object
2276
2697
  */
2277
2698
  listId: string;
2699
+ /**
2700
+ * Customer-supplied lead identifier, unique within the lead-list.
2701
+ */
2278
2702
  uid: string;
2703
+ /**
2704
+ * Primary phone number to dial, in E.164 format.
2705
+ */
2279
2706
  number: string;
2707
+ /**
2708
+ * First fallback number, tried when the primary is unreachable.
2709
+ */
2280
2710
  number2?: string;
2711
+ /**
2712
+ * Second fallback number.
2713
+ */
2281
2714
  number3?: string;
2715
+ /**
2716
+ * Caller ID presented when dialling this lead.
2717
+ */
2282
2718
  callerId: string;
2719
+ /**
2720
+ * Current dial status of the lead.
2721
+ */
2283
2722
  status: string;
2723
+ /**
2724
+ * Number of dial attempts made on this lead so far.
2725
+ */
2284
2726
  callCount: number;
2727
+ /**
2728
+ * Total talk time across all attempts, in seconds.
2729
+ */
2285
2730
  duration: number;
2731
+ /**
2732
+ * Whether the lead has been dialled since the list's call counters were last reset.
2733
+ */
2286
2734
  calledSinceReset: boolean;
2735
+ /**
2736
+ * Dial priority within the list; higher-ranked leads are dialled first.
2737
+ */
2287
2738
  rank: number;
2288
2739
  dateCreated: string;
2289
2740
  lastUpdated: string;
@@ -2298,13 +2749,25 @@ type OutboundLeadItemResponse = {
2298
2749
  */
2299
2750
  success: boolean;
2300
2751
  };
2752
+ /**
2753
+ * A lead-list — a named collection of leads dialled by a campaign.
2754
+ */
2301
2755
  type OutboundList = {
2302
2756
  /**
2303
2757
  * The unique Identifier (UUID) of the object
2304
2758
  */
2305
2759
  id: string;
2760
+ /**
2761
+ * The lead-list's name (unique per customer).
2762
+ */
2306
2763
  name: string;
2764
+ /**
2765
+ * Number of leads currently in the list.
2766
+ */
2307
2767
  count?: number;
2768
+ /**
2769
+ * uuid of the campaign this list is assigned to, if any.
2770
+ */
2308
2771
  campaignId?: string;
2309
2772
  };
2310
2773
  type OutboundListItemResponse = {
@@ -2334,20 +2797,29 @@ type Pagination = {
2334
2797
  max?: number;
2335
2798
  next?: string;
2336
2799
  };
2800
+ /**
2801
+ * A CSV file of phonebook entries to upload.
2802
+ */
2337
2803
  type PhonebookCsvFile = {
2804
+ /**
2805
+ * CSV file with `label` and `number` columns.
2806
+ */
2338
2807
  file: Blob | File;
2339
2808
  };
2809
+ /**
2810
+ * A phonebook entry — a labelled phone number that can be referenced by name in call flows.
2811
+ */
2340
2812
  type PhonebookEntry = {
2341
2813
  /**
2342
2814
  * The unique Identifier (UUID) of the object
2343
2815
  */
2344
2816
  id: string;
2345
2817
  /**
2346
- * A Label for the Phonebook-Entry
2818
+ * A label for the phonebook entry (unique per customer).
2347
2819
  */
2348
2820
  label: string;
2349
2821
  /**
2350
- * The Telephone-Number
2822
+ * The telephone number, in E.164 format.
2351
2823
  */
2352
2824
  number: string;
2353
2825
  /**
@@ -2362,13 +2834,25 @@ type PhonebookEntryItemResponse = {
2362
2834
  */
2363
2835
  success: boolean;
2364
2836
  };
2837
+ /**
2838
+ * An audio prompt played in call flows — either an uploaded audio file or text rendered via text-to-speech.
2839
+ */
2365
2840
  type Prompt = {
2366
2841
  /**
2367
2842
  * The unique Identifier (UUID) of the object
2368
2843
  */
2369
2844
  id: string;
2845
+ /**
2846
+ * The prompt's label (unique per customer).
2847
+ */
2370
2848
  label: string;
2849
+ /**
2850
+ * For text-to-speech prompts, the text rendered to audio.
2851
+ */
2371
2852
  text?: string;
2853
+ /**
2854
+ * The prompt's language (BCP-47/ISO code).
2855
+ */
2372
2856
  locale?: string;
2373
2857
  dateCreated: string;
2374
2858
  lastUpdated: string;
@@ -2394,9 +2878,21 @@ type Prompt = {
2394
2878
  tags?: Array<Tag>;
2395
2879
  file: FileReference;
2396
2880
  };
2881
+ /**
2882
+ * A multipart audio file upload for a prompt.
2883
+ */
2397
2884
  type PromptAudioFile = {
2885
+ /**
2886
+ * The audio file (WAV or MP3).
2887
+ */
2398
2888
  file: Blob | File;
2889
+ /**
2890
+ * The uploaded file's name.
2891
+ */
2399
2892
  filename?: string;
2893
+ /**
2894
+ * The prompt's label (unique per customer).
2895
+ */
2400
2896
  label?: string;
2401
2897
  };
2402
2898
  type PromptItemResponse = {
@@ -2442,15 +2938,33 @@ type PromptPlayerApplicationUpdateBody = {
2442
2938
  settings?: PromptPlayerApplicationSettings;
2443
2939
  module: 'promptPlayer';
2444
2940
  };
2941
+ /**
2942
+ * An ACD call queue — groups incoming calls and distributes them to the agents chosen by the queue's selections.
2943
+ */
2445
2944
  type Queue = {
2446
2945
  /**
2447
2946
  * The unique Identifier (UUID) of the object
2448
2947
  */
2449
2948
  id: string;
2949
+ /**
2950
+ * The queue's name.
2951
+ */
2450
2952
  name: string;
2953
+ /**
2954
+ * How many agents are dialled simultaneously per call.
2955
+ */
2451
2956
  maxDialCount?: number;
2957
+ /**
2958
+ * Post-call wrap-up time granted to an agent, in seconds.
2959
+ */
2452
2960
  wrapUpTime?: number;
2961
+ /**
2962
+ * How long an agent's device rings before moving on, in seconds.
2963
+ */
2453
2964
  defaultRingTimeout?: number;
2965
+ /**
2966
+ * Maximum number of calls allowed to wait in the queue.
2967
+ */
2454
2968
  maxSize?: number;
2455
2969
  /**
2456
2970
  * A List of Tags describing an Object
@@ -2718,6 +3232,9 @@ type QueuedCallBridgedQueue = {
2718
3232
  id?: string;
2719
3233
  name?: string;
2720
3234
  };
3235
+ /**
3236
+ * A voice recording of a call — its state, stored audio file, duration and the call and agent it belongs to.
3237
+ */
2721
3238
  type Recording = {
2722
3239
  /**
2723
3240
  * The unique Identifier (UUID) of the object
@@ -2727,6 +3244,9 @@ type Recording = {
2727
3244
  * Duration in Seconds
2728
3245
  */
2729
3246
  duration: number;
3247
+ /**
3248
+ * Public URL to download the recording's audio file.
3249
+ */
2730
3250
  url: string;
2731
3251
  state?: RecordingState;
2732
3252
  file: FileReference;
@@ -2737,12 +3257,21 @@ type Recording = {
2737
3257
  */
2738
3258
  tags: Array<Tag>;
2739
3259
  };
3260
+ /**
3261
+ * The agent who handled the recorded call.
3262
+ */
2740
3263
  type RecordingAgent = {
2741
3264
  /**
2742
3265
  * The unique Identifier (UUID) of the object
2743
3266
  */
2744
3267
  id: string;
3268
+ /**
3269
+ * The agent's name.
3270
+ */
2745
3271
  name: string;
3272
+ /**
3273
+ * The agent's telephone number.
3274
+ */
2746
3275
  number: string;
2747
3276
  };
2748
3277
  type RecordingApplication = {
@@ -2786,6 +3315,9 @@ type RecordingApplicationUpdateBody = {
2786
3315
  settings?: RecordingApplicationSettings;
2787
3316
  module: 'recording';
2788
3317
  };
3318
+ /**
3319
+ * The call the recording belongs to.
3320
+ */
2789
3321
  type RecordingCall = {
2790
3322
  /**
2791
3323
  * The unique Identifier (UUID) of the object
@@ -2796,7 +3328,13 @@ type RecordingCall = {
2796
3328
  */
2797
3329
  conversationId: string;
2798
3330
  type: CallType;
3331
+ /**
3332
+ * The calling party's number.
3333
+ */
2799
3334
  from: string;
3335
+ /**
3336
+ * The called party's number.
3337
+ */
2800
3338
  to: string;
2801
3339
  };
2802
3340
  type RecordingItemResponse = {
@@ -2819,7 +3357,13 @@ type RecordingStartRequest = {
2819
3357
  */
2820
3358
  tags?: Array<Tag>;
2821
3359
  };
3360
+ /**
3361
+ * Lifecycle state of a recording — from `init`/`recording` through `stored`, or `failed`/`deleted`/`missing`.
3362
+ */
2822
3363
  type RecordingState = 'init' | 'recording' | 'failed' | 'stopped' | 'stored' | 'deleted' | 'missing';
3364
+ /**
3365
+ * A recording's editable metadata.
3366
+ */
2823
3367
  type RecordingUpdateBody = {
2824
3368
  /**
2825
3369
  * A List of Tags describing an Object
@@ -2934,8 +3478,17 @@ type RestCreateAgent = {
2934
3478
  state?: AgentLineStatus;
2935
3479
  presence?: AgentPresence;
2936
3480
  status?: AgentStatus;
3481
+ /**
3482
+ * The agent's current activity.
3483
+ */
2937
3484
  activity?: string;
3485
+ /**
3486
+ * Human-readable status label for display.
3487
+ */
2938
3488
  display_status?: string;
3489
+ /**
3490
+ * Whether the agent is currently available to take calls.
3491
+ */
2939
3492
  available?: boolean;
2940
3493
  /**
2941
3494
  * A List of Tags describing an Object
@@ -3021,13 +3574,16 @@ type RestCreateGlobalAutomationEmbeddedEvent = {
3021
3574
  event?: GlobalAutomationEvent;
3022
3575
  };
3023
3576
  type RestCreateLocalAutomation = RestCreateBaseAutomation;
3577
+ /**
3578
+ * Request body to create a phonebook entry.
3579
+ */
3024
3580
  type RestCreatePhonebookEntry = {
3025
3581
  /**
3026
- * A Label for the Phonebook-Entry
3582
+ * A label for the phonebook entry (unique per customer).
3027
3583
  */
3028
3584
  label: string;
3029
3585
  /**
3030
- * The Telephone-Number
3586
+ * The telephone number, in E.164 format.
3031
3587
  */
3032
3588
  number: string;
3033
3589
  /**
@@ -3058,20 +3614,35 @@ type RestCreateQueueSelection = {
3058
3614
  tags?: Array<QueueSelectionTag>;
3059
3615
  agents?: Array<QueueSelectionAgent>;
3060
3616
  };
3617
+ /**
3618
+ * Request body to route a number to a voice application.
3619
+ */
3061
3620
  type RestCreateRouting = {
3062
3621
  application: RestCreateRoutingApplication;
3063
- number: RestCreateRoutingApplication;
3622
+ number: RestCreateRoutingNumber;
3064
3623
  /**
3065
3624
  * A List of Tags describing an Object
3066
3625
  */
3067
3626
  tags?: Array<Tag>;
3068
3627
  };
3628
+ /**
3629
+ * The voice application the number routes to (by id).
3630
+ */
3069
3631
  type RestCreateRoutingApplication = {
3070
3632
  /**
3071
3633
  * The unique Identifier (UUID) of the object
3072
3634
  */
3073
3635
  id?: string;
3074
3636
  };
3637
+ /**
3638
+ * The phone number being routed (by id).
3639
+ */
3640
+ type RestCreateRoutingNumber = {
3641
+ /**
3642
+ * The unique Identifier (UUID) of the object
3643
+ */
3644
+ id?: string;
3645
+ };
3075
3646
  type RestCreateTrigger = {
3076
3647
  name: string;
3077
3648
  type: TriggerType;
@@ -3109,8 +3680,17 @@ type RestUpdateAgent = {
3109
3680
  state?: AgentLineStatus;
3110
3681
  presence?: AgentPresence;
3111
3682
  status?: AgentStatus;
3683
+ /**
3684
+ * The agent's current activity.
3685
+ */
3112
3686
  activity?: string;
3687
+ /**
3688
+ * Human-readable status label for display.
3689
+ */
3113
3690
  display_status?: string;
3691
+ /**
3692
+ * Whether the agent is currently available to take calls.
3693
+ */
3114
3694
  available?: boolean;
3115
3695
  /**
3116
3696
  * A List of Tags describing an Object
@@ -3196,13 +3776,16 @@ type RestUpdateGlobalAutomationEmbeddedEvent = {
3196
3776
  event?: GlobalAutomationEvent;
3197
3777
  };
3198
3778
  type RestUpdateLocalAutomation = RestUpdateBaseAutomation;
3779
+ /**
3780
+ * Request body to update a phonebook entry.
3781
+ */
3199
3782
  type RestUpdatePhonebookEntry = {
3200
3783
  /**
3201
- * A Label for the Phonebook-Entry
3784
+ * A label for the phonebook entry (unique per customer).
3202
3785
  */
3203
3786
  label?: string;
3204
3787
  /**
3205
- * The Telephone-Number
3788
+ * The telephone number, in E.164 format.
3206
3789
  */
3207
3790
  number?: string;
3208
3791
  /**
@@ -3210,9 +3793,21 @@ type RestUpdatePhonebookEntry = {
3210
3793
  */
3211
3794
  tags?: Array<Tag>;
3212
3795
  };
3796
+ /**
3797
+ * Request body to update a prompt.
3798
+ */
3213
3799
  type RestUpdatePrompt = {
3800
+ /**
3801
+ * The prompt's label (unique per customer).
3802
+ */
3214
3803
  label?: string;
3804
+ /**
3805
+ * For text-to-speech prompts, the text rendered to audio.
3806
+ */
3215
3807
  text?: string;
3808
+ /**
3809
+ * The prompt's language (BCP-47/ISO code).
3810
+ */
3216
3811
  locale?: string;
3217
3812
  /**
3218
3813
  * Whether this Prompt is a Default-Prompt
@@ -3259,9 +3854,12 @@ type RestUpdateQueueSelection = {
3259
3854
  tags?: Array<QueueSelectionTag>;
3260
3855
  agents?: Array<QueueSelectionAgent>;
3261
3856
  };
3857
+ /**
3858
+ * Request body to update a routing.
3859
+ */
3262
3860
  type RestUpdateRouting = {
3263
3861
  application?: RestCreateRoutingApplication;
3264
- number?: RestCreateRoutingApplication;
3862
+ number?: RestCreateRoutingNumber;
3265
3863
  /**
3266
3864
  * A List of Tags describing an Object
3267
3865
  */
@@ -3276,13 +3874,16 @@ type RestUpdateTrigger = {
3276
3874
  */
3277
3875
  tags?: Array<Tag>;
3278
3876
  };
3877
+ /**
3878
+ * A routing — maps an inbound phone number to the voice application that handles its calls.
3879
+ */
3279
3880
  type Routing = {
3280
3881
  /**
3281
3882
  * The unique Identifier (UUID) of the object
3282
3883
  */
3283
3884
  id: string;
3284
- application: RestCreateRoutingApplication;
3285
- number: RestCreateRoutingApplication;
3885
+ application: RoutingApplication;
3886
+ number: RoutingNumber;
3286
3887
  /**
3287
3888
  * A List of Tags describing an Object
3288
3889
  */
@@ -3295,11 +3896,35 @@ type RoutingItemResponse = {
3295
3896
  */
3296
3897
  success: boolean;
3297
3898
  };
3899
+ /**
3900
+ * The voice application the number routes to.
3901
+ */
3902
+ type RoutingApplication = {
3903
+ /**
3904
+ * The unique Identifier (UUID) of the object
3905
+ */
3906
+ id?: string;
3907
+ };
3908
+ /**
3909
+ * The phone number being routed.
3910
+ */
3911
+ type RoutingNumber = {
3912
+ /**
3913
+ * The unique Identifier (UUID) of the object
3914
+ */
3915
+ id?: string;
3916
+ };
3917
+ /**
3918
+ * A phone number provisioned on the account, with its voice/SMS capabilities.
3919
+ */
3298
3920
  type ServiceNumber = {
3299
3921
  /**
3300
3922
  * The unique Identifier (UUID) of the object
3301
3923
  */
3302
3924
  id: string;
3925
+ /**
3926
+ * The phone number, in E.164 format.
3927
+ */
3303
3928
  number?: string;
3304
3929
  /**
3305
3930
  * If SMS Capability is enabled
@@ -3321,12 +3946,24 @@ type ServiceNumberItemResponse = {
3321
3946
  */
3322
3947
  success: boolean;
3323
3948
  };
3949
+ /**
3950
+ * A call session with its metadata and variables.
3951
+ */
3324
3952
  type SessionResponse = {
3325
3953
  item?: SessionResponseItem;
3326
3954
  success?: boolean;
3327
3955
  };
3956
+ /**
3957
+ * The call session.
3958
+ */
3328
3959
  type SessionResponseItem = {
3960
+ /**
3961
+ * The call session's uuid.
3962
+ */
3329
3963
  id?: string;
3964
+ /**
3965
+ * Whether the session is still valid (not expired).
3966
+ */
3330
3967
  valid?: boolean;
3331
3968
  /**
3332
3969
  * When the session was created
@@ -3386,71 +4023,212 @@ type SettingItemResponse = {
3386
4023
  item: Setting;
3387
4024
  success: boolean;
3388
4025
  };
4026
+ /**
4027
+ * The app-scope `agent.status` settings.
4028
+ */
3389
4029
  type SettingsAppAgentStatus = {
4030
+ /**
4031
+ * Whether status-based agent selection is enabled.
4032
+ */
3390
4033
  selectionEnabled: boolean;
3391
4034
  };
4035
+ /**
4036
+ * The app-scope `conversations` settings.
4037
+ */
3392
4038
  type SettingsAppConversations = {
4039
+ /**
4040
+ * Which conversations an agent may see — their own, their group's, or all.
4041
+ */
3393
4042
  conversationScope: 'OWN' | 'GROUP' | 'ALL';
4043
+ /**
4044
+ * Automatically close a conversation when its call ends.
4045
+ */
3394
4046
  autoClose: boolean;
3395
4047
  };
4048
+ /**
4049
+ * The app-scope `customer.logging` settings.
4050
+ */
3396
4051
  type SettingsAppCustomerLogging = {
4052
+ /**
4053
+ * Whether customer-level request logging is enabled.
4054
+ */
3397
4055
  enabled: boolean;
3398
4056
  };
4057
+ /**
4058
+ * The app-scope `integrations` settings.
4059
+ */
3399
4060
  type SettingsAppIntegrations = {
4061
+ /**
4062
+ * Integration that backs conversation task creation.
4063
+ */
3400
4064
  taskIntegration: string | null;
4065
+ /**
4066
+ * Action key used to create a task for a conversation.
4067
+ */
3401
4068
  conversationTaskKey: string | null;
4069
+ /**
4070
+ * Integration that backs agent scripting.
4071
+ */
3402
4072
  scriptingIntegration: string | null;
4073
+ /**
4074
+ * Action key used to fetch a conversation script.
4075
+ */
3403
4076
  conversationScriptKey: string | null;
4077
+ /**
4078
+ * Action key used to fetch a campaign script.
4079
+ */
3404
4080
  conversationScriptCampaignKey: string | null;
3405
4081
  };
4082
+ /**
4083
+ * The audit-scope `default` settings.
4084
+ */
3406
4085
  type SettingsAuditDefault = {
4086
+ /**
4087
+ * Whether audit logging is enabled.
4088
+ */
3407
4089
  enabled: boolean;
4090
+ /**
4091
+ * Whether audit entries are anonymized.
4092
+ */
3408
4093
  anonymized: boolean;
3409
4094
  };
3410
4095
  type SettingsListResponse = {
3411
4096
  items: Array<Setting>;
3412
4097
  success: boolean;
3413
4098
  };
4099
+ /**
4100
+ * The retention-scope `periods` settings.
4101
+ */
3414
4102
  type SettingsRetentionPeriods = {
4103
+ /**
4104
+ * Default data retention period, in days.
4105
+ */
3415
4106
  defaultPeriod: number;
4107
+ /**
4108
+ * Retention period for recording files, in days.
4109
+ */
3416
4110
  recordingFiles: number;
4111
+ /**
4112
+ * Retention period for call records, in days.
4113
+ */
3417
4114
  calls: number;
3418
4115
  };
4116
+ /**
4117
+ * The telephony-scope `agent.inbound` settings.
4118
+ */
3419
4119
  type SettingsTelephonyAgentInbound = {
4120
+ /**
4121
+ * Wrap-up time in seconds after an inbound call ends busy.
4122
+ */
3420
4123
  wrapUpBusy: number;
4124
+ /**
4125
+ * Wrap-up time in seconds after an inbound call ends unreachable.
4126
+ */
3421
4127
  wrapUpUnreachable: number;
4128
+ /**
4129
+ * Wrap-up time in seconds after an inbound call is declined.
4130
+ */
3422
4131
  wrapUpDeclined: number;
3423
4132
  };
4133
+ /**
4134
+ * The telephony-scope `agent.outbound` settings.
4135
+ */
3424
4136
  type SettingsTelephonyAgentOutbound = {
4137
+ /**
4138
+ * Wrap-up time in seconds after an outbound call ends busy.
4139
+ */
3425
4140
  wrapUpBusy: number;
4141
+ /**
4142
+ * Wrap-up time in seconds after an outbound call ends unreachable.
4143
+ */
3426
4144
  wrapUpUnreachable: number;
4145
+ /**
4146
+ * Wrap-up time in seconds after an outbound call is declined.
4147
+ */
3427
4148
  wrapUpDeclined: number;
3428
4149
  };
4150
+ /**
4151
+ * The telephony-scope `agent.recording` settings.
4152
+ */
3429
4153
  type SettingsTelephonyAgentRecording = {
4154
+ /**
4155
+ * Hide the recording controls in the agent UI.
4156
+ */
3430
4157
  hideRecordingUi: boolean;
4158
+ /**
4159
+ * Allow agents to delete recordings.
4160
+ */
3431
4161
  allowDelete: boolean;
4162
+ /**
4163
+ * Default tag applied to new recordings.
4164
+ */
3432
4165
  tag: string;
4166
+ /**
4167
+ * Tags an agent may apply to a recording.
4168
+ */
3433
4169
  availableTags: Array<string>;
4170
+ /**
4171
+ * Always record outbound calls.
4172
+ */
3434
4173
  alwaysRecordOutbound: boolean;
3435
4174
  };
4175
+ /**
4176
+ * The telephony-scope `agent.wrapup` settings.
4177
+ */
3436
4178
  type SettingsTelephonyAgentWrapup = {
4179
+ /**
4180
+ * Allow agents to cancel wrap-up on inbound calls.
4181
+ */
3437
4182
  cancelWrapUp: boolean;
4183
+ /**
4184
+ * Allow agents to extend wrap-up on inbound calls.
4185
+ */
3438
4186
  extendWrapUp: boolean;
4187
+ /**
4188
+ * Maximum wrap-up extension for inbound calls, in seconds.
4189
+ */
3439
4190
  maxExtension: number;
4191
+ /**
4192
+ * Enable wrap-up for outbound calls.
4193
+ */
3440
4194
  enabledOutbound: boolean;
4195
+ /**
4196
+ * Allow agents to cancel wrap-up on outbound calls.
4197
+ */
3441
4198
  cancelWrapUpOutbound: boolean;
4199
+ /**
4200
+ * Allow agents to extend wrap-up on outbound calls.
4201
+ */
3442
4202
  extendWrapUpOutbound: boolean;
4203
+ /**
4204
+ * Maximum wrap-up extension for outbound calls, in seconds.
4205
+ */
3443
4206
  maxExtensionOutbound: number;
4207
+ /**
4208
+ * Default wrap-up time for outbound calls, in seconds.
4209
+ */
3444
4210
  wrapupTimeOutbound: number;
3445
4211
  };
4212
+ /**
4213
+ * The telephony-scope `post-call` settings.
4214
+ */
3446
4215
  type SettingsTelephonyPostCall = {
3447
4216
  /**
3448
4217
  * The unique Identifier (UUID) of the object
3449
4218
  */
3450
4219
  applicationId: string;
3451
4220
  };
4221
+ /**
4222
+ * The ui-scope `i18n` settings.
4223
+ */
3452
4224
  type SettingsUiI18N = {
4225
+ /**
4226
+ * Default UI locale (e.g. `en`, `de`).
4227
+ */
3453
4228
  locale: string;
4229
+ /**
4230
+ * Default UI timezone (IANA name, e.g. `Europe/Berlin`).
4231
+ */
3454
4232
  timezone: string;
3455
4233
  };
3456
4234
  type SimpleMenuApplication = {
@@ -3495,6 +4273,9 @@ type SimpleMenuItem = {
3495
4273
  key: InputReaderTerminationDigit;
3496
4274
  application: ResourceReference;
3497
4275
  };
4276
+ /**
4277
+ * A short message (SMS) sent or received on the account.
4278
+ */
3498
4279
  type Sms = {
3499
4280
  /**
3500
4281
  * The unique Identifier (UUID) of the object
@@ -3510,10 +4291,19 @@ type Sms = {
3510
4291
  agentId?: string;
3511
4292
  dateCreated: string;
3512
4293
  type: SmsType;
4294
+ /**
4295
+ * The sender's phone number, in E.164 format.
4296
+ */
3513
4297
  from: string;
4298
+ /**
4299
+ * The recipient's phone number, in E.164 format.
4300
+ */
3514
4301
  to: string;
3515
4302
  state: SmsState;
3516
4303
  source: SmsSource;
4304
+ /**
4305
+ * The message body.
4306
+ */
3517
4307
  text?: string;
3518
4308
  };
3519
4309
  type SmsItemResponse = {
@@ -3527,16 +4317,40 @@ type SmsItemResponse = {
3527
4317
  * An outbound SMS to send
3528
4318
  */
3529
4319
  type SmsSendRequest = {
4320
+ /**
4321
+ * The recipient's phone number, in E.164 format.
4322
+ */
3530
4323
  to: string;
4324
+ /**
4325
+ * The sender's phone number or registered sender ID.
4326
+ */
3531
4327
  from?: string;
4328
+ /**
4329
+ * The message body.
4330
+ */
3532
4331
  text: string;
4332
+ /**
4333
+ * Optional alphanumeric sender name shown to the recipient.
4334
+ */
3533
4335
  displayAs?: string;
4336
+ /**
4337
+ * Optional session variables to seed on the resulting conversation.
4338
+ */
3534
4339
  session?: {
3535
4340
  [key: string]: unknown;
3536
4341
  };
3537
4342
  };
4343
+ /**
4344
+ * How the SMS was originated.
4345
+ */
3538
4346
  type SmsSource = 'api' | 'inbound' | 'action' | 'test';
4347
+ /**
4348
+ * Delivery state of the SMS.
4349
+ */
3539
4350
  type SmsState = 'unknown' | 'queued' | 'processing' | 'failed' | 'validation_failed' | 'sent' | 'received' | 'received_transaction' | 'merged';
4351
+ /**
4352
+ * Direction of the SMS — inbound (received) or outbound (sent).
4353
+ */
3540
4354
  type SmsType = 'inbound' | 'outbound';
3541
4355
  type SpeechToTextApplication = {
3542
4356
  /**
@@ -3605,7 +4419,13 @@ type StoredFile = {
3605
4419
  * Storage path
3606
4420
  */
3607
4421
  path: string;
4422
+ /**
4423
+ * The file's name.
4424
+ */
3608
4425
  filename: string;
4426
+ /**
4427
+ * MIME content type of the file.
4428
+ */
3609
4429
  contentType?: string | null;
3610
4430
  /**
3611
4431
  * File size in bytes
@@ -3801,33 +4621,57 @@ type TransferApplicationUpdateBody = {
3801
4621
  settings?: TransferApplicationSettings;
3802
4622
  module: 'transfer';
3803
4623
  };
4624
+ /**
4625
+ * A reusable named set of conditions evaluated against an event or call context; referenced by automations and routings to decide whether to fire.
4626
+ */
3804
4627
  type Trigger = {
3805
4628
  /**
3806
4629
  * The unique Identifier (UUID) of the object
3807
4630
  */
3808
4631
  id: string;
4632
+ /**
4633
+ * The trigger's name (unique per customer).
4634
+ */
3809
4635
  name: string;
3810
4636
  type: TriggerType;
4637
+ /**
4638
+ * The conditions evaluated, combined per the trigger's `type`.
4639
+ */
3811
4640
  conditions: Array<TriggerCondition>;
3812
4641
  /**
3813
4642
  * A List of Tags describing an Object
3814
4643
  */
3815
4644
  tags?: Array<Tag>;
3816
4645
  };
4646
+ /**
4647
+ * A single condition — the `operator` compares the value resolved from `expression` against `expectation`.
4648
+ */
3817
4649
  type TriggerCondition = {
3818
4650
  /**
3819
4651
  * The unique Identifier (UUID) of the object
3820
4652
  */
3821
4653
  id?: string;
4654
+ /**
4655
+ * The variable or field whose value is evaluated.
4656
+ */
3822
4657
  expression: string;
3823
4658
  operator: TriggerOperator;
4659
+ /**
4660
+ * The value the resolved expression is compared against.
4661
+ */
3824
4662
  expectation: string;
3825
4663
  };
3826
4664
  type TriggerConditionListResponse = {
3827
4665
  items: Array<TriggerCondition>;
3828
4666
  success?: boolean;
3829
4667
  };
4668
+ /**
4669
+ * The full set of conditions to set on a trigger (replaces existing).
4670
+ */
3830
4671
  type TriggerConditionsRequest = {
4672
+ /**
4673
+ * The conditions to set on the trigger.
4674
+ */
3831
4675
  conditions: Array<TriggerCondition>;
3832
4676
  };
3833
4677
  type TriggerItemResponse = {
@@ -3837,7 +4681,13 @@ type TriggerItemResponse = {
3837
4681
  */
3838
4682
  success: boolean;
3839
4683
  };
4684
+ /**
4685
+ * The comparison operator applied in a trigger condition.
4686
+ */
3840
4687
  type TriggerOperator = 'EQ' | 'NEQ' | 'GT' | 'GE' | 'LT' | 'LE' | 'REGEXP' | 'LIKE' | 'GIVEN' | 'NOT_GIVEN' | 'STARTS_WITH' | 'ENDS_WITH' | 'CONTAINS' | 'NOT_CONTAINS' | 'IS_NULL' | 'IS_NOT_NULL' | 'EVALUABLE' | 'NOT_EVALUABLE';
4688
+ /**
4689
+ * How the trigger's conditions are combined — `ALL` requires every condition to match, `ANY` requires at least one.
4690
+ */
3841
4691
  type TriggerType = 'ALL' | 'ANY';
3842
4692
  /**
3843
4693
  * A resource that references a trigger
@@ -3877,6 +4727,9 @@ type UpdateCampaignRequest = {
3877
4727
  listOrder?: CampaignListOrder;
3878
4728
  callRatio?: number;
3879
4729
  };
4730
+ /**
4731
+ * A key/value map of variables to set on the call session's user scope.
4732
+ */
3880
4733
  type UpdateSessionVariablesRequest = {
3881
4734
  [key: string]: unknown;
3882
4735
  };
@@ -4030,11 +4883,11 @@ type ListBabeldesksData = {
4030
4883
  path?: never;
4031
4884
  query?: {
4032
4885
  /**
4033
- * Parameter [page]
4886
+ * 1-based page number.
4034
4887
  */
4035
4888
  page?: number;
4036
4889
  /**
4037
- * Parameter [max]
4890
+ * Maximum number of items to return per page.
4038
4891
  */
4039
4892
  max?: number;
4040
4893
  };
@@ -4045,11 +4898,11 @@ type ListBabeldeskWidgetsData = {
4045
4898
  path?: never;
4046
4899
  query?: {
4047
4900
  /**
4048
- * Parameter [page]
4901
+ * 1-based page number.
4049
4902
  */
4050
4903
  page?: number;
4051
4904
  /**
4052
- * Parameter [max]
4905
+ * Maximum number of items to return per page.
4053
4906
  */
4054
4907
  max?: number;
4055
4908
  };
@@ -4060,11 +4913,11 @@ type ListBusinessHoursData = {
4060
4913
  path?: never;
4061
4914
  query?: {
4062
4915
  /**
4063
- * Parameter [page]
4916
+ * 1-based page number.
4064
4917
  */
4065
4918
  page?: number;
4066
4919
  /**
4067
- * Parameter [max]
4920
+ * Maximum number of items to return per page.
4068
4921
  */
4069
4922
  max?: number;
4070
4923
  };
@@ -4075,11 +4928,11 @@ type ListCalendarsData = {
4075
4928
  path?: never;
4076
4929
  query?: {
4077
4930
  /**
4078
- * Parameter [page]
4931
+ * 1-based page number.
4079
4932
  */
4080
4933
  page?: number;
4081
4934
  /**
4082
- * Parameter [max]
4935
+ * Maximum number of items to return per page.
4083
4936
  */
4084
4937
  max?: number;
4085
4938
  };
@@ -4418,11 +5271,11 @@ type ListConversationsData = {
4418
5271
  path?: never;
4419
5272
  query?: {
4420
5273
  /**
4421
- * Parameter [page]
5274
+ * 1-based page number.
4422
5275
  */
4423
5276
  page?: number;
4424
5277
  /**
4425
- * Parameter [max]
5278
+ * Maximum number of items to return per page.
4426
5279
  */
4427
5280
  max?: number;
4428
5281
  /**
@@ -4441,11 +5294,11 @@ type ListDashboardsData = {
4441
5294
  path?: never;
4442
5295
  query?: {
4443
5296
  /**
4444
- * Parameter [page]
5297
+ * 1-based page number.
4445
5298
  */
4446
5299
  page?: number;
4447
5300
  /**
4448
- * Parameter [max]
5301
+ * Maximum number of items to return per page.
4449
5302
  */
4450
5303
  max?: number;
4451
5304
  /**
@@ -4472,11 +5325,11 @@ type ListGlobalAutomationsData = {
4472
5325
  path?: never;
4473
5326
  query?: {
4474
5327
  /**
4475
- * Parameter [page]
5328
+ * 1-based page number.
4476
5329
  */
4477
5330
  page?: number;
4478
5331
  /**
4479
- * Parameter [max]
5332
+ * Maximum number of items to return per page.
4480
5333
  */
4481
5334
  max?: number;
4482
5335
  };
@@ -4487,11 +5340,11 @@ type ListFilesData = {
4487
5340
  path?: never;
4488
5341
  query?: {
4489
5342
  /**
4490
- * Parameter [page]
5343
+ * 1-based page number.
4491
5344
  */
4492
5345
  page?: number;
4493
5346
  /**
4494
- * Parameter [max]
5347
+ * Maximum number of items to return per page.
4495
5348
  */
4496
5349
  max?: number;
4497
5350
  /**
@@ -4582,11 +5435,11 @@ type ListServiceNumbersData = {
4582
5435
  path?: never;
4583
5436
  query?: {
4584
5437
  /**
4585
- * Parameter [page]
5438
+ * 1-based page number.
4586
5439
  */
4587
5440
  page?: number;
4588
5441
  /**
4589
- * Parameter [max]
5442
+ * Maximum number of items to return per page.
4590
5443
  */
4591
5444
  max?: number;
4592
5445
  };
@@ -4628,11 +5481,11 @@ type ListOutboundLeadsData = {
4628
5481
  path?: never;
4629
5482
  query?: {
4630
5483
  /**
4631
- * Parameter [page]
5484
+ * 1-based page number.
4632
5485
  */
4633
5486
  page?: number;
4634
5487
  /**
4635
- * Parameter [max]
5488
+ * Maximum number of items to return per page.
4636
5489
  */
4637
5490
  max?: number;
4638
5491
  /**
@@ -4651,11 +5504,11 @@ type ListPhonebookEntrysData = {
4651
5504
  path?: never;
4652
5505
  query?: {
4653
5506
  /**
4654
- * Parameter [page]
5507
+ * 1-based page number.
4655
5508
  */
4656
5509
  page?: number;
4657
5510
  /**
4658
- * Parameter [max]
5511
+ * Maximum number of items to return per page.
4659
5512
  */
4660
5513
  max?: number;
4661
5514
  };
@@ -4666,11 +5519,11 @@ type ListPromptsData = {
4666
5519
  path?: never;
4667
5520
  query?: {
4668
5521
  /**
4669
- * Parameter [page]
5522
+ * 1-based page number.
4670
5523
  */
4671
5524
  page?: number;
4672
5525
  /**
4673
- * Parameter [max]
5526
+ * Maximum number of items to return per page.
4674
5527
  */
4675
5528
  max?: number;
4676
5529
  };
@@ -4681,11 +5534,11 @@ type ListQueuesData = {
4681
5534
  path?: never;
4682
5535
  query?: {
4683
5536
  /**
4684
- * Parameter [page]
5537
+ * 1-based page number.
4685
5538
  */
4686
5539
  page?: number;
4687
5540
  /**
4688
- * Parameter [max]
5541
+ * Maximum number of items to return per page.
4689
5542
  */
4690
5543
  max?: number;
4691
5544
  };
@@ -4708,11 +5561,11 @@ type ListGlobalQueueSelectionsData = {
4708
5561
  */
4709
5562
  includeMembers?: boolean;
4710
5563
  /**
4711
- * Parameter [page]
5564
+ * 1-based page number.
4712
5565
  */
4713
5566
  page?: number;
4714
5567
  /**
4715
- * Parameter [max]
5568
+ * Maximum number of items to return per page.
4716
5569
  */
4717
5570
  max?: number;
4718
5571
  };
@@ -4722,17 +5575,17 @@ type ListQueuedCallsData = {
4722
5575
  body?: never;
4723
5576
  path: {
4724
5577
  /**
4725
- * Path Parameter queueId
5578
+ * The queue's uuid.
4726
5579
  */
4727
5580
  queueId: string;
4728
5581
  };
4729
5582
  query?: {
4730
5583
  /**
4731
- * Parameter [page]
5584
+ * 1-based page number.
4732
5585
  */
4733
5586
  page?: number;
4734
5587
  /**
4735
- * Parameter [max]
5588
+ * Maximum number of items to return per page.
4736
5589
  */
4737
5590
  max?: number;
4738
5591
  };
@@ -4743,11 +5596,11 @@ type ListRoutingsData = {
4743
5596
  path?: never;
4744
5597
  query?: {
4745
5598
  /**
4746
- * Parameter [page]
5599
+ * 1-based page number.
4747
5600
  */
4748
5601
  page?: number;
4749
5602
  /**
4750
- * Parameter [max]
5603
+ * Maximum number of items to return per page.
4751
5604
  */
4752
5605
  max?: number;
4753
5606
  };
@@ -4758,11 +5611,11 @@ type ListSmssData = {
4758
5611
  path?: never;
4759
5612
  query?: {
4760
5613
  /**
4761
- * Parameter [page]
5614
+ * 1-based page number.
4762
5615
  */
4763
5616
  page?: number;
4764
5617
  /**
4765
- * Parameter [max]
5618
+ * Maximum number of items to return per page.
4766
5619
  */
4767
5620
  max?: number;
4768
5621
  };
@@ -4773,11 +5626,11 @@ type ListTriggersData = {
4773
5626
  path?: never;
4774
5627
  query?: {
4775
5628
  /**
4776
- * Parameter [page]
5629
+ * 1-based page number.
4777
5630
  */
4778
5631
  page?: number;
4779
5632
  /**
4780
- * Parameter [max]
5633
+ * Maximum number of items to return per page.
4781
5634
  */
4782
5635
  max?: number;
4783
5636
  };