@babelforce/manager-sdk 0.38.0 → 0.40.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/CHANGELOG.md +19 -0
- package/README.md +7 -3
- package/dist/index.d.ts +995 -67
- package/dist/index.js +92 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,12 +3,17 @@ import { Client } from '@hey-api/client-fetch';
|
|
|
3
3
|
/**
|
|
4
4
|
* How the SDK authenticates against the manager API.
|
|
5
5
|
*
|
|
6
|
-
* - `clientCredentials` —
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* - `clientCredentials` — server-to-server OAuth2 client_credentials grant against `/oauth/token`.
|
|
7
|
+
* The token is fetched lazily on the first request and refreshed transparently before it expires.
|
|
8
|
+
* Requires an OAuth2 application (client id/secret); see the Authentication guide for the current
|
|
9
|
+
* availability caveat.
|
|
10
|
+
* - `bearer` — a bearer token you already obtained (e.g. the access token from a PKCE flow).
|
|
10
11
|
* - `password` — OAuth2 password grant against `/oauth/token`; the token is fetched lazily on the
|
|
11
12
|
* first request and refreshed transparently before it expires. Convenience for interactive/dev use.
|
|
13
|
+
* - `refreshToken` — a refresh token obtained from the Authorization Code + PKCE flow. The SDK
|
|
14
|
+
* exchanges it for an access token lazily and refreshes transparently, capturing the rotated
|
|
15
|
+
* refresh token on each use (refresh tokens are single-use). The recommended way to run a
|
|
16
|
+
* long-lived client on behalf of a user.
|
|
12
17
|
*/
|
|
13
18
|
type Auth = {
|
|
14
19
|
kind: 'clientCredentials';
|
|
@@ -22,12 +27,46 @@ type Auth = {
|
|
|
22
27
|
user: string;
|
|
23
28
|
pass: string;
|
|
24
29
|
clientId?: string;
|
|
30
|
+
} | {
|
|
31
|
+
kind: 'refreshToken';
|
|
32
|
+
refreshToken: string;
|
|
33
|
+
clientId?: string;
|
|
34
|
+
clientSecret?: string;
|
|
25
35
|
};
|
|
26
36
|
interface TokenResponse {
|
|
27
37
|
access_token: string;
|
|
28
38
|
expires_in?: number;
|
|
29
39
|
token_type?: string;
|
|
40
|
+
/** Present for the authorization_code (offline) and refresh_token grants; rotated on every use. */
|
|
41
|
+
refresh_token?: string;
|
|
42
|
+
}
|
|
43
|
+
interface PkceChallenge {
|
|
44
|
+
/** The high-entropy secret to keep client-side and send with {@link authorizationCodeGrant}. */
|
|
45
|
+
codeVerifier: string;
|
|
46
|
+
/** The base64url(SHA-256(codeVerifier)) value to send with {@link buildAuthorizeUrl}. */
|
|
47
|
+
codeChallenge: string;
|
|
48
|
+
codeChallengeMethod: 'S256';
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Generate a PKCE code verifier + S256 challenge (RFC 7636). Pass `codeChallenge` to
|
|
52
|
+
* {@link buildAuthorizeUrl} and keep `codeVerifier` to later exchange the returned code via
|
|
53
|
+
* {@link authorizationCodeGrant}. Uses the Web Crypto API (Node 18+ / browsers).
|
|
54
|
+
*/
|
|
55
|
+
declare function pkceChallenge(): Promise<PkceChallenge>;
|
|
56
|
+
interface AuthorizeUrlOptions {
|
|
57
|
+
baseUrl: string;
|
|
58
|
+
clientId: string;
|
|
59
|
+
redirectUri: string;
|
|
60
|
+
scope: string;
|
|
61
|
+
codeChallenge: string;
|
|
62
|
+
state?: string;
|
|
63
|
+
codeChallengeMethod?: 'S256' | 'plain';
|
|
30
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* Build the `GET {baseUrl}/oauth/authorize` URL that starts the Authorization Code + PKCE flow.
|
|
67
|
+
* Redirect the user to it; babelforce redirects back to `redirectUri` with a `code`.
|
|
68
|
+
*/
|
|
69
|
+
declare function buildAuthorizeUrl(opts: AuthorizeUrlOptions): string;
|
|
31
70
|
/**
|
|
32
71
|
* Exchange a username/password for a bearer token via the manager OAuth2 password grant
|
|
33
72
|
* (`POST {baseUrl}/oauth/token`). Exposed for callers who want to manage tokens themselves.
|
|
@@ -39,6 +78,42 @@ declare function passwordGrant(opts: {
|
|
|
39
78
|
clientId?: string;
|
|
40
79
|
fetch?: typeof fetch;
|
|
41
80
|
}): Promise<TokenResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Exchange a client id/secret for a bearer token via the manager OAuth2 client_credentials grant
|
|
83
|
+
* (`POST {baseUrl}/oauth/token`). Exposed for callers who want to manage tokens themselves.
|
|
84
|
+
*/
|
|
85
|
+
declare function clientCredentialsGrant(opts: {
|
|
86
|
+
baseUrl: string;
|
|
87
|
+
clientId: string;
|
|
88
|
+
clientSecret: string;
|
|
89
|
+
fetch?: typeof fetch;
|
|
90
|
+
}): Promise<TokenResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* Exchange an authorization `code` (from the PKCE consent redirect) for tokens via the
|
|
93
|
+
* authorization_code grant. Public clients pass only `codeVerifier`; confidential clients may also
|
|
94
|
+
* pass `clientSecret`. Returns an access token and (for offline access) a rotating refresh token.
|
|
95
|
+
*/
|
|
96
|
+
declare function authorizationCodeGrant(opts: {
|
|
97
|
+
baseUrl: string;
|
|
98
|
+
code: string;
|
|
99
|
+
redirectUri: string;
|
|
100
|
+
clientId: string;
|
|
101
|
+
codeVerifier: string;
|
|
102
|
+
clientSecret?: string;
|
|
103
|
+
fetch?: typeof fetch;
|
|
104
|
+
}): Promise<TokenResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Exchange the most-recently-issued refresh token for a fresh token set via the refresh_token grant.
|
|
107
|
+
* Refresh tokens are rotated on every use — the response carries the next one. Exposed for callers
|
|
108
|
+
* who want to manage tokens themselves; the `refreshToken` auth mode does this transparently.
|
|
109
|
+
*/
|
|
110
|
+
declare function refreshTokenGrant(opts: {
|
|
111
|
+
baseUrl: string;
|
|
112
|
+
refreshToken: string;
|
|
113
|
+
clientId?: string;
|
|
114
|
+
clientSecret?: string;
|
|
115
|
+
fetch?: typeof fetch;
|
|
116
|
+
}): Promise<TokenResponse>;
|
|
42
117
|
|
|
43
118
|
/**
|
|
44
119
|
* Automatic request retries for the manager SDK.
|
|
@@ -91,11 +166,26 @@ type ActionProxyResponseResponse = {
|
|
|
91
166
|
*/
|
|
92
167
|
contentType?: string;
|
|
93
168
|
};
|
|
169
|
+
/**
|
|
170
|
+
* Request body to add a lead to a lead-list.
|
|
171
|
+
*/
|
|
94
172
|
type AddOutboundLeadRequest = {
|
|
173
|
+
/**
|
|
174
|
+
* Customer-supplied lead identifier, unique within the lead-list.
|
|
175
|
+
*/
|
|
95
176
|
uid: string;
|
|
177
|
+
/**
|
|
178
|
+
* Phone number to dial, in E.164 format.
|
|
179
|
+
*/
|
|
96
180
|
number: string;
|
|
181
|
+
/**
|
|
182
|
+
* Dial priority within the list; higher-ranked leads are dialled first.
|
|
183
|
+
*/
|
|
97
184
|
rank?: number;
|
|
98
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* An ACD agent — a person or integration seat that handles calls and conversations and can belong to one or more agent groups.
|
|
188
|
+
*/
|
|
99
189
|
type Agent = {
|
|
100
190
|
/**
|
|
101
191
|
* The unique Identifier (UUID) of the object
|
|
@@ -128,8 +218,17 @@ type Agent = {
|
|
|
128
218
|
state?: AgentLineStatus;
|
|
129
219
|
presence?: AgentPresence;
|
|
130
220
|
status?: AgentStatus;
|
|
221
|
+
/**
|
|
222
|
+
* The agent's current activity.
|
|
223
|
+
*/
|
|
131
224
|
activity?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Human-readable status label for display.
|
|
227
|
+
*/
|
|
132
228
|
display_status?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Whether the agent is currently available to take calls.
|
|
231
|
+
*/
|
|
133
232
|
available?: boolean;
|
|
134
233
|
/**
|
|
135
234
|
* A List of Tags describing an Object
|
|
@@ -175,11 +274,17 @@ type AgentBulkResponseBulkInner = {
|
|
|
175
274
|
error?: string;
|
|
176
275
|
item?: Agent;
|
|
177
276
|
};
|
|
277
|
+
/**
|
|
278
|
+
* A named group of agents, used for queue routing and reporting.
|
|
279
|
+
*/
|
|
178
280
|
type AgentGroup = {
|
|
179
281
|
/**
|
|
180
282
|
* The unique Identifier (UUID) of the object
|
|
181
283
|
*/
|
|
182
284
|
id: string;
|
|
285
|
+
/**
|
|
286
|
+
* The group's name.
|
|
287
|
+
*/
|
|
183
288
|
name: string;
|
|
184
289
|
/**
|
|
185
290
|
* A List of Tags describing an Object
|
|
@@ -298,9 +403,21 @@ type AgentOutboundCallRequest = {
|
|
|
298
403
|
type AgentPasswordUpdateRequest = {
|
|
299
404
|
newPassword: string;
|
|
300
405
|
};
|
|
406
|
+
/**
|
|
407
|
+
* An agent presence state — `available`, or a custom busy reason.
|
|
408
|
+
*/
|
|
301
409
|
type AgentPresence = {
|
|
410
|
+
/**
|
|
411
|
+
* Whether agents in this presence can take calls.
|
|
412
|
+
*/
|
|
302
413
|
available: boolean;
|
|
414
|
+
/**
|
|
415
|
+
* Human-readable presence label.
|
|
416
|
+
*/
|
|
303
417
|
label: string;
|
|
418
|
+
/**
|
|
419
|
+
* The presence's unique name/key.
|
|
420
|
+
*/
|
|
304
421
|
name: string;
|
|
305
422
|
};
|
|
306
423
|
type AgentPresenceInfo = {
|
|
@@ -356,8 +473,17 @@ type AgentShort = {
|
|
|
356
473
|
*/
|
|
357
474
|
number: string;
|
|
358
475
|
};
|
|
476
|
+
/**
|
|
477
|
+
* An agent's composite status — account, availability, line, and outbound state.
|
|
478
|
+
*/
|
|
359
479
|
type AgentStatus = {
|
|
480
|
+
/**
|
|
481
|
+
* Whether the agent's account is enabled.
|
|
482
|
+
*/
|
|
360
483
|
enabled: boolean;
|
|
484
|
+
/**
|
|
485
|
+
* Whether the agent is currently available to take calls.
|
|
486
|
+
*/
|
|
361
487
|
available: boolean;
|
|
362
488
|
outbound_status: AgentStatusOutboundStatus;
|
|
363
489
|
line_status: AgentLineStatus;
|
|
@@ -493,7 +619,13 @@ type Application = ({
|
|
|
493
619
|
} & TextToSpeechApplication) | ({
|
|
494
620
|
module?: 'transfer';
|
|
495
621
|
} & TransferApplication);
|
|
622
|
+
/**
|
|
623
|
+
* 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.
|
|
624
|
+
*/
|
|
496
625
|
type ApplicationCreateBody = {
|
|
626
|
+
/**
|
|
627
|
+
* The application's name.
|
|
628
|
+
*/
|
|
497
629
|
name: string;
|
|
498
630
|
module: IvrModule;
|
|
499
631
|
};
|
|
@@ -691,12 +823,18 @@ type AvailableExpression = {
|
|
|
691
823
|
groupLabel: string;
|
|
692
824
|
formatDescription: string;
|
|
693
825
|
};
|
|
826
|
+
/**
|
|
827
|
+
* A babeldesk dashboard — a wallboard of widgets shared with a set of users and roles.
|
|
828
|
+
*/
|
|
694
829
|
type Babeldesk = {
|
|
695
830
|
/**
|
|
696
831
|
* The unique Identifier (UUID) of the object
|
|
697
832
|
*/
|
|
698
833
|
id: string;
|
|
699
834
|
dateCreated?: string;
|
|
835
|
+
/**
|
|
836
|
+
* The dashboard's label (unique per customer).
|
|
837
|
+
*/
|
|
700
838
|
label?: string;
|
|
701
839
|
users?: Array<ManagedUserEmail>;
|
|
702
840
|
/**
|
|
@@ -715,24 +853,51 @@ type BabeldeskItemResponse = {
|
|
|
715
853
|
*/
|
|
716
854
|
success: boolean;
|
|
717
855
|
};
|
|
856
|
+
/**
|
|
857
|
+
* A widget that can be placed on a babeldesk dashboard.
|
|
858
|
+
*/
|
|
718
859
|
type BabeldeskWidget = {
|
|
719
860
|
/**
|
|
720
861
|
* The unique Identifier (UUID) of the object
|
|
721
862
|
*/
|
|
722
863
|
id: string;
|
|
723
864
|
dateCreated?: string;
|
|
865
|
+
/**
|
|
866
|
+
* The widget type (e.g. `bar`, `iframe`).
|
|
867
|
+
*/
|
|
724
868
|
type?: string;
|
|
869
|
+
/**
|
|
870
|
+
* The widget's label (unique per customer).
|
|
871
|
+
*/
|
|
725
872
|
label?: string;
|
|
873
|
+
/**
|
|
874
|
+
* For iframe widgets, the URL embedded in the widget.
|
|
875
|
+
*/
|
|
726
876
|
iframeSource?: string;
|
|
727
877
|
/**
|
|
728
878
|
* A List of babeldesk widget metrics
|
|
729
879
|
*/
|
|
730
880
|
metrics?: Array<BabeldeskWidgetMetric>;
|
|
731
881
|
};
|
|
882
|
+
/**
|
|
883
|
+
* The placement of a widget on a dashboard's grid.
|
|
884
|
+
*/
|
|
732
885
|
type BabeldeskWidgetInstance = {
|
|
886
|
+
/**
|
|
887
|
+
* Column position on the dashboard grid.
|
|
888
|
+
*/
|
|
733
889
|
posX?: number;
|
|
890
|
+
/**
|
|
891
|
+
* Row position on the dashboard grid.
|
|
892
|
+
*/
|
|
734
893
|
posY?: number;
|
|
894
|
+
/**
|
|
895
|
+
* Width in grid columns.
|
|
896
|
+
*/
|
|
735
897
|
width?: number;
|
|
898
|
+
/**
|
|
899
|
+
* Height in grid rows.
|
|
900
|
+
*/
|
|
736
901
|
height?: number;
|
|
737
902
|
/**
|
|
738
903
|
* The unique Identifier (UUID) of the object
|
|
@@ -746,9 +911,21 @@ type BabeldeskWidgetItemResponse = {
|
|
|
746
911
|
*/
|
|
747
912
|
success: boolean;
|
|
748
913
|
};
|
|
914
|
+
/**
|
|
915
|
+
* A metric displayed by a babeldesk widget.
|
|
916
|
+
*/
|
|
749
917
|
type BabeldeskWidgetMetric = {
|
|
918
|
+
/**
|
|
919
|
+
* The metric name.
|
|
920
|
+
*/
|
|
750
921
|
name?: string;
|
|
922
|
+
/**
|
|
923
|
+
* The call direction/type the metric covers.
|
|
924
|
+
*/
|
|
751
925
|
type?: string;
|
|
926
|
+
/**
|
|
927
|
+
* The metric fields to display.
|
|
928
|
+
*/
|
|
752
929
|
fields?: Array<string>;
|
|
753
930
|
/**
|
|
754
931
|
* A list of call states
|
|
@@ -804,13 +981,25 @@ type BulkUpdateRequest = {
|
|
|
804
981
|
[key: string]: unknown;
|
|
805
982
|
}>;
|
|
806
983
|
};
|
|
984
|
+
/**
|
|
985
|
+
* 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.
|
|
986
|
+
*/
|
|
807
987
|
type BusinessHour = {
|
|
808
988
|
/**
|
|
809
989
|
* The unique Identifier (UUID) of the object
|
|
810
990
|
*/
|
|
811
991
|
id: string;
|
|
992
|
+
/**
|
|
993
|
+
* The profile's name (unique per customer).
|
|
994
|
+
*/
|
|
812
995
|
name: string;
|
|
996
|
+
/**
|
|
997
|
+
* Whether the profile is active and evaluated by call flows.
|
|
998
|
+
*/
|
|
813
999
|
enabled?: boolean;
|
|
1000
|
+
/**
|
|
1001
|
+
* IANA time zone the ranges are evaluated in.
|
|
1002
|
+
*/
|
|
814
1003
|
timeZone: string;
|
|
815
1004
|
/**
|
|
816
1005
|
* Whether the profile is currently within an open range
|
|
@@ -873,8 +1062,17 @@ type BusinessHourRangeBody = {
|
|
|
873
1062
|
* A weekday + time-of-day boundary
|
|
874
1063
|
*/
|
|
875
1064
|
type BusinessHourRangeBound = {
|
|
1065
|
+
/**
|
|
1066
|
+
* Day of the week the boundary falls on.
|
|
1067
|
+
*/
|
|
876
1068
|
day: 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
|
|
1069
|
+
/**
|
|
1070
|
+
* Hour of day, 0–23.
|
|
1071
|
+
*/
|
|
877
1072
|
hour: number;
|
|
1073
|
+
/**
|
|
1074
|
+
* Minute of the hour, 0–59.
|
|
1075
|
+
*/
|
|
878
1076
|
minute: number;
|
|
879
1077
|
};
|
|
880
1078
|
type BusinessHourRangeItemResponse = {
|
|
@@ -894,14 +1092,29 @@ type BusinessHourRangeListResponse = {
|
|
|
894
1092
|
type BusinessHourRangesBody = {
|
|
895
1093
|
ranges: Array<BusinessHourRangeBody>;
|
|
896
1094
|
};
|
|
1095
|
+
/**
|
|
1096
|
+
* 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.
|
|
1097
|
+
*/
|
|
897
1098
|
type Calendar = {
|
|
898
1099
|
/**
|
|
899
1100
|
* The unique Identifier (UUID) of the object
|
|
900
1101
|
*/
|
|
901
1102
|
id: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* The calendar's name (unique per customer).
|
|
1105
|
+
*/
|
|
902
1106
|
name: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* IANA time zone the calendar's dates are evaluated in.
|
|
1109
|
+
*/
|
|
903
1110
|
timeZone: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Whether the calendar is active and evaluated by call flows.
|
|
1113
|
+
*/
|
|
904
1114
|
enabled?: boolean;
|
|
1115
|
+
/**
|
|
1116
|
+
* Number of date ranges configured on the calendar.
|
|
1117
|
+
*/
|
|
905
1118
|
dateCount?: number;
|
|
906
1119
|
/**
|
|
907
1120
|
* A List of Tags describing an Object
|
|
@@ -912,15 +1125,24 @@ type CalendarBulkUpdateRequest = {
|
|
|
912
1125
|
items: Array<BusinessHourBulkUpdateRequestItemsInner>;
|
|
913
1126
|
};
|
|
914
1127
|
/**
|
|
915
|
-
* A date range within a calendar (e.g. a holiday)
|
|
1128
|
+
* A date range within a calendar (e.g. a holiday).
|
|
916
1129
|
*/
|
|
917
1130
|
type CalendarDate = {
|
|
918
1131
|
/**
|
|
919
1132
|
* The unique Identifier (UUID) of the object
|
|
920
1133
|
*/
|
|
921
1134
|
id: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* A human-readable name for the date range (unique per calendar).
|
|
1137
|
+
*/
|
|
922
1138
|
label: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Inclusive start of the date range.
|
|
1141
|
+
*/
|
|
923
1142
|
dateStart: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* Exclusive end of the date range (must be after dateStart).
|
|
1145
|
+
*/
|
|
924
1146
|
dateEnd: string;
|
|
925
1147
|
type: CalendarDateType;
|
|
926
1148
|
/**
|
|
@@ -929,11 +1151,20 @@ type CalendarDate = {
|
|
|
929
1151
|
active?: boolean;
|
|
930
1152
|
};
|
|
931
1153
|
/**
|
|
932
|
-
* Fields to create or update a calendar date
|
|
1154
|
+
* Fields to create or update a calendar date.
|
|
933
1155
|
*/
|
|
934
1156
|
type CalendarDateBody = {
|
|
1157
|
+
/**
|
|
1158
|
+
* A human-readable name for the date range (unique per calendar).
|
|
1159
|
+
*/
|
|
935
1160
|
label: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* Inclusive start of the date range.
|
|
1163
|
+
*/
|
|
936
1164
|
dateStart: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* Exclusive end of the date range (must be after dateStart).
|
|
1167
|
+
*/
|
|
937
1168
|
dateEnd: string;
|
|
938
1169
|
type?: CalendarDateType;
|
|
939
1170
|
};
|
|
@@ -1115,20 +1346,35 @@ type CallSource = 'queue' | 'webrtc' | 'api' | 'dialer' | 'dial' | 'transfer' |
|
|
|
1115
1346
|
type CallState = 'init' | 'scheduled' | 'ringing' | 'in-progress' | 'queued' | 'bridged' | 'canceled' | 'busy' | 'no-answer' | 'purged' | 'completed' | 'failed';
|
|
1116
1347
|
type CallType = 'inbound' | 'outbound';
|
|
1117
1348
|
/**
|
|
1118
|
-
* An outbound dialer campaign
|
|
1349
|
+
* An outbound dialer campaign — the container for the leads to be dialled.
|
|
1119
1350
|
*/
|
|
1120
1351
|
type Campaign = {
|
|
1121
1352
|
/**
|
|
1122
1353
|
* The unique Identifier (UUID) of the object
|
|
1123
1354
|
*/
|
|
1124
1355
|
id: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* The campaign's name.
|
|
1358
|
+
*/
|
|
1125
1359
|
name: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Number shown to leads as the caller ID.
|
|
1362
|
+
*/
|
|
1126
1363
|
displayNumber?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* Whether the campaign is active.
|
|
1366
|
+
*/
|
|
1127
1367
|
active?: boolean;
|
|
1368
|
+
/**
|
|
1369
|
+
* Whether the campaign runs in test mode (no real dials).
|
|
1370
|
+
*/
|
|
1128
1371
|
testMode?: boolean;
|
|
1129
|
-
leadList?:
|
|
1372
|
+
leadList?: CampaignLeadList;
|
|
1130
1373
|
listOrder?: CampaignListOrder;
|
|
1131
1374
|
recording?: CampaignRecording;
|
|
1375
|
+
/**
|
|
1376
|
+
* Ratio of simultaneous dials to available agents.
|
|
1377
|
+
*/
|
|
1132
1378
|
callRatio?: number;
|
|
1133
1379
|
};
|
|
1134
1380
|
type CampaignHopperResponse = {
|
|
@@ -1175,6 +1421,19 @@ type CampaignStatisticsResponse = {
|
|
|
1175
1421
|
items: Array<CampaignStatisticsItem>;
|
|
1176
1422
|
success: boolean;
|
|
1177
1423
|
};
|
|
1424
|
+
/**
|
|
1425
|
+
* The lead-list the campaign currently works on, if any.
|
|
1426
|
+
*/
|
|
1427
|
+
type CampaignLeadList = {
|
|
1428
|
+
/**
|
|
1429
|
+
* The unique Identifier (UUID) of the object
|
|
1430
|
+
*/
|
|
1431
|
+
id?: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* The lead-list's name.
|
|
1434
|
+
*/
|
|
1435
|
+
name?: string;
|
|
1436
|
+
} | null;
|
|
1178
1437
|
type Conference = {
|
|
1179
1438
|
/**
|
|
1180
1439
|
* The unique Identifier (UUID) of the object
|
|
@@ -1216,6 +1475,9 @@ type ConferenceMember = {
|
|
|
1216
1475
|
};
|
|
1217
1476
|
type ConferenceMemberState = 'pending' | 'added' | 'removed';
|
|
1218
1477
|
type ConferenceState = 'created' | 'finished';
|
|
1478
|
+
/**
|
|
1479
|
+
* A conversation — the container that ties together every interaction (calls, SMS, queue and integration events) with one consumer over time.
|
|
1480
|
+
*/
|
|
1219
1481
|
type Conversation = {
|
|
1220
1482
|
/**
|
|
1221
1483
|
* The unique Identifier (UUID) of the object
|
|
@@ -1223,8 +1485,14 @@ type Conversation = {
|
|
|
1223
1485
|
id: string;
|
|
1224
1486
|
dateCreated?: string;
|
|
1225
1487
|
state?: ConversationState;
|
|
1488
|
+
/**
|
|
1489
|
+
* The consumer's phone number, when the conversation is identified by phone.
|
|
1490
|
+
*/
|
|
1226
1491
|
phone?: string;
|
|
1227
1492
|
};
|
|
1493
|
+
/**
|
|
1494
|
+
* A single event within a conversation — something that happened on a call, SMS, queue, integration, or a custom event added by a user.
|
|
1495
|
+
*/
|
|
1228
1496
|
type ConversationEvent = {
|
|
1229
1497
|
/**
|
|
1230
1498
|
* The unique Identifier (UUID) of the object
|
|
@@ -1235,9 +1503,12 @@ type ConversationEvent = {
|
|
|
1235
1503
|
*/
|
|
1236
1504
|
conversationId?: string;
|
|
1237
1505
|
type: ConversationEventType;
|
|
1506
|
+
/**
|
|
1507
|
+
* The event name — what happened.
|
|
1508
|
+
*/
|
|
1238
1509
|
name: string;
|
|
1239
1510
|
/**
|
|
1240
|
-
* Level of
|
|
1511
|
+
* Level of detail of the event (higher = more detail).
|
|
1241
1512
|
*/
|
|
1242
1513
|
lod?: number;
|
|
1243
1514
|
dateCreated?: string;
|
|
@@ -1252,14 +1523,23 @@ type ConversationEventItemResponse = {
|
|
|
1252
1523
|
success: boolean;
|
|
1253
1524
|
};
|
|
1254
1525
|
/**
|
|
1255
|
-
* A user event to add to a conversation
|
|
1526
|
+
* A custom user event to add to a conversation.
|
|
1256
1527
|
*/
|
|
1257
1528
|
type ConversationEventRequest = {
|
|
1529
|
+
/**
|
|
1530
|
+
* The event name — what happened.
|
|
1531
|
+
*/
|
|
1258
1532
|
name: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* Arbitrary key/value payload stored with the event.
|
|
1535
|
+
*/
|
|
1259
1536
|
data?: {
|
|
1260
1537
|
[key: string]: unknown;
|
|
1261
1538
|
};
|
|
1262
1539
|
};
|
|
1540
|
+
/**
|
|
1541
|
+
* The area of concern an event belongs to — which subsystem produced it.
|
|
1542
|
+
*/
|
|
1263
1543
|
type ConversationEventType = 'call' | 'sms' | 'queue' | 'application' | 'integration' | 'agent' | 'external';
|
|
1264
1544
|
type ConversationItemResponse = {
|
|
1265
1545
|
item: Conversation;
|
|
@@ -1269,14 +1549,14 @@ type ConversationItemResponse = {
|
|
|
1269
1549
|
success: boolean;
|
|
1270
1550
|
};
|
|
1271
1551
|
/**
|
|
1272
|
-
*
|
|
1552
|
+
* A flat key/value map of session variables shared between the conversation and its live call session.
|
|
1273
1553
|
*/
|
|
1274
1554
|
type ConversationSessionVariables = {
|
|
1275
1555
|
[key: string]: unknown;
|
|
1276
1556
|
};
|
|
1277
1557
|
type ConversationSessionVariablesItemResponse = {
|
|
1278
1558
|
/**
|
|
1279
|
-
*
|
|
1559
|
+
* A flat key/value map of session variables shared between the conversation and its live call session.
|
|
1280
1560
|
*/
|
|
1281
1561
|
item: {
|
|
1282
1562
|
[key: string]: unknown;
|
|
@@ -1286,6 +1566,9 @@ type ConversationSessionVariablesItemResponse = {
|
|
|
1286
1566
|
*/
|
|
1287
1567
|
success: boolean;
|
|
1288
1568
|
};
|
|
1569
|
+
/**
|
|
1570
|
+
* Whether the conversation is currently open or closed.
|
|
1571
|
+
*/
|
|
1289
1572
|
type ConversationState = 'open' | 'closed';
|
|
1290
1573
|
type CreateCampaignRequest = {
|
|
1291
1574
|
name: string;
|
|
@@ -1295,19 +1578,43 @@ type CreateCampaignRequest = {
|
|
|
1295
1578
|
listOrder: CampaignListOrder;
|
|
1296
1579
|
callRatio?: number;
|
|
1297
1580
|
};
|
|
1581
|
+
/**
|
|
1582
|
+
* Request body to create or rename a lead-list.
|
|
1583
|
+
*/
|
|
1298
1584
|
type CreateListRequest = {
|
|
1585
|
+
/**
|
|
1586
|
+
* The lead-list's name (unique per customer).
|
|
1587
|
+
*/
|
|
1299
1588
|
name: string;
|
|
1300
1589
|
};
|
|
1590
|
+
/**
|
|
1591
|
+
* Request body to create a user.
|
|
1592
|
+
*/
|
|
1301
1593
|
type CreateManagedUserRequest = {
|
|
1594
|
+
/**
|
|
1595
|
+
* The user's initial password; a random one is generated if omitted.
|
|
1596
|
+
*/
|
|
1302
1597
|
password?: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* The user's login email address (unique per account).
|
|
1600
|
+
*/
|
|
1303
1601
|
email: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Whether to enable and activate the user immediately.
|
|
1604
|
+
*/
|
|
1304
1605
|
activated?: boolean;
|
|
1305
1606
|
/**
|
|
1306
1607
|
* A List of Roles which are associated with the current User
|
|
1307
1608
|
*/
|
|
1308
1609
|
roles: Array<AccountRole$1>;
|
|
1309
1610
|
};
|
|
1611
|
+
/**
|
|
1612
|
+
* Request body to create a lead-list.
|
|
1613
|
+
*/
|
|
1310
1614
|
type CreateOutboundListRequest = {
|
|
1615
|
+
/**
|
|
1616
|
+
* The lead-list's name (unique per customer).
|
|
1617
|
+
*/
|
|
1311
1618
|
name: string;
|
|
1312
1619
|
};
|
|
1313
1620
|
type CreateTestCallRequest = {
|
|
@@ -1326,7 +1633,13 @@ type CreateTestCallRequest = {
|
|
|
1326
1633
|
[key: string]: unknown;
|
|
1327
1634
|
};
|
|
1328
1635
|
};
|
|
1636
|
+
/**
|
|
1637
|
+
* Request body to create a custom event.
|
|
1638
|
+
*/
|
|
1329
1639
|
type CustomEventRequest = {
|
|
1640
|
+
/**
|
|
1641
|
+
* The custom event's name (combined with the `custom` type as its code).
|
|
1642
|
+
*/
|
|
1330
1643
|
name: string;
|
|
1331
1644
|
/**
|
|
1332
1645
|
* A List of Tags describing an Object
|
|
@@ -1395,6 +1708,9 @@ type DashboardUser = {
|
|
|
1395
1708
|
* The unique Identifier (UUID) of the object
|
|
1396
1709
|
*/
|
|
1397
1710
|
id: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* The user's login email address.
|
|
1713
|
+
*/
|
|
1398
1714
|
email: string;
|
|
1399
1715
|
};
|
|
1400
1716
|
type DashboardUsersResponse = {
|
|
@@ -1414,19 +1730,25 @@ type DefaultV2MessageResponse = {
|
|
|
1414
1730
|
*/
|
|
1415
1731
|
success: boolean;
|
|
1416
1732
|
};
|
|
1733
|
+
/**
|
|
1734
|
+
* How the dialer places outbound calls — `standard` (automatic dialing), `manual` (agent-initiated), or `safety_first` (conservative pacing).
|
|
1735
|
+
*/
|
|
1417
1736
|
type DialMethod = 'standard' | 'manual' | 'safety_first';
|
|
1418
1737
|
/**
|
|
1419
1738
|
* The dial status of an outbound lead or call attempt
|
|
1420
1739
|
*/
|
|
1421
1740
|
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
1741
|
/**
|
|
1423
|
-
* A dialer
|
|
1742
|
+
* A named dialer-behaviour profile controlling how an outbound campaign places calls (its dial method and pacing settings).
|
|
1424
1743
|
*/
|
|
1425
1744
|
type DialerBehaviour = {
|
|
1426
1745
|
/**
|
|
1427
1746
|
* The unique Identifier (UUID) of the object
|
|
1428
1747
|
*/
|
|
1429
1748
|
id: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* The profile's name (unique per customer).
|
|
1751
|
+
*/
|
|
1430
1752
|
name: string;
|
|
1431
1753
|
dialMethod?: DialMethod;
|
|
1432
1754
|
};
|
|
@@ -1434,7 +1756,13 @@ type DialerBehaviourItemResponse = {
|
|
|
1434
1756
|
item: DialerBehaviour;
|
|
1435
1757
|
success: boolean;
|
|
1436
1758
|
};
|
|
1759
|
+
/**
|
|
1760
|
+
* Request body to create or update a dialer-behaviour profile.
|
|
1761
|
+
*/
|
|
1437
1762
|
type DialerBehaviourWriteBody = {
|
|
1763
|
+
/**
|
|
1764
|
+
* The profile's name (unique per customer).
|
|
1765
|
+
*/
|
|
1438
1766
|
name: string;
|
|
1439
1767
|
dialMethod?: DialMethod;
|
|
1440
1768
|
};
|
|
@@ -1476,6 +1804,9 @@ type EvaluateExpressionResponse = {
|
|
|
1476
1804
|
evaluated?: unknown;
|
|
1477
1805
|
message: string;
|
|
1478
1806
|
};
|
|
1807
|
+
/**
|
|
1808
|
+
* A system event that automations can subscribe to, identified by its `code` (`<type>.<name>`, e.g. `call.inbound`).
|
|
1809
|
+
*/
|
|
1479
1810
|
type Event = {
|
|
1480
1811
|
/**
|
|
1481
1812
|
* The unique Identifier (UUID) of the object
|
|
@@ -1490,6 +1821,9 @@ type Event = {
|
|
|
1490
1821
|
* Unique identifier of an Event
|
|
1491
1822
|
*/
|
|
1492
1823
|
code: string;
|
|
1824
|
+
/**
|
|
1825
|
+
* Human-readable label for the event.
|
|
1826
|
+
*/
|
|
1493
1827
|
label: string;
|
|
1494
1828
|
/**
|
|
1495
1829
|
* A List of Tags describing an Object
|
|
@@ -1507,12 +1841,18 @@ type EventItemResponse = {
|
|
|
1507
1841
|
* The Event category
|
|
1508
1842
|
*/
|
|
1509
1843
|
type EventType = 'AGENT' | 'CALL' | 'CUSTOM' | 'MESSAGE' | 'RECORDING' | 'SMS' | 'TRANSACTION';
|
|
1844
|
+
/**
|
|
1845
|
+
* The files to delete.
|
|
1846
|
+
*/
|
|
1510
1847
|
type FileBulkDeleteRequest = {
|
|
1511
1848
|
/**
|
|
1512
1849
|
* File IDs to delete
|
|
1513
1850
|
*/
|
|
1514
1851
|
ids: Array<ObjectUuid>;
|
|
1515
1852
|
};
|
|
1853
|
+
/**
|
|
1854
|
+
* The files to bundle into a ZIP archive.
|
|
1855
|
+
*/
|
|
1516
1856
|
type FileBulkDownloadRequest = {
|
|
1517
1857
|
/**
|
|
1518
1858
|
* File IDs to include in the ZIP
|
|
@@ -1552,13 +1892,28 @@ type GetIntegrationProviderLogoResponseItem = {
|
|
|
1552
1892
|
*/
|
|
1553
1893
|
base64?: string;
|
|
1554
1894
|
};
|
|
1895
|
+
/**
|
|
1896
|
+
* An event trigger — an automation that fires its action when the subscribed event occurs (account-wide, unlike a per-application LocalAutomation).
|
|
1897
|
+
*/
|
|
1555
1898
|
type GlobalAutomation = BaseAutomation & GlobalAutomationEmbeddedEvent;
|
|
1556
1899
|
type GlobalAutomationEmbeddedEvent = {
|
|
1557
1900
|
event?: GlobalAutomationEvent;
|
|
1558
1901
|
};
|
|
1902
|
+
/**
|
|
1903
|
+
* The event an event trigger subscribes to.
|
|
1904
|
+
*/
|
|
1559
1905
|
type GlobalAutomationEvent = {
|
|
1906
|
+
/**
|
|
1907
|
+
* The event's name (e.g. `inbound`).
|
|
1908
|
+
*/
|
|
1560
1909
|
name: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* The event's type category (e.g. `call`).
|
|
1912
|
+
*/
|
|
1561
1913
|
type: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* The provider that emits the event, when applicable.
|
|
1916
|
+
*/
|
|
1562
1917
|
provider?: string;
|
|
1563
1918
|
};
|
|
1564
1919
|
type GlobalAutomationItemResponse = {
|
|
@@ -1977,7 +2332,7 @@ type IntegrationUpdateRequest = {
|
|
|
1977
2332
|
};
|
|
1978
2333
|
type IvrModule = 'agentQueue' | 'agentic' | 'audioPlayer' | 'consumerQueue' | 'inputReader' | 'inputReader.v2' | 'promptPlayer' | 'recording' | 'simpleMenu' | 'speechToText' | 'switchNode' | 'textToSpeech' | 'transfer';
|
|
1979
2334
|
/**
|
|
1980
|
-
* An outbound dialer lead
|
|
2335
|
+
* 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
2336
|
*/
|
|
1982
2337
|
type Lead = {
|
|
1983
2338
|
/**
|
|
@@ -1985,7 +2340,7 @@ type Lead = {
|
|
|
1985
2340
|
*/
|
|
1986
2341
|
id: string;
|
|
1987
2342
|
/**
|
|
1988
|
-
* Customer-supplied lead identifier
|
|
2343
|
+
* Customer-supplied lead identifier, unique within the lead-list.
|
|
1989
2344
|
*/
|
|
1990
2345
|
uid?: string;
|
|
1991
2346
|
/**
|
|
@@ -1996,14 +2351,38 @@ type Lead = {
|
|
|
1996
2351
|
* The unique Identifier (UUID) of the object
|
|
1997
2352
|
*/
|
|
1998
2353
|
campaignId?: string;
|
|
2354
|
+
/**
|
|
2355
|
+
* Primary phone number to dial, in E.164 format.
|
|
2356
|
+
*/
|
|
1999
2357
|
number: string;
|
|
2358
|
+
/**
|
|
2359
|
+
* First fallback number, tried when the primary is unreachable.
|
|
2360
|
+
*/
|
|
2000
2361
|
number2?: string;
|
|
2362
|
+
/**
|
|
2363
|
+
* Second fallback number.
|
|
2364
|
+
*/
|
|
2001
2365
|
number3?: string;
|
|
2366
|
+
/**
|
|
2367
|
+
* Caller ID presented when dialling this lead, overriding the campaign default.
|
|
2368
|
+
*/
|
|
2002
2369
|
callerId?: string;
|
|
2003
2370
|
status?: DialStatus;
|
|
2371
|
+
/**
|
|
2372
|
+
* Dial priority within the list; higher-ranked leads are dialled first.
|
|
2373
|
+
*/
|
|
2004
2374
|
rank?: number;
|
|
2375
|
+
/**
|
|
2376
|
+
* Number of dial attempts made on this lead so far.
|
|
2377
|
+
*/
|
|
2005
2378
|
callCount?: number;
|
|
2379
|
+
/**
|
|
2380
|
+
* Total talk time across all attempts, in seconds.
|
|
2381
|
+
*/
|
|
2006
2382
|
duration?: number;
|
|
2383
|
+
/**
|
|
2384
|
+
* Whether the lead has been dialled since the list's call counters were last reset.
|
|
2385
|
+
*/
|
|
2007
2386
|
calledSinceReset?: boolean;
|
|
2008
2387
|
dateCreated?: string;
|
|
2009
2388
|
lastUpdated?: string;
|
|
@@ -2022,10 +2401,16 @@ type Lead = {
|
|
|
2022
2401
|
} | null;
|
|
2023
2402
|
};
|
|
2024
2403
|
/**
|
|
2025
|
-
* Lead IDs or UIDs to delete (provide one of `ids` or `uids`)
|
|
2404
|
+
* Lead IDs or UIDs to delete (provide one of `ids` or `uids`).
|
|
2026
2405
|
*/
|
|
2027
2406
|
type LeadBulkDeleteRequest = {
|
|
2407
|
+
/**
|
|
2408
|
+
* Lead uuids to delete.
|
|
2409
|
+
*/
|
|
2028
2410
|
ids?: Array<ObjectUuid>;
|
|
2411
|
+
/**
|
|
2412
|
+
* Customer-supplied lead identifiers (`uid`) to delete.
|
|
2413
|
+
*/
|
|
2029
2414
|
uids?: Array<string>;
|
|
2030
2415
|
};
|
|
2031
2416
|
type LeadItemResponse = {
|
|
@@ -2033,20 +2418,23 @@ type LeadItemResponse = {
|
|
|
2033
2418
|
success: boolean;
|
|
2034
2419
|
};
|
|
2035
2420
|
/**
|
|
2036
|
-
*
|
|
2421
|
+
* A lead-list — a named collection of leads dialled by a campaign.
|
|
2037
2422
|
*/
|
|
2038
2423
|
type LeadList = {
|
|
2039
2424
|
/**
|
|
2040
2425
|
* The unique Identifier (UUID) of the object
|
|
2041
2426
|
*/
|
|
2042
2427
|
id: string;
|
|
2428
|
+
/**
|
|
2429
|
+
* The lead-list's name (unique per customer).
|
|
2430
|
+
*/
|
|
2043
2431
|
name: string;
|
|
2044
2432
|
/**
|
|
2045
2433
|
* The unique Identifier (UUID) of the object
|
|
2046
2434
|
*/
|
|
2047
2435
|
campaignId?: string;
|
|
2048
2436
|
/**
|
|
2049
|
-
* Number of leads in the list
|
|
2437
|
+
* Number of leads in the list.
|
|
2050
2438
|
*/
|
|
2051
2439
|
count?: number;
|
|
2052
2440
|
};
|
|
@@ -2075,6 +2463,9 @@ type LeadUploadRequest = {
|
|
|
2075
2463
|
*/
|
|
2076
2464
|
clear?: boolean;
|
|
2077
2465
|
};
|
|
2466
|
+
/**
|
|
2467
|
+
* Result of a CSV lead upload — how many leads were imported.
|
|
2468
|
+
*/
|
|
2078
2469
|
type LeadUploadResponse = {
|
|
2079
2470
|
item: LeadUploadResponseItem;
|
|
2080
2471
|
success: boolean;
|
|
@@ -2084,28 +2475,55 @@ type LeadUploadResponseItem = {
|
|
|
2084
2475
|
* The unique Identifier (UUID) of the object
|
|
2085
2476
|
*/
|
|
2086
2477
|
listId?: string;
|
|
2478
|
+
/**
|
|
2479
|
+
* Number of leads imported from the file.
|
|
2480
|
+
*/
|
|
2087
2481
|
total?: number;
|
|
2482
|
+
/**
|
|
2483
|
+
* Human-readable summary of the import.
|
|
2484
|
+
*/
|
|
2088
2485
|
message?: string;
|
|
2089
2486
|
};
|
|
2090
2487
|
type ListModulesResponse = {
|
|
2091
2488
|
items: Array<IvrModule>;
|
|
2092
2489
|
};
|
|
2490
|
+
/**
|
|
2491
|
+
* A single live-log entry emitted while live logging is enabled.
|
|
2492
|
+
*/
|
|
2093
2493
|
type LiveLog = {
|
|
2094
2494
|
/**
|
|
2095
2495
|
* The unique Identifier (UUID) of the object
|
|
2096
2496
|
*/
|
|
2097
2497
|
id: string;
|
|
2498
|
+
/**
|
|
2499
|
+
* Entry timestamp, as a Unix epoch in milliseconds.
|
|
2500
|
+
*/
|
|
2098
2501
|
time?: number;
|
|
2099
2502
|
category: LiveLogCategory;
|
|
2100
2503
|
level: LiveLogLevel;
|
|
2504
|
+
/**
|
|
2505
|
+
* The log message.
|
|
2506
|
+
*/
|
|
2101
2507
|
message: string;
|
|
2102
2508
|
};
|
|
2509
|
+
/**
|
|
2510
|
+
* The subsystem that emitted the log entry.
|
|
2511
|
+
*/
|
|
2103
2512
|
type LiveLogCategory = 'ACTIONS' | 'APPLICATION' | 'VOICE_APPLICATIONS' | 'TRIGGERS' | 'EXPRESSIONS' | 'EVENT_TRIGGERS' | 'DIALER' | 'AGENT' | 'STORAGE' | 'VOICE' | 'TRANSACTION' | 'API';
|
|
2513
|
+
/**
|
|
2514
|
+
* The severity level of the log entry.
|
|
2515
|
+
*/
|
|
2104
2516
|
type LiveLogLevel = 'INFO' | 'DEBUG' | 'ERROR' | 'WARN' | 'TRACE';
|
|
2517
|
+
/**
|
|
2518
|
+
* An application action — a "local automation" attached to a single IVR application, run in `priority` order when the application is dispatched.
|
|
2519
|
+
*/
|
|
2105
2520
|
type LocalAutomation = BaseAutomation;
|
|
2521
|
+
/**
|
|
2522
|
+
* Optional context for dispatching an application's automations.
|
|
2523
|
+
*/
|
|
2106
2524
|
type LocalAutomationDispatch = {
|
|
2107
2525
|
/**
|
|
2108
|
-
*
|
|
2526
|
+
* uuid of a call to add to the dispatch context.
|
|
2109
2527
|
*/
|
|
2110
2528
|
callId?: string;
|
|
2111
2529
|
};
|
|
@@ -2116,16 +2534,37 @@ type LocalAutomationItemResponse = {
|
|
|
2116
2534
|
*/
|
|
2117
2535
|
success: boolean;
|
|
2118
2536
|
};
|
|
2537
|
+
/**
|
|
2538
|
+
* A user account within the customer's account, with its login email, status flags, assigned roles and optionally the agent it is linked to.
|
|
2539
|
+
*/
|
|
2119
2540
|
type ManagedUser = {
|
|
2120
2541
|
/**
|
|
2121
2542
|
* The unique Identifier (UUID) of the object
|
|
2122
2543
|
*/
|
|
2123
2544
|
id: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* The user's login email address.
|
|
2547
|
+
*/
|
|
2124
2548
|
email: string;
|
|
2549
|
+
/**
|
|
2550
|
+
* Whether the user is enabled and may sign in.
|
|
2551
|
+
*/
|
|
2125
2552
|
enabled?: boolean;
|
|
2553
|
+
/**
|
|
2554
|
+
* Whether the user has activated their account.
|
|
2555
|
+
*/
|
|
2126
2556
|
activated?: boolean;
|
|
2557
|
+
/**
|
|
2558
|
+
* Whether the user's password has expired and must be reset.
|
|
2559
|
+
*/
|
|
2127
2560
|
passwordExpired?: boolean;
|
|
2561
|
+
/**
|
|
2562
|
+
* Whether the user's account has expired.
|
|
2563
|
+
*/
|
|
2128
2564
|
accountExpired?: boolean;
|
|
2565
|
+
/**
|
|
2566
|
+
* Whether the user's account is locked.
|
|
2567
|
+
*/
|
|
2129
2568
|
accountLocked?: boolean;
|
|
2130
2569
|
/**
|
|
2131
2570
|
* A List of Roles which are associated with the current User
|
|
@@ -2152,17 +2591,47 @@ type ManagedUserAgent = {
|
|
|
2152
2591
|
type?: string;
|
|
2153
2592
|
sourceId?: string;
|
|
2154
2593
|
};
|
|
2594
|
+
/**
|
|
2595
|
+
* The definition of a metric — its id, a human description, and the filters it accepts when queried.
|
|
2596
|
+
*/
|
|
2155
2597
|
type MetricDefinition = {
|
|
2156
2598
|
id: MetricId;
|
|
2599
|
+
/**
|
|
2600
|
+
* Human-readable description of what the metric measures.
|
|
2601
|
+
*/
|
|
2157
2602
|
description: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* Tags categorizing the metric.
|
|
2605
|
+
*/
|
|
2158
2606
|
tags?: Array<string>;
|
|
2607
|
+
/**
|
|
2608
|
+
* The filters this metric accepts.
|
|
2609
|
+
*/
|
|
2159
2610
|
filters?: Array<MetricDefinitionFilter>;
|
|
2160
2611
|
};
|
|
2612
|
+
/**
|
|
2613
|
+
* A filter a metric accepts when queried.
|
|
2614
|
+
*/
|
|
2161
2615
|
type MetricDefinitionFilter = {
|
|
2616
|
+
/**
|
|
2617
|
+
* The filter's parameter name.
|
|
2618
|
+
*/
|
|
2162
2619
|
name: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* Human-readable description of the filter.
|
|
2622
|
+
*/
|
|
2163
2623
|
description: string;
|
|
2624
|
+
/**
|
|
2625
|
+
* The filter's value type.
|
|
2626
|
+
*/
|
|
2164
2627
|
type: string;
|
|
2628
|
+
/**
|
|
2629
|
+
* Expected value format, when applicable.
|
|
2630
|
+
*/
|
|
2165
2631
|
format?: string;
|
|
2632
|
+
/**
|
|
2633
|
+
* Allowed values, when the filter is an enumeration.
|
|
2634
|
+
*/
|
|
2166
2635
|
enum?: Array<string>;
|
|
2167
2636
|
items?: MetricDefinitionFilterItems;
|
|
2168
2637
|
};
|
|
@@ -2189,6 +2658,9 @@ type MetricIdItemsResponse = {
|
|
|
2189
2658
|
*/
|
|
2190
2659
|
success: boolean;
|
|
2191
2660
|
};
|
|
2661
|
+
/**
|
|
2662
|
+
* A metric query result — the computed value plus the request it was evaluated for.
|
|
2663
|
+
*/
|
|
2192
2664
|
type MetricResponse = {
|
|
2193
2665
|
id: MetricId;
|
|
2194
2666
|
/**
|
|
@@ -2239,14 +2711,29 @@ type ObjectListResponse = {
|
|
|
2239
2711
|
* The unique Identifier (UUID) of the object
|
|
2240
2712
|
*/
|
|
2241
2713
|
type ObjectUuid = string;
|
|
2714
|
+
/**
|
|
2715
|
+
* An outbound dialer campaign — the container for the leads to be dialled.
|
|
2716
|
+
*/
|
|
2242
2717
|
type OutboundCampaign = {
|
|
2243
2718
|
/**
|
|
2244
2719
|
* The unique Identifier (UUID) of the object
|
|
2245
2720
|
*/
|
|
2246
2721
|
id: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* The campaign's name.
|
|
2724
|
+
*/
|
|
2247
2725
|
name: string;
|
|
2726
|
+
/**
|
|
2727
|
+
* Whether the campaign is active.
|
|
2728
|
+
*/
|
|
2248
2729
|
active: boolean;
|
|
2730
|
+
/**
|
|
2731
|
+
* Number shown to leads as the caller ID.
|
|
2732
|
+
*/
|
|
2249
2733
|
displayNumber: string;
|
|
2734
|
+
/**
|
|
2735
|
+
* Whether the campaign runs in test mode (no real dials).
|
|
2736
|
+
*/
|
|
2250
2737
|
testMode: boolean;
|
|
2251
2738
|
leadList?: OutboundCampaignLeadList;
|
|
2252
2739
|
listOrder: CampaignListOrder;
|
|
@@ -2259,13 +2746,22 @@ type OutboundCampaignItemResponse = {
|
|
|
2259
2746
|
*/
|
|
2260
2747
|
success: boolean;
|
|
2261
2748
|
};
|
|
2749
|
+
/**
|
|
2750
|
+
* The lead-list the campaign currently works on.
|
|
2751
|
+
*/
|
|
2262
2752
|
type OutboundCampaignLeadList = {
|
|
2263
2753
|
/**
|
|
2264
2754
|
* The unique Identifier (UUID) of the object
|
|
2265
2755
|
*/
|
|
2266
2756
|
id: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* The lead-list's name.
|
|
2759
|
+
*/
|
|
2267
2760
|
name: string;
|
|
2268
2761
|
};
|
|
2762
|
+
/**
|
|
2763
|
+
* 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.
|
|
2764
|
+
*/
|
|
2269
2765
|
type OutboundLead = {
|
|
2270
2766
|
/**
|
|
2271
2767
|
* The unique Identifier (UUID) of the object
|
|
@@ -2275,15 +2771,45 @@ type OutboundLead = {
|
|
|
2275
2771
|
* The unique Identifier (UUID) of the object
|
|
2276
2772
|
*/
|
|
2277
2773
|
listId: string;
|
|
2774
|
+
/**
|
|
2775
|
+
* Customer-supplied lead identifier, unique within the lead-list.
|
|
2776
|
+
*/
|
|
2278
2777
|
uid: string;
|
|
2778
|
+
/**
|
|
2779
|
+
* Primary phone number to dial, in E.164 format.
|
|
2780
|
+
*/
|
|
2279
2781
|
number: string;
|
|
2782
|
+
/**
|
|
2783
|
+
* First fallback number, tried when the primary is unreachable.
|
|
2784
|
+
*/
|
|
2280
2785
|
number2?: string;
|
|
2786
|
+
/**
|
|
2787
|
+
* Second fallback number.
|
|
2788
|
+
*/
|
|
2281
2789
|
number3?: string;
|
|
2790
|
+
/**
|
|
2791
|
+
* Caller ID presented when dialling this lead.
|
|
2792
|
+
*/
|
|
2282
2793
|
callerId: string;
|
|
2794
|
+
/**
|
|
2795
|
+
* Current dial status of the lead.
|
|
2796
|
+
*/
|
|
2283
2797
|
status: string;
|
|
2798
|
+
/**
|
|
2799
|
+
* Number of dial attempts made on this lead so far.
|
|
2800
|
+
*/
|
|
2284
2801
|
callCount: number;
|
|
2802
|
+
/**
|
|
2803
|
+
* Total talk time across all attempts, in seconds.
|
|
2804
|
+
*/
|
|
2285
2805
|
duration: number;
|
|
2806
|
+
/**
|
|
2807
|
+
* Whether the lead has been dialled since the list's call counters were last reset.
|
|
2808
|
+
*/
|
|
2286
2809
|
calledSinceReset: boolean;
|
|
2810
|
+
/**
|
|
2811
|
+
* Dial priority within the list; higher-ranked leads are dialled first.
|
|
2812
|
+
*/
|
|
2287
2813
|
rank: number;
|
|
2288
2814
|
dateCreated: string;
|
|
2289
2815
|
lastUpdated: string;
|
|
@@ -2298,13 +2824,25 @@ type OutboundLeadItemResponse = {
|
|
|
2298
2824
|
*/
|
|
2299
2825
|
success: boolean;
|
|
2300
2826
|
};
|
|
2827
|
+
/**
|
|
2828
|
+
* A lead-list — a named collection of leads dialled by a campaign.
|
|
2829
|
+
*/
|
|
2301
2830
|
type OutboundList = {
|
|
2302
2831
|
/**
|
|
2303
2832
|
* The unique Identifier (UUID) of the object
|
|
2304
2833
|
*/
|
|
2305
2834
|
id: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* The lead-list's name (unique per customer).
|
|
2837
|
+
*/
|
|
2306
2838
|
name: string;
|
|
2839
|
+
/**
|
|
2840
|
+
* Number of leads currently in the list.
|
|
2841
|
+
*/
|
|
2307
2842
|
count?: number;
|
|
2843
|
+
/**
|
|
2844
|
+
* uuid of the campaign this list is assigned to, if any.
|
|
2845
|
+
*/
|
|
2308
2846
|
campaignId?: string;
|
|
2309
2847
|
};
|
|
2310
2848
|
type OutboundListItemResponse = {
|
|
@@ -2334,20 +2872,29 @@ type Pagination = {
|
|
|
2334
2872
|
max?: number;
|
|
2335
2873
|
next?: string;
|
|
2336
2874
|
};
|
|
2875
|
+
/**
|
|
2876
|
+
* A CSV file of phonebook entries to upload.
|
|
2877
|
+
*/
|
|
2337
2878
|
type PhonebookCsvFile = {
|
|
2879
|
+
/**
|
|
2880
|
+
* CSV file with `label` and `number` columns.
|
|
2881
|
+
*/
|
|
2338
2882
|
file: Blob | File;
|
|
2339
2883
|
};
|
|
2884
|
+
/**
|
|
2885
|
+
* A phonebook entry — a labelled phone number that can be referenced by name in call flows.
|
|
2886
|
+
*/
|
|
2340
2887
|
type PhonebookEntry = {
|
|
2341
2888
|
/**
|
|
2342
2889
|
* The unique Identifier (UUID) of the object
|
|
2343
2890
|
*/
|
|
2344
2891
|
id: string;
|
|
2345
2892
|
/**
|
|
2346
|
-
* A
|
|
2893
|
+
* A label for the phonebook entry (unique per customer).
|
|
2347
2894
|
*/
|
|
2348
2895
|
label: string;
|
|
2349
2896
|
/**
|
|
2350
|
-
* The
|
|
2897
|
+
* The telephone number, in E.164 format.
|
|
2351
2898
|
*/
|
|
2352
2899
|
number: string;
|
|
2353
2900
|
/**
|
|
@@ -2362,13 +2909,25 @@ type PhonebookEntryItemResponse = {
|
|
|
2362
2909
|
*/
|
|
2363
2910
|
success: boolean;
|
|
2364
2911
|
};
|
|
2912
|
+
/**
|
|
2913
|
+
* An audio prompt played in call flows — either an uploaded audio file or text rendered via text-to-speech.
|
|
2914
|
+
*/
|
|
2365
2915
|
type Prompt = {
|
|
2366
2916
|
/**
|
|
2367
2917
|
* The unique Identifier (UUID) of the object
|
|
2368
2918
|
*/
|
|
2369
2919
|
id: string;
|
|
2920
|
+
/**
|
|
2921
|
+
* The prompt's label (unique per customer).
|
|
2922
|
+
*/
|
|
2370
2923
|
label: string;
|
|
2924
|
+
/**
|
|
2925
|
+
* For text-to-speech prompts, the text rendered to audio.
|
|
2926
|
+
*/
|
|
2371
2927
|
text?: string;
|
|
2928
|
+
/**
|
|
2929
|
+
* The prompt's language (BCP-47/ISO code).
|
|
2930
|
+
*/
|
|
2372
2931
|
locale?: string;
|
|
2373
2932
|
dateCreated: string;
|
|
2374
2933
|
lastUpdated: string;
|
|
@@ -2394,9 +2953,21 @@ type Prompt = {
|
|
|
2394
2953
|
tags?: Array<Tag>;
|
|
2395
2954
|
file: FileReference;
|
|
2396
2955
|
};
|
|
2956
|
+
/**
|
|
2957
|
+
* A multipart audio file upload for a prompt.
|
|
2958
|
+
*/
|
|
2397
2959
|
type PromptAudioFile = {
|
|
2960
|
+
/**
|
|
2961
|
+
* The audio file (WAV or MP3).
|
|
2962
|
+
*/
|
|
2398
2963
|
file: Blob | File;
|
|
2964
|
+
/**
|
|
2965
|
+
* The uploaded file's name.
|
|
2966
|
+
*/
|
|
2399
2967
|
filename?: string;
|
|
2968
|
+
/**
|
|
2969
|
+
* The prompt's label (unique per customer).
|
|
2970
|
+
*/
|
|
2400
2971
|
label?: string;
|
|
2401
2972
|
};
|
|
2402
2973
|
type PromptItemResponse = {
|
|
@@ -2442,15 +3013,33 @@ type PromptPlayerApplicationUpdateBody = {
|
|
|
2442
3013
|
settings?: PromptPlayerApplicationSettings;
|
|
2443
3014
|
module: 'promptPlayer';
|
|
2444
3015
|
};
|
|
3016
|
+
/**
|
|
3017
|
+
* An ACD call queue — groups incoming calls and distributes them to the agents chosen by the queue's selections.
|
|
3018
|
+
*/
|
|
2445
3019
|
type Queue = {
|
|
2446
3020
|
/**
|
|
2447
3021
|
* The unique Identifier (UUID) of the object
|
|
2448
3022
|
*/
|
|
2449
3023
|
id: string;
|
|
3024
|
+
/**
|
|
3025
|
+
* The queue's name.
|
|
3026
|
+
*/
|
|
2450
3027
|
name: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* How many agents are dialled simultaneously per call.
|
|
3030
|
+
*/
|
|
2451
3031
|
maxDialCount?: number;
|
|
3032
|
+
/**
|
|
3033
|
+
* Post-call wrap-up time granted to an agent, in seconds.
|
|
3034
|
+
*/
|
|
2452
3035
|
wrapUpTime?: number;
|
|
3036
|
+
/**
|
|
3037
|
+
* How long an agent's device rings before moving on, in seconds.
|
|
3038
|
+
*/
|
|
2453
3039
|
defaultRingTimeout?: number;
|
|
3040
|
+
/**
|
|
3041
|
+
* Maximum number of calls allowed to wait in the queue.
|
|
3042
|
+
*/
|
|
2454
3043
|
maxSize?: number;
|
|
2455
3044
|
/**
|
|
2456
3045
|
* A List of Tags describing an Object
|
|
@@ -2718,6 +3307,9 @@ type QueuedCallBridgedQueue = {
|
|
|
2718
3307
|
id?: string;
|
|
2719
3308
|
name?: string;
|
|
2720
3309
|
};
|
|
3310
|
+
/**
|
|
3311
|
+
* A voice recording of a call — its state, stored audio file, duration and the call and agent it belongs to.
|
|
3312
|
+
*/
|
|
2721
3313
|
type Recording = {
|
|
2722
3314
|
/**
|
|
2723
3315
|
* The unique Identifier (UUID) of the object
|
|
@@ -2727,6 +3319,9 @@ type Recording = {
|
|
|
2727
3319
|
* Duration in Seconds
|
|
2728
3320
|
*/
|
|
2729
3321
|
duration: number;
|
|
3322
|
+
/**
|
|
3323
|
+
* Public URL to download the recording's audio file.
|
|
3324
|
+
*/
|
|
2730
3325
|
url: string;
|
|
2731
3326
|
state?: RecordingState;
|
|
2732
3327
|
file: FileReference;
|
|
@@ -2737,12 +3332,21 @@ type Recording = {
|
|
|
2737
3332
|
*/
|
|
2738
3333
|
tags: Array<Tag>;
|
|
2739
3334
|
};
|
|
3335
|
+
/**
|
|
3336
|
+
* The agent who handled the recorded call.
|
|
3337
|
+
*/
|
|
2740
3338
|
type RecordingAgent = {
|
|
2741
3339
|
/**
|
|
2742
3340
|
* The unique Identifier (UUID) of the object
|
|
2743
3341
|
*/
|
|
2744
3342
|
id: string;
|
|
3343
|
+
/**
|
|
3344
|
+
* The agent's name.
|
|
3345
|
+
*/
|
|
2745
3346
|
name: string;
|
|
3347
|
+
/**
|
|
3348
|
+
* The agent's telephone number.
|
|
3349
|
+
*/
|
|
2746
3350
|
number: string;
|
|
2747
3351
|
};
|
|
2748
3352
|
type RecordingApplication = {
|
|
@@ -2786,6 +3390,9 @@ type RecordingApplicationUpdateBody = {
|
|
|
2786
3390
|
settings?: RecordingApplicationSettings;
|
|
2787
3391
|
module: 'recording';
|
|
2788
3392
|
};
|
|
3393
|
+
/**
|
|
3394
|
+
* The call the recording belongs to.
|
|
3395
|
+
*/
|
|
2789
3396
|
type RecordingCall = {
|
|
2790
3397
|
/**
|
|
2791
3398
|
* The unique Identifier (UUID) of the object
|
|
@@ -2796,7 +3403,13 @@ type RecordingCall = {
|
|
|
2796
3403
|
*/
|
|
2797
3404
|
conversationId: string;
|
|
2798
3405
|
type: CallType;
|
|
3406
|
+
/**
|
|
3407
|
+
* The calling party's number.
|
|
3408
|
+
*/
|
|
2799
3409
|
from: string;
|
|
3410
|
+
/**
|
|
3411
|
+
* The called party's number.
|
|
3412
|
+
*/
|
|
2800
3413
|
to: string;
|
|
2801
3414
|
};
|
|
2802
3415
|
type RecordingItemResponse = {
|
|
@@ -2819,7 +3432,13 @@ type RecordingStartRequest = {
|
|
|
2819
3432
|
*/
|
|
2820
3433
|
tags?: Array<Tag>;
|
|
2821
3434
|
};
|
|
3435
|
+
/**
|
|
3436
|
+
* Lifecycle state of a recording — from `init`/`recording` through `stored`, or `failed`/`deleted`/`missing`.
|
|
3437
|
+
*/
|
|
2822
3438
|
type RecordingState = 'init' | 'recording' | 'failed' | 'stopped' | 'stored' | 'deleted' | 'missing';
|
|
3439
|
+
/**
|
|
3440
|
+
* A recording's editable metadata.
|
|
3441
|
+
*/
|
|
2823
3442
|
type RecordingUpdateBody = {
|
|
2824
3443
|
/**
|
|
2825
3444
|
* A List of Tags describing an Object
|
|
@@ -2934,8 +3553,17 @@ type RestCreateAgent = {
|
|
|
2934
3553
|
state?: AgentLineStatus;
|
|
2935
3554
|
presence?: AgentPresence;
|
|
2936
3555
|
status?: AgentStatus;
|
|
3556
|
+
/**
|
|
3557
|
+
* The agent's current activity.
|
|
3558
|
+
*/
|
|
2937
3559
|
activity?: string;
|
|
3560
|
+
/**
|
|
3561
|
+
* Human-readable status label for display.
|
|
3562
|
+
*/
|
|
2938
3563
|
display_status?: string;
|
|
3564
|
+
/**
|
|
3565
|
+
* Whether the agent is currently available to take calls.
|
|
3566
|
+
*/
|
|
2939
3567
|
available?: boolean;
|
|
2940
3568
|
/**
|
|
2941
3569
|
* A List of Tags describing an Object
|
|
@@ -3021,13 +3649,16 @@ type RestCreateGlobalAutomationEmbeddedEvent = {
|
|
|
3021
3649
|
event?: GlobalAutomationEvent;
|
|
3022
3650
|
};
|
|
3023
3651
|
type RestCreateLocalAutomation = RestCreateBaseAutomation;
|
|
3652
|
+
/**
|
|
3653
|
+
* Request body to create a phonebook entry.
|
|
3654
|
+
*/
|
|
3024
3655
|
type RestCreatePhonebookEntry = {
|
|
3025
3656
|
/**
|
|
3026
|
-
* A
|
|
3657
|
+
* A label for the phonebook entry (unique per customer).
|
|
3027
3658
|
*/
|
|
3028
3659
|
label: string;
|
|
3029
3660
|
/**
|
|
3030
|
-
* The
|
|
3661
|
+
* The telephone number, in E.164 format.
|
|
3031
3662
|
*/
|
|
3032
3663
|
number: string;
|
|
3033
3664
|
/**
|
|
@@ -3058,20 +3689,35 @@ type RestCreateQueueSelection = {
|
|
|
3058
3689
|
tags?: Array<QueueSelectionTag>;
|
|
3059
3690
|
agents?: Array<QueueSelectionAgent>;
|
|
3060
3691
|
};
|
|
3692
|
+
/**
|
|
3693
|
+
* Request body to route a number to a voice application.
|
|
3694
|
+
*/
|
|
3061
3695
|
type RestCreateRouting = {
|
|
3062
3696
|
application: RestCreateRoutingApplication;
|
|
3063
|
-
number:
|
|
3697
|
+
number: RestCreateRoutingNumber;
|
|
3064
3698
|
/**
|
|
3065
3699
|
* A List of Tags describing an Object
|
|
3066
3700
|
*/
|
|
3067
3701
|
tags?: Array<Tag>;
|
|
3068
3702
|
};
|
|
3703
|
+
/**
|
|
3704
|
+
* The voice application the number routes to (by id).
|
|
3705
|
+
*/
|
|
3069
3706
|
type RestCreateRoutingApplication = {
|
|
3070
3707
|
/**
|
|
3071
3708
|
* The unique Identifier (UUID) of the object
|
|
3072
3709
|
*/
|
|
3073
3710
|
id?: string;
|
|
3074
3711
|
};
|
|
3712
|
+
/**
|
|
3713
|
+
* The phone number being routed (by id).
|
|
3714
|
+
*/
|
|
3715
|
+
type RestCreateRoutingNumber = {
|
|
3716
|
+
/**
|
|
3717
|
+
* The unique Identifier (UUID) of the object
|
|
3718
|
+
*/
|
|
3719
|
+
id?: string;
|
|
3720
|
+
};
|
|
3075
3721
|
type RestCreateTrigger = {
|
|
3076
3722
|
name: string;
|
|
3077
3723
|
type: TriggerType;
|
|
@@ -3109,8 +3755,17 @@ type RestUpdateAgent = {
|
|
|
3109
3755
|
state?: AgentLineStatus;
|
|
3110
3756
|
presence?: AgentPresence;
|
|
3111
3757
|
status?: AgentStatus;
|
|
3758
|
+
/**
|
|
3759
|
+
* The agent's current activity.
|
|
3760
|
+
*/
|
|
3112
3761
|
activity?: string;
|
|
3762
|
+
/**
|
|
3763
|
+
* Human-readable status label for display.
|
|
3764
|
+
*/
|
|
3113
3765
|
display_status?: string;
|
|
3766
|
+
/**
|
|
3767
|
+
* Whether the agent is currently available to take calls.
|
|
3768
|
+
*/
|
|
3114
3769
|
available?: boolean;
|
|
3115
3770
|
/**
|
|
3116
3771
|
* A List of Tags describing an Object
|
|
@@ -3196,13 +3851,16 @@ type RestUpdateGlobalAutomationEmbeddedEvent = {
|
|
|
3196
3851
|
event?: GlobalAutomationEvent;
|
|
3197
3852
|
};
|
|
3198
3853
|
type RestUpdateLocalAutomation = RestUpdateBaseAutomation;
|
|
3854
|
+
/**
|
|
3855
|
+
* Request body to update a phonebook entry.
|
|
3856
|
+
*/
|
|
3199
3857
|
type RestUpdatePhonebookEntry = {
|
|
3200
3858
|
/**
|
|
3201
|
-
* A
|
|
3859
|
+
* A label for the phonebook entry (unique per customer).
|
|
3202
3860
|
*/
|
|
3203
3861
|
label?: string;
|
|
3204
3862
|
/**
|
|
3205
|
-
* The
|
|
3863
|
+
* The telephone number, in E.164 format.
|
|
3206
3864
|
*/
|
|
3207
3865
|
number?: string;
|
|
3208
3866
|
/**
|
|
@@ -3210,9 +3868,21 @@ type RestUpdatePhonebookEntry = {
|
|
|
3210
3868
|
*/
|
|
3211
3869
|
tags?: Array<Tag>;
|
|
3212
3870
|
};
|
|
3871
|
+
/**
|
|
3872
|
+
* Request body to update a prompt.
|
|
3873
|
+
*/
|
|
3213
3874
|
type RestUpdatePrompt = {
|
|
3875
|
+
/**
|
|
3876
|
+
* The prompt's label (unique per customer).
|
|
3877
|
+
*/
|
|
3214
3878
|
label?: string;
|
|
3879
|
+
/**
|
|
3880
|
+
* For text-to-speech prompts, the text rendered to audio.
|
|
3881
|
+
*/
|
|
3215
3882
|
text?: string;
|
|
3883
|
+
/**
|
|
3884
|
+
* The prompt's language (BCP-47/ISO code).
|
|
3885
|
+
*/
|
|
3216
3886
|
locale?: string;
|
|
3217
3887
|
/**
|
|
3218
3888
|
* Whether this Prompt is a Default-Prompt
|
|
@@ -3259,9 +3929,12 @@ type RestUpdateQueueSelection = {
|
|
|
3259
3929
|
tags?: Array<QueueSelectionTag>;
|
|
3260
3930
|
agents?: Array<QueueSelectionAgent>;
|
|
3261
3931
|
};
|
|
3932
|
+
/**
|
|
3933
|
+
* Request body to update a routing.
|
|
3934
|
+
*/
|
|
3262
3935
|
type RestUpdateRouting = {
|
|
3263
3936
|
application?: RestCreateRoutingApplication;
|
|
3264
|
-
number?:
|
|
3937
|
+
number?: RestCreateRoutingNumber;
|
|
3265
3938
|
/**
|
|
3266
3939
|
* A List of Tags describing an Object
|
|
3267
3940
|
*/
|
|
@@ -3276,13 +3949,16 @@ type RestUpdateTrigger = {
|
|
|
3276
3949
|
*/
|
|
3277
3950
|
tags?: Array<Tag>;
|
|
3278
3951
|
};
|
|
3952
|
+
/**
|
|
3953
|
+
* A routing — maps an inbound phone number to the voice application that handles its calls.
|
|
3954
|
+
*/
|
|
3279
3955
|
type Routing = {
|
|
3280
3956
|
/**
|
|
3281
3957
|
* The unique Identifier (UUID) of the object
|
|
3282
3958
|
*/
|
|
3283
3959
|
id: string;
|
|
3284
|
-
application:
|
|
3285
|
-
number:
|
|
3960
|
+
application: RoutingApplication;
|
|
3961
|
+
number: RoutingNumber;
|
|
3286
3962
|
/**
|
|
3287
3963
|
* A List of Tags describing an Object
|
|
3288
3964
|
*/
|
|
@@ -3295,11 +3971,35 @@ type RoutingItemResponse = {
|
|
|
3295
3971
|
*/
|
|
3296
3972
|
success: boolean;
|
|
3297
3973
|
};
|
|
3974
|
+
/**
|
|
3975
|
+
* The voice application the number routes to.
|
|
3976
|
+
*/
|
|
3977
|
+
type RoutingApplication = {
|
|
3978
|
+
/**
|
|
3979
|
+
* The unique Identifier (UUID) of the object
|
|
3980
|
+
*/
|
|
3981
|
+
id?: string;
|
|
3982
|
+
};
|
|
3983
|
+
/**
|
|
3984
|
+
* The phone number being routed.
|
|
3985
|
+
*/
|
|
3986
|
+
type RoutingNumber = {
|
|
3987
|
+
/**
|
|
3988
|
+
* The unique Identifier (UUID) of the object
|
|
3989
|
+
*/
|
|
3990
|
+
id?: string;
|
|
3991
|
+
};
|
|
3992
|
+
/**
|
|
3993
|
+
* A phone number provisioned on the account, with its voice/SMS capabilities.
|
|
3994
|
+
*/
|
|
3298
3995
|
type ServiceNumber = {
|
|
3299
3996
|
/**
|
|
3300
3997
|
* The unique Identifier (UUID) of the object
|
|
3301
3998
|
*/
|
|
3302
3999
|
id: string;
|
|
4000
|
+
/**
|
|
4001
|
+
* The phone number, in E.164 format.
|
|
4002
|
+
*/
|
|
3303
4003
|
number?: string;
|
|
3304
4004
|
/**
|
|
3305
4005
|
* If SMS Capability is enabled
|
|
@@ -3321,12 +4021,24 @@ type ServiceNumberItemResponse = {
|
|
|
3321
4021
|
*/
|
|
3322
4022
|
success: boolean;
|
|
3323
4023
|
};
|
|
4024
|
+
/**
|
|
4025
|
+
* A call session with its metadata and variables.
|
|
4026
|
+
*/
|
|
3324
4027
|
type SessionResponse = {
|
|
3325
4028
|
item?: SessionResponseItem;
|
|
3326
4029
|
success?: boolean;
|
|
3327
4030
|
};
|
|
4031
|
+
/**
|
|
4032
|
+
* The call session.
|
|
4033
|
+
*/
|
|
3328
4034
|
type SessionResponseItem = {
|
|
4035
|
+
/**
|
|
4036
|
+
* The call session's uuid.
|
|
4037
|
+
*/
|
|
3329
4038
|
id?: string;
|
|
4039
|
+
/**
|
|
4040
|
+
* Whether the session is still valid (not expired).
|
|
4041
|
+
*/
|
|
3330
4042
|
valid?: boolean;
|
|
3331
4043
|
/**
|
|
3332
4044
|
* When the session was created
|
|
@@ -3386,71 +4098,212 @@ type SettingItemResponse = {
|
|
|
3386
4098
|
item: Setting;
|
|
3387
4099
|
success: boolean;
|
|
3388
4100
|
};
|
|
4101
|
+
/**
|
|
4102
|
+
* The app-scope `agent.status` settings.
|
|
4103
|
+
*/
|
|
3389
4104
|
type SettingsAppAgentStatus = {
|
|
4105
|
+
/**
|
|
4106
|
+
* Whether status-based agent selection is enabled.
|
|
4107
|
+
*/
|
|
3390
4108
|
selectionEnabled: boolean;
|
|
3391
4109
|
};
|
|
4110
|
+
/**
|
|
4111
|
+
* The app-scope `conversations` settings.
|
|
4112
|
+
*/
|
|
3392
4113
|
type SettingsAppConversations = {
|
|
4114
|
+
/**
|
|
4115
|
+
* Which conversations an agent may see — their own, their group's, or all.
|
|
4116
|
+
*/
|
|
3393
4117
|
conversationScope: 'OWN' | 'GROUP' | 'ALL';
|
|
4118
|
+
/**
|
|
4119
|
+
* Automatically close a conversation when its call ends.
|
|
4120
|
+
*/
|
|
3394
4121
|
autoClose: boolean;
|
|
3395
4122
|
};
|
|
4123
|
+
/**
|
|
4124
|
+
* The app-scope `customer.logging` settings.
|
|
4125
|
+
*/
|
|
3396
4126
|
type SettingsAppCustomerLogging = {
|
|
4127
|
+
/**
|
|
4128
|
+
* Whether customer-level request logging is enabled.
|
|
4129
|
+
*/
|
|
3397
4130
|
enabled: boolean;
|
|
3398
4131
|
};
|
|
4132
|
+
/**
|
|
4133
|
+
* The app-scope `integrations` settings.
|
|
4134
|
+
*/
|
|
3399
4135
|
type SettingsAppIntegrations = {
|
|
4136
|
+
/**
|
|
4137
|
+
* Integration that backs conversation task creation.
|
|
4138
|
+
*/
|
|
3400
4139
|
taskIntegration: string | null;
|
|
4140
|
+
/**
|
|
4141
|
+
* Action key used to create a task for a conversation.
|
|
4142
|
+
*/
|
|
3401
4143
|
conversationTaskKey: string | null;
|
|
4144
|
+
/**
|
|
4145
|
+
* Integration that backs agent scripting.
|
|
4146
|
+
*/
|
|
3402
4147
|
scriptingIntegration: string | null;
|
|
4148
|
+
/**
|
|
4149
|
+
* Action key used to fetch a conversation script.
|
|
4150
|
+
*/
|
|
3403
4151
|
conversationScriptKey: string | null;
|
|
4152
|
+
/**
|
|
4153
|
+
* Action key used to fetch a campaign script.
|
|
4154
|
+
*/
|
|
3404
4155
|
conversationScriptCampaignKey: string | null;
|
|
3405
4156
|
};
|
|
4157
|
+
/**
|
|
4158
|
+
* The audit-scope `default` settings.
|
|
4159
|
+
*/
|
|
3406
4160
|
type SettingsAuditDefault = {
|
|
4161
|
+
/**
|
|
4162
|
+
* Whether audit logging is enabled.
|
|
4163
|
+
*/
|
|
3407
4164
|
enabled: boolean;
|
|
4165
|
+
/**
|
|
4166
|
+
* Whether audit entries are anonymized.
|
|
4167
|
+
*/
|
|
3408
4168
|
anonymized: boolean;
|
|
3409
4169
|
};
|
|
3410
4170
|
type SettingsListResponse = {
|
|
3411
4171
|
items: Array<Setting>;
|
|
3412
4172
|
success: boolean;
|
|
3413
4173
|
};
|
|
4174
|
+
/**
|
|
4175
|
+
* The retention-scope `periods` settings.
|
|
4176
|
+
*/
|
|
3414
4177
|
type SettingsRetentionPeriods = {
|
|
4178
|
+
/**
|
|
4179
|
+
* Default data retention period, in days.
|
|
4180
|
+
*/
|
|
3415
4181
|
defaultPeriod: number;
|
|
4182
|
+
/**
|
|
4183
|
+
* Retention period for recording files, in days.
|
|
4184
|
+
*/
|
|
3416
4185
|
recordingFiles: number;
|
|
4186
|
+
/**
|
|
4187
|
+
* Retention period for call records, in days.
|
|
4188
|
+
*/
|
|
3417
4189
|
calls: number;
|
|
3418
4190
|
};
|
|
4191
|
+
/**
|
|
4192
|
+
* The telephony-scope `agent.inbound` settings.
|
|
4193
|
+
*/
|
|
3419
4194
|
type SettingsTelephonyAgentInbound = {
|
|
4195
|
+
/**
|
|
4196
|
+
* Wrap-up time in seconds after an inbound call ends busy.
|
|
4197
|
+
*/
|
|
3420
4198
|
wrapUpBusy: number;
|
|
4199
|
+
/**
|
|
4200
|
+
* Wrap-up time in seconds after an inbound call ends unreachable.
|
|
4201
|
+
*/
|
|
3421
4202
|
wrapUpUnreachable: number;
|
|
4203
|
+
/**
|
|
4204
|
+
* Wrap-up time in seconds after an inbound call is declined.
|
|
4205
|
+
*/
|
|
3422
4206
|
wrapUpDeclined: number;
|
|
3423
4207
|
};
|
|
4208
|
+
/**
|
|
4209
|
+
* The telephony-scope `agent.outbound` settings.
|
|
4210
|
+
*/
|
|
3424
4211
|
type SettingsTelephonyAgentOutbound = {
|
|
4212
|
+
/**
|
|
4213
|
+
* Wrap-up time in seconds after an outbound call ends busy.
|
|
4214
|
+
*/
|
|
3425
4215
|
wrapUpBusy: number;
|
|
4216
|
+
/**
|
|
4217
|
+
* Wrap-up time in seconds after an outbound call ends unreachable.
|
|
4218
|
+
*/
|
|
3426
4219
|
wrapUpUnreachable: number;
|
|
4220
|
+
/**
|
|
4221
|
+
* Wrap-up time in seconds after an outbound call is declined.
|
|
4222
|
+
*/
|
|
3427
4223
|
wrapUpDeclined: number;
|
|
3428
4224
|
};
|
|
4225
|
+
/**
|
|
4226
|
+
* The telephony-scope `agent.recording` settings.
|
|
4227
|
+
*/
|
|
3429
4228
|
type SettingsTelephonyAgentRecording = {
|
|
4229
|
+
/**
|
|
4230
|
+
* Hide the recording controls in the agent UI.
|
|
4231
|
+
*/
|
|
3430
4232
|
hideRecordingUi: boolean;
|
|
4233
|
+
/**
|
|
4234
|
+
* Allow agents to delete recordings.
|
|
4235
|
+
*/
|
|
3431
4236
|
allowDelete: boolean;
|
|
4237
|
+
/**
|
|
4238
|
+
* Default tag applied to new recordings.
|
|
4239
|
+
*/
|
|
3432
4240
|
tag: string;
|
|
4241
|
+
/**
|
|
4242
|
+
* Tags an agent may apply to a recording.
|
|
4243
|
+
*/
|
|
3433
4244
|
availableTags: Array<string>;
|
|
4245
|
+
/**
|
|
4246
|
+
* Always record outbound calls.
|
|
4247
|
+
*/
|
|
3434
4248
|
alwaysRecordOutbound: boolean;
|
|
3435
4249
|
};
|
|
4250
|
+
/**
|
|
4251
|
+
* The telephony-scope `agent.wrapup` settings.
|
|
4252
|
+
*/
|
|
3436
4253
|
type SettingsTelephonyAgentWrapup = {
|
|
4254
|
+
/**
|
|
4255
|
+
* Allow agents to cancel wrap-up on inbound calls.
|
|
4256
|
+
*/
|
|
3437
4257
|
cancelWrapUp: boolean;
|
|
4258
|
+
/**
|
|
4259
|
+
* Allow agents to extend wrap-up on inbound calls.
|
|
4260
|
+
*/
|
|
3438
4261
|
extendWrapUp: boolean;
|
|
4262
|
+
/**
|
|
4263
|
+
* Maximum wrap-up extension for inbound calls, in seconds.
|
|
4264
|
+
*/
|
|
3439
4265
|
maxExtension: number;
|
|
4266
|
+
/**
|
|
4267
|
+
* Enable wrap-up for outbound calls.
|
|
4268
|
+
*/
|
|
3440
4269
|
enabledOutbound: boolean;
|
|
4270
|
+
/**
|
|
4271
|
+
* Allow agents to cancel wrap-up on outbound calls.
|
|
4272
|
+
*/
|
|
3441
4273
|
cancelWrapUpOutbound: boolean;
|
|
4274
|
+
/**
|
|
4275
|
+
* Allow agents to extend wrap-up on outbound calls.
|
|
4276
|
+
*/
|
|
3442
4277
|
extendWrapUpOutbound: boolean;
|
|
4278
|
+
/**
|
|
4279
|
+
* Maximum wrap-up extension for outbound calls, in seconds.
|
|
4280
|
+
*/
|
|
3443
4281
|
maxExtensionOutbound: number;
|
|
4282
|
+
/**
|
|
4283
|
+
* Default wrap-up time for outbound calls, in seconds.
|
|
4284
|
+
*/
|
|
3444
4285
|
wrapupTimeOutbound: number;
|
|
3445
4286
|
};
|
|
4287
|
+
/**
|
|
4288
|
+
* The telephony-scope `post-call` settings.
|
|
4289
|
+
*/
|
|
3446
4290
|
type SettingsTelephonyPostCall = {
|
|
3447
4291
|
/**
|
|
3448
4292
|
* The unique Identifier (UUID) of the object
|
|
3449
4293
|
*/
|
|
3450
4294
|
applicationId: string;
|
|
3451
4295
|
};
|
|
4296
|
+
/**
|
|
4297
|
+
* The ui-scope `i18n` settings.
|
|
4298
|
+
*/
|
|
3452
4299
|
type SettingsUiI18N = {
|
|
4300
|
+
/**
|
|
4301
|
+
* Default UI locale (e.g. `en`, `de`).
|
|
4302
|
+
*/
|
|
3453
4303
|
locale: string;
|
|
4304
|
+
/**
|
|
4305
|
+
* Default UI timezone (IANA name, e.g. `Europe/Berlin`).
|
|
4306
|
+
*/
|
|
3454
4307
|
timezone: string;
|
|
3455
4308
|
};
|
|
3456
4309
|
type SimpleMenuApplication = {
|
|
@@ -3495,6 +4348,9 @@ type SimpleMenuItem = {
|
|
|
3495
4348
|
key: InputReaderTerminationDigit;
|
|
3496
4349
|
application: ResourceReference;
|
|
3497
4350
|
};
|
|
4351
|
+
/**
|
|
4352
|
+
* A short message (SMS) sent or received on the account.
|
|
4353
|
+
*/
|
|
3498
4354
|
type Sms = {
|
|
3499
4355
|
/**
|
|
3500
4356
|
* The unique Identifier (UUID) of the object
|
|
@@ -3510,10 +4366,19 @@ type Sms = {
|
|
|
3510
4366
|
agentId?: string;
|
|
3511
4367
|
dateCreated: string;
|
|
3512
4368
|
type: SmsType;
|
|
4369
|
+
/**
|
|
4370
|
+
* The sender's phone number, in E.164 format.
|
|
4371
|
+
*/
|
|
3513
4372
|
from: string;
|
|
4373
|
+
/**
|
|
4374
|
+
* The recipient's phone number, in E.164 format.
|
|
4375
|
+
*/
|
|
3514
4376
|
to: string;
|
|
3515
4377
|
state: SmsState;
|
|
3516
4378
|
source: SmsSource;
|
|
4379
|
+
/**
|
|
4380
|
+
* The message body.
|
|
4381
|
+
*/
|
|
3517
4382
|
text?: string;
|
|
3518
4383
|
};
|
|
3519
4384
|
type SmsItemResponse = {
|
|
@@ -3527,16 +4392,40 @@ type SmsItemResponse = {
|
|
|
3527
4392
|
* An outbound SMS to send
|
|
3528
4393
|
*/
|
|
3529
4394
|
type SmsSendRequest = {
|
|
4395
|
+
/**
|
|
4396
|
+
* The recipient's phone number, in E.164 format.
|
|
4397
|
+
*/
|
|
3530
4398
|
to: string;
|
|
4399
|
+
/**
|
|
4400
|
+
* The sender's phone number or registered sender ID.
|
|
4401
|
+
*/
|
|
3531
4402
|
from?: string;
|
|
4403
|
+
/**
|
|
4404
|
+
* The message body.
|
|
4405
|
+
*/
|
|
3532
4406
|
text: string;
|
|
4407
|
+
/**
|
|
4408
|
+
* Optional alphanumeric sender name shown to the recipient.
|
|
4409
|
+
*/
|
|
3533
4410
|
displayAs?: string;
|
|
4411
|
+
/**
|
|
4412
|
+
* Optional session variables to seed on the resulting conversation.
|
|
4413
|
+
*/
|
|
3534
4414
|
session?: {
|
|
3535
4415
|
[key: string]: unknown;
|
|
3536
4416
|
};
|
|
3537
4417
|
};
|
|
4418
|
+
/**
|
|
4419
|
+
* How the SMS was originated.
|
|
4420
|
+
*/
|
|
3538
4421
|
type SmsSource = 'api' | 'inbound' | 'action' | 'test';
|
|
4422
|
+
/**
|
|
4423
|
+
* Delivery state of the SMS.
|
|
4424
|
+
*/
|
|
3539
4425
|
type SmsState = 'unknown' | 'queued' | 'processing' | 'failed' | 'validation_failed' | 'sent' | 'received' | 'received_transaction' | 'merged';
|
|
4426
|
+
/**
|
|
4427
|
+
* Direction of the SMS — inbound (received) or outbound (sent).
|
|
4428
|
+
*/
|
|
3540
4429
|
type SmsType = 'inbound' | 'outbound';
|
|
3541
4430
|
type SpeechToTextApplication = {
|
|
3542
4431
|
/**
|
|
@@ -3605,7 +4494,13 @@ type StoredFile = {
|
|
|
3605
4494
|
* Storage path
|
|
3606
4495
|
*/
|
|
3607
4496
|
path: string;
|
|
4497
|
+
/**
|
|
4498
|
+
* The file's name.
|
|
4499
|
+
*/
|
|
3608
4500
|
filename: string;
|
|
4501
|
+
/**
|
|
4502
|
+
* MIME content type of the file.
|
|
4503
|
+
*/
|
|
3609
4504
|
contentType?: string | null;
|
|
3610
4505
|
/**
|
|
3611
4506
|
* File size in bytes
|
|
@@ -3801,33 +4696,57 @@ type TransferApplicationUpdateBody = {
|
|
|
3801
4696
|
settings?: TransferApplicationSettings;
|
|
3802
4697
|
module: 'transfer';
|
|
3803
4698
|
};
|
|
4699
|
+
/**
|
|
4700
|
+
* A reusable named set of conditions evaluated against an event or call context; referenced by automations and routings to decide whether to fire.
|
|
4701
|
+
*/
|
|
3804
4702
|
type Trigger = {
|
|
3805
4703
|
/**
|
|
3806
4704
|
* The unique Identifier (UUID) of the object
|
|
3807
4705
|
*/
|
|
3808
4706
|
id: string;
|
|
4707
|
+
/**
|
|
4708
|
+
* The trigger's name (unique per customer).
|
|
4709
|
+
*/
|
|
3809
4710
|
name: string;
|
|
3810
4711
|
type: TriggerType;
|
|
4712
|
+
/**
|
|
4713
|
+
* The conditions evaluated, combined per the trigger's `type`.
|
|
4714
|
+
*/
|
|
3811
4715
|
conditions: Array<TriggerCondition>;
|
|
3812
4716
|
/**
|
|
3813
4717
|
* A List of Tags describing an Object
|
|
3814
4718
|
*/
|
|
3815
4719
|
tags?: Array<Tag>;
|
|
3816
4720
|
};
|
|
4721
|
+
/**
|
|
4722
|
+
* A single condition — the `operator` compares the value resolved from `expression` against `expectation`.
|
|
4723
|
+
*/
|
|
3817
4724
|
type TriggerCondition = {
|
|
3818
4725
|
/**
|
|
3819
4726
|
* The unique Identifier (UUID) of the object
|
|
3820
4727
|
*/
|
|
3821
4728
|
id?: string;
|
|
4729
|
+
/**
|
|
4730
|
+
* The variable or field whose value is evaluated.
|
|
4731
|
+
*/
|
|
3822
4732
|
expression: string;
|
|
3823
4733
|
operator: TriggerOperator;
|
|
4734
|
+
/**
|
|
4735
|
+
* The value the resolved expression is compared against.
|
|
4736
|
+
*/
|
|
3824
4737
|
expectation: string;
|
|
3825
4738
|
};
|
|
3826
4739
|
type TriggerConditionListResponse = {
|
|
3827
4740
|
items: Array<TriggerCondition>;
|
|
3828
4741
|
success?: boolean;
|
|
3829
4742
|
};
|
|
4743
|
+
/**
|
|
4744
|
+
* The full set of conditions to set on a trigger (replaces existing).
|
|
4745
|
+
*/
|
|
3830
4746
|
type TriggerConditionsRequest = {
|
|
4747
|
+
/**
|
|
4748
|
+
* The conditions to set on the trigger.
|
|
4749
|
+
*/
|
|
3831
4750
|
conditions: Array<TriggerCondition>;
|
|
3832
4751
|
};
|
|
3833
4752
|
type TriggerItemResponse = {
|
|
@@ -3837,7 +4756,13 @@ type TriggerItemResponse = {
|
|
|
3837
4756
|
*/
|
|
3838
4757
|
success: boolean;
|
|
3839
4758
|
};
|
|
4759
|
+
/**
|
|
4760
|
+
* The comparison operator applied in a trigger condition.
|
|
4761
|
+
*/
|
|
3840
4762
|
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';
|
|
4763
|
+
/**
|
|
4764
|
+
* How the trigger's conditions are combined — `ALL` requires every condition to match, `ANY` requires at least one.
|
|
4765
|
+
*/
|
|
3841
4766
|
type TriggerType = 'ALL' | 'ANY';
|
|
3842
4767
|
/**
|
|
3843
4768
|
* A resource that references a trigger
|
|
@@ -3877,6 +4802,9 @@ type UpdateCampaignRequest = {
|
|
|
3877
4802
|
listOrder?: CampaignListOrder;
|
|
3878
4803
|
callRatio?: number;
|
|
3879
4804
|
};
|
|
4805
|
+
/**
|
|
4806
|
+
* A key/value map of variables to set on the call session's user scope.
|
|
4807
|
+
*/
|
|
3880
4808
|
type UpdateSessionVariablesRequest = {
|
|
3881
4809
|
[key: string]: unknown;
|
|
3882
4810
|
};
|
|
@@ -4030,11 +4958,11 @@ type ListBabeldesksData = {
|
|
|
4030
4958
|
path?: never;
|
|
4031
4959
|
query?: {
|
|
4032
4960
|
/**
|
|
4033
|
-
*
|
|
4961
|
+
* 1-based page number.
|
|
4034
4962
|
*/
|
|
4035
4963
|
page?: number;
|
|
4036
4964
|
/**
|
|
4037
|
-
*
|
|
4965
|
+
* Maximum number of items to return per page.
|
|
4038
4966
|
*/
|
|
4039
4967
|
max?: number;
|
|
4040
4968
|
};
|
|
@@ -4045,11 +4973,11 @@ type ListBabeldeskWidgetsData = {
|
|
|
4045
4973
|
path?: never;
|
|
4046
4974
|
query?: {
|
|
4047
4975
|
/**
|
|
4048
|
-
*
|
|
4976
|
+
* 1-based page number.
|
|
4049
4977
|
*/
|
|
4050
4978
|
page?: number;
|
|
4051
4979
|
/**
|
|
4052
|
-
*
|
|
4980
|
+
* Maximum number of items to return per page.
|
|
4053
4981
|
*/
|
|
4054
4982
|
max?: number;
|
|
4055
4983
|
};
|
|
@@ -4060,11 +4988,11 @@ type ListBusinessHoursData = {
|
|
|
4060
4988
|
path?: never;
|
|
4061
4989
|
query?: {
|
|
4062
4990
|
/**
|
|
4063
|
-
*
|
|
4991
|
+
* 1-based page number.
|
|
4064
4992
|
*/
|
|
4065
4993
|
page?: number;
|
|
4066
4994
|
/**
|
|
4067
|
-
*
|
|
4995
|
+
* Maximum number of items to return per page.
|
|
4068
4996
|
*/
|
|
4069
4997
|
max?: number;
|
|
4070
4998
|
};
|
|
@@ -4075,11 +5003,11 @@ type ListCalendarsData = {
|
|
|
4075
5003
|
path?: never;
|
|
4076
5004
|
query?: {
|
|
4077
5005
|
/**
|
|
4078
|
-
*
|
|
5006
|
+
* 1-based page number.
|
|
4079
5007
|
*/
|
|
4080
5008
|
page?: number;
|
|
4081
5009
|
/**
|
|
4082
|
-
*
|
|
5010
|
+
* Maximum number of items to return per page.
|
|
4083
5011
|
*/
|
|
4084
5012
|
max?: number;
|
|
4085
5013
|
};
|
|
@@ -4418,11 +5346,11 @@ type ListConversationsData = {
|
|
|
4418
5346
|
path?: never;
|
|
4419
5347
|
query?: {
|
|
4420
5348
|
/**
|
|
4421
|
-
*
|
|
5349
|
+
* 1-based page number.
|
|
4422
5350
|
*/
|
|
4423
5351
|
page?: number;
|
|
4424
5352
|
/**
|
|
4425
|
-
*
|
|
5353
|
+
* Maximum number of items to return per page.
|
|
4426
5354
|
*/
|
|
4427
5355
|
max?: number;
|
|
4428
5356
|
/**
|
|
@@ -4441,11 +5369,11 @@ type ListDashboardsData = {
|
|
|
4441
5369
|
path?: never;
|
|
4442
5370
|
query?: {
|
|
4443
5371
|
/**
|
|
4444
|
-
*
|
|
5372
|
+
* 1-based page number.
|
|
4445
5373
|
*/
|
|
4446
5374
|
page?: number;
|
|
4447
5375
|
/**
|
|
4448
|
-
*
|
|
5376
|
+
* Maximum number of items to return per page.
|
|
4449
5377
|
*/
|
|
4450
5378
|
max?: number;
|
|
4451
5379
|
/**
|
|
@@ -4472,11 +5400,11 @@ type ListGlobalAutomationsData = {
|
|
|
4472
5400
|
path?: never;
|
|
4473
5401
|
query?: {
|
|
4474
5402
|
/**
|
|
4475
|
-
*
|
|
5403
|
+
* 1-based page number.
|
|
4476
5404
|
*/
|
|
4477
5405
|
page?: number;
|
|
4478
5406
|
/**
|
|
4479
|
-
*
|
|
5407
|
+
* Maximum number of items to return per page.
|
|
4480
5408
|
*/
|
|
4481
5409
|
max?: number;
|
|
4482
5410
|
};
|
|
@@ -4487,11 +5415,11 @@ type ListFilesData = {
|
|
|
4487
5415
|
path?: never;
|
|
4488
5416
|
query?: {
|
|
4489
5417
|
/**
|
|
4490
|
-
*
|
|
5418
|
+
* 1-based page number.
|
|
4491
5419
|
*/
|
|
4492
5420
|
page?: number;
|
|
4493
5421
|
/**
|
|
4494
|
-
*
|
|
5422
|
+
* Maximum number of items to return per page.
|
|
4495
5423
|
*/
|
|
4496
5424
|
max?: number;
|
|
4497
5425
|
/**
|
|
@@ -4582,11 +5510,11 @@ type ListServiceNumbersData = {
|
|
|
4582
5510
|
path?: never;
|
|
4583
5511
|
query?: {
|
|
4584
5512
|
/**
|
|
4585
|
-
*
|
|
5513
|
+
* 1-based page number.
|
|
4586
5514
|
*/
|
|
4587
5515
|
page?: number;
|
|
4588
5516
|
/**
|
|
4589
|
-
*
|
|
5517
|
+
* Maximum number of items to return per page.
|
|
4590
5518
|
*/
|
|
4591
5519
|
max?: number;
|
|
4592
5520
|
};
|
|
@@ -4628,11 +5556,11 @@ type ListOutboundLeadsData = {
|
|
|
4628
5556
|
path?: never;
|
|
4629
5557
|
query?: {
|
|
4630
5558
|
/**
|
|
4631
|
-
*
|
|
5559
|
+
* 1-based page number.
|
|
4632
5560
|
*/
|
|
4633
5561
|
page?: number;
|
|
4634
5562
|
/**
|
|
4635
|
-
*
|
|
5563
|
+
* Maximum number of items to return per page.
|
|
4636
5564
|
*/
|
|
4637
5565
|
max?: number;
|
|
4638
5566
|
/**
|
|
@@ -4651,11 +5579,11 @@ type ListPhonebookEntrysData = {
|
|
|
4651
5579
|
path?: never;
|
|
4652
5580
|
query?: {
|
|
4653
5581
|
/**
|
|
4654
|
-
*
|
|
5582
|
+
* 1-based page number.
|
|
4655
5583
|
*/
|
|
4656
5584
|
page?: number;
|
|
4657
5585
|
/**
|
|
4658
|
-
*
|
|
5586
|
+
* Maximum number of items to return per page.
|
|
4659
5587
|
*/
|
|
4660
5588
|
max?: number;
|
|
4661
5589
|
};
|
|
@@ -4666,11 +5594,11 @@ type ListPromptsData = {
|
|
|
4666
5594
|
path?: never;
|
|
4667
5595
|
query?: {
|
|
4668
5596
|
/**
|
|
4669
|
-
*
|
|
5597
|
+
* 1-based page number.
|
|
4670
5598
|
*/
|
|
4671
5599
|
page?: number;
|
|
4672
5600
|
/**
|
|
4673
|
-
*
|
|
5601
|
+
* Maximum number of items to return per page.
|
|
4674
5602
|
*/
|
|
4675
5603
|
max?: number;
|
|
4676
5604
|
};
|
|
@@ -4681,11 +5609,11 @@ type ListQueuesData = {
|
|
|
4681
5609
|
path?: never;
|
|
4682
5610
|
query?: {
|
|
4683
5611
|
/**
|
|
4684
|
-
*
|
|
5612
|
+
* 1-based page number.
|
|
4685
5613
|
*/
|
|
4686
5614
|
page?: number;
|
|
4687
5615
|
/**
|
|
4688
|
-
*
|
|
5616
|
+
* Maximum number of items to return per page.
|
|
4689
5617
|
*/
|
|
4690
5618
|
max?: number;
|
|
4691
5619
|
};
|
|
@@ -4708,11 +5636,11 @@ type ListGlobalQueueSelectionsData = {
|
|
|
4708
5636
|
*/
|
|
4709
5637
|
includeMembers?: boolean;
|
|
4710
5638
|
/**
|
|
4711
|
-
*
|
|
5639
|
+
* 1-based page number.
|
|
4712
5640
|
*/
|
|
4713
5641
|
page?: number;
|
|
4714
5642
|
/**
|
|
4715
|
-
*
|
|
5643
|
+
* Maximum number of items to return per page.
|
|
4716
5644
|
*/
|
|
4717
5645
|
max?: number;
|
|
4718
5646
|
};
|
|
@@ -4722,17 +5650,17 @@ type ListQueuedCallsData = {
|
|
|
4722
5650
|
body?: never;
|
|
4723
5651
|
path: {
|
|
4724
5652
|
/**
|
|
4725
|
-
*
|
|
5653
|
+
* The queue's uuid.
|
|
4726
5654
|
*/
|
|
4727
5655
|
queueId: string;
|
|
4728
5656
|
};
|
|
4729
5657
|
query?: {
|
|
4730
5658
|
/**
|
|
4731
|
-
*
|
|
5659
|
+
* 1-based page number.
|
|
4732
5660
|
*/
|
|
4733
5661
|
page?: number;
|
|
4734
5662
|
/**
|
|
4735
|
-
*
|
|
5663
|
+
* Maximum number of items to return per page.
|
|
4736
5664
|
*/
|
|
4737
5665
|
max?: number;
|
|
4738
5666
|
};
|
|
@@ -4743,11 +5671,11 @@ type ListRoutingsData = {
|
|
|
4743
5671
|
path?: never;
|
|
4744
5672
|
query?: {
|
|
4745
5673
|
/**
|
|
4746
|
-
*
|
|
5674
|
+
* 1-based page number.
|
|
4747
5675
|
*/
|
|
4748
5676
|
page?: number;
|
|
4749
5677
|
/**
|
|
4750
|
-
*
|
|
5678
|
+
* Maximum number of items to return per page.
|
|
4751
5679
|
*/
|
|
4752
5680
|
max?: number;
|
|
4753
5681
|
};
|
|
@@ -4758,11 +5686,11 @@ type ListSmssData = {
|
|
|
4758
5686
|
path?: never;
|
|
4759
5687
|
query?: {
|
|
4760
5688
|
/**
|
|
4761
|
-
*
|
|
5689
|
+
* 1-based page number.
|
|
4762
5690
|
*/
|
|
4763
5691
|
page?: number;
|
|
4764
5692
|
/**
|
|
4765
|
-
*
|
|
5693
|
+
* Maximum number of items to return per page.
|
|
4766
5694
|
*/
|
|
4767
5695
|
max?: number;
|
|
4768
5696
|
};
|
|
@@ -4773,11 +5701,11 @@ type ListTriggersData = {
|
|
|
4773
5701
|
path?: never;
|
|
4774
5702
|
query?: {
|
|
4775
5703
|
/**
|
|
4776
|
-
*
|
|
5704
|
+
* 1-based page number.
|
|
4777
5705
|
*/
|
|
4778
5706
|
page?: number;
|
|
4779
5707
|
/**
|
|
4780
|
-
*
|
|
5708
|
+
* Maximum number of items to return per page.
|
|
4781
5709
|
*/
|
|
4782
5710
|
max?: number;
|
|
4783
5711
|
};
|
|
@@ -7036,4 +7964,4 @@ declare class ManagerApiError extends Error {
|
|
|
7036
7964
|
static from(response: Response, body: unknown): ManagerApiError;
|
|
7037
7965
|
}
|
|
7038
7966
|
|
|
7039
|
-
export { type Account, type AccountRole$1 as AccountRole, type AddOutboundLeadRequest, type Agent, type AgentGroup, type AgentGroupItemResponse, AgentGroupsResource, type AgentItemResponse, type AgentLineStatus, type AgentLogsQuery, type AgentOutboundCallRequest, type AgentStatus, AgentsResource, AppActionsResource, type Application, type ApplicationCreateBody, type ApplicationItemResponse, type ApplicationUpdateBody, ApplicationsResource, type Auth, AuthResource, type AuthorizeData, AutomationsResource, type Babeldesk, type BabeldeskItemResponse, BabeldeskResource, type BabeldeskWidget, type BabeldeskWidgetItemResponse, BabeldeskWidgetsResource, type BulkActionResponse, type BulkIdsRequest, type BulkUpdateIntegrationsRequest, type BulkUpdateRequest, type BusinessHour, type BusinessHourItemResponse, BusinessHoursResource, type Calendar, type CalendarItemResponse, CalendarsResource, type Call, type CallAttempt, type CallItemResponse, CallsResource, type CampaignHopperResponse, type CampaignItemResponse, type CampaignRealtimeStatusResponse, type CampaignStatisticsResponse, CampaignsResource, type Conference, type ConferenceItemResponse, ConferencesResource, type Conversation, type ConversationEvent, type ConversationItemResponse, type ConversationSessionVariables, ConversationsResource, type CreateCampaignRequest, type CreateListRequest, type CreateManagedUserRequest, type CreateOutboundListRequest, type CreateTestCall, DEFAULT_BASE_URL, type Dashboard, type DashboardCreateBody, type DashboardItemResponse, type DashboardUpdateBody, type DashboardUser, type DashboardUsersResponse, DashboardsResource, type DefaultV2MessageResponse, type DialerBehaviour, type DialerBehaviourItemResponse, type DialerBehaviourWriteBody, DialerBehavioursResource, DialerResource, type DialerSimpleReportingQuery, EventsResource, ExpressionsResource, type FileBulkDeleteRequest, type FileBulkDownloadRequest, FilesResource, type GenericItemResponse, type GlobalAutomation, type GlobalAutomationItemResponse, type ImportAgentsOptions, type Integration, type IntegrationBulkIdsRequest, type IntegrationCreateRequest, type IntegrationItemResponse, type IntegrationObjectListResponse, type IntegrationProvider, type IntegrationTokenItemResponse, type IntegrationTokenListResponse, type IntegrationUpdateRequest, IntegrationsResource, type InterruptionTargetStates, type IvrModule, type Lead, type LeadBulkDeleteRequest, type LeadListItemResponse, type LeadUploadRequest, type LeadUploadResponse, type ListAgentsQuery, type ListApplicationsQuery, type ListAuditLogsQuery, type ListAutomationsQuery, type ListBabeldeskWidgetsQuery, type ListBabeldesksQuery, type ListBusinessHoursQuery, type ListCalendarsQuery, type ListConferencesQuery, type ListConversationsQuery, type ListDashboardsQuery, type ListDialerBehavioursQuery, type ListFilesQuery, type ListIntegrationsQuery, type ListNumbersQuery, type ListOutboundAttemptsQuery, type ListOutboundLeadsQuery, type ListPhonebookQuery, type ListProcessedOutboundLeadsQuery, type ListPromptsQuery, type ListQueuesQuery, type ListRecordingsQuery, type ListRoutingsQuery, type ListSmsQuery, type ListTasksQuery, type ListTriggersQuery, type ListUsersQuery, type LocalAutomation, type LocalAutomationItemResponse, LogsResource, type ManagedUser, type ManagedUserItemResponse, ManagerApiError, ManagerClient, type ManagerClientOptions, MeResource, type MetricDefinitionItemResponse, type MetricIdItemsResponse, type MetricResponse, MetricsResource, NumbersResource, type OAuthRevokeRequest, type OAuthTokenRequest, type OAuthTokenResponse, type ObjectListResponse, type OutboundCampaign, type OutboundCampaignItemResponse, type OutboundLeadItemResponse, type OutboundList, type OutboundListItemResponse, OutboundResource, type OutboundSimpleReportingQuery, type PaginatedAttemptResponse, type PaginatedLeadResponse, type PaginatedRecordingResponse, type PhonebookCsvFile, type PhonebookEntry, type PhonebookEntryItemResponse, PhonebookResource, type Prompt, type PromptAudioFile, type PromptItemResponse, PromptsResource, type Queue, type QueueItemResponse, type QueueSelection, type QueueSelectionItemResponse, QueueSelectionsResource, type QueueTriggerListResponse, QueuesResource, type Recording, type RecordingItemResponse, type RecordingStartRequest, type RecordingState, type RecordingUpdateBody, RecordingsResource, type ReportingCall, type ReportingCallsQuery, ReportingResource, type RestCreateAgentBody, type RestCreateAgentGroupBody, type RestCreateBabeldeskBody, type RestCreateBabeldeskWidgetBody, type RestCreateBusinessHourBody, type RestCreateCalendarBody, type RestCreateConversationBody, type RestCreateGlobalAutomationBody, type RestCreateLocalAutomationBody, type RestCreatePhonebookEntryBody, type RestCreateQueueBody, type RestCreateQueueSelectionBody, type RestCreateRoutingBody, type RestCreateTriggerBody, type RestUpdateAgentBody, type RestUpdateAgentGroupBody, type RestUpdateBabeldeskBody, type RestUpdateBabeldeskWidgetBody, type RestUpdateBusinessHourBody, type RestUpdateCalendarBody, type RestUpdateConversationBody, type RestUpdateGlobalAutomationBody, type RestUpdateLocalAutomationBody, type RestUpdatePhonebookEntryBody, type RestUpdatePromptBody, type RestUpdateQueueBody, type RestUpdateQueueSelectionBody, type RestUpdateRoutingBody, type RestUpdateTriggerBody, type RetryOptions, type Routing, type RoutingItemResponse, RoutingResource, type ServiceNumber, type ServiceNumberItemResponse, type SessionResponse, SessionsResource, type SetCampaignListRequest, SettingAccessor, type SettingsAppAgentStatus, type SettingsAppConversations, type SettingsAppCustomerLogging, type SettingsAppIntegrations, type SettingsAuditDefault, SettingsResource, type SettingsRetentionPeriods, type SettingsTelephonyAgentInbound, type SettingsTelephonyAgentOutbound, type SettingsTelephonyAgentRecording, type SettingsTelephonyAgentWrapup, type SettingsTelephonyPostCall, type SettingsUiI18N, type SimpleReportingCallsQuery, type Sms, type SmsItemResponse, SmsResource, type StorageState, type StorageType, type StoredFile, type StoredFileItemResponse, type SubmitTaskBody, type SubmitTaskScheduleBody, SystemResource, type Tag, type Task, TaskMetricsResource, type TaskSchedule, TaskSchedulesResource, TaskScriptsResource, TaskSecretsResource, TaskSelectionConfigResource, type TaskTemplateOverrides, TasksResource, type TokenResponse, type Trigger, type TriggerConditionListResponse, type TriggerConditionsRequest, type TriggerItemResponse, type TriggerUsesResponse, TriggersResource, type UpdateAgentStatusRequest, type UpdateCampaignRequest, type UpdateSessionVariablesRequest, type UpdateTaskBody, type User, type UserCustomer, type UserCustomerItemResponse, type UserItemResponse, UsersResource, passwordGrant, withRetry };
|
|
7967
|
+
export { type Account, type AccountRole$1 as AccountRole, type AddOutboundLeadRequest, type Agent, type AgentGroup, type AgentGroupItemResponse, AgentGroupsResource, type AgentItemResponse, type AgentLineStatus, type AgentLogsQuery, type AgentOutboundCallRequest, type AgentStatus, AgentsResource, AppActionsResource, type Application, type ApplicationCreateBody, type ApplicationItemResponse, type ApplicationUpdateBody, ApplicationsResource, type Auth, AuthResource, type AuthorizeData, type AuthorizeUrlOptions, AutomationsResource, type Babeldesk, type BabeldeskItemResponse, BabeldeskResource, type BabeldeskWidget, type BabeldeskWidgetItemResponse, BabeldeskWidgetsResource, type BulkActionResponse, type BulkIdsRequest, type BulkUpdateIntegrationsRequest, type BulkUpdateRequest, type BusinessHour, type BusinessHourItemResponse, BusinessHoursResource, type Calendar, type CalendarItemResponse, CalendarsResource, type Call, type CallAttempt, type CallItemResponse, CallsResource, type CampaignHopperResponse, type CampaignItemResponse, type CampaignRealtimeStatusResponse, type CampaignStatisticsResponse, CampaignsResource, type Conference, type ConferenceItemResponse, ConferencesResource, type Conversation, type ConversationEvent, type ConversationItemResponse, type ConversationSessionVariables, ConversationsResource, type CreateCampaignRequest, type CreateListRequest, type CreateManagedUserRequest, type CreateOutboundListRequest, type CreateTestCall, DEFAULT_BASE_URL, type Dashboard, type DashboardCreateBody, type DashboardItemResponse, type DashboardUpdateBody, type DashboardUser, type DashboardUsersResponse, DashboardsResource, type DefaultV2MessageResponse, type DialerBehaviour, type DialerBehaviourItemResponse, type DialerBehaviourWriteBody, DialerBehavioursResource, DialerResource, type DialerSimpleReportingQuery, EventsResource, ExpressionsResource, type FileBulkDeleteRequest, type FileBulkDownloadRequest, FilesResource, type GenericItemResponse, type GlobalAutomation, type GlobalAutomationItemResponse, type ImportAgentsOptions, type Integration, type IntegrationBulkIdsRequest, type IntegrationCreateRequest, type IntegrationItemResponse, type IntegrationObjectListResponse, type IntegrationProvider, type IntegrationTokenItemResponse, type IntegrationTokenListResponse, type IntegrationUpdateRequest, IntegrationsResource, type InterruptionTargetStates, type IvrModule, type Lead, type LeadBulkDeleteRequest, type LeadListItemResponse, type LeadUploadRequest, type LeadUploadResponse, type ListAgentsQuery, type ListApplicationsQuery, type ListAuditLogsQuery, type ListAutomationsQuery, type ListBabeldeskWidgetsQuery, type ListBabeldesksQuery, type ListBusinessHoursQuery, type ListCalendarsQuery, type ListConferencesQuery, type ListConversationsQuery, type ListDashboardsQuery, type ListDialerBehavioursQuery, type ListFilesQuery, type ListIntegrationsQuery, type ListNumbersQuery, type ListOutboundAttemptsQuery, type ListOutboundLeadsQuery, type ListPhonebookQuery, type ListProcessedOutboundLeadsQuery, type ListPromptsQuery, type ListQueuesQuery, type ListRecordingsQuery, type ListRoutingsQuery, type ListSmsQuery, type ListTasksQuery, type ListTriggersQuery, type ListUsersQuery, type LocalAutomation, type LocalAutomationItemResponse, LogsResource, type ManagedUser, type ManagedUserItemResponse, ManagerApiError, ManagerClient, type ManagerClientOptions, MeResource, type MetricDefinitionItemResponse, type MetricIdItemsResponse, type MetricResponse, MetricsResource, NumbersResource, type OAuthRevokeRequest, type OAuthTokenRequest, type OAuthTokenResponse, type ObjectListResponse, type OutboundCampaign, type OutboundCampaignItemResponse, type OutboundLeadItemResponse, type OutboundList, type OutboundListItemResponse, OutboundResource, type OutboundSimpleReportingQuery, type PaginatedAttemptResponse, type PaginatedLeadResponse, type PaginatedRecordingResponse, type PhonebookCsvFile, type PhonebookEntry, type PhonebookEntryItemResponse, PhonebookResource, type PkceChallenge, type Prompt, type PromptAudioFile, type PromptItemResponse, PromptsResource, type Queue, type QueueItemResponse, type QueueSelection, type QueueSelectionItemResponse, QueueSelectionsResource, type QueueTriggerListResponse, QueuesResource, type Recording, type RecordingItemResponse, type RecordingStartRequest, type RecordingState, type RecordingUpdateBody, RecordingsResource, type ReportingCall, type ReportingCallsQuery, ReportingResource, type RestCreateAgentBody, type RestCreateAgentGroupBody, type RestCreateBabeldeskBody, type RestCreateBabeldeskWidgetBody, type RestCreateBusinessHourBody, type RestCreateCalendarBody, type RestCreateConversationBody, type RestCreateGlobalAutomationBody, type RestCreateLocalAutomationBody, type RestCreatePhonebookEntryBody, type RestCreateQueueBody, type RestCreateQueueSelectionBody, type RestCreateRoutingBody, type RestCreateTriggerBody, type RestUpdateAgentBody, type RestUpdateAgentGroupBody, type RestUpdateBabeldeskBody, type RestUpdateBabeldeskWidgetBody, type RestUpdateBusinessHourBody, type RestUpdateCalendarBody, type RestUpdateConversationBody, type RestUpdateGlobalAutomationBody, type RestUpdateLocalAutomationBody, type RestUpdatePhonebookEntryBody, type RestUpdatePromptBody, type RestUpdateQueueBody, type RestUpdateQueueSelectionBody, type RestUpdateRoutingBody, type RestUpdateTriggerBody, type RetryOptions, type Routing, type RoutingItemResponse, RoutingResource, type ServiceNumber, type ServiceNumberItemResponse, type SessionResponse, SessionsResource, type SetCampaignListRequest, SettingAccessor, type SettingsAppAgentStatus, type SettingsAppConversations, type SettingsAppCustomerLogging, type SettingsAppIntegrations, type SettingsAuditDefault, SettingsResource, type SettingsRetentionPeriods, type SettingsTelephonyAgentInbound, type SettingsTelephonyAgentOutbound, type SettingsTelephonyAgentRecording, type SettingsTelephonyAgentWrapup, type SettingsTelephonyPostCall, type SettingsUiI18N, type SimpleReportingCallsQuery, type Sms, type SmsItemResponse, SmsResource, type StorageState, type StorageType, type StoredFile, type StoredFileItemResponse, type SubmitTaskBody, type SubmitTaskScheduleBody, SystemResource, type Tag, type Task, TaskMetricsResource, type TaskSchedule, TaskSchedulesResource, TaskScriptsResource, TaskSecretsResource, TaskSelectionConfigResource, type TaskTemplateOverrides, TasksResource, type TokenResponse, type Trigger, type TriggerConditionListResponse, type TriggerConditionsRequest, type TriggerItemResponse, type TriggerUsesResponse, TriggersResource, type UpdateAgentStatusRequest, type UpdateCampaignRequest, type UpdateSessionVariablesRequest, type UpdateTaskBody, type User, type UserCustomer, type UserCustomerItemResponse, type UserItemResponse, UsersResource, authorizationCodeGrant, buildAuthorizeUrl, clientCredentialsGrant, passwordGrant, pkceChallenge, refreshTokenGrant, withRetry };
|