purecloud-platform-client-v2 249.0.0 → 250.0.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/README.md +34 -3
- package/dist/node/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +10600 -2242
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
- package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
- package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
- package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
- package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
- package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
- package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
- package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
- package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
24
24
|
* Delete a edge.
|
|
25
25
|
*
|
|
26
26
|
* @param {String} edgeId Edge ID
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteTelephonyProvidersEdge(edgeId) {
|
|
30
|
+
deleteTelephonyProvidersEdge(edgeId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'edgeId' is set
|
|
30
34
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
31
35
|
throw 'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdge';
|
|
@@ -41,7 +45,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
41
45
|
null,
|
|
42
46
|
['PureCloud OAuth'],
|
|
43
47
|
['application/json'],
|
|
44
|
-
['application/json']
|
|
48
|
+
['application/json'],
|
|
49
|
+
opts['customHeaders']
|
|
45
50
|
);
|
|
46
51
|
}
|
|
47
52
|
|
|
@@ -50,8 +55,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
50
55
|
*
|
|
51
56
|
* @param {String} edgeId Edge ID
|
|
52
57
|
* @param {String} interfaceId Interface ID
|
|
58
|
+
* @param {Object} opts Optional parameters
|
|
59
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
53
60
|
*/
|
|
54
|
-
deleteTelephonyProvidersEdgeLogicalinterface(edgeId, interfaceId) {
|
|
61
|
+
deleteTelephonyProvidersEdgeLogicalinterface(edgeId, interfaceId, opts) {
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
|
|
55
64
|
// verify the required parameter 'edgeId' is set
|
|
56
65
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
57
66
|
throw 'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdgeLogicalinterface';
|
|
@@ -71,7 +80,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
71
80
|
null,
|
|
72
81
|
['PureCloud OAuth'],
|
|
73
82
|
['application/json'],
|
|
74
|
-
['application/json']
|
|
83
|
+
['application/json'],
|
|
84
|
+
opts['customHeaders']
|
|
75
85
|
);
|
|
76
86
|
}
|
|
77
87
|
|
|
@@ -79,8 +89,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
79
89
|
* Cancels any in-progress update for this edge.
|
|
80
90
|
*
|
|
81
91
|
* @param {String} edgeId Edge ID
|
|
92
|
+
* @param {Object} opts Optional parameters
|
|
93
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
82
94
|
*/
|
|
83
|
-
deleteTelephonyProvidersEdgeSoftwareupdate(edgeId) {
|
|
95
|
+
deleteTelephonyProvidersEdgeSoftwareupdate(edgeId, opts) {
|
|
96
|
+
opts = opts || {};
|
|
97
|
+
|
|
84
98
|
// verify the required parameter 'edgeId' is set
|
|
85
99
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
86
100
|
throw 'Missing the required parameter "edgeId" when calling deleteTelephonyProvidersEdgeSoftwareupdate';
|
|
@@ -96,15 +110,20 @@ class TelephonyProvidersEdgeApi {
|
|
|
96
110
|
null,
|
|
97
111
|
['PureCloud OAuth'],
|
|
98
112
|
['application/json'],
|
|
99
|
-
['application/json']
|
|
113
|
+
['application/json'],
|
|
114
|
+
opts['customHeaders']
|
|
100
115
|
);
|
|
101
116
|
}
|
|
102
117
|
|
|
103
118
|
/**
|
|
104
119
|
* Deletes alertable presences overrides.
|
|
105
120
|
*
|
|
121
|
+
* @param {Object} opts Optional parameters
|
|
122
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
106
123
|
*/
|
|
107
|
-
deleteTelephonyProvidersEdgesAlertablepresences() {
|
|
124
|
+
deleteTelephonyProvidersEdgesAlertablepresences(opts) {
|
|
125
|
+
opts = opts || {};
|
|
126
|
+
|
|
108
127
|
|
|
109
128
|
return this.apiClient.callApi(
|
|
110
129
|
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
@@ -116,7 +135,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
116
135
|
null,
|
|
117
136
|
['PureCloud OAuth'],
|
|
118
137
|
['application/json'],
|
|
119
|
-
['application/json']
|
|
138
|
+
['application/json'],
|
|
139
|
+
opts['customHeaders']
|
|
120
140
|
);
|
|
121
141
|
}
|
|
122
142
|
|
|
@@ -124,8 +144,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
124
144
|
* Delete a certificate authority.
|
|
125
145
|
*
|
|
126
146
|
* @param {String} certificateId Certificate ID
|
|
147
|
+
* @param {Object} opts Optional parameters
|
|
148
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
127
149
|
*/
|
|
128
|
-
deleteTelephonyProvidersEdgesCertificateauthority(certificateId) {
|
|
150
|
+
deleteTelephonyProvidersEdgesCertificateauthority(certificateId, opts) {
|
|
151
|
+
opts = opts || {};
|
|
152
|
+
|
|
129
153
|
// verify the required parameter 'certificateId' is set
|
|
130
154
|
if (certificateId === undefined || certificateId === null || certificateId === '') {
|
|
131
155
|
throw 'Missing the required parameter "certificateId" when calling deleteTelephonyProvidersEdgesCertificateauthority';
|
|
@@ -141,7 +165,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
141
165
|
null,
|
|
142
166
|
['PureCloud OAuth'],
|
|
143
167
|
['application/json'],
|
|
144
|
-
['application/json']
|
|
168
|
+
['application/json'],
|
|
169
|
+
opts['customHeaders']
|
|
145
170
|
);
|
|
146
171
|
}
|
|
147
172
|
|
|
@@ -149,8 +174,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
149
174
|
* Delete a DID Pool by ID.
|
|
150
175
|
*
|
|
151
176
|
* @param {String} didPoolId DID pool ID
|
|
177
|
+
* @param {Object} opts Optional parameters
|
|
178
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
152
179
|
*/
|
|
153
|
-
deleteTelephonyProvidersEdgesDidpool(didPoolId) {
|
|
180
|
+
deleteTelephonyProvidersEdgesDidpool(didPoolId, opts) {
|
|
181
|
+
opts = opts || {};
|
|
182
|
+
|
|
154
183
|
// verify the required parameter 'didPoolId' is set
|
|
155
184
|
if (didPoolId === undefined || didPoolId === null || didPoolId === '') {
|
|
156
185
|
throw 'Missing the required parameter "didPoolId" when calling deleteTelephonyProvidersEdgesDidpool';
|
|
@@ -166,7 +195,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
166
195
|
null,
|
|
167
196
|
['PureCloud OAuth'],
|
|
168
197
|
['application/json'],
|
|
169
|
-
['application/json']
|
|
198
|
+
['application/json'],
|
|
199
|
+
opts['customHeaders']
|
|
170
200
|
);
|
|
171
201
|
}
|
|
172
202
|
|
|
@@ -174,8 +204,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
174
204
|
* Delete an edge group.
|
|
175
205
|
*
|
|
176
206
|
* @param {String} edgeGroupId Edge group ID
|
|
207
|
+
* @param {Object} opts Optional parameters
|
|
208
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
177
209
|
*/
|
|
178
|
-
deleteTelephonyProvidersEdgesEdgegroup(edgeGroupId) {
|
|
210
|
+
deleteTelephonyProvidersEdgesEdgegroup(edgeGroupId, opts) {
|
|
211
|
+
opts = opts || {};
|
|
212
|
+
|
|
179
213
|
// verify the required parameter 'edgeGroupId' is set
|
|
180
214
|
if (edgeGroupId === undefined || edgeGroupId === null || edgeGroupId === '') {
|
|
181
215
|
throw 'Missing the required parameter "edgeGroupId" when calling deleteTelephonyProvidersEdgesEdgegroup';
|
|
@@ -191,7 +225,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
191
225
|
null,
|
|
192
226
|
['PureCloud OAuth'],
|
|
193
227
|
['application/json'],
|
|
194
|
-
['application/json']
|
|
228
|
+
['application/json'],
|
|
229
|
+
opts['customHeaders']
|
|
195
230
|
);
|
|
196
231
|
}
|
|
197
232
|
|
|
@@ -199,8 +234,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
199
234
|
* Delete an extension pool by ID
|
|
200
235
|
*
|
|
201
236
|
* @param {String} extensionPoolId Extension pool ID
|
|
237
|
+
* @param {Object} opts Optional parameters
|
|
238
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
202
239
|
*/
|
|
203
|
-
deleteTelephonyProvidersEdgesExtensionpool(extensionPoolId) {
|
|
240
|
+
deleteTelephonyProvidersEdgesExtensionpool(extensionPoolId, opts) {
|
|
241
|
+
opts = opts || {};
|
|
242
|
+
|
|
204
243
|
// verify the required parameter 'extensionPoolId' is set
|
|
205
244
|
if (extensionPoolId === undefined || extensionPoolId === null || extensionPoolId === '') {
|
|
206
245
|
throw 'Missing the required parameter "extensionPoolId" when calling deleteTelephonyProvidersEdgesExtensionpool';
|
|
@@ -216,7 +255,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
216
255
|
null,
|
|
217
256
|
['PureCloud OAuth'],
|
|
218
257
|
['application/json'],
|
|
219
|
-
['application/json']
|
|
258
|
+
['application/json'],
|
|
259
|
+
opts['customHeaders']
|
|
220
260
|
);
|
|
221
261
|
}
|
|
222
262
|
|
|
@@ -224,8 +264,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
224
264
|
* Delete a Phone by ID
|
|
225
265
|
*
|
|
226
266
|
* @param {String} phoneId Phone ID
|
|
267
|
+
* @param {Object} opts Optional parameters
|
|
268
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
227
269
|
*/
|
|
228
|
-
deleteTelephonyProvidersEdgesPhone(phoneId) {
|
|
270
|
+
deleteTelephonyProvidersEdgesPhone(phoneId, opts) {
|
|
271
|
+
opts = opts || {};
|
|
272
|
+
|
|
229
273
|
// verify the required parameter 'phoneId' is set
|
|
230
274
|
if (phoneId === undefined || phoneId === null || phoneId === '') {
|
|
231
275
|
throw 'Missing the required parameter "phoneId" when calling deleteTelephonyProvidersEdgesPhone';
|
|
@@ -241,7 +285,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
241
285
|
null,
|
|
242
286
|
['PureCloud OAuth'],
|
|
243
287
|
['application/json'],
|
|
244
|
-
['application/json']
|
|
288
|
+
['application/json'],
|
|
289
|
+
opts['customHeaders']
|
|
245
290
|
);
|
|
246
291
|
}
|
|
247
292
|
|
|
@@ -249,8 +294,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
249
294
|
* Delete a Phone Base Settings by ID
|
|
250
295
|
*
|
|
251
296
|
* @param {String} phoneBaseId Phone base ID
|
|
297
|
+
* @param {Object} opts Optional parameters
|
|
298
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
252
299
|
*/
|
|
253
|
-
deleteTelephonyProvidersEdgesPhonebasesetting(phoneBaseId) {
|
|
300
|
+
deleteTelephonyProvidersEdgesPhonebasesetting(phoneBaseId, opts) {
|
|
301
|
+
opts = opts || {};
|
|
302
|
+
|
|
254
303
|
// verify the required parameter 'phoneBaseId' is set
|
|
255
304
|
if (phoneBaseId === undefined || phoneBaseId === null || phoneBaseId === '') {
|
|
256
305
|
throw 'Missing the required parameter "phoneBaseId" when calling deleteTelephonyProvidersEdgesPhonebasesetting';
|
|
@@ -266,7 +315,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
266
315
|
null,
|
|
267
316
|
['PureCloud OAuth'],
|
|
268
317
|
['application/json'],
|
|
269
|
-
['application/json']
|
|
318
|
+
['application/json'],
|
|
319
|
+
opts['customHeaders']
|
|
270
320
|
);
|
|
271
321
|
}
|
|
272
322
|
|
|
@@ -274,8 +324,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
274
324
|
* Delete a Site by ID
|
|
275
325
|
*
|
|
276
326
|
* @param {String} siteId Site ID
|
|
327
|
+
* @param {Object} opts Optional parameters
|
|
328
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
277
329
|
*/
|
|
278
|
-
deleteTelephonyProvidersEdgesSite(siteId) {
|
|
330
|
+
deleteTelephonyProvidersEdgesSite(siteId, opts) {
|
|
331
|
+
opts = opts || {};
|
|
332
|
+
|
|
279
333
|
// verify the required parameter 'siteId' is set
|
|
280
334
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
281
335
|
throw 'Missing the required parameter "siteId" when calling deleteTelephonyProvidersEdgesSite';
|
|
@@ -291,7 +345,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
291
345
|
null,
|
|
292
346
|
['PureCloud OAuth'],
|
|
293
347
|
['application/json'],
|
|
294
|
-
['application/json']
|
|
348
|
+
['application/json'],
|
|
349
|
+
opts['customHeaders']
|
|
295
350
|
);
|
|
296
351
|
}
|
|
297
352
|
|
|
@@ -300,8 +355,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
300
355
|
*
|
|
301
356
|
* @param {String} siteId Site ID
|
|
302
357
|
* @param {String} outboundRouteId Outbound route ID
|
|
358
|
+
* @param {Object} opts Optional parameters
|
|
359
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
303
360
|
*/
|
|
304
|
-
deleteTelephonyProvidersEdgesSiteOutboundroute(siteId, outboundRouteId) {
|
|
361
|
+
deleteTelephonyProvidersEdgesSiteOutboundroute(siteId, outboundRouteId, opts) {
|
|
362
|
+
opts = opts || {};
|
|
363
|
+
|
|
305
364
|
// verify the required parameter 'siteId' is set
|
|
306
365
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
307
366
|
throw 'Missing the required parameter "siteId" when calling deleteTelephonyProvidersEdgesSiteOutboundroute';
|
|
@@ -321,7 +380,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
321
380
|
null,
|
|
322
381
|
['PureCloud OAuth'],
|
|
323
382
|
['application/json'],
|
|
324
|
-
['application/json']
|
|
383
|
+
['application/json'],
|
|
384
|
+
opts['customHeaders']
|
|
325
385
|
);
|
|
326
386
|
}
|
|
327
387
|
|
|
@@ -329,8 +389,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
329
389
|
* Delete a Trunk Base Settings object by ID
|
|
330
390
|
*
|
|
331
391
|
* @param {String} trunkBaseSettingsId Trunk Base ID
|
|
392
|
+
* @param {Object} opts Optional parameters
|
|
393
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
332
394
|
*/
|
|
333
|
-
deleteTelephonyProvidersEdgesTrunkbasesetting(trunkBaseSettingsId) {
|
|
395
|
+
deleteTelephonyProvidersEdgesTrunkbasesetting(trunkBaseSettingsId, opts) {
|
|
396
|
+
opts = opts || {};
|
|
397
|
+
|
|
334
398
|
// verify the required parameter 'trunkBaseSettingsId' is set
|
|
335
399
|
if (trunkBaseSettingsId === undefined || trunkBaseSettingsId === null || trunkBaseSettingsId === '') {
|
|
336
400
|
throw 'Missing the required parameter "trunkBaseSettingsId" when calling deleteTelephonyProvidersEdgesTrunkbasesetting';
|
|
@@ -346,7 +410,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
346
410
|
null,
|
|
347
411
|
['PureCloud OAuth'],
|
|
348
412
|
['application/json'],
|
|
349
|
-
['application/json']
|
|
413
|
+
['application/json'],
|
|
414
|
+
opts['customHeaders']
|
|
350
415
|
);
|
|
351
416
|
}
|
|
352
417
|
|
|
@@ -356,6 +421,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
356
421
|
* @param {String} edgeId Edge ID
|
|
357
422
|
* @param {Object} opts Optional parameters
|
|
358
423
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
424
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
359
425
|
*/
|
|
360
426
|
getTelephonyProvidersEdge(edgeId, opts) {
|
|
361
427
|
opts = opts || {};
|
|
@@ -375,7 +441,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
375
441
|
null,
|
|
376
442
|
['PureCloud OAuth'],
|
|
377
443
|
['application/json'],
|
|
378
|
-
['application/json']
|
|
444
|
+
['application/json'],
|
|
445
|
+
opts['customHeaders']
|
|
379
446
|
);
|
|
380
447
|
}
|
|
381
448
|
|
|
@@ -383,8 +450,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
383
450
|
* Get networking-related information from an Edge for a target IP or host.
|
|
384
451
|
*
|
|
385
452
|
* @param {String} edgeId Edge Id
|
|
453
|
+
* @param {Object} opts Optional parameters
|
|
454
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
386
455
|
*/
|
|
387
|
-
getTelephonyProvidersEdgeDiagnosticNslookup(edgeId) {
|
|
456
|
+
getTelephonyProvidersEdgeDiagnosticNslookup(edgeId, opts) {
|
|
457
|
+
opts = opts || {};
|
|
458
|
+
|
|
388
459
|
// verify the required parameter 'edgeId' is set
|
|
389
460
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
390
461
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticNslookup';
|
|
@@ -400,7 +471,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
400
471
|
null,
|
|
401
472
|
['PureCloud OAuth'],
|
|
402
473
|
['application/json'],
|
|
403
|
-
['application/json']
|
|
474
|
+
['application/json'],
|
|
475
|
+
opts['customHeaders']
|
|
404
476
|
);
|
|
405
477
|
}
|
|
406
478
|
|
|
@@ -408,8 +480,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
408
480
|
* Get networking-related information from an Edge for a target IP or host.
|
|
409
481
|
*
|
|
410
482
|
* @param {String} edgeId Edge Id
|
|
483
|
+
* @param {Object} opts Optional parameters
|
|
484
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
411
485
|
*/
|
|
412
|
-
getTelephonyProvidersEdgeDiagnosticPing(edgeId) {
|
|
486
|
+
getTelephonyProvidersEdgeDiagnosticPing(edgeId, opts) {
|
|
487
|
+
opts = opts || {};
|
|
488
|
+
|
|
413
489
|
// verify the required parameter 'edgeId' is set
|
|
414
490
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
415
491
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticPing';
|
|
@@ -425,7 +501,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
425
501
|
null,
|
|
426
502
|
['PureCloud OAuth'],
|
|
427
503
|
['application/json'],
|
|
428
|
-
['application/json']
|
|
504
|
+
['application/json'],
|
|
505
|
+
opts['customHeaders']
|
|
429
506
|
);
|
|
430
507
|
}
|
|
431
508
|
|
|
@@ -433,8 +510,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
433
510
|
* Get networking-related information from an Edge for a target IP or host.
|
|
434
511
|
*
|
|
435
512
|
* @param {String} edgeId Edge Id
|
|
513
|
+
* @param {Object} opts Optional parameters
|
|
514
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
436
515
|
*/
|
|
437
|
-
getTelephonyProvidersEdgeDiagnosticRoute(edgeId) {
|
|
516
|
+
getTelephonyProvidersEdgeDiagnosticRoute(edgeId, opts) {
|
|
517
|
+
opts = opts || {};
|
|
518
|
+
|
|
438
519
|
// verify the required parameter 'edgeId' is set
|
|
439
520
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
440
521
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticRoute';
|
|
@@ -450,7 +531,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
450
531
|
null,
|
|
451
532
|
['PureCloud OAuth'],
|
|
452
533
|
['application/json'],
|
|
453
|
-
['application/json']
|
|
534
|
+
['application/json'],
|
|
535
|
+
opts['customHeaders']
|
|
454
536
|
);
|
|
455
537
|
}
|
|
456
538
|
|
|
@@ -458,8 +540,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
458
540
|
* Get networking-related information from an Edge for a target IP or host.
|
|
459
541
|
*
|
|
460
542
|
* @param {String} edgeId Edge Id
|
|
543
|
+
* @param {Object} opts Optional parameters
|
|
544
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
461
545
|
*/
|
|
462
|
-
getTelephonyProvidersEdgeDiagnosticTracepath(edgeId) {
|
|
546
|
+
getTelephonyProvidersEdgeDiagnosticTracepath(edgeId, opts) {
|
|
547
|
+
opts = opts || {};
|
|
548
|
+
|
|
463
549
|
// verify the required parameter 'edgeId' is set
|
|
464
550
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
465
551
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeDiagnosticTracepath';
|
|
@@ -475,7 +561,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
475
561
|
null,
|
|
476
562
|
['PureCloud OAuth'],
|
|
477
563
|
['application/json'],
|
|
478
|
-
['application/json']
|
|
564
|
+
['application/json'],
|
|
565
|
+
opts['customHeaders']
|
|
479
566
|
);
|
|
480
567
|
}
|
|
481
568
|
|
|
@@ -486,6 +573,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
486
573
|
* @param {String} interfaceId Interface ID
|
|
487
574
|
* @param {Object} opts Optional parameters
|
|
488
575
|
* @param {Array.<String>} opts.expand Field to expand in the response
|
|
576
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
489
577
|
*/
|
|
490
578
|
getTelephonyProvidersEdgeLogicalinterface(edgeId, interfaceId, opts) {
|
|
491
579
|
opts = opts || {};
|
|
@@ -509,7 +597,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
509
597
|
null,
|
|
510
598
|
['PureCloud OAuth'],
|
|
511
599
|
['application/json'],
|
|
512
|
-
['application/json']
|
|
600
|
+
['application/json'],
|
|
601
|
+
opts['customHeaders']
|
|
513
602
|
);
|
|
514
603
|
}
|
|
515
604
|
|
|
@@ -519,6 +608,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
519
608
|
* @param {String} edgeId Edge ID
|
|
520
609
|
* @param {Object} opts Optional parameters
|
|
521
610
|
* @param {Array.<String>} opts.expand Field to expand in the response
|
|
611
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
522
612
|
*/
|
|
523
613
|
getTelephonyProvidersEdgeLogicalinterfaces(edgeId, opts) {
|
|
524
614
|
opts = opts || {};
|
|
@@ -538,7 +628,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
538
628
|
null,
|
|
539
629
|
['PureCloud OAuth'],
|
|
540
630
|
['application/json'],
|
|
541
|
-
['application/json']
|
|
631
|
+
['application/json'],
|
|
632
|
+
opts['customHeaders']
|
|
542
633
|
);
|
|
543
634
|
}
|
|
544
635
|
|
|
@@ -547,8 +638,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
547
638
|
*
|
|
548
639
|
* @param {String} edgeId Edge ID
|
|
549
640
|
* @param {String} jobId Job ID
|
|
641
|
+
* @param {Object} opts Optional parameters
|
|
642
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
550
643
|
*/
|
|
551
|
-
getTelephonyProvidersEdgeLogsJob(edgeId, jobId) {
|
|
644
|
+
getTelephonyProvidersEdgeLogsJob(edgeId, jobId, opts) {
|
|
645
|
+
opts = opts || {};
|
|
646
|
+
|
|
552
647
|
// verify the required parameter 'edgeId' is set
|
|
553
648
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
554
649
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLogsJob';
|
|
@@ -568,7 +663,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
568
663
|
null,
|
|
569
664
|
['PureCloud OAuth'],
|
|
570
665
|
['application/json'],
|
|
571
|
-
['application/json']
|
|
666
|
+
['application/json'],
|
|
667
|
+
opts['customHeaders']
|
|
572
668
|
);
|
|
573
669
|
}
|
|
574
670
|
|
|
@@ -576,8 +672,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
576
672
|
* Get the edge metrics.
|
|
577
673
|
*
|
|
578
674
|
* @param {String} edgeId Edge Id
|
|
675
|
+
* @param {Object} opts Optional parameters
|
|
676
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
579
677
|
*/
|
|
580
|
-
getTelephonyProvidersEdgeMetrics(edgeId) {
|
|
678
|
+
getTelephonyProvidersEdgeMetrics(edgeId, opts) {
|
|
679
|
+
opts = opts || {};
|
|
680
|
+
|
|
581
681
|
// verify the required parameter 'edgeId' is set
|
|
582
682
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
583
683
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeMetrics';
|
|
@@ -593,7 +693,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
593
693
|
null,
|
|
594
694
|
['PureCloud OAuth'],
|
|
595
695
|
['application/json'],
|
|
596
|
-
['application/json']
|
|
696
|
+
['application/json'],
|
|
697
|
+
opts['customHeaders']
|
|
597
698
|
);
|
|
598
699
|
}
|
|
599
700
|
|
|
@@ -602,8 +703,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
602
703
|
* Retrieve a physical interface from a specific edge.
|
|
603
704
|
* @param {String} edgeId Edge ID
|
|
604
705
|
* @param {String} interfaceId Interface ID
|
|
706
|
+
* @param {Object} opts Optional parameters
|
|
707
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
605
708
|
*/
|
|
606
|
-
getTelephonyProvidersEdgePhysicalinterface(edgeId, interfaceId) {
|
|
709
|
+
getTelephonyProvidersEdgePhysicalinterface(edgeId, interfaceId, opts) {
|
|
710
|
+
opts = opts || {};
|
|
711
|
+
|
|
607
712
|
// verify the required parameter 'edgeId' is set
|
|
608
713
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
609
714
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgePhysicalinterface';
|
|
@@ -623,7 +728,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
623
728
|
null,
|
|
624
729
|
['PureCloud OAuth'],
|
|
625
730
|
['application/json'],
|
|
626
|
-
['application/json']
|
|
731
|
+
['application/json'],
|
|
732
|
+
opts['customHeaders']
|
|
627
733
|
);
|
|
628
734
|
}
|
|
629
735
|
|
|
@@ -631,8 +737,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
631
737
|
* Retrieve a list of all configured physical interfaces from a specific edge.
|
|
632
738
|
*
|
|
633
739
|
* @param {String} edgeId Edge ID
|
|
740
|
+
* @param {Object} opts Optional parameters
|
|
741
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
634
742
|
*/
|
|
635
|
-
getTelephonyProvidersEdgePhysicalinterfaces(edgeId) {
|
|
743
|
+
getTelephonyProvidersEdgePhysicalinterfaces(edgeId, opts) {
|
|
744
|
+
opts = opts || {};
|
|
745
|
+
|
|
636
746
|
// verify the required parameter 'edgeId' is set
|
|
637
747
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
638
748
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgePhysicalinterfaces';
|
|
@@ -648,7 +758,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
648
758
|
null,
|
|
649
759
|
['PureCloud OAuth'],
|
|
650
760
|
['application/json'],
|
|
651
|
-
['application/json']
|
|
761
|
+
['application/json'],
|
|
762
|
+
opts['customHeaders']
|
|
652
763
|
);
|
|
653
764
|
}
|
|
654
765
|
|
|
@@ -656,8 +767,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
656
767
|
* Get the setup package for a locally deployed edge device. This is needed to complete the setup process for the virtual edge.
|
|
657
768
|
*
|
|
658
769
|
* @param {String} edgeId Edge ID
|
|
770
|
+
* @param {Object} opts Optional parameters
|
|
771
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
659
772
|
*/
|
|
660
|
-
getTelephonyProvidersEdgeSetuppackage(edgeId) {
|
|
773
|
+
getTelephonyProvidersEdgeSetuppackage(edgeId, opts) {
|
|
774
|
+
opts = opts || {};
|
|
775
|
+
|
|
661
776
|
// verify the required parameter 'edgeId' is set
|
|
662
777
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
663
778
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSetuppackage';
|
|
@@ -673,7 +788,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
673
788
|
null,
|
|
674
789
|
['PureCloud OAuth'],
|
|
675
790
|
['application/json'],
|
|
676
|
-
['application/json']
|
|
791
|
+
['application/json'],
|
|
792
|
+
opts['customHeaders']
|
|
677
793
|
);
|
|
678
794
|
}
|
|
679
795
|
|
|
@@ -681,8 +797,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
681
797
|
* Gets software update status information about any edge.
|
|
682
798
|
*
|
|
683
799
|
* @param {String} edgeId Edge ID
|
|
800
|
+
* @param {Object} opts Optional parameters
|
|
801
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
684
802
|
*/
|
|
685
|
-
getTelephonyProvidersEdgeSoftwareupdate(edgeId) {
|
|
803
|
+
getTelephonyProvidersEdgeSoftwareupdate(edgeId, opts) {
|
|
804
|
+
opts = opts || {};
|
|
805
|
+
|
|
686
806
|
// verify the required parameter 'edgeId' is set
|
|
687
807
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
688
808
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSoftwareupdate';
|
|
@@ -698,7 +818,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
698
818
|
null,
|
|
699
819
|
['PureCloud OAuth'],
|
|
700
820
|
['application/json'],
|
|
701
|
-
['application/json']
|
|
821
|
+
['application/json'],
|
|
822
|
+
opts['customHeaders']
|
|
702
823
|
);
|
|
703
824
|
}
|
|
704
825
|
|
|
@@ -706,8 +827,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
706
827
|
* Gets all the available software versions for this edge.
|
|
707
828
|
*
|
|
708
829
|
* @param {String} edgeId Edge ID
|
|
830
|
+
* @param {Object} opts Optional parameters
|
|
831
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
709
832
|
*/
|
|
710
|
-
getTelephonyProvidersEdgeSoftwareversions(edgeId) {
|
|
833
|
+
getTelephonyProvidersEdgeSoftwareversions(edgeId, opts) {
|
|
834
|
+
opts = opts || {};
|
|
835
|
+
|
|
711
836
|
// verify the required parameter 'edgeId' is set
|
|
712
837
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
713
838
|
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeSoftwareversions';
|
|
@@ -723,7 +848,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
723
848
|
null,
|
|
724
849
|
['PureCloud OAuth'],
|
|
725
850
|
['application/json'],
|
|
726
|
-
['application/json']
|
|
851
|
+
['application/json'],
|
|
852
|
+
opts['customHeaders']
|
|
727
853
|
);
|
|
728
854
|
}
|
|
729
855
|
|
|
@@ -738,6 +864,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
738
864
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
739
865
|
* @param {String} opts.trunkBaseId Filter by Trunk Base Ids
|
|
740
866
|
* @param {Object} opts.trunkType Filter by a Trunk type
|
|
867
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
741
868
|
*/
|
|
742
869
|
getTelephonyProvidersEdgeTrunks(edgeId, opts) {
|
|
743
870
|
opts = opts || {};
|
|
@@ -757,7 +884,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
757
884
|
null,
|
|
758
885
|
['PureCloud OAuth'],
|
|
759
886
|
['application/json'],
|
|
760
|
-
['application/json']
|
|
887
|
+
['application/json'],
|
|
888
|
+
opts['customHeaders']
|
|
761
889
|
);
|
|
762
890
|
}
|
|
763
891
|
|
|
@@ -773,6 +901,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
773
901
|
* @param {String} opts.sortBy Sort by (default to name)
|
|
774
902
|
* @param {Boolean} opts.managed Filter by managed
|
|
775
903
|
* @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
|
|
904
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
776
905
|
*/
|
|
777
906
|
getTelephonyProvidersEdges(opts) {
|
|
778
907
|
opts = opts || {};
|
|
@@ -788,7 +917,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
788
917
|
null,
|
|
789
918
|
['PureCloud OAuth'],
|
|
790
919
|
['application/json'],
|
|
791
|
-
['application/json']
|
|
920
|
+
['application/json'],
|
|
921
|
+
opts['customHeaders']
|
|
792
922
|
);
|
|
793
923
|
}
|
|
794
924
|
|
|
@@ -797,6 +927,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
797
927
|
*
|
|
798
928
|
* @param {Object} opts Optional parameters
|
|
799
929
|
* @param {Object} opts.type
|
|
930
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
800
931
|
*/
|
|
801
932
|
getTelephonyProvidersEdgesAlertablepresences(opts) {
|
|
802
933
|
opts = opts || {};
|
|
@@ -812,15 +943,20 @@ class TelephonyProvidersEdgeApi {
|
|
|
812
943
|
null,
|
|
813
944
|
['PureCloud OAuth'],
|
|
814
945
|
['application/json'],
|
|
815
|
-
['application/json']
|
|
946
|
+
['application/json'],
|
|
947
|
+
opts['customHeaders']
|
|
816
948
|
);
|
|
817
949
|
}
|
|
818
950
|
|
|
819
951
|
/**
|
|
820
952
|
* Get the list of certificate authorities.
|
|
821
953
|
*
|
|
954
|
+
* @param {Object} opts Optional parameters
|
|
955
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
822
956
|
*/
|
|
823
|
-
getTelephonyProvidersEdgesCertificateauthorities() {
|
|
957
|
+
getTelephonyProvidersEdgesCertificateauthorities(opts) {
|
|
958
|
+
opts = opts || {};
|
|
959
|
+
|
|
824
960
|
|
|
825
961
|
return this.apiClient.callApi(
|
|
826
962
|
'/api/v2/telephony/providers/edges/certificateauthorities',
|
|
@@ -832,7 +968,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
832
968
|
null,
|
|
833
969
|
['PureCloud OAuth'],
|
|
834
970
|
['application/json'],
|
|
835
|
-
['application/json']
|
|
971
|
+
['application/json'],
|
|
972
|
+
opts['customHeaders']
|
|
836
973
|
);
|
|
837
974
|
}
|
|
838
975
|
|
|
@@ -840,8 +977,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
840
977
|
* Get a certificate authority.
|
|
841
978
|
*
|
|
842
979
|
* @param {String} certificateId Certificate ID
|
|
980
|
+
* @param {Object} opts Optional parameters
|
|
981
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
843
982
|
*/
|
|
844
|
-
getTelephonyProvidersEdgesCertificateauthority(certificateId) {
|
|
983
|
+
getTelephonyProvidersEdgesCertificateauthority(certificateId, opts) {
|
|
984
|
+
opts = opts || {};
|
|
985
|
+
|
|
845
986
|
// verify the required parameter 'certificateId' is set
|
|
846
987
|
if (certificateId === undefined || certificateId === null || certificateId === '') {
|
|
847
988
|
throw 'Missing the required parameter "certificateId" when calling getTelephonyProvidersEdgesCertificateauthority';
|
|
@@ -857,7 +998,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
857
998
|
null,
|
|
858
999
|
['PureCloud OAuth'],
|
|
859
1000
|
['application/json'],
|
|
860
|
-
['application/json']
|
|
1001
|
+
['application/json'],
|
|
1002
|
+
opts['customHeaders']
|
|
861
1003
|
);
|
|
862
1004
|
}
|
|
863
1005
|
|
|
@@ -865,8 +1007,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
865
1007
|
* Get a DID by ID.
|
|
866
1008
|
*
|
|
867
1009
|
* @param {String} didId DID ID
|
|
1010
|
+
* @param {Object} opts Optional parameters
|
|
1011
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
868
1012
|
*/
|
|
869
|
-
getTelephonyProvidersEdgesDid(didId) {
|
|
1013
|
+
getTelephonyProvidersEdgesDid(didId, opts) {
|
|
1014
|
+
opts = opts || {};
|
|
1015
|
+
|
|
870
1016
|
// verify the required parameter 'didId' is set
|
|
871
1017
|
if (didId === undefined || didId === null || didId === '') {
|
|
872
1018
|
throw 'Missing the required parameter "didId" when calling getTelephonyProvidersEdgesDid';
|
|
@@ -882,7 +1028,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
882
1028
|
null,
|
|
883
1029
|
['PureCloud OAuth'],
|
|
884
1030
|
['application/json'],
|
|
885
|
-
['application/json']
|
|
1031
|
+
['application/json'],
|
|
1032
|
+
opts['customHeaders']
|
|
886
1033
|
);
|
|
887
1034
|
}
|
|
888
1035
|
|
|
@@ -890,8 +1037,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
890
1037
|
* Get a DID Pool by ID.
|
|
891
1038
|
*
|
|
892
1039
|
* @param {String} didPoolId DID pool ID
|
|
1040
|
+
* @param {Object} opts Optional parameters
|
|
1041
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
893
1042
|
*/
|
|
894
|
-
getTelephonyProvidersEdgesDidpool(didPoolId) {
|
|
1043
|
+
getTelephonyProvidersEdgesDidpool(didPoolId, opts) {
|
|
1044
|
+
opts = opts || {};
|
|
1045
|
+
|
|
895
1046
|
// verify the required parameter 'didPoolId' is set
|
|
896
1047
|
if (didPoolId === undefined || didPoolId === null || didPoolId === '') {
|
|
897
1048
|
throw 'Missing the required parameter "didPoolId" when calling getTelephonyProvidersEdgesDidpool';
|
|
@@ -907,7 +1058,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
907
1058
|
null,
|
|
908
1059
|
['PureCloud OAuth'],
|
|
909
1060
|
['application/json'],
|
|
910
|
-
['application/json']
|
|
1061
|
+
['application/json'],
|
|
1062
|
+
opts['customHeaders']
|
|
911
1063
|
);
|
|
912
1064
|
}
|
|
913
1065
|
|
|
@@ -919,6 +1071,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
919
1071
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
920
1072
|
* @param {String} opts.sortBy Sort by (default to number)
|
|
921
1073
|
* @param {Array.<String>} opts.id Filter by a specific list of ID's
|
|
1074
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
922
1075
|
*/
|
|
923
1076
|
getTelephonyProvidersEdgesDidpools(opts) {
|
|
924
1077
|
opts = opts || {};
|
|
@@ -934,7 +1087,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
934
1087
|
null,
|
|
935
1088
|
['PureCloud OAuth'],
|
|
936
1089
|
['application/json'],
|
|
937
|
-
['application/json']
|
|
1090
|
+
['application/json'],
|
|
1091
|
+
opts['customHeaders']
|
|
938
1092
|
);
|
|
939
1093
|
}
|
|
940
1094
|
|
|
@@ -948,6 +1102,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
948
1102
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
949
1103
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
950
1104
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
1105
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
951
1106
|
*/
|
|
952
1107
|
getTelephonyProvidersEdgesDidpoolsDids(type, opts) {
|
|
953
1108
|
opts = opts || {};
|
|
@@ -967,7 +1122,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
967
1122
|
null,
|
|
968
1123
|
['PureCloud OAuth'],
|
|
969
1124
|
['application/json'],
|
|
970
|
-
['application/json']
|
|
1125
|
+
['application/json'],
|
|
1126
|
+
opts['customHeaders']
|
|
971
1127
|
);
|
|
972
1128
|
}
|
|
973
1129
|
|
|
@@ -983,6 +1139,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
983
1139
|
* @param {String} opts.ownerId Filter by the owner of a phone number
|
|
984
1140
|
* @param {String} opts.didPoolId Filter by the DID Pool assignment
|
|
985
1141
|
* @param {Array.<String>} opts.id Filter by a specific list of ID's
|
|
1142
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
986
1143
|
*/
|
|
987
1144
|
getTelephonyProvidersEdgesDids(opts) {
|
|
988
1145
|
opts = opts || {};
|
|
@@ -998,7 +1155,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
998
1155
|
null,
|
|
999
1156
|
['PureCloud OAuth'],
|
|
1000
1157
|
['application/json'],
|
|
1001
|
-
['application/json']
|
|
1158
|
+
['application/json'],
|
|
1159
|
+
opts['customHeaders']
|
|
1002
1160
|
);
|
|
1003
1161
|
}
|
|
1004
1162
|
|
|
@@ -1008,6 +1166,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1008
1166
|
* @param {String} edgeGroupId Edge group ID
|
|
1009
1167
|
* @param {Object} opts Optional parameters
|
|
1010
1168
|
* @param {Array.<String>} opts.expand Fields to expand in the response
|
|
1169
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1011
1170
|
*/
|
|
1012
1171
|
getTelephonyProvidersEdgesEdgegroup(edgeGroupId, opts) {
|
|
1013
1172
|
opts = opts || {};
|
|
@@ -1027,7 +1186,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1027
1186
|
null,
|
|
1028
1187
|
['PureCloud OAuth'],
|
|
1029
1188
|
['application/json'],
|
|
1030
|
-
['application/json']
|
|
1189
|
+
['application/json'],
|
|
1190
|
+
opts['customHeaders']
|
|
1031
1191
|
);
|
|
1032
1192
|
}
|
|
1033
1193
|
|
|
@@ -1036,8 +1196,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1036
1196
|
*
|
|
1037
1197
|
* @param {String} edgegroupId Edge Group ID
|
|
1038
1198
|
* @param {String} edgetrunkbaseId Edge Trunk Base ID
|
|
1199
|
+
* @param {Object} opts Optional parameters
|
|
1200
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1039
1201
|
*/
|
|
1040
|
-
getTelephonyProvidersEdgesEdgegroupEdgetrunkbase(edgegroupId, edgetrunkbaseId) {
|
|
1202
|
+
getTelephonyProvidersEdgesEdgegroupEdgetrunkbase(edgegroupId, edgetrunkbaseId, opts) {
|
|
1203
|
+
opts = opts || {};
|
|
1204
|
+
|
|
1041
1205
|
// verify the required parameter 'edgegroupId' is set
|
|
1042
1206
|
if (edgegroupId === undefined || edgegroupId === null || edgegroupId === '') {
|
|
1043
1207
|
throw 'Missing the required parameter "edgegroupId" when calling getTelephonyProvidersEdgesEdgegroupEdgetrunkbase';
|
|
@@ -1057,7 +1221,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1057
1221
|
null,
|
|
1058
1222
|
['PureCloud OAuth'],
|
|
1059
1223
|
['application/json'],
|
|
1060
|
-
['application/json']
|
|
1224
|
+
['application/json'],
|
|
1225
|
+
opts['customHeaders']
|
|
1061
1226
|
);
|
|
1062
1227
|
}
|
|
1063
1228
|
|
|
@@ -1070,6 +1235,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1070
1235
|
* @param {String} opts.name Name
|
|
1071
1236
|
* @param {String} opts.sortBy Sort by (default to name)
|
|
1072
1237
|
* @param {Boolean} opts.managed Filter by managed
|
|
1238
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1073
1239
|
*/
|
|
1074
1240
|
getTelephonyProvidersEdgesEdgegroups(opts) {
|
|
1075
1241
|
opts = opts || {};
|
|
@@ -1085,15 +1251,20 @@ class TelephonyProvidersEdgeApi {
|
|
|
1085
1251
|
null,
|
|
1086
1252
|
['PureCloud OAuth'],
|
|
1087
1253
|
['application/json'],
|
|
1088
|
-
['application/json']
|
|
1254
|
+
['application/json'],
|
|
1255
|
+
opts['customHeaders']
|
|
1089
1256
|
);
|
|
1090
1257
|
}
|
|
1091
1258
|
|
|
1092
1259
|
/**
|
|
1093
1260
|
* Get the edge version report.
|
|
1094
1261
|
* The report will not have consistent data about the edge version(s) until all edges have been reset.
|
|
1262
|
+
* @param {Object} opts Optional parameters
|
|
1263
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1095
1264
|
*/
|
|
1096
|
-
getTelephonyProvidersEdgesEdgeversionreport() {
|
|
1265
|
+
getTelephonyProvidersEdgesEdgeversionreport(opts) {
|
|
1266
|
+
opts = opts || {};
|
|
1267
|
+
|
|
1097
1268
|
|
|
1098
1269
|
return this.apiClient.callApi(
|
|
1099
1270
|
'/api/v2/telephony/providers/edges/edgeversionreport',
|
|
@@ -1105,15 +1276,20 @@ class TelephonyProvidersEdgeApi {
|
|
|
1105
1276
|
null,
|
|
1106
1277
|
['PureCloud OAuth'],
|
|
1107
1278
|
['application/json'],
|
|
1108
|
-
['application/json']
|
|
1279
|
+
['application/json'],
|
|
1280
|
+
opts['customHeaders']
|
|
1109
1281
|
);
|
|
1110
1282
|
}
|
|
1111
1283
|
|
|
1112
1284
|
/**
|
|
1113
1285
|
* List of edges more than 4 edge versions behind the latest software.
|
|
1114
1286
|
*
|
|
1287
|
+
* @param {Object} opts Optional parameters
|
|
1288
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1115
1289
|
*/
|
|
1116
|
-
getTelephonyProvidersEdgesExpired() {
|
|
1290
|
+
getTelephonyProvidersEdgesExpired(opts) {
|
|
1291
|
+
opts = opts || {};
|
|
1292
|
+
|
|
1117
1293
|
|
|
1118
1294
|
return this.apiClient.callApi(
|
|
1119
1295
|
'/api/v2/telephony/providers/edges/expired',
|
|
@@ -1125,7 +1301,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1125
1301
|
null,
|
|
1126
1302
|
['PureCloud OAuth'],
|
|
1127
1303
|
['application/json'],
|
|
1128
|
-
['application/json']
|
|
1304
|
+
['application/json'],
|
|
1305
|
+
opts['customHeaders']
|
|
1129
1306
|
);
|
|
1130
1307
|
}
|
|
1131
1308
|
|
|
@@ -1133,8 +1310,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1133
1310
|
* Get an extension by ID.
|
|
1134
1311
|
*
|
|
1135
1312
|
* @param {String} extensionId Extension ID
|
|
1313
|
+
* @param {Object} opts Optional parameters
|
|
1314
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1136
1315
|
*/
|
|
1137
|
-
getTelephonyProvidersEdgesExtension(extensionId) {
|
|
1316
|
+
getTelephonyProvidersEdgesExtension(extensionId, opts) {
|
|
1317
|
+
opts = opts || {};
|
|
1318
|
+
|
|
1138
1319
|
// verify the required parameter 'extensionId' is set
|
|
1139
1320
|
if (extensionId === undefined || extensionId === null || extensionId === '') {
|
|
1140
1321
|
throw 'Missing the required parameter "extensionId" when calling getTelephonyProvidersEdgesExtension';
|
|
@@ -1150,7 +1331,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1150
1331
|
null,
|
|
1151
1332
|
['PureCloud OAuth'],
|
|
1152
1333
|
['application/json'],
|
|
1153
|
-
['application/json']
|
|
1334
|
+
['application/json'],
|
|
1335
|
+
opts['customHeaders']
|
|
1154
1336
|
);
|
|
1155
1337
|
}
|
|
1156
1338
|
|
|
@@ -1158,8 +1340,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1158
1340
|
* Get an extension pool by ID
|
|
1159
1341
|
*
|
|
1160
1342
|
* @param {String} extensionPoolId Extension pool ID
|
|
1343
|
+
* @param {Object} opts Optional parameters
|
|
1344
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1161
1345
|
*/
|
|
1162
|
-
getTelephonyProvidersEdgesExtensionpool(extensionPoolId) {
|
|
1346
|
+
getTelephonyProvidersEdgesExtensionpool(extensionPoolId, opts) {
|
|
1347
|
+
opts = opts || {};
|
|
1348
|
+
|
|
1163
1349
|
// verify the required parameter 'extensionPoolId' is set
|
|
1164
1350
|
if (extensionPoolId === undefined || extensionPoolId === null || extensionPoolId === '') {
|
|
1165
1351
|
throw 'Missing the required parameter "extensionPoolId" when calling getTelephonyProvidersEdgesExtensionpool';
|
|
@@ -1175,7 +1361,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1175
1361
|
null,
|
|
1176
1362
|
['PureCloud OAuth'],
|
|
1177
1363
|
['application/json'],
|
|
1178
|
-
['application/json']
|
|
1364
|
+
['application/json'],
|
|
1365
|
+
opts['customHeaders']
|
|
1179
1366
|
);
|
|
1180
1367
|
}
|
|
1181
1368
|
|
|
@@ -1188,6 +1375,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1188
1375
|
* @param {String} opts.sortBy Sort by
|
|
1189
1376
|
* @param {String} opts._number Deprecated, filtering by number not supported
|
|
1190
1377
|
* @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
|
|
1378
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1191
1379
|
*/
|
|
1192
1380
|
getTelephonyProvidersEdgesExtensionpools(opts) {
|
|
1193
1381
|
opts = opts || {};
|
|
@@ -1203,7 +1391,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1203
1391
|
null,
|
|
1204
1392
|
['PureCloud OAuth'],
|
|
1205
1393
|
['application/json'],
|
|
1206
|
-
['application/json']
|
|
1394
|
+
['application/json'],
|
|
1395
|
+
opts['customHeaders']
|
|
1207
1396
|
);
|
|
1208
1397
|
}
|
|
1209
1398
|
|
|
@@ -1218,6 +1407,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1218
1407
|
* @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
|
|
1219
1408
|
* @param {String} opts.name Name of the Extension Pools to filter by.
|
|
1220
1409
|
* @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
|
|
1410
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1221
1411
|
*/
|
|
1222
1412
|
getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts) {
|
|
1223
1413
|
opts = opts || {};
|
|
@@ -1233,7 +1423,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1233
1423
|
null,
|
|
1234
1424
|
['PureCloud OAuth'],
|
|
1235
1425
|
['application/json'],
|
|
1236
|
-
['application/json']
|
|
1426
|
+
['application/json'],
|
|
1427
|
+
opts['customHeaders']
|
|
1237
1428
|
);
|
|
1238
1429
|
}
|
|
1239
1430
|
|
|
@@ -1246,6 +1437,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1246
1437
|
* @param {String} opts.sortBy Sort by (default to number)
|
|
1247
1438
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
1248
1439
|
* @param {String} opts._number Filter by number
|
|
1440
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1249
1441
|
*/
|
|
1250
1442
|
getTelephonyProvidersEdgesExtensions(opts) {
|
|
1251
1443
|
opts = opts || {};
|
|
@@ -1261,7 +1453,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1261
1453
|
null,
|
|
1262
1454
|
['PureCloud OAuth'],
|
|
1263
1455
|
['application/json'],
|
|
1264
|
-
['application/json']
|
|
1456
|
+
['application/json'],
|
|
1457
|
+
opts['customHeaders']
|
|
1265
1458
|
);
|
|
1266
1459
|
}
|
|
1267
1460
|
|
|
@@ -1269,8 +1462,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1269
1462
|
* Get a Line by ID
|
|
1270
1463
|
*
|
|
1271
1464
|
* @param {String} lineId Line ID
|
|
1465
|
+
* @param {Object} opts Optional parameters
|
|
1466
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1272
1467
|
*/
|
|
1273
|
-
getTelephonyProvidersEdgesLine(lineId) {
|
|
1468
|
+
getTelephonyProvidersEdgesLine(lineId, opts) {
|
|
1469
|
+
opts = opts || {};
|
|
1470
|
+
|
|
1274
1471
|
// verify the required parameter 'lineId' is set
|
|
1275
1472
|
if (lineId === undefined || lineId === null || lineId === '') {
|
|
1276
1473
|
throw 'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgesLine';
|
|
@@ -1286,7 +1483,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1286
1483
|
null,
|
|
1287
1484
|
['PureCloud OAuth'],
|
|
1288
1485
|
['application/json'],
|
|
1289
|
-
['application/json']
|
|
1486
|
+
['application/json'],
|
|
1487
|
+
opts['customHeaders']
|
|
1290
1488
|
);
|
|
1291
1489
|
}
|
|
1292
1490
|
|
|
@@ -1294,8 +1492,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1294
1492
|
* Get a line base settings object by ID
|
|
1295
1493
|
*
|
|
1296
1494
|
* @param {String} lineBaseId Line base ID
|
|
1495
|
+
* @param {Object} opts Optional parameters
|
|
1496
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1297
1497
|
*/
|
|
1298
|
-
getTelephonyProvidersEdgesLinebasesetting(lineBaseId) {
|
|
1498
|
+
getTelephonyProvidersEdgesLinebasesetting(lineBaseId, opts) {
|
|
1499
|
+
opts = opts || {};
|
|
1500
|
+
|
|
1299
1501
|
// verify the required parameter 'lineBaseId' is set
|
|
1300
1502
|
if (lineBaseId === undefined || lineBaseId === null || lineBaseId === '') {
|
|
1301
1503
|
throw 'Missing the required parameter "lineBaseId" when calling getTelephonyProvidersEdgesLinebasesetting';
|
|
@@ -1311,7 +1513,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1311
1513
|
null,
|
|
1312
1514
|
['PureCloud OAuth'],
|
|
1313
1515
|
['application/json'],
|
|
1314
|
-
['application/json']
|
|
1516
|
+
['application/json'],
|
|
1517
|
+
opts['customHeaders']
|
|
1315
1518
|
);
|
|
1316
1519
|
}
|
|
1317
1520
|
|
|
@@ -1324,6 +1527,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1324
1527
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
1325
1528
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
1326
1529
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
1530
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1327
1531
|
*/
|
|
1328
1532
|
getTelephonyProvidersEdgesLinebasesettings(opts) {
|
|
1329
1533
|
opts = opts || {};
|
|
@@ -1339,7 +1543,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1339
1543
|
null,
|
|
1340
1544
|
['PureCloud OAuth'],
|
|
1341
1545
|
['application/json'],
|
|
1342
|
-
['application/json']
|
|
1546
|
+
['application/json'],
|
|
1547
|
+
opts['customHeaders']
|
|
1343
1548
|
);
|
|
1344
1549
|
}
|
|
1345
1550
|
|
|
@@ -1352,6 +1557,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1352
1557
|
* @param {String} opts.name Name
|
|
1353
1558
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
1354
1559
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated. The edgeGroup value is deprecated.
|
|
1560
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1355
1561
|
*/
|
|
1356
1562
|
getTelephonyProvidersEdgesLines(opts) {
|
|
1357
1563
|
opts = opts || {};
|
|
@@ -1367,7 +1573,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1367
1573
|
null,
|
|
1368
1574
|
['PureCloud OAuth'],
|
|
1369
1575
|
['application/json'],
|
|
1370
|
-
['application/json']
|
|
1576
|
+
['application/json'],
|
|
1577
|
+
opts['customHeaders']
|
|
1371
1578
|
);
|
|
1372
1579
|
}
|
|
1373
1580
|
|
|
@@ -1375,8 +1582,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1375
1582
|
* Get a Line instance template based on a Line Base Settings object. This object can then be modified and saved as a new Line instance
|
|
1376
1583
|
*
|
|
1377
1584
|
* @param {String} lineBaseSettingsId The id of a Line Base Settings object upon which to base this Line
|
|
1585
|
+
* @param {Object} opts Optional parameters
|
|
1586
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1378
1587
|
*/
|
|
1379
|
-
getTelephonyProvidersEdgesLinesTemplate(lineBaseSettingsId) {
|
|
1588
|
+
getTelephonyProvidersEdgesLinesTemplate(lineBaseSettingsId, opts) {
|
|
1589
|
+
opts = opts || {};
|
|
1590
|
+
|
|
1380
1591
|
// verify the required parameter 'lineBaseSettingsId' is set
|
|
1381
1592
|
if (lineBaseSettingsId === undefined || lineBaseSettingsId === null) {
|
|
1382
1593
|
throw 'Missing the required parameter "lineBaseSettingsId" when calling getTelephonyProvidersEdgesLinesTemplate';
|
|
@@ -1392,7 +1603,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1392
1603
|
null,
|
|
1393
1604
|
['PureCloud OAuth'],
|
|
1394
1605
|
['application/json'],
|
|
1395
|
-
['application/json']
|
|
1606
|
+
['application/json'],
|
|
1607
|
+
opts['customHeaders']
|
|
1396
1608
|
);
|
|
1397
1609
|
}
|
|
1398
1610
|
|
|
@@ -1402,6 +1614,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1402
1614
|
* @param {String} edgeIds Comma separated list of Edge Id's
|
|
1403
1615
|
* @param {Object} opts Optional parameters
|
|
1404
1616
|
* @param {Array.<String>} opts.expand Field to expand in the response
|
|
1617
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1405
1618
|
*/
|
|
1406
1619
|
getTelephonyProvidersEdgesLogicalinterfaces(edgeIds, opts) {
|
|
1407
1620
|
opts = opts || {};
|
|
@@ -1421,7 +1634,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1421
1634
|
null,
|
|
1422
1635
|
['PureCloud OAuth'],
|
|
1423
1636
|
['application/json'],
|
|
1424
|
-
['application/json']
|
|
1637
|
+
['application/json'],
|
|
1638
|
+
opts['customHeaders']
|
|
1425
1639
|
);
|
|
1426
1640
|
}
|
|
1427
1641
|
|
|
@@ -1429,9 +1643,13 @@ class TelephonyProvidersEdgeApi {
|
|
|
1429
1643
|
* Get media endpoint statistics events.
|
|
1430
1644
|
*
|
|
1431
1645
|
* @param {String} conversationId Identifier of the conversation
|
|
1646
|
+
* @param {Object} opts Optional parameters
|
|
1647
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1432
1648
|
* getTelephonyProvidersEdgesMediastatisticsConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1433
1649
|
*/
|
|
1434
|
-
getTelephonyProvidersEdgesMediastatisticsConversation(conversationId) {
|
|
1650
|
+
getTelephonyProvidersEdgesMediastatisticsConversation(conversationId, opts) {
|
|
1651
|
+
opts = opts || {};
|
|
1652
|
+
|
|
1435
1653
|
// verify the required parameter 'conversationId' is set
|
|
1436
1654
|
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
1437
1655
|
throw 'Missing the required parameter "conversationId" when calling getTelephonyProvidersEdgesMediastatisticsConversation';
|
|
@@ -1447,7 +1665,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1447
1665
|
null,
|
|
1448
1666
|
['PureCloud OAuth'],
|
|
1449
1667
|
['application/json'],
|
|
1450
|
-
['application/json']
|
|
1668
|
+
['application/json'],
|
|
1669
|
+
opts['customHeaders']
|
|
1451
1670
|
);
|
|
1452
1671
|
}
|
|
1453
1672
|
|
|
@@ -1456,9 +1675,13 @@ class TelephonyProvidersEdgeApi {
|
|
|
1456
1675
|
*
|
|
1457
1676
|
* @param {String} conversationId Identifier of the conversation
|
|
1458
1677
|
* @param {String} communicationId Identifier of the media session
|
|
1678
|
+
* @param {Object} opts Optional parameters
|
|
1679
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1459
1680
|
* getTelephonyProvidersEdgesMediastatisticsConversationCommunication is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1460
1681
|
*/
|
|
1461
|
-
getTelephonyProvidersEdgesMediastatisticsConversationCommunication(conversationId, communicationId) {
|
|
1682
|
+
getTelephonyProvidersEdgesMediastatisticsConversationCommunication(conversationId, communicationId, opts) {
|
|
1683
|
+
opts = opts || {};
|
|
1684
|
+
|
|
1462
1685
|
// verify the required parameter 'conversationId' is set
|
|
1463
1686
|
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
1464
1687
|
throw 'Missing the required parameter "conversationId" when calling getTelephonyProvidersEdgesMediastatisticsConversationCommunication';
|
|
@@ -1478,7 +1701,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1478
1701
|
null,
|
|
1479
1702
|
['PureCloud OAuth'],
|
|
1480
1703
|
['application/json'],
|
|
1481
|
-
['application/json']
|
|
1704
|
+
['application/json'],
|
|
1705
|
+
opts['customHeaders']
|
|
1482
1706
|
);
|
|
1483
1707
|
}
|
|
1484
1708
|
|
|
@@ -1486,8 +1710,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1486
1710
|
* Get the metrics for a list of edges.
|
|
1487
1711
|
*
|
|
1488
1712
|
* @param {String} edgeIds Comma separated list of Edge Id's. Maximum of 100 edge ids allowed.
|
|
1713
|
+
* @param {Object} opts Optional parameters
|
|
1714
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1489
1715
|
*/
|
|
1490
|
-
getTelephonyProvidersEdgesMetrics(edgeIds) {
|
|
1716
|
+
getTelephonyProvidersEdgesMetrics(edgeIds, opts) {
|
|
1717
|
+
opts = opts || {};
|
|
1718
|
+
|
|
1491
1719
|
// verify the required parameter 'edgeIds' is set
|
|
1492
1720
|
if (edgeIds === undefined || edgeIds === null) {
|
|
1493
1721
|
throw 'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesMetrics';
|
|
@@ -1503,7 +1731,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1503
1731
|
null,
|
|
1504
1732
|
['PureCloud OAuth'],
|
|
1505
1733
|
['application/json'],
|
|
1506
|
-
['application/json']
|
|
1734
|
+
['application/json'],
|
|
1735
|
+
opts['customHeaders']
|
|
1507
1736
|
);
|
|
1508
1737
|
}
|
|
1509
1738
|
|
|
@@ -1517,6 +1746,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1517
1746
|
* @param {String} opts.siteId Filter by site.id
|
|
1518
1747
|
* @param {String} opts.externalTrunkBasesIds Filter by externalTrunkBases.ids
|
|
1519
1748
|
* @param {String} opts.sortBy Sort by (default to name)
|
|
1749
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1520
1750
|
*/
|
|
1521
1751
|
getTelephonyProvidersEdgesOutboundroutes(opts) {
|
|
1522
1752
|
opts = opts || {};
|
|
@@ -1532,7 +1762,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1532
1762
|
null,
|
|
1533
1763
|
['PureCloud OAuth'],
|
|
1534
1764
|
['application/json'],
|
|
1535
|
-
['application/json']
|
|
1765
|
+
['application/json'],
|
|
1766
|
+
opts['customHeaders']
|
|
1536
1767
|
);
|
|
1537
1768
|
}
|
|
1538
1769
|
|
|
@@ -1540,8 +1771,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1540
1771
|
* Get a Phone by ID
|
|
1541
1772
|
*
|
|
1542
1773
|
* @param {String} phoneId Phone ID
|
|
1774
|
+
* @param {Object} opts Optional parameters
|
|
1775
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1543
1776
|
*/
|
|
1544
|
-
getTelephonyProvidersEdgesPhone(phoneId) {
|
|
1777
|
+
getTelephonyProvidersEdgesPhone(phoneId, opts) {
|
|
1778
|
+
opts = opts || {};
|
|
1779
|
+
|
|
1545
1780
|
// verify the required parameter 'phoneId' is set
|
|
1546
1781
|
if (phoneId === undefined || phoneId === null || phoneId === '') {
|
|
1547
1782
|
throw 'Missing the required parameter "phoneId" when calling getTelephonyProvidersEdgesPhone';
|
|
@@ -1557,7 +1792,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1557
1792
|
null,
|
|
1558
1793
|
['PureCloud OAuth'],
|
|
1559
1794
|
['application/json'],
|
|
1560
|
-
['application/json']
|
|
1795
|
+
['application/json'],
|
|
1796
|
+
opts['customHeaders']
|
|
1561
1797
|
);
|
|
1562
1798
|
}
|
|
1563
1799
|
|
|
@@ -1565,8 +1801,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1565
1801
|
* Get a Phone Base Settings object by ID
|
|
1566
1802
|
*
|
|
1567
1803
|
* @param {String} phoneBaseId Phone base ID
|
|
1804
|
+
* @param {Object} opts Optional parameters
|
|
1805
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1568
1806
|
*/
|
|
1569
|
-
getTelephonyProvidersEdgesPhonebasesetting(phoneBaseId) {
|
|
1807
|
+
getTelephonyProvidersEdgesPhonebasesetting(phoneBaseId, opts) {
|
|
1808
|
+
opts = opts || {};
|
|
1809
|
+
|
|
1570
1810
|
// verify the required parameter 'phoneBaseId' is set
|
|
1571
1811
|
if (phoneBaseId === undefined || phoneBaseId === null || phoneBaseId === '') {
|
|
1572
1812
|
throw 'Missing the required parameter "phoneBaseId" when calling getTelephonyProvidersEdgesPhonebasesetting';
|
|
@@ -1582,7 +1822,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1582
1822
|
null,
|
|
1583
1823
|
['PureCloud OAuth'],
|
|
1584
1824
|
['application/json'],
|
|
1585
|
-
['application/json']
|
|
1825
|
+
['application/json'],
|
|
1826
|
+
opts['customHeaders']
|
|
1586
1827
|
);
|
|
1587
1828
|
}
|
|
1588
1829
|
|
|
@@ -1596,6 +1837,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1596
1837
|
* @param {String} opts.sortOrder Sort order (default to ASC)
|
|
1597
1838
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
1598
1839
|
* @param {String} opts.name Name
|
|
1840
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1599
1841
|
*/
|
|
1600
1842
|
getTelephonyProvidersEdgesPhonebasesettings(opts) {
|
|
1601
1843
|
opts = opts || {};
|
|
@@ -1611,7 +1853,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1611
1853
|
null,
|
|
1612
1854
|
['PureCloud OAuth'],
|
|
1613
1855
|
['application/json'],
|
|
1614
|
-
['application/json']
|
|
1856
|
+
['application/json'],
|
|
1857
|
+
opts['customHeaders']
|
|
1615
1858
|
);
|
|
1616
1859
|
}
|
|
1617
1860
|
|
|
@@ -1621,6 +1864,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1621
1864
|
* @param {Object} opts Optional parameters
|
|
1622
1865
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1623
1866
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1867
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1624
1868
|
*/
|
|
1625
1869
|
getTelephonyProvidersEdgesPhonebasesettingsAvailablemetabases(opts) {
|
|
1626
1870
|
opts = opts || {};
|
|
@@ -1636,7 +1880,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1636
1880
|
null,
|
|
1637
1881
|
['PureCloud OAuth'],
|
|
1638
1882
|
['application/json'],
|
|
1639
|
-
['application/json']
|
|
1883
|
+
['application/json'],
|
|
1884
|
+
opts['customHeaders']
|
|
1640
1885
|
);
|
|
1641
1886
|
}
|
|
1642
1887
|
|
|
@@ -1644,8 +1889,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1644
1889
|
* Get a Phone Base Settings instance template from a given make and model. This object can then be modified and saved as a new Phone Base Settings instance
|
|
1645
1890
|
*
|
|
1646
1891
|
* @param {String} phoneMetabaseId The id of a metabase object upon which to base this Phone Base Settings
|
|
1892
|
+
* @param {Object} opts Optional parameters
|
|
1893
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1647
1894
|
*/
|
|
1648
|
-
getTelephonyProvidersEdgesPhonebasesettingsTemplate(phoneMetabaseId) {
|
|
1895
|
+
getTelephonyProvidersEdgesPhonebasesettingsTemplate(phoneMetabaseId, opts) {
|
|
1896
|
+
opts = opts || {};
|
|
1897
|
+
|
|
1649
1898
|
// verify the required parameter 'phoneMetabaseId' is set
|
|
1650
1899
|
if (phoneMetabaseId === undefined || phoneMetabaseId === null) {
|
|
1651
1900
|
throw 'Missing the required parameter "phoneMetabaseId" when calling getTelephonyProvidersEdgesPhonebasesettingsTemplate';
|
|
@@ -1661,7 +1910,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1661
1910
|
null,
|
|
1662
1911
|
['PureCloud OAuth'],
|
|
1663
1912
|
['application/json'],
|
|
1664
|
-
['application/json']
|
|
1913
|
+
['application/json'],
|
|
1914
|
+
opts['customHeaders']
|
|
1665
1915
|
);
|
|
1666
1916
|
}
|
|
1667
1917
|
|
|
@@ -1686,6 +1936,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1686
1936
|
* @param {String} opts.secondaryStatusOperationalStatus The secondary status to filter by
|
|
1687
1937
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
1688
1938
|
* @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
|
|
1939
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1689
1940
|
*/
|
|
1690
1941
|
getTelephonyProvidersEdgesPhones(opts) {
|
|
1691
1942
|
opts = opts || {};
|
|
@@ -1701,7 +1952,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1701
1952
|
null,
|
|
1702
1953
|
['PureCloud OAuth'],
|
|
1703
1954
|
['application/json'],
|
|
1704
|
-
['application/json']
|
|
1955
|
+
['application/json'],
|
|
1956
|
+
opts['customHeaders']
|
|
1705
1957
|
);
|
|
1706
1958
|
}
|
|
1707
1959
|
|
|
@@ -1709,8 +1961,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1709
1961
|
* Get a Phone instance template based on a Phone Base Settings object. This object can then be modified and saved as a new Phone instance
|
|
1710
1962
|
*
|
|
1711
1963
|
* @param {String} phoneBaseSettingsId The id of a Phone Base Settings object upon which to base this Phone
|
|
1964
|
+
* @param {Object} opts Optional parameters
|
|
1965
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1712
1966
|
*/
|
|
1713
|
-
getTelephonyProvidersEdgesPhonesTemplate(phoneBaseSettingsId) {
|
|
1967
|
+
getTelephonyProvidersEdgesPhonesTemplate(phoneBaseSettingsId, opts) {
|
|
1968
|
+
opts = opts || {};
|
|
1969
|
+
|
|
1714
1970
|
// verify the required parameter 'phoneBaseSettingsId' is set
|
|
1715
1971
|
if (phoneBaseSettingsId === undefined || phoneBaseSettingsId === null) {
|
|
1716
1972
|
throw 'Missing the required parameter "phoneBaseSettingsId" when calling getTelephonyProvidersEdgesPhonesTemplate';
|
|
@@ -1726,7 +1982,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1726
1982
|
null,
|
|
1727
1983
|
['PureCloud OAuth'],
|
|
1728
1984
|
['application/json'],
|
|
1729
|
-
['application/json']
|
|
1985
|
+
['application/json'],
|
|
1986
|
+
opts['customHeaders']
|
|
1730
1987
|
);
|
|
1731
1988
|
}
|
|
1732
1989
|
|
|
@@ -1734,8 +1991,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1734
1991
|
* Get physical interfaces for edges.
|
|
1735
1992
|
* Retrieves a list of all configured physical interfaces for a list of edges. Only 100 edges can be requested at a time.
|
|
1736
1993
|
* @param {String} edgeIds Comma separated list of Edge Id's
|
|
1994
|
+
* @param {Object} opts Optional parameters
|
|
1995
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1737
1996
|
*/
|
|
1738
|
-
getTelephonyProvidersEdgesPhysicalinterfaces(edgeIds) {
|
|
1997
|
+
getTelephonyProvidersEdgesPhysicalinterfaces(edgeIds, opts) {
|
|
1998
|
+
opts = opts || {};
|
|
1999
|
+
|
|
1739
2000
|
// verify the required parameter 'edgeIds' is set
|
|
1740
2001
|
if (edgeIds === undefined || edgeIds === null) {
|
|
1741
2002
|
throw 'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesPhysicalinterfaces';
|
|
@@ -1751,7 +2012,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1751
2012
|
null,
|
|
1752
2013
|
['PureCloud OAuth'],
|
|
1753
2014
|
['application/json'],
|
|
1754
|
-
['application/json']
|
|
2015
|
+
['application/json'],
|
|
2016
|
+
opts['customHeaders']
|
|
1755
2017
|
);
|
|
1756
2018
|
}
|
|
1757
2019
|
|
|
@@ -1759,8 +2021,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1759
2021
|
* Get a Site by ID.
|
|
1760
2022
|
*
|
|
1761
2023
|
* @param {String} siteId Site ID
|
|
2024
|
+
* @param {Object} opts Optional parameters
|
|
2025
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1762
2026
|
*/
|
|
1763
|
-
getTelephonyProvidersEdgesSite(siteId) {
|
|
2027
|
+
getTelephonyProvidersEdgesSite(siteId, opts) {
|
|
2028
|
+
opts = opts || {};
|
|
2029
|
+
|
|
1764
2030
|
// verify the required parameter 'siteId' is set
|
|
1765
2031
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
1766
2032
|
throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSite';
|
|
@@ -1776,7 +2042,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1776
2042
|
null,
|
|
1777
2043
|
['PureCloud OAuth'],
|
|
1778
2044
|
['application/json'],
|
|
1779
|
-
['application/json']
|
|
2045
|
+
['application/json'],
|
|
2046
|
+
opts['customHeaders']
|
|
1780
2047
|
);
|
|
1781
2048
|
}
|
|
1782
2049
|
|
|
@@ -1785,8 +2052,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1785
2052
|
*
|
|
1786
2053
|
* @param {String} siteId Site ID
|
|
1787
2054
|
* @param {String} numberPlanId Number Plan ID
|
|
2055
|
+
* @param {Object} opts Optional parameters
|
|
2056
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1788
2057
|
*/
|
|
1789
|
-
getTelephonyProvidersEdgesSiteNumberplan(siteId, numberPlanId) {
|
|
2058
|
+
getTelephonyProvidersEdgesSiteNumberplan(siteId, numberPlanId, opts) {
|
|
2059
|
+
opts = opts || {};
|
|
2060
|
+
|
|
1790
2061
|
// verify the required parameter 'siteId' is set
|
|
1791
2062
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
1792
2063
|
throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplan';
|
|
@@ -1806,7 +2077,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1806
2077
|
null,
|
|
1807
2078
|
['PureCloud OAuth'],
|
|
1808
2079
|
['application/json'],
|
|
1809
|
-
['application/json']
|
|
2080
|
+
['application/json'],
|
|
2081
|
+
opts['customHeaders']
|
|
1810
2082
|
);
|
|
1811
2083
|
}
|
|
1812
2084
|
|
|
@@ -1814,8 +2086,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1814
2086
|
* Get the list of Number Plans for this Site. Only fetches the first 200 records.
|
|
1815
2087
|
*
|
|
1816
2088
|
* @param {String} siteId Site ID
|
|
2089
|
+
* @param {Object} opts Optional parameters
|
|
2090
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1817
2091
|
*/
|
|
1818
|
-
getTelephonyProvidersEdgesSiteNumberplans(siteId) {
|
|
2092
|
+
getTelephonyProvidersEdgesSiteNumberplans(siteId, opts) {
|
|
2093
|
+
opts = opts || {};
|
|
2094
|
+
|
|
1819
2095
|
// verify the required parameter 'siteId' is set
|
|
1820
2096
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
1821
2097
|
throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteNumberplans';
|
|
@@ -1831,7 +2107,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1831
2107
|
null,
|
|
1832
2108
|
['PureCloud OAuth'],
|
|
1833
2109
|
['application/json'],
|
|
1834
|
-
['application/json']
|
|
2110
|
+
['application/json'],
|
|
2111
|
+
opts['customHeaders']
|
|
1835
2112
|
);
|
|
1836
2113
|
}
|
|
1837
2114
|
|
|
@@ -1841,6 +2118,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1841
2118
|
* @param {String} siteId Site ID
|
|
1842
2119
|
* @param {Object} opts Optional parameters
|
|
1843
2120
|
* @param {String} opts.classification Classification
|
|
2121
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1844
2122
|
*/
|
|
1845
2123
|
getTelephonyProvidersEdgesSiteNumberplansClassifications(siteId, opts) {
|
|
1846
2124
|
opts = opts || {};
|
|
@@ -1860,7 +2138,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1860
2138
|
null,
|
|
1861
2139
|
['PureCloud OAuth'],
|
|
1862
2140
|
['application/json'],
|
|
1863
|
-
['application/json']
|
|
2141
|
+
['application/json'],
|
|
2142
|
+
opts['customHeaders']
|
|
1864
2143
|
);
|
|
1865
2144
|
}
|
|
1866
2145
|
|
|
@@ -1869,8 +2148,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1869
2148
|
*
|
|
1870
2149
|
* @param {String} siteId Site ID
|
|
1871
2150
|
* @param {String} outboundRouteId Outbound route ID
|
|
2151
|
+
* @param {Object} opts Optional parameters
|
|
2152
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1872
2153
|
*/
|
|
1873
|
-
getTelephonyProvidersEdgesSiteOutboundroute(siteId, outboundRouteId) {
|
|
2154
|
+
getTelephonyProvidersEdgesSiteOutboundroute(siteId, outboundRouteId, opts) {
|
|
2155
|
+
opts = opts || {};
|
|
2156
|
+
|
|
1874
2157
|
// verify the required parameter 'siteId' is set
|
|
1875
2158
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
1876
2159
|
throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteOutboundroute';
|
|
@@ -1890,7 +2173,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1890
2173
|
null,
|
|
1891
2174
|
['PureCloud OAuth'],
|
|
1892
2175
|
['application/json'],
|
|
1893
|
-
['application/json']
|
|
2176
|
+
['application/json'],
|
|
2177
|
+
opts['customHeaders']
|
|
1894
2178
|
);
|
|
1895
2179
|
}
|
|
1896
2180
|
|
|
@@ -1904,6 +2188,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1904
2188
|
* @param {String} opts.name Name
|
|
1905
2189
|
* @param {String} opts.externalTrunkBasesIds externalTrunkBases.ids
|
|
1906
2190
|
* @param {String} opts.sortBy Sort by (default to name)
|
|
2191
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1907
2192
|
*/
|
|
1908
2193
|
getTelephonyProvidersEdgesSiteOutboundroutes(siteId, opts) {
|
|
1909
2194
|
opts = opts || {};
|
|
@@ -1923,7 +2208,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1923
2208
|
null,
|
|
1924
2209
|
['PureCloud OAuth'],
|
|
1925
2210
|
['application/json'],
|
|
1926
|
-
['application/json']
|
|
2211
|
+
['application/json'],
|
|
2212
|
+
opts['customHeaders']
|
|
1927
2213
|
);
|
|
1928
2214
|
}
|
|
1929
2215
|
|
|
@@ -1931,8 +2217,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
1931
2217
|
* Get site connections for a site.
|
|
1932
2218
|
*
|
|
1933
2219
|
* @param {String} siteId Site ID
|
|
2220
|
+
* @param {Object} opts Optional parameters
|
|
2221
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1934
2222
|
*/
|
|
1935
|
-
getTelephonyProvidersEdgesSiteSiteconnections(siteId) {
|
|
2223
|
+
getTelephonyProvidersEdgesSiteSiteconnections(siteId, opts) {
|
|
2224
|
+
opts = opts || {};
|
|
2225
|
+
|
|
1936
2226
|
// verify the required parameter 'siteId' is set
|
|
1937
2227
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
1938
2228
|
throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteSiteconnections';
|
|
@@ -1948,7 +2238,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1948
2238
|
null,
|
|
1949
2239
|
['PureCloud OAuth'],
|
|
1950
2240
|
['application/json'],
|
|
1951
|
-
['application/json']
|
|
2241
|
+
['application/json'],
|
|
2242
|
+
opts['customHeaders']
|
|
1952
2243
|
);
|
|
1953
2244
|
}
|
|
1954
2245
|
|
|
@@ -1964,6 +2255,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1964
2255
|
* @param {String} opts.locationId Location Id
|
|
1965
2256
|
* @param {Boolean} opts.managed Filter by managed
|
|
1966
2257
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
2258
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1967
2259
|
*/
|
|
1968
2260
|
getTelephonyProvidersEdgesSites(opts) {
|
|
1969
2261
|
opts = opts || {};
|
|
@@ -1979,7 +2271,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
1979
2271
|
null,
|
|
1980
2272
|
['PureCloud OAuth'],
|
|
1981
2273
|
['application/json'],
|
|
1982
|
-
['application/json']
|
|
2274
|
+
['application/json'],
|
|
2275
|
+
opts['customHeaders']
|
|
1983
2276
|
);
|
|
1984
2277
|
}
|
|
1985
2278
|
|
|
@@ -1989,6 +2282,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1989
2282
|
* @param {String} q64 q64
|
|
1990
2283
|
* @param {Object} opts Optional parameters
|
|
1991
2284
|
* @param {Array.<String>} opts.expand expand
|
|
2285
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1992
2286
|
*/
|
|
1993
2287
|
getTelephonyProvidersEdgesSitesSearch(q64, opts) {
|
|
1994
2288
|
opts = opts || {};
|
|
@@ -2008,7 +2302,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2008
2302
|
null,
|
|
2009
2303
|
['PureCloud OAuth'],
|
|
2010
2304
|
['application/json'],
|
|
2011
|
-
['application/json']
|
|
2305
|
+
['application/json'],
|
|
2306
|
+
opts['customHeaders']
|
|
2012
2307
|
);
|
|
2013
2308
|
}
|
|
2014
2309
|
|
|
@@ -2018,6 +2313,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2018
2313
|
* @param {Object} opts Optional parameters
|
|
2019
2314
|
* @param {Number} opts.pageSize Page size (default to 1000)
|
|
2020
2315
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2316
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2021
2317
|
*/
|
|
2022
2318
|
getTelephonyProvidersEdgesTimezones(opts) {
|
|
2023
2319
|
opts = opts || {};
|
|
@@ -2033,7 +2329,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2033
2329
|
null,
|
|
2034
2330
|
['PureCloud OAuth'],
|
|
2035
2331
|
['application/json'],
|
|
2036
|
-
['application/json']
|
|
2332
|
+
['application/json'],
|
|
2333
|
+
opts['customHeaders']
|
|
2037
2334
|
);
|
|
2038
2335
|
}
|
|
2039
2336
|
|
|
@@ -2041,8 +2338,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2041
2338
|
* Get a Trunk by ID
|
|
2042
2339
|
*
|
|
2043
2340
|
* @param {String} trunkId Trunk ID
|
|
2341
|
+
* @param {Object} opts Optional parameters
|
|
2342
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2044
2343
|
*/
|
|
2045
|
-
getTelephonyProvidersEdgesTrunk(trunkId) {
|
|
2344
|
+
getTelephonyProvidersEdgesTrunk(trunkId, opts) {
|
|
2345
|
+
opts = opts || {};
|
|
2346
|
+
|
|
2046
2347
|
// verify the required parameter 'trunkId' is set
|
|
2047
2348
|
if (trunkId === undefined || trunkId === null || trunkId === '') {
|
|
2048
2349
|
throw 'Missing the required parameter "trunkId" when calling getTelephonyProvidersEdgesTrunk';
|
|
@@ -2058,7 +2359,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2058
2359
|
null,
|
|
2059
2360
|
['PureCloud OAuth'],
|
|
2060
2361
|
['application/json'],
|
|
2061
|
-
['application/json']
|
|
2362
|
+
['application/json'],
|
|
2363
|
+
opts['customHeaders']
|
|
2062
2364
|
);
|
|
2063
2365
|
}
|
|
2064
2366
|
|
|
@@ -2066,8 +2368,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2066
2368
|
* Get the trunk metrics.
|
|
2067
2369
|
*
|
|
2068
2370
|
* @param {String} trunkId Trunk Id
|
|
2371
|
+
* @param {Object} opts Optional parameters
|
|
2372
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2069
2373
|
*/
|
|
2070
|
-
getTelephonyProvidersEdgesTrunkMetrics(trunkId) {
|
|
2374
|
+
getTelephonyProvidersEdgesTrunkMetrics(trunkId, opts) {
|
|
2375
|
+
opts = opts || {};
|
|
2376
|
+
|
|
2071
2377
|
// verify the required parameter 'trunkId' is set
|
|
2072
2378
|
if (trunkId === undefined || trunkId === null || trunkId === '') {
|
|
2073
2379
|
throw 'Missing the required parameter "trunkId" when calling getTelephonyProvidersEdgesTrunkMetrics';
|
|
@@ -2083,7 +2389,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2083
2389
|
null,
|
|
2084
2390
|
['PureCloud OAuth'],
|
|
2085
2391
|
['application/json'],
|
|
2086
|
-
['application/json']
|
|
2392
|
+
['application/json'],
|
|
2393
|
+
opts['customHeaders']
|
|
2087
2394
|
);
|
|
2088
2395
|
}
|
|
2089
2396
|
|
|
@@ -2093,6 +2400,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2093
2400
|
* @param {String} trunkBaseSettingsId Trunk Base ID
|
|
2094
2401
|
* @param {Object} opts Optional parameters
|
|
2095
2402
|
* @param {Boolean} opts.ignoreHidden Set this to true to not receive trunk properties that are meant to be hidden or for internal system usage only.
|
|
2403
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2096
2404
|
*/
|
|
2097
2405
|
getTelephonyProvidersEdgesTrunkbasesetting(trunkBaseSettingsId, opts) {
|
|
2098
2406
|
opts = opts || {};
|
|
@@ -2112,7 +2420,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2112
2420
|
null,
|
|
2113
2421
|
['PureCloud OAuth'],
|
|
2114
2422
|
['application/json'],
|
|
2115
|
-
['application/json']
|
|
2423
|
+
['application/json'],
|
|
2424
|
+
opts['customHeaders']
|
|
2116
2425
|
);
|
|
2117
2426
|
}
|
|
2118
2427
|
|
|
@@ -2129,6 +2438,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2129
2438
|
* @param {Boolean} opts.managed Filter by managed
|
|
2130
2439
|
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
2131
2440
|
* @param {String} opts.name Name of the TrunkBase to filter by
|
|
2441
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2132
2442
|
*/
|
|
2133
2443
|
getTelephonyProvidersEdgesTrunkbasesettings(opts) {
|
|
2134
2444
|
opts = opts || {};
|
|
@@ -2144,7 +2454,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2144
2454
|
null,
|
|
2145
2455
|
['PureCloud OAuth'],
|
|
2146
2456
|
['application/json'],
|
|
2147
|
-
['application/json']
|
|
2457
|
+
['application/json'],
|
|
2458
|
+
opts['customHeaders']
|
|
2148
2459
|
);
|
|
2149
2460
|
}
|
|
2150
2461
|
|
|
@@ -2155,6 +2466,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2155
2466
|
* @param {Object} opts.type
|
|
2156
2467
|
* @param {Number} opts.pageSize (default to 25)
|
|
2157
2468
|
* @param {Number} opts.pageNumber (default to 1)
|
|
2469
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2158
2470
|
*/
|
|
2159
2471
|
getTelephonyProvidersEdgesTrunkbasesettingsAvailablemetabases(opts) {
|
|
2160
2472
|
opts = opts || {};
|
|
@@ -2170,7 +2482,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2170
2482
|
null,
|
|
2171
2483
|
['PureCloud OAuth'],
|
|
2172
2484
|
['application/json'],
|
|
2173
|
-
['application/json']
|
|
2485
|
+
['application/json'],
|
|
2486
|
+
opts['customHeaders']
|
|
2174
2487
|
);
|
|
2175
2488
|
}
|
|
2176
2489
|
|
|
@@ -2178,8 +2491,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2178
2491
|
* Get a Trunk Base Settings instance template from a given make and model. This object can then be modified and saved as a new Trunk Base Settings instance
|
|
2179
2492
|
*
|
|
2180
2493
|
* @param {String} trunkMetabaseId The id of a metabase object upon which to base this Trunk Base Settings
|
|
2494
|
+
* @param {Object} opts Optional parameters
|
|
2495
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2181
2496
|
*/
|
|
2182
|
-
getTelephonyProvidersEdgesTrunkbasesettingsTemplate(trunkMetabaseId) {
|
|
2497
|
+
getTelephonyProvidersEdgesTrunkbasesettingsTemplate(trunkMetabaseId, opts) {
|
|
2498
|
+
opts = opts || {};
|
|
2499
|
+
|
|
2183
2500
|
// verify the required parameter 'trunkMetabaseId' is set
|
|
2184
2501
|
if (trunkMetabaseId === undefined || trunkMetabaseId === null) {
|
|
2185
2502
|
throw 'Missing the required parameter "trunkMetabaseId" when calling getTelephonyProvidersEdgesTrunkbasesettingsTemplate';
|
|
@@ -2195,7 +2512,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2195
2512
|
null,
|
|
2196
2513
|
['PureCloud OAuth'],
|
|
2197
2514
|
['application/json'],
|
|
2198
|
-
['application/json']
|
|
2515
|
+
['application/json'],
|
|
2516
|
+
opts['customHeaders']
|
|
2199
2517
|
);
|
|
2200
2518
|
}
|
|
2201
2519
|
|
|
@@ -2210,6 +2528,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2210
2528
|
* @param {String} opts.edgeId Filter by Edge Ids
|
|
2211
2529
|
* @param {String} opts.trunkBaseId Filter by Trunk Base Ids
|
|
2212
2530
|
* @param {Object} opts.trunkType Filter by a Trunk type
|
|
2531
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2213
2532
|
*/
|
|
2214
2533
|
getTelephonyProvidersEdgesTrunks(opts) {
|
|
2215
2534
|
opts = opts || {};
|
|
@@ -2225,7 +2544,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2225
2544
|
null,
|
|
2226
2545
|
['PureCloud OAuth'],
|
|
2227
2546
|
['application/json'],
|
|
2228
|
-
['application/json']
|
|
2547
|
+
['application/json'],
|
|
2548
|
+
opts['customHeaders']
|
|
2229
2549
|
);
|
|
2230
2550
|
}
|
|
2231
2551
|
|
|
@@ -2233,8 +2553,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2233
2553
|
* Get the metrics for a list of trunks.
|
|
2234
2554
|
*
|
|
2235
2555
|
* @param {String} trunkIds Comma separated list of Trunk Id's
|
|
2556
|
+
* @param {Object} opts Optional parameters
|
|
2557
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2236
2558
|
*/
|
|
2237
|
-
getTelephonyProvidersEdgesTrunksMetrics(trunkIds) {
|
|
2559
|
+
getTelephonyProvidersEdgesTrunksMetrics(trunkIds, opts) {
|
|
2560
|
+
opts = opts || {};
|
|
2561
|
+
|
|
2238
2562
|
// verify the required parameter 'trunkIds' is set
|
|
2239
2563
|
if (trunkIds === undefined || trunkIds === null) {
|
|
2240
2564
|
throw 'Missing the required parameter "trunkIds" when calling getTelephonyProvidersEdgesTrunksMetrics';
|
|
@@ -2250,7 +2574,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2250
2574
|
null,
|
|
2251
2575
|
['PureCloud OAuth'],
|
|
2252
2576
|
['application/json'],
|
|
2253
|
-
['application/json']
|
|
2577
|
+
['application/json'],
|
|
2578
|
+
opts['customHeaders']
|
|
2254
2579
|
);
|
|
2255
2580
|
}
|
|
2256
2581
|
|
|
@@ -2259,6 +2584,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2259
2584
|
*
|
|
2260
2585
|
* @param {Object} opts Optional parameters
|
|
2261
2586
|
* @param {Object} opts.trunkType The type of this trunk base.
|
|
2587
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2262
2588
|
*/
|
|
2263
2589
|
getTelephonyProvidersEdgesTrunkswithrecording(opts) {
|
|
2264
2590
|
opts = opts || {};
|
|
@@ -2274,7 +2600,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2274
2600
|
null,
|
|
2275
2601
|
['PureCloud OAuth'],
|
|
2276
2602
|
['application/json'],
|
|
2277
|
-
['application/json']
|
|
2603
|
+
['application/json'],
|
|
2604
|
+
opts['customHeaders']
|
|
2278
2605
|
);
|
|
2279
2606
|
}
|
|
2280
2607
|
|
|
@@ -2283,8 +2610,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2283
2610
|
*
|
|
2284
2611
|
* @param {String} siteId Site ID
|
|
2285
2612
|
* @param {Object} body Site
|
|
2613
|
+
* @param {Object} opts Optional parameters
|
|
2614
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2286
2615
|
*/
|
|
2287
|
-
patchTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
|
|
2616
|
+
patchTelephonyProvidersEdgesSiteSiteconnections(siteId, body, opts) {
|
|
2617
|
+
opts = opts || {};
|
|
2618
|
+
|
|
2288
2619
|
// verify the required parameter 'siteId' is set
|
|
2289
2620
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
2290
2621
|
throw 'Missing the required parameter "siteId" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
|
|
@@ -2304,7 +2635,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2304
2635
|
body,
|
|
2305
2636
|
['PureCloud OAuth'],
|
|
2306
2637
|
['application/json'],
|
|
2307
|
-
['application/json']
|
|
2638
|
+
['application/json'],
|
|
2639
|
+
opts['customHeaders']
|
|
2308
2640
|
);
|
|
2309
2641
|
}
|
|
2310
2642
|
|
|
@@ -2313,8 +2645,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2313
2645
|
*
|
|
2314
2646
|
* @param {String} edgeId Edge Id
|
|
2315
2647
|
* @param {Object} body request payload to get network diagnostic
|
|
2648
|
+
* @param {Object} opts Optional parameters
|
|
2649
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2316
2650
|
*/
|
|
2317
|
-
postTelephonyProvidersEdgeDiagnosticNslookup(edgeId, body) {
|
|
2651
|
+
postTelephonyProvidersEdgeDiagnosticNslookup(edgeId, body, opts) {
|
|
2652
|
+
opts = opts || {};
|
|
2653
|
+
|
|
2318
2654
|
// verify the required parameter 'edgeId' is set
|
|
2319
2655
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2320
2656
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticNslookup';
|
|
@@ -2334,7 +2670,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2334
2670
|
body,
|
|
2335
2671
|
['PureCloud OAuth'],
|
|
2336
2672
|
['application/json'],
|
|
2337
|
-
['application/json']
|
|
2673
|
+
['application/json'],
|
|
2674
|
+
opts['customHeaders']
|
|
2338
2675
|
);
|
|
2339
2676
|
}
|
|
2340
2677
|
|
|
@@ -2343,8 +2680,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2343
2680
|
*
|
|
2344
2681
|
* @param {String} edgeId Edge Id
|
|
2345
2682
|
* @param {Object} body request payload to get network diagnostic
|
|
2683
|
+
* @param {Object} opts Optional parameters
|
|
2684
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2346
2685
|
*/
|
|
2347
|
-
postTelephonyProvidersEdgeDiagnosticPing(edgeId, body) {
|
|
2686
|
+
postTelephonyProvidersEdgeDiagnosticPing(edgeId, body, opts) {
|
|
2687
|
+
opts = opts || {};
|
|
2688
|
+
|
|
2348
2689
|
// verify the required parameter 'edgeId' is set
|
|
2349
2690
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2350
2691
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticPing';
|
|
@@ -2364,7 +2705,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2364
2705
|
body,
|
|
2365
2706
|
['PureCloud OAuth'],
|
|
2366
2707
|
['application/json'],
|
|
2367
|
-
['application/json']
|
|
2708
|
+
['application/json'],
|
|
2709
|
+
opts['customHeaders']
|
|
2368
2710
|
);
|
|
2369
2711
|
}
|
|
2370
2712
|
|
|
@@ -2373,8 +2715,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2373
2715
|
*
|
|
2374
2716
|
* @param {String} edgeId Edge Id
|
|
2375
2717
|
* @param {Object} body request payload to get network diagnostic
|
|
2718
|
+
* @param {Object} opts Optional parameters
|
|
2719
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2376
2720
|
*/
|
|
2377
|
-
postTelephonyProvidersEdgeDiagnosticRoute(edgeId, body) {
|
|
2721
|
+
postTelephonyProvidersEdgeDiagnosticRoute(edgeId, body, opts) {
|
|
2722
|
+
opts = opts || {};
|
|
2723
|
+
|
|
2378
2724
|
// verify the required parameter 'edgeId' is set
|
|
2379
2725
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2380
2726
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticRoute';
|
|
@@ -2394,7 +2740,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2394
2740
|
body,
|
|
2395
2741
|
['PureCloud OAuth'],
|
|
2396
2742
|
['application/json'],
|
|
2397
|
-
['application/json']
|
|
2743
|
+
['application/json'],
|
|
2744
|
+
opts['customHeaders']
|
|
2398
2745
|
);
|
|
2399
2746
|
}
|
|
2400
2747
|
|
|
@@ -2403,8 +2750,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2403
2750
|
*
|
|
2404
2751
|
* @param {String} edgeId Edge Id
|
|
2405
2752
|
* @param {Object} body request payload to get network diagnostic
|
|
2753
|
+
* @param {Object} opts Optional parameters
|
|
2754
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2406
2755
|
*/
|
|
2407
|
-
postTelephonyProvidersEdgeDiagnosticTracepath(edgeId, body) {
|
|
2756
|
+
postTelephonyProvidersEdgeDiagnosticTracepath(edgeId, body, opts) {
|
|
2757
|
+
opts = opts || {};
|
|
2758
|
+
|
|
2408
2759
|
// verify the required parameter 'edgeId' is set
|
|
2409
2760
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2410
2761
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeDiagnosticTracepath';
|
|
@@ -2424,7 +2775,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2424
2775
|
body,
|
|
2425
2776
|
['PureCloud OAuth'],
|
|
2426
2777
|
['application/json'],
|
|
2427
|
-
['application/json']
|
|
2778
|
+
['application/json'],
|
|
2779
|
+
opts['customHeaders']
|
|
2428
2780
|
);
|
|
2429
2781
|
}
|
|
2430
2782
|
|
|
@@ -2433,8 +2785,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2433
2785
|
* Create
|
|
2434
2786
|
* @param {String} edgeId Edge ID
|
|
2435
2787
|
* @param {Object} body Logical interface
|
|
2788
|
+
* @param {Object} opts Optional parameters
|
|
2789
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2436
2790
|
*/
|
|
2437
|
-
postTelephonyProvidersEdgeLogicalinterfaces(edgeId, body) {
|
|
2791
|
+
postTelephonyProvidersEdgeLogicalinterfaces(edgeId, body, opts) {
|
|
2792
|
+
opts = opts || {};
|
|
2793
|
+
|
|
2438
2794
|
// verify the required parameter 'edgeId' is set
|
|
2439
2795
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2440
2796
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogicalinterfaces';
|
|
@@ -2454,7 +2810,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2454
2810
|
body,
|
|
2455
2811
|
['PureCloud OAuth'],
|
|
2456
2812
|
['application/json'],
|
|
2457
|
-
['application/json']
|
|
2813
|
+
['application/json'],
|
|
2814
|
+
opts['customHeaders']
|
|
2458
2815
|
);
|
|
2459
2816
|
}
|
|
2460
2817
|
|
|
@@ -2464,8 +2821,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2464
2821
|
* @param {String} edgeId Edge ID
|
|
2465
2822
|
* @param {String} jobId Job ID
|
|
2466
2823
|
* @param {Object} body Log upload request
|
|
2824
|
+
* @param {Object} opts Optional parameters
|
|
2825
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2467
2826
|
*/
|
|
2468
|
-
postTelephonyProvidersEdgeLogsJobUpload(edgeId, jobId, body) {
|
|
2827
|
+
postTelephonyProvidersEdgeLogsJobUpload(edgeId, jobId, body, opts) {
|
|
2828
|
+
opts = opts || {};
|
|
2829
|
+
|
|
2469
2830
|
// verify the required parameter 'edgeId' is set
|
|
2470
2831
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2471
2832
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogsJobUpload';
|
|
@@ -2489,7 +2850,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2489
2850
|
body,
|
|
2490
2851
|
['PureCloud OAuth'],
|
|
2491
2852
|
['application/json'],
|
|
2492
|
-
['application/json']
|
|
2853
|
+
['application/json'],
|
|
2854
|
+
opts['customHeaders']
|
|
2493
2855
|
);
|
|
2494
2856
|
}
|
|
2495
2857
|
|
|
@@ -2498,8 +2860,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2498
2860
|
*
|
|
2499
2861
|
* @param {String} edgeId Edge ID
|
|
2500
2862
|
* @param {Object} body EdgeLogsJobRequest
|
|
2863
|
+
* @param {Object} opts Optional parameters
|
|
2864
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2501
2865
|
*/
|
|
2502
|
-
postTelephonyProvidersEdgeLogsJobs(edgeId, body) {
|
|
2866
|
+
postTelephonyProvidersEdgeLogsJobs(edgeId, body, opts) {
|
|
2867
|
+
opts = opts || {};
|
|
2868
|
+
|
|
2503
2869
|
// verify the required parameter 'edgeId' is set
|
|
2504
2870
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2505
2871
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeLogsJobs';
|
|
@@ -2519,7 +2885,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2519
2885
|
body,
|
|
2520
2886
|
['PureCloud OAuth'],
|
|
2521
2887
|
['application/json'],
|
|
2522
|
-
['application/json']
|
|
2888
|
+
['application/json'],
|
|
2889
|
+
opts['customHeaders']
|
|
2523
2890
|
);
|
|
2524
2891
|
}
|
|
2525
2892
|
|
|
@@ -2529,6 +2896,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2529
2896
|
* @param {String} edgeId Edge ID
|
|
2530
2897
|
* @param {Object} opts Optional parameters
|
|
2531
2898
|
* @param {Object} opts.body Parameters for the edge reboot
|
|
2899
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2532
2900
|
*/
|
|
2533
2901
|
postTelephonyProvidersEdgeReboot(edgeId, opts) {
|
|
2534
2902
|
opts = opts || {};
|
|
@@ -2548,7 +2916,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2548
2916
|
opts['body'],
|
|
2549
2917
|
['PureCloud OAuth'],
|
|
2550
2918
|
['application/json'],
|
|
2551
|
-
['application/json']
|
|
2919
|
+
['application/json'],
|
|
2920
|
+
opts['customHeaders']
|
|
2552
2921
|
);
|
|
2553
2922
|
}
|
|
2554
2923
|
|
|
@@ -2557,8 +2926,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2557
2926
|
*
|
|
2558
2927
|
* @param {String} edgeId Edge ID
|
|
2559
2928
|
* @param {Object} body Software update request
|
|
2929
|
+
* @param {Object} opts Optional parameters
|
|
2930
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2560
2931
|
*/
|
|
2561
|
-
postTelephonyProvidersEdgeSoftwareupdate(edgeId, body) {
|
|
2932
|
+
postTelephonyProvidersEdgeSoftwareupdate(edgeId, body, opts) {
|
|
2933
|
+
opts = opts || {};
|
|
2934
|
+
|
|
2562
2935
|
// verify the required parameter 'edgeId' is set
|
|
2563
2936
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2564
2937
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeSoftwareupdate';
|
|
@@ -2578,7 +2951,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2578
2951
|
body,
|
|
2579
2952
|
['PureCloud OAuth'],
|
|
2580
2953
|
['application/json'],
|
|
2581
|
-
['application/json']
|
|
2954
|
+
['application/json'],
|
|
2955
|
+
opts['customHeaders']
|
|
2582
2956
|
);
|
|
2583
2957
|
}
|
|
2584
2958
|
|
|
@@ -2588,6 +2962,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
2588
2962
|
* @param {String} edgeId Edge ID
|
|
2589
2963
|
* @param {Object} opts Optional parameters
|
|
2590
2964
|
* @param {Object} opts.body Edge Service State
|
|
2965
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2591
2966
|
*/
|
|
2592
2967
|
postTelephonyProvidersEdgeStatuscode(edgeId, opts) {
|
|
2593
2968
|
opts = opts || {};
|
|
@@ -2607,7 +2982,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2607
2982
|
opts['body'],
|
|
2608
2983
|
['PureCloud OAuth'],
|
|
2609
2984
|
['application/json'],
|
|
2610
|
-
['application/json']
|
|
2985
|
+
['application/json'],
|
|
2986
|
+
opts['customHeaders']
|
|
2611
2987
|
);
|
|
2612
2988
|
}
|
|
2613
2989
|
|
|
@@ -2615,8 +2991,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2615
2991
|
* Unpair an Edge
|
|
2616
2992
|
*
|
|
2617
2993
|
* @param {String} edgeId Edge Id
|
|
2994
|
+
* @param {Object} opts Optional parameters
|
|
2995
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2618
2996
|
*/
|
|
2619
|
-
postTelephonyProvidersEdgeUnpair(edgeId) {
|
|
2997
|
+
postTelephonyProvidersEdgeUnpair(edgeId, opts) {
|
|
2998
|
+
opts = opts || {};
|
|
2999
|
+
|
|
2620
3000
|
// verify the required parameter 'edgeId' is set
|
|
2621
3001
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
2622
3002
|
throw 'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeUnpair';
|
|
@@ -2632,7 +3012,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2632
3012
|
null,
|
|
2633
3013
|
['PureCloud OAuth'],
|
|
2634
3014
|
['application/json'],
|
|
2635
|
-
['application/json']
|
|
3015
|
+
['application/json'],
|
|
3016
|
+
opts['customHeaders']
|
|
2636
3017
|
);
|
|
2637
3018
|
}
|
|
2638
3019
|
|
|
@@ -2640,8 +3021,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2640
3021
|
* Create an edge.
|
|
2641
3022
|
*
|
|
2642
3023
|
* @param {Object} body Edge
|
|
3024
|
+
* @param {Object} opts Optional parameters
|
|
3025
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2643
3026
|
*/
|
|
2644
|
-
postTelephonyProvidersEdges(body) {
|
|
3027
|
+
postTelephonyProvidersEdges(body, opts) {
|
|
3028
|
+
opts = opts || {};
|
|
3029
|
+
|
|
2645
3030
|
// verify the required parameter 'body' is set
|
|
2646
3031
|
if (body === undefined || body === null) {
|
|
2647
3032
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdges';
|
|
@@ -2657,7 +3042,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2657
3042
|
body,
|
|
2658
3043
|
['PureCloud OAuth'],
|
|
2659
3044
|
['application/json'],
|
|
2660
|
-
['application/json']
|
|
3045
|
+
['application/json'],
|
|
3046
|
+
opts['customHeaders']
|
|
2661
3047
|
);
|
|
2662
3048
|
}
|
|
2663
3049
|
|
|
@@ -2665,8 +3051,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2665
3051
|
* Validates a street address
|
|
2666
3052
|
*
|
|
2667
3053
|
* @param {Object} body Address
|
|
3054
|
+
* @param {Object} opts Optional parameters
|
|
3055
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2668
3056
|
*/
|
|
2669
|
-
postTelephonyProvidersEdgesAddressvalidation(body) {
|
|
3057
|
+
postTelephonyProvidersEdgesAddressvalidation(body, opts) {
|
|
3058
|
+
opts = opts || {};
|
|
3059
|
+
|
|
2670
3060
|
// verify the required parameter 'body' is set
|
|
2671
3061
|
if (body === undefined || body === null) {
|
|
2672
3062
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesAddressvalidation';
|
|
@@ -2682,7 +3072,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2682
3072
|
body,
|
|
2683
3073
|
['PureCloud OAuth'],
|
|
2684
3074
|
['application/json'],
|
|
2685
|
-
['application/json']
|
|
3075
|
+
['application/json'],
|
|
3076
|
+
opts['customHeaders']
|
|
2686
3077
|
);
|
|
2687
3078
|
}
|
|
2688
3079
|
|
|
@@ -2690,8 +3081,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2690
3081
|
* Create a certificate authority.
|
|
2691
3082
|
*
|
|
2692
3083
|
* @param {Object} body CertificateAuthority
|
|
3084
|
+
* @param {Object} opts Optional parameters
|
|
3085
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2693
3086
|
*/
|
|
2694
|
-
postTelephonyProvidersEdgesCertificateauthorities(body) {
|
|
3087
|
+
postTelephonyProvidersEdgesCertificateauthorities(body, opts) {
|
|
3088
|
+
opts = opts || {};
|
|
3089
|
+
|
|
2695
3090
|
// verify the required parameter 'body' is set
|
|
2696
3091
|
if (body === undefined || body === null) {
|
|
2697
3092
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesCertificateauthorities';
|
|
@@ -2707,7 +3102,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2707
3102
|
body,
|
|
2708
3103
|
['PureCloud OAuth'],
|
|
2709
3104
|
['application/json'],
|
|
2710
|
-
['application/json']
|
|
3105
|
+
['application/json'],
|
|
3106
|
+
opts['customHeaders']
|
|
2711
3107
|
);
|
|
2712
3108
|
}
|
|
2713
3109
|
|
|
@@ -2715,8 +3111,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2715
3111
|
* Create a new DID pool
|
|
2716
3112
|
*
|
|
2717
3113
|
* @param {Object} body DID pool
|
|
3114
|
+
* @param {Object} opts Optional parameters
|
|
3115
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2718
3116
|
*/
|
|
2719
|
-
postTelephonyProvidersEdgesDidpools(body) {
|
|
3117
|
+
postTelephonyProvidersEdgesDidpools(body, opts) {
|
|
3118
|
+
opts = opts || {};
|
|
3119
|
+
|
|
2720
3120
|
// verify the required parameter 'body' is set
|
|
2721
3121
|
if (body === undefined || body === null) {
|
|
2722
3122
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesDidpools';
|
|
@@ -2732,7 +3132,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2732
3132
|
body,
|
|
2733
3133
|
['PureCloud OAuth'],
|
|
2734
3134
|
['application/json'],
|
|
2735
|
-
['application/json']
|
|
3135
|
+
['application/json'],
|
|
3136
|
+
opts['customHeaders']
|
|
2736
3137
|
);
|
|
2737
3138
|
}
|
|
2738
3139
|
|
|
@@ -2740,8 +3141,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2740
3141
|
* Create an edge group.
|
|
2741
3142
|
*
|
|
2742
3143
|
* @param {Object} body EdgeGroup
|
|
3144
|
+
* @param {Object} opts Optional parameters
|
|
3145
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2743
3146
|
*/
|
|
2744
|
-
postTelephonyProvidersEdgesEdgegroups(body) {
|
|
3147
|
+
postTelephonyProvidersEdgesEdgegroups(body, opts) {
|
|
3148
|
+
opts = opts || {};
|
|
3149
|
+
|
|
2745
3150
|
// verify the required parameter 'body' is set
|
|
2746
3151
|
if (body === undefined || body === null) {
|
|
2747
3152
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesEdgegroups';
|
|
@@ -2757,7 +3162,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2757
3162
|
body,
|
|
2758
3163
|
['PureCloud OAuth'],
|
|
2759
3164
|
['application/json'],
|
|
2760
|
-
['application/json']
|
|
3165
|
+
['application/json'],
|
|
3166
|
+
opts['customHeaders']
|
|
2761
3167
|
);
|
|
2762
3168
|
}
|
|
2763
3169
|
|
|
@@ -2765,8 +3171,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2765
3171
|
* Create a new extension pool
|
|
2766
3172
|
*
|
|
2767
3173
|
* @param {Object} body ExtensionPool
|
|
3174
|
+
* @param {Object} opts Optional parameters
|
|
3175
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2768
3176
|
*/
|
|
2769
|
-
postTelephonyProvidersEdgesExtensionpools(body) {
|
|
3177
|
+
postTelephonyProvidersEdgesExtensionpools(body, opts) {
|
|
3178
|
+
opts = opts || {};
|
|
3179
|
+
|
|
2770
3180
|
// verify the required parameter 'body' is set
|
|
2771
3181
|
if (body === undefined || body === null) {
|
|
2772
3182
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesExtensionpools';
|
|
@@ -2782,7 +3192,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2782
3192
|
body,
|
|
2783
3193
|
['PureCloud OAuth'],
|
|
2784
3194
|
['application/json'],
|
|
2785
|
-
['application/json']
|
|
3195
|
+
['application/json'],
|
|
3196
|
+
opts['customHeaders']
|
|
2786
3197
|
);
|
|
2787
3198
|
}
|
|
2788
3199
|
|
|
@@ -2793,9 +3204,13 @@ class TelephonyProvidersEdgeApi {
|
|
|
2793
3204
|
* @param {String} communicationId Identifier of the media session
|
|
2794
3205
|
* @param {String} mediaResourceId Identifier of the media resource of the endpoint
|
|
2795
3206
|
* @param {Object} body MediaStatisticsPostRequest
|
|
3207
|
+
* @param {Object} opts Optional parameters
|
|
3208
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2796
3209
|
* postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2797
3210
|
*/
|
|
2798
|
-
postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(conversationId, communicationId, mediaResourceId, body) {
|
|
3211
|
+
postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(conversationId, communicationId, mediaResourceId, body, opts) {
|
|
3212
|
+
opts = opts || {};
|
|
3213
|
+
|
|
2799
3214
|
// verify the required parameter 'conversationId' is set
|
|
2800
3215
|
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
2801
3216
|
throw 'Missing the required parameter "conversationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
@@ -2823,7 +3238,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2823
3238
|
body,
|
|
2824
3239
|
['PureCloud OAuth'],
|
|
2825
3240
|
['application/json'],
|
|
2826
|
-
['application/json']
|
|
3241
|
+
['application/json'],
|
|
3242
|
+
opts['customHeaders']
|
|
2827
3243
|
);
|
|
2828
3244
|
}
|
|
2829
3245
|
|
|
@@ -2831,8 +3247,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2831
3247
|
* Reboot a Phone
|
|
2832
3248
|
*
|
|
2833
3249
|
* @param {String} phoneId Phone Id
|
|
3250
|
+
* @param {Object} opts Optional parameters
|
|
3251
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2834
3252
|
*/
|
|
2835
|
-
postTelephonyProvidersEdgesPhoneReboot(phoneId) {
|
|
3253
|
+
postTelephonyProvidersEdgesPhoneReboot(phoneId, opts) {
|
|
3254
|
+
opts = opts || {};
|
|
3255
|
+
|
|
2836
3256
|
// verify the required parameter 'phoneId' is set
|
|
2837
3257
|
if (phoneId === undefined || phoneId === null || phoneId === '') {
|
|
2838
3258
|
throw 'Missing the required parameter "phoneId" when calling postTelephonyProvidersEdgesPhoneReboot';
|
|
@@ -2848,7 +3268,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2848
3268
|
null,
|
|
2849
3269
|
['PureCloud OAuth'],
|
|
2850
3270
|
['application/json'],
|
|
2851
|
-
['application/json']
|
|
3271
|
+
['application/json'],
|
|
3272
|
+
opts['customHeaders']
|
|
2852
3273
|
);
|
|
2853
3274
|
}
|
|
2854
3275
|
|
|
@@ -2856,8 +3277,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2856
3277
|
* Create a new Phone Base Settings object
|
|
2857
3278
|
*
|
|
2858
3279
|
* @param {Object} body Phone base settings
|
|
3280
|
+
* @param {Object} opts Optional parameters
|
|
3281
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2859
3282
|
*/
|
|
2860
|
-
postTelephonyProvidersEdgesPhonebasesettings(body) {
|
|
3283
|
+
postTelephonyProvidersEdgesPhonebasesettings(body, opts) {
|
|
3284
|
+
opts = opts || {};
|
|
3285
|
+
|
|
2861
3286
|
// verify the required parameter 'body' is set
|
|
2862
3287
|
if (body === undefined || body === null) {
|
|
2863
3288
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhonebasesettings';
|
|
@@ -2873,7 +3298,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2873
3298
|
body,
|
|
2874
3299
|
['PureCloud OAuth'],
|
|
2875
3300
|
['application/json'],
|
|
2876
|
-
['application/json']
|
|
3301
|
+
['application/json'],
|
|
3302
|
+
opts['customHeaders']
|
|
2877
3303
|
);
|
|
2878
3304
|
}
|
|
2879
3305
|
|
|
@@ -2881,8 +3307,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2881
3307
|
* Create a new Phone
|
|
2882
3308
|
*
|
|
2883
3309
|
* @param {Object} body Phone
|
|
3310
|
+
* @param {Object} opts Optional parameters
|
|
3311
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2884
3312
|
*/
|
|
2885
|
-
postTelephonyProvidersEdgesPhones(body) {
|
|
3313
|
+
postTelephonyProvidersEdgesPhones(body, opts) {
|
|
3314
|
+
opts = opts || {};
|
|
3315
|
+
|
|
2886
3316
|
// verify the required parameter 'body' is set
|
|
2887
3317
|
if (body === undefined || body === null) {
|
|
2888
3318
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhones';
|
|
@@ -2898,7 +3328,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2898
3328
|
body,
|
|
2899
3329
|
['PureCloud OAuth'],
|
|
2900
3330
|
['application/json'],
|
|
2901
|
-
['application/json']
|
|
3331
|
+
['application/json'],
|
|
3332
|
+
opts['customHeaders']
|
|
2902
3333
|
);
|
|
2903
3334
|
}
|
|
2904
3335
|
|
|
@@ -2906,8 +3337,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2906
3337
|
* Reboot Multiple Phones
|
|
2907
3338
|
*
|
|
2908
3339
|
* @param {Object} body Phones
|
|
3340
|
+
* @param {Object} opts Optional parameters
|
|
3341
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2909
3342
|
*/
|
|
2910
|
-
postTelephonyProvidersEdgesPhonesReboot(body) {
|
|
3343
|
+
postTelephonyProvidersEdgesPhonesReboot(body, opts) {
|
|
3344
|
+
opts = opts || {};
|
|
3345
|
+
|
|
2911
3346
|
// verify the required parameter 'body' is set
|
|
2912
3347
|
if (body === undefined || body === null) {
|
|
2913
3348
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesPhonesReboot';
|
|
@@ -2923,7 +3358,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2923
3358
|
body,
|
|
2924
3359
|
['PureCloud OAuth'],
|
|
2925
3360
|
['application/json'],
|
|
2926
|
-
['application/json']
|
|
3361
|
+
['application/json'],
|
|
3362
|
+
opts['customHeaders']
|
|
2927
3363
|
);
|
|
2928
3364
|
}
|
|
2929
3365
|
|
|
@@ -2932,8 +3368,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2932
3368
|
*
|
|
2933
3369
|
* @param {String} siteId Site ID
|
|
2934
3370
|
* @param {Object} body OutboundRoute
|
|
3371
|
+
* @param {Object} opts Optional parameters
|
|
3372
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2935
3373
|
*/
|
|
2936
|
-
postTelephonyProvidersEdgesSiteOutboundroutes(siteId, body) {
|
|
3374
|
+
postTelephonyProvidersEdgesSiteOutboundroutes(siteId, body, opts) {
|
|
3375
|
+
opts = opts || {};
|
|
3376
|
+
|
|
2937
3377
|
// verify the required parameter 'siteId' is set
|
|
2938
3378
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
2939
3379
|
throw 'Missing the required parameter "siteId" when calling postTelephonyProvidersEdgesSiteOutboundroutes';
|
|
@@ -2953,7 +3393,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2953
3393
|
body,
|
|
2954
3394
|
['PureCloud OAuth'],
|
|
2955
3395
|
['application/json'],
|
|
2956
|
-
['application/json']
|
|
3396
|
+
['application/json'],
|
|
3397
|
+
opts['customHeaders']
|
|
2957
3398
|
);
|
|
2958
3399
|
}
|
|
2959
3400
|
|
|
@@ -2961,8 +3402,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2961
3402
|
* Create a Site.
|
|
2962
3403
|
*
|
|
2963
3404
|
* @param {Object} body Site
|
|
3405
|
+
* @param {Object} opts Optional parameters
|
|
3406
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2964
3407
|
*/
|
|
2965
|
-
postTelephonyProvidersEdgesSites(body) {
|
|
3408
|
+
postTelephonyProvidersEdgesSites(body, opts) {
|
|
3409
|
+
opts = opts || {};
|
|
3410
|
+
|
|
2966
3411
|
// verify the required parameter 'body' is set
|
|
2967
3412
|
if (body === undefined || body === null) {
|
|
2968
3413
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSites';
|
|
@@ -2978,7 +3423,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
2978
3423
|
body,
|
|
2979
3424
|
['PureCloud OAuth'],
|
|
2980
3425
|
['application/json'],
|
|
2981
|
-
['application/json']
|
|
3426
|
+
['application/json'],
|
|
3427
|
+
opts['customHeaders']
|
|
2982
3428
|
);
|
|
2983
3429
|
}
|
|
2984
3430
|
|
|
@@ -2986,8 +3432,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
2986
3432
|
* Search sites
|
|
2987
3433
|
*
|
|
2988
3434
|
* @param {Object} body Search request options
|
|
3435
|
+
* @param {Object} opts Optional parameters
|
|
3436
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2989
3437
|
*/
|
|
2990
|
-
postTelephonyProvidersEdgesSitesSearch(body) {
|
|
3438
|
+
postTelephonyProvidersEdgesSitesSearch(body, opts) {
|
|
3439
|
+
opts = opts || {};
|
|
3440
|
+
|
|
2991
3441
|
// verify the required parameter 'body' is set
|
|
2992
3442
|
if (body === undefined || body === null) {
|
|
2993
3443
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';
|
|
@@ -3003,7 +3453,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3003
3453
|
body,
|
|
3004
3454
|
['PureCloud OAuth'],
|
|
3005
3455
|
['application/json'],
|
|
3006
|
-
['application/json']
|
|
3456
|
+
['application/json'],
|
|
3457
|
+
opts['customHeaders']
|
|
3007
3458
|
);
|
|
3008
3459
|
}
|
|
3009
3460
|
|
|
@@ -3011,8 +3462,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3011
3462
|
* Create a Trunk Base Settings object
|
|
3012
3463
|
*
|
|
3013
3464
|
* @param {Object} body Trunk base settings
|
|
3465
|
+
* @param {Object} opts Optional parameters
|
|
3466
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3014
3467
|
*/
|
|
3015
|
-
postTelephonyProvidersEdgesTrunkbasesettings(body) {
|
|
3468
|
+
postTelephonyProvidersEdgesTrunkbasesettings(body, opts) {
|
|
3469
|
+
opts = opts || {};
|
|
3470
|
+
|
|
3016
3471
|
// verify the required parameter 'body' is set
|
|
3017
3472
|
if (body === undefined || body === null) {
|
|
3018
3473
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesTrunkbasesettings';
|
|
@@ -3028,7 +3483,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3028
3483
|
body,
|
|
3029
3484
|
['PureCloud OAuth'],
|
|
3030
3485
|
['application/json'],
|
|
3031
|
-
['application/json']
|
|
3486
|
+
['application/json'],
|
|
3487
|
+
opts['customHeaders']
|
|
3032
3488
|
);
|
|
3033
3489
|
}
|
|
3034
3490
|
|
|
@@ -3037,8 +3493,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3037
3493
|
*
|
|
3038
3494
|
* @param {String} edgeId Edge ID
|
|
3039
3495
|
* @param {Object} body Edge
|
|
3496
|
+
* @param {Object} opts Optional parameters
|
|
3497
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3040
3498
|
*/
|
|
3041
|
-
putTelephonyProvidersEdge(edgeId, body) {
|
|
3499
|
+
putTelephonyProvidersEdge(edgeId, body, opts) {
|
|
3500
|
+
opts = opts || {};
|
|
3501
|
+
|
|
3042
3502
|
// verify the required parameter 'edgeId' is set
|
|
3043
3503
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
3044
3504
|
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdge';
|
|
@@ -3058,7 +3518,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3058
3518
|
body,
|
|
3059
3519
|
['PureCloud OAuth'],
|
|
3060
3520
|
['application/json'],
|
|
3061
|
-
['application/json']
|
|
3521
|
+
['application/json'],
|
|
3522
|
+
opts['customHeaders']
|
|
3062
3523
|
);
|
|
3063
3524
|
}
|
|
3064
3525
|
|
|
@@ -3068,8 +3529,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3068
3529
|
* @param {String} edgeId Edge ID
|
|
3069
3530
|
* @param {String} interfaceId Interface ID
|
|
3070
3531
|
* @param {Object} body Logical interface
|
|
3532
|
+
* @param {Object} opts Optional parameters
|
|
3533
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3071
3534
|
*/
|
|
3072
|
-
putTelephonyProvidersEdgeLogicalinterface(edgeId, interfaceId, body) {
|
|
3535
|
+
putTelephonyProvidersEdgeLogicalinterface(edgeId, interfaceId, body, opts) {
|
|
3536
|
+
opts = opts || {};
|
|
3537
|
+
|
|
3073
3538
|
// verify the required parameter 'edgeId' is set
|
|
3074
3539
|
if (edgeId === undefined || edgeId === null || edgeId === '') {
|
|
3075
3540
|
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLogicalinterface';
|
|
@@ -3093,7 +3558,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3093
3558
|
body,
|
|
3094
3559
|
['PureCloud OAuth'],
|
|
3095
3560
|
['application/json'],
|
|
3096
|
-
['application/json']
|
|
3561
|
+
['application/json'],
|
|
3562
|
+
opts['customHeaders']
|
|
3097
3563
|
);
|
|
3098
3564
|
}
|
|
3099
3565
|
|
|
@@ -3101,8 +3567,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3101
3567
|
* Creates or updates alertable presences overrides.
|
|
3102
3568
|
*
|
|
3103
3569
|
* @param {Object} body Alertable Presences Overrides
|
|
3570
|
+
* @param {Object} opts Optional parameters
|
|
3571
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3104
3572
|
*/
|
|
3105
|
-
putTelephonyProvidersEdgesAlertablepresences(body) {
|
|
3573
|
+
putTelephonyProvidersEdgesAlertablepresences(body, opts) {
|
|
3574
|
+
opts = opts || {};
|
|
3575
|
+
|
|
3106
3576
|
// verify the required parameter 'body' is set
|
|
3107
3577
|
if (body === undefined || body === null) {
|
|
3108
3578
|
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';
|
|
@@ -3118,7 +3588,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3118
3588
|
body,
|
|
3119
3589
|
['PureCloud OAuth'],
|
|
3120
3590
|
['application/json'],
|
|
3121
|
-
['application/json']
|
|
3591
|
+
['application/json'],
|
|
3592
|
+
opts['customHeaders']
|
|
3122
3593
|
);
|
|
3123
3594
|
}
|
|
3124
3595
|
|
|
@@ -3127,8 +3598,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3127
3598
|
*
|
|
3128
3599
|
* @param {String} certificateId Certificate ID
|
|
3129
3600
|
* @param {Object} body Certificate authority
|
|
3601
|
+
* @param {Object} opts Optional parameters
|
|
3602
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3130
3603
|
*/
|
|
3131
|
-
putTelephonyProvidersEdgesCertificateauthority(certificateId, body) {
|
|
3604
|
+
putTelephonyProvidersEdgesCertificateauthority(certificateId, body, opts) {
|
|
3605
|
+
opts = opts || {};
|
|
3606
|
+
|
|
3132
3607
|
// verify the required parameter 'certificateId' is set
|
|
3133
3608
|
if (certificateId === undefined || certificateId === null || certificateId === '') {
|
|
3134
3609
|
throw 'Missing the required parameter "certificateId" when calling putTelephonyProvidersEdgesCertificateauthority';
|
|
@@ -3148,7 +3623,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3148
3623
|
body,
|
|
3149
3624
|
['PureCloud OAuth'],
|
|
3150
3625
|
['application/json'],
|
|
3151
|
-
['application/json']
|
|
3626
|
+
['application/json'],
|
|
3627
|
+
opts['customHeaders']
|
|
3152
3628
|
);
|
|
3153
3629
|
}
|
|
3154
3630
|
|
|
@@ -3157,8 +3633,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3157
3633
|
*
|
|
3158
3634
|
* @param {String} didPoolId DID pool ID
|
|
3159
3635
|
* @param {Object} body DID pool
|
|
3636
|
+
* @param {Object} opts Optional parameters
|
|
3637
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3160
3638
|
*/
|
|
3161
|
-
putTelephonyProvidersEdgesDidpool(didPoolId, body) {
|
|
3639
|
+
putTelephonyProvidersEdgesDidpool(didPoolId, body, opts) {
|
|
3640
|
+
opts = opts || {};
|
|
3641
|
+
|
|
3162
3642
|
// verify the required parameter 'didPoolId' is set
|
|
3163
3643
|
if (didPoolId === undefined || didPoolId === null || didPoolId === '') {
|
|
3164
3644
|
throw 'Missing the required parameter "didPoolId" when calling putTelephonyProvidersEdgesDidpool';
|
|
@@ -3178,7 +3658,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3178
3658
|
body,
|
|
3179
3659
|
['PureCloud OAuth'],
|
|
3180
3660
|
['application/json'],
|
|
3181
|
-
['application/json']
|
|
3661
|
+
['application/json'],
|
|
3662
|
+
opts['customHeaders']
|
|
3182
3663
|
);
|
|
3183
3664
|
}
|
|
3184
3665
|
|
|
@@ -3187,8 +3668,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3187
3668
|
*
|
|
3188
3669
|
* @param {String} edgeGroupId Edge group ID
|
|
3189
3670
|
* @param {Object} body EdgeGroup
|
|
3671
|
+
* @param {Object} opts Optional parameters
|
|
3672
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3190
3673
|
*/
|
|
3191
|
-
putTelephonyProvidersEdgesEdgegroup(edgeGroupId, body) {
|
|
3674
|
+
putTelephonyProvidersEdgesEdgegroup(edgeGroupId, body, opts) {
|
|
3675
|
+
opts = opts || {};
|
|
3676
|
+
|
|
3192
3677
|
// verify the required parameter 'edgeGroupId' is set
|
|
3193
3678
|
if (edgeGroupId === undefined || edgeGroupId === null || edgeGroupId === '') {
|
|
3194
3679
|
throw 'Missing the required parameter "edgeGroupId" when calling putTelephonyProvidersEdgesEdgegroup';
|
|
@@ -3208,7 +3693,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3208
3693
|
body,
|
|
3209
3694
|
['PureCloud OAuth'],
|
|
3210
3695
|
['application/json'],
|
|
3211
|
-
['application/json']
|
|
3696
|
+
['application/json'],
|
|
3697
|
+
opts['customHeaders']
|
|
3212
3698
|
);
|
|
3213
3699
|
}
|
|
3214
3700
|
|
|
@@ -3218,8 +3704,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3218
3704
|
* @param {String} edgegroupId Edge Group ID
|
|
3219
3705
|
* @param {String} edgetrunkbaseId Edge Trunk Base ID
|
|
3220
3706
|
* @param {Object} body EdgeTrunkBase
|
|
3707
|
+
* @param {Object} opts Optional parameters
|
|
3708
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3221
3709
|
*/
|
|
3222
|
-
putTelephonyProvidersEdgesEdgegroupEdgetrunkbase(edgegroupId, edgetrunkbaseId, body) {
|
|
3710
|
+
putTelephonyProvidersEdgesEdgegroupEdgetrunkbase(edgegroupId, edgetrunkbaseId, body, opts) {
|
|
3711
|
+
opts = opts || {};
|
|
3712
|
+
|
|
3223
3713
|
// verify the required parameter 'edgegroupId' is set
|
|
3224
3714
|
if (edgegroupId === undefined || edgegroupId === null || edgegroupId === '') {
|
|
3225
3715
|
throw 'Missing the required parameter "edgegroupId" when calling putTelephonyProvidersEdgesEdgegroupEdgetrunkbase';
|
|
@@ -3243,7 +3733,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3243
3733
|
body,
|
|
3244
3734
|
['PureCloud OAuth'],
|
|
3245
3735
|
['application/json'],
|
|
3246
|
-
['application/json']
|
|
3736
|
+
['application/json'],
|
|
3737
|
+
opts['customHeaders']
|
|
3247
3738
|
);
|
|
3248
3739
|
}
|
|
3249
3740
|
|
|
@@ -3252,8 +3743,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3252
3743
|
*
|
|
3253
3744
|
* @param {String} extensionPoolId Extension pool ID
|
|
3254
3745
|
* @param {Object} body ExtensionPool
|
|
3746
|
+
* @param {Object} opts Optional parameters
|
|
3747
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3255
3748
|
*/
|
|
3256
|
-
putTelephonyProvidersEdgesExtensionpool(extensionPoolId, body) {
|
|
3749
|
+
putTelephonyProvidersEdgesExtensionpool(extensionPoolId, body, opts) {
|
|
3750
|
+
opts = opts || {};
|
|
3751
|
+
|
|
3257
3752
|
// verify the required parameter 'extensionPoolId' is set
|
|
3258
3753
|
if (extensionPoolId === undefined || extensionPoolId === null || extensionPoolId === '') {
|
|
3259
3754
|
throw 'Missing the required parameter "extensionPoolId" when calling putTelephonyProvidersEdgesExtensionpool';
|
|
@@ -3273,7 +3768,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3273
3768
|
body,
|
|
3274
3769
|
['PureCloud OAuth'],
|
|
3275
3770
|
['application/json'],
|
|
3276
|
-
['application/json']
|
|
3771
|
+
['application/json'],
|
|
3772
|
+
opts['customHeaders']
|
|
3277
3773
|
);
|
|
3278
3774
|
}
|
|
3279
3775
|
|
|
@@ -3282,8 +3778,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3282
3778
|
*
|
|
3283
3779
|
* @param {String} phoneId Phone ID
|
|
3284
3780
|
* @param {Object} body Phone
|
|
3781
|
+
* @param {Object} opts Optional parameters
|
|
3782
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3285
3783
|
*/
|
|
3286
|
-
putTelephonyProvidersEdgesPhone(phoneId, body) {
|
|
3784
|
+
putTelephonyProvidersEdgesPhone(phoneId, body, opts) {
|
|
3785
|
+
opts = opts || {};
|
|
3786
|
+
|
|
3287
3787
|
// verify the required parameter 'phoneId' is set
|
|
3288
3788
|
if (phoneId === undefined || phoneId === null || phoneId === '') {
|
|
3289
3789
|
throw 'Missing the required parameter "phoneId" when calling putTelephonyProvidersEdgesPhone';
|
|
@@ -3303,7 +3803,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3303
3803
|
body,
|
|
3304
3804
|
['PureCloud OAuth'],
|
|
3305
3805
|
['application/json'],
|
|
3306
|
-
['application/json']
|
|
3806
|
+
['application/json'],
|
|
3807
|
+
opts['customHeaders']
|
|
3307
3808
|
);
|
|
3308
3809
|
}
|
|
3309
3810
|
|
|
@@ -3312,8 +3813,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3312
3813
|
*
|
|
3313
3814
|
* @param {String} phoneBaseId Phone base ID
|
|
3314
3815
|
* @param {Object} body Phone base settings
|
|
3816
|
+
* @param {Object} opts Optional parameters
|
|
3817
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3315
3818
|
*/
|
|
3316
|
-
putTelephonyProvidersEdgesPhonebasesetting(phoneBaseId, body) {
|
|
3819
|
+
putTelephonyProvidersEdgesPhonebasesetting(phoneBaseId, body, opts) {
|
|
3820
|
+
opts = opts || {};
|
|
3821
|
+
|
|
3317
3822
|
// verify the required parameter 'phoneBaseId' is set
|
|
3318
3823
|
if (phoneBaseId === undefined || phoneBaseId === null || phoneBaseId === '') {
|
|
3319
3824
|
throw 'Missing the required parameter "phoneBaseId" when calling putTelephonyProvidersEdgesPhonebasesetting';
|
|
@@ -3333,7 +3838,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3333
3838
|
body,
|
|
3334
3839
|
['PureCloud OAuth'],
|
|
3335
3840
|
['application/json'],
|
|
3336
|
-
['application/json']
|
|
3841
|
+
['application/json'],
|
|
3842
|
+
opts['customHeaders']
|
|
3337
3843
|
);
|
|
3338
3844
|
}
|
|
3339
3845
|
|
|
@@ -3342,8 +3848,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3342
3848
|
*
|
|
3343
3849
|
* @param {String} siteId Site ID
|
|
3344
3850
|
* @param {Object} body Site
|
|
3851
|
+
* @param {Object} opts Optional parameters
|
|
3852
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3345
3853
|
*/
|
|
3346
|
-
putTelephonyProvidersEdgesSite(siteId, body) {
|
|
3854
|
+
putTelephonyProvidersEdgesSite(siteId, body, opts) {
|
|
3855
|
+
opts = opts || {};
|
|
3856
|
+
|
|
3347
3857
|
// verify the required parameter 'siteId' is set
|
|
3348
3858
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
3349
3859
|
throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSite';
|
|
@@ -3363,7 +3873,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3363
3873
|
body,
|
|
3364
3874
|
['PureCloud OAuth'],
|
|
3365
3875
|
['application/json'],
|
|
3366
|
-
['application/json']
|
|
3876
|
+
['application/json'],
|
|
3877
|
+
opts['customHeaders']
|
|
3367
3878
|
);
|
|
3368
3879
|
}
|
|
3369
3880
|
|
|
@@ -3372,8 +3883,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3372
3883
|
*
|
|
3373
3884
|
* @param {String} siteId Site ID
|
|
3374
3885
|
* @param {Array.<Object>} body List of number plans
|
|
3886
|
+
* @param {Object} opts Optional parameters
|
|
3887
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3375
3888
|
*/
|
|
3376
|
-
putTelephonyProvidersEdgesSiteNumberplans(siteId, body) {
|
|
3889
|
+
putTelephonyProvidersEdgesSiteNumberplans(siteId, body, opts) {
|
|
3890
|
+
opts = opts || {};
|
|
3891
|
+
|
|
3377
3892
|
// verify the required parameter 'siteId' is set
|
|
3378
3893
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
3379
3894
|
throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteNumberplans';
|
|
@@ -3393,7 +3908,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3393
3908
|
body,
|
|
3394
3909
|
['PureCloud OAuth'],
|
|
3395
3910
|
['application/json'],
|
|
3396
|
-
['application/json']
|
|
3911
|
+
['application/json'],
|
|
3912
|
+
opts['customHeaders']
|
|
3397
3913
|
);
|
|
3398
3914
|
}
|
|
3399
3915
|
|
|
@@ -3403,8 +3919,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3403
3919
|
* @param {String} siteId Site ID
|
|
3404
3920
|
* @param {String} outboundRouteId Outbound route ID
|
|
3405
3921
|
* @param {Object} body OutboundRoute
|
|
3922
|
+
* @param {Object} opts Optional parameters
|
|
3923
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3406
3924
|
*/
|
|
3407
|
-
putTelephonyProvidersEdgesSiteOutboundroute(siteId, outboundRouteId, body) {
|
|
3925
|
+
putTelephonyProvidersEdgesSiteOutboundroute(siteId, outboundRouteId, body, opts) {
|
|
3926
|
+
opts = opts || {};
|
|
3927
|
+
|
|
3408
3928
|
// verify the required parameter 'siteId' is set
|
|
3409
3929
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
3410
3930
|
throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteOutboundroute';
|
|
@@ -3428,7 +3948,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3428
3948
|
body,
|
|
3429
3949
|
['PureCloud OAuth'],
|
|
3430
3950
|
['application/json'],
|
|
3431
|
-
['application/json']
|
|
3951
|
+
['application/json'],
|
|
3952
|
+
opts['customHeaders']
|
|
3432
3953
|
);
|
|
3433
3954
|
}
|
|
3434
3955
|
|
|
@@ -3437,8 +3958,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3437
3958
|
*
|
|
3438
3959
|
* @param {String} siteId Site ID
|
|
3439
3960
|
* @param {Object} body Site
|
|
3961
|
+
* @param {Object} opts Optional parameters
|
|
3962
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3440
3963
|
*/
|
|
3441
|
-
putTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
|
|
3964
|
+
putTelephonyProvidersEdgesSiteSiteconnections(siteId, body, opts) {
|
|
3965
|
+
opts = opts || {};
|
|
3966
|
+
|
|
3442
3967
|
// verify the required parameter 'siteId' is set
|
|
3443
3968
|
if (siteId === undefined || siteId === null || siteId === '') {
|
|
3444
3969
|
throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteSiteconnections';
|
|
@@ -3458,7 +3983,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3458
3983
|
body,
|
|
3459
3984
|
['PureCloud OAuth'],
|
|
3460
3985
|
['application/json'],
|
|
3461
|
-
['application/json']
|
|
3986
|
+
['application/json'],
|
|
3987
|
+
opts['customHeaders']
|
|
3462
3988
|
);
|
|
3463
3989
|
}
|
|
3464
3990
|
|
|
@@ -3467,8 +3993,12 @@ class TelephonyProvidersEdgeApi {
|
|
|
3467
3993
|
*
|
|
3468
3994
|
* @param {String} trunkBaseSettingsId Trunk Base ID
|
|
3469
3995
|
* @param {Object} body Trunk base settings
|
|
3996
|
+
* @param {Object} opts Optional parameters
|
|
3997
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3470
3998
|
*/
|
|
3471
|
-
putTelephonyProvidersEdgesTrunkbasesetting(trunkBaseSettingsId, body) {
|
|
3999
|
+
putTelephonyProvidersEdgesTrunkbasesetting(trunkBaseSettingsId, body, opts) {
|
|
4000
|
+
opts = opts || {};
|
|
4001
|
+
|
|
3472
4002
|
// verify the required parameter 'trunkBaseSettingsId' is set
|
|
3473
4003
|
if (trunkBaseSettingsId === undefined || trunkBaseSettingsId === null || trunkBaseSettingsId === '') {
|
|
3474
4004
|
throw 'Missing the required parameter "trunkBaseSettingsId" when calling putTelephonyProvidersEdgesTrunkbasesetting';
|
|
@@ -3488,7 +4018,8 @@ class TelephonyProvidersEdgeApi {
|
|
|
3488
4018
|
body,
|
|
3489
4019
|
['PureCloud OAuth'],
|
|
3490
4020
|
['application/json'],
|
|
3491
|
-
['application/json']
|
|
4021
|
+
['application/json'],
|
|
4022
|
+
opts['customHeaders']
|
|
3492
4023
|
);
|
|
3493
4024
|
}
|
|
3494
4025
|
|