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 ResponseManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ResponseManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class ResponseManagementApi {
|
|
|
24
24
|
* Delete an existing response library.
|
|
25
25
|
* This will remove any responses associated with the library.
|
|
26
26
|
* @param {String} libraryId Library ID
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteResponsemanagementLibrary(libraryId) {
|
|
30
|
+
deleteResponsemanagementLibrary(libraryId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'libraryId' is set
|
|
30
34
|
if (libraryId === undefined || libraryId === null || libraryId === '') {
|
|
31
35
|
throw 'Missing the required parameter "libraryId" when calling deleteResponsemanagementLibrary';
|
|
@@ -41,7 +45,8 @@ class ResponseManagementApi {
|
|
|
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
|
|
|
@@ -49,8 +54,12 @@ class ResponseManagementApi {
|
|
|
49
54
|
* Delete an existing response.
|
|
50
55
|
* This will remove the response from any libraries associated with it.
|
|
51
56
|
* @param {String} responseId Response ID
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
52
59
|
*/
|
|
53
|
-
deleteResponsemanagementResponse(responseId) {
|
|
60
|
+
deleteResponsemanagementResponse(responseId, opts) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
|
|
54
63
|
// verify the required parameter 'responseId' is set
|
|
55
64
|
if (responseId === undefined || responseId === null || responseId === '') {
|
|
56
65
|
throw 'Missing the required parameter "responseId" when calling deleteResponsemanagementResponse';
|
|
@@ -66,7 +75,8 @@ class ResponseManagementApi {
|
|
|
66
75
|
null,
|
|
67
76
|
['PureCloud OAuth'],
|
|
68
77
|
['application/json'],
|
|
69
|
-
['application/json']
|
|
78
|
+
['application/json'],
|
|
79
|
+
opts['customHeaders']
|
|
70
80
|
);
|
|
71
81
|
}
|
|
72
82
|
|
|
@@ -74,8 +84,12 @@ class ResponseManagementApi {
|
|
|
74
84
|
* Delete response asset
|
|
75
85
|
*
|
|
76
86
|
* @param {String} responseAssetId Asset Id
|
|
87
|
+
* @param {Object} opts Optional parameters
|
|
88
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
77
89
|
*/
|
|
78
|
-
deleteResponsemanagementResponseasset(responseAssetId) {
|
|
90
|
+
deleteResponsemanagementResponseasset(responseAssetId, opts) {
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
|
|
79
93
|
// verify the required parameter 'responseAssetId' is set
|
|
80
94
|
if (responseAssetId === undefined || responseAssetId === null || responseAssetId === '') {
|
|
81
95
|
throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
|
|
@@ -91,7 +105,8 @@ class ResponseManagementApi {
|
|
|
91
105
|
null,
|
|
92
106
|
['PureCloud OAuth'],
|
|
93
107
|
['application/json'],
|
|
94
|
-
['application/json']
|
|
108
|
+
['application/json'],
|
|
109
|
+
opts['customHeaders']
|
|
95
110
|
);
|
|
96
111
|
}
|
|
97
112
|
|
|
@@ -103,6 +118,7 @@ class ResponseManagementApi {
|
|
|
103
118
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
104
119
|
* @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
|
|
105
120
|
* @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
|
|
121
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
106
122
|
*/
|
|
107
123
|
getResponsemanagementLibraries(opts) {
|
|
108
124
|
opts = opts || {};
|
|
@@ -118,7 +134,8 @@ class ResponseManagementApi {
|
|
|
118
134
|
null,
|
|
119
135
|
['PureCloud OAuth'],
|
|
120
136
|
['application/json'],
|
|
121
|
-
['application/json']
|
|
137
|
+
['application/json'],
|
|
138
|
+
opts['customHeaders']
|
|
122
139
|
);
|
|
123
140
|
}
|
|
124
141
|
|
|
@@ -126,8 +143,12 @@ class ResponseManagementApi {
|
|
|
126
143
|
* Get details about an existing response library.
|
|
127
144
|
*
|
|
128
145
|
* @param {String} libraryId Library ID
|
|
146
|
+
* @param {Object} opts Optional parameters
|
|
147
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
129
148
|
*/
|
|
130
|
-
getResponsemanagementLibrary(libraryId) {
|
|
149
|
+
getResponsemanagementLibrary(libraryId, opts) {
|
|
150
|
+
opts = opts || {};
|
|
151
|
+
|
|
131
152
|
// verify the required parameter 'libraryId' is set
|
|
132
153
|
if (libraryId === undefined || libraryId === null || libraryId === '') {
|
|
133
154
|
throw 'Missing the required parameter "libraryId" when calling getResponsemanagementLibrary';
|
|
@@ -143,7 +164,8 @@ class ResponseManagementApi {
|
|
|
143
164
|
null,
|
|
144
165
|
['PureCloud OAuth'],
|
|
145
166
|
['application/json'],
|
|
146
|
-
['application/json']
|
|
167
|
+
['application/json'],
|
|
168
|
+
opts['customHeaders']
|
|
147
169
|
);
|
|
148
170
|
}
|
|
149
171
|
|
|
@@ -153,6 +175,7 @@ class ResponseManagementApi {
|
|
|
153
175
|
* @param {String} responseId Response ID
|
|
154
176
|
* @param {Object} opts Optional parameters
|
|
155
177
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
178
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
156
179
|
*/
|
|
157
180
|
getResponsemanagementResponse(responseId, opts) {
|
|
158
181
|
opts = opts || {};
|
|
@@ -172,7 +195,8 @@ class ResponseManagementApi {
|
|
|
172
195
|
null,
|
|
173
196
|
['PureCloud OAuth'],
|
|
174
197
|
['application/json'],
|
|
175
|
-
['application/json']
|
|
198
|
+
['application/json'],
|
|
199
|
+
opts['customHeaders']
|
|
176
200
|
);
|
|
177
201
|
}
|
|
178
202
|
|
|
@@ -180,8 +204,12 @@ class ResponseManagementApi {
|
|
|
180
204
|
* Get response asset information
|
|
181
205
|
*
|
|
182
206
|
* @param {String} responseAssetId Asset Id
|
|
207
|
+
* @param {Object} opts Optional parameters
|
|
208
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
183
209
|
*/
|
|
184
|
-
getResponsemanagementResponseasset(responseAssetId) {
|
|
210
|
+
getResponsemanagementResponseasset(responseAssetId, opts) {
|
|
211
|
+
opts = opts || {};
|
|
212
|
+
|
|
185
213
|
// verify the required parameter 'responseAssetId' is set
|
|
186
214
|
if (responseAssetId === undefined || responseAssetId === null || responseAssetId === '') {
|
|
187
215
|
throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
|
|
@@ -197,7 +225,8 @@ class ResponseManagementApi {
|
|
|
197
225
|
null,
|
|
198
226
|
['PureCloud OAuth'],
|
|
199
227
|
['application/json'],
|
|
200
|
-
['application/json']
|
|
228
|
+
['application/json'],
|
|
229
|
+
opts['customHeaders']
|
|
201
230
|
);
|
|
202
231
|
}
|
|
203
232
|
|
|
@@ -205,8 +234,12 @@ class ResponseManagementApi {
|
|
|
205
234
|
* Get response asset upload status
|
|
206
235
|
*
|
|
207
236
|
* @param {String} statusId Status Id
|
|
237
|
+
* @param {Object} opts Optional parameters
|
|
238
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
208
239
|
*/
|
|
209
|
-
getResponsemanagementResponseassetsStatusStatusId(statusId) {
|
|
240
|
+
getResponsemanagementResponseassetsStatusStatusId(statusId, opts) {
|
|
241
|
+
opts = opts || {};
|
|
242
|
+
|
|
210
243
|
// verify the required parameter 'statusId' is set
|
|
211
244
|
if (statusId === undefined || statusId === null || statusId === '') {
|
|
212
245
|
throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
|
|
@@ -222,7 +255,8 @@ class ResponseManagementApi {
|
|
|
222
255
|
null,
|
|
223
256
|
['PureCloud OAuth'],
|
|
224
257
|
['application/json'],
|
|
225
|
-
['application/json']
|
|
258
|
+
['application/json'],
|
|
259
|
+
opts['customHeaders']
|
|
226
260
|
);
|
|
227
261
|
}
|
|
228
262
|
|
|
@@ -234,6 +268,7 @@ class ResponseManagementApi {
|
|
|
234
268
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
235
269
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
236
270
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
271
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
237
272
|
*/
|
|
238
273
|
getResponsemanagementResponses(libraryId, opts) {
|
|
239
274
|
opts = opts || {};
|
|
@@ -253,7 +288,8 @@ class ResponseManagementApi {
|
|
|
253
288
|
null,
|
|
254
289
|
['PureCloud OAuth'],
|
|
255
290
|
['application/json'],
|
|
256
|
-
['application/json']
|
|
291
|
+
['application/json'],
|
|
292
|
+
opts['customHeaders']
|
|
257
293
|
);
|
|
258
294
|
}
|
|
259
295
|
|
|
@@ -261,8 +297,12 @@ class ResponseManagementApi {
|
|
|
261
297
|
* Create a response library.
|
|
262
298
|
*
|
|
263
299
|
* @param {Object} body Library
|
|
300
|
+
* @param {Object} opts Optional parameters
|
|
301
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
264
302
|
*/
|
|
265
|
-
postResponsemanagementLibraries(body) {
|
|
303
|
+
postResponsemanagementLibraries(body, opts) {
|
|
304
|
+
opts = opts || {};
|
|
305
|
+
|
|
266
306
|
// verify the required parameter 'body' is set
|
|
267
307
|
if (body === undefined || body === null) {
|
|
268
308
|
throw 'Missing the required parameter "body" when calling postResponsemanagementLibraries';
|
|
@@ -278,7 +318,8 @@ class ResponseManagementApi {
|
|
|
278
318
|
body,
|
|
279
319
|
['PureCloud OAuth'],
|
|
280
320
|
['application/json'],
|
|
281
|
-
['application/json']
|
|
321
|
+
['application/json'],
|
|
322
|
+
opts['customHeaders']
|
|
282
323
|
);
|
|
283
324
|
}
|
|
284
325
|
|
|
@@ -286,8 +327,12 @@ class ResponseManagementApi {
|
|
|
286
327
|
* Get response libraries.
|
|
287
328
|
*
|
|
288
329
|
* @param {Object} body LibraryIDs (max allowed 50)
|
|
330
|
+
* @param {Object} opts Optional parameters
|
|
331
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
289
332
|
*/
|
|
290
|
-
postResponsemanagementLibrariesBulk(body) {
|
|
333
|
+
postResponsemanagementLibrariesBulk(body, opts) {
|
|
334
|
+
opts = opts || {};
|
|
335
|
+
|
|
291
336
|
// verify the required parameter 'body' is set
|
|
292
337
|
if (body === undefined || body === null) {
|
|
293
338
|
throw 'Missing the required parameter "body" when calling postResponsemanagementLibrariesBulk';
|
|
@@ -303,7 +348,8 @@ class ResponseManagementApi {
|
|
|
303
348
|
body,
|
|
304
349
|
['PureCloud OAuth'],
|
|
305
350
|
['application/json'],
|
|
306
|
-
['application/json']
|
|
351
|
+
['application/json'],
|
|
352
|
+
opts['customHeaders']
|
|
307
353
|
);
|
|
308
354
|
}
|
|
309
355
|
|
|
@@ -314,6 +360,7 @@ class ResponseManagementApi {
|
|
|
314
360
|
* @param {Object} opts Optional parameters
|
|
315
361
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
316
362
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
363
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
317
364
|
* postResponsemanagementLibrariesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
318
365
|
*/
|
|
319
366
|
postResponsemanagementLibrariesQuery(body, opts) {
|
|
@@ -334,7 +381,8 @@ class ResponseManagementApi {
|
|
|
334
381
|
body,
|
|
335
382
|
['PureCloud OAuth'],
|
|
336
383
|
['application/json'],
|
|
337
|
-
['application/json']
|
|
384
|
+
['application/json'],
|
|
385
|
+
opts['customHeaders']
|
|
338
386
|
);
|
|
339
387
|
}
|
|
340
388
|
|
|
@@ -342,8 +390,12 @@ class ResponseManagementApi {
|
|
|
342
390
|
* Get response assets.
|
|
343
391
|
*
|
|
344
392
|
* @param {Object} body Asset IDs (max allowed 50)
|
|
393
|
+
* @param {Object} opts Optional parameters
|
|
394
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
345
395
|
*/
|
|
346
|
-
postResponsemanagementResponseassetsBulk(body) {
|
|
396
|
+
postResponsemanagementResponseassetsBulk(body, opts) {
|
|
397
|
+
opts = opts || {};
|
|
398
|
+
|
|
347
399
|
// verify the required parameter 'body' is set
|
|
348
400
|
if (body === undefined || body === null) {
|
|
349
401
|
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsBulk';
|
|
@@ -359,7 +411,8 @@ class ResponseManagementApi {
|
|
|
359
411
|
body,
|
|
360
412
|
['PureCloud OAuth'],
|
|
361
413
|
['application/json'],
|
|
362
|
-
['application/json']
|
|
414
|
+
['application/json'],
|
|
415
|
+
opts['customHeaders']
|
|
363
416
|
);
|
|
364
417
|
}
|
|
365
418
|
|
|
@@ -369,6 +422,7 @@ class ResponseManagementApi {
|
|
|
369
422
|
* @param {Object} body request
|
|
370
423
|
* @param {Object} opts Optional parameters
|
|
371
424
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
425
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
372
426
|
*/
|
|
373
427
|
postResponsemanagementResponseassetsSearch(body, opts) {
|
|
374
428
|
opts = opts || {};
|
|
@@ -388,7 +442,8 @@ class ResponseManagementApi {
|
|
|
388
442
|
body,
|
|
389
443
|
['PureCloud OAuth'],
|
|
390
444
|
['application/json'],
|
|
391
|
-
['application/json']
|
|
445
|
+
['application/json'],
|
|
446
|
+
opts['customHeaders']
|
|
392
447
|
);
|
|
393
448
|
}
|
|
394
449
|
|
|
@@ -396,8 +451,12 @@ class ResponseManagementApi {
|
|
|
396
451
|
* Creates pre-signed url for uploading response asset
|
|
397
452
|
*
|
|
398
453
|
* @param {Object} body request
|
|
454
|
+
* @param {Object} opts Optional parameters
|
|
455
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
399
456
|
*/
|
|
400
|
-
postResponsemanagementResponseassetsUploads(body) {
|
|
457
|
+
postResponsemanagementResponseassetsUploads(body, opts) {
|
|
458
|
+
opts = opts || {};
|
|
459
|
+
|
|
401
460
|
// verify the required parameter 'body' is set
|
|
402
461
|
if (body === undefined || body === null) {
|
|
403
462
|
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';
|
|
@@ -413,7 +472,8 @@ class ResponseManagementApi {
|
|
|
413
472
|
body,
|
|
414
473
|
['PureCloud OAuth'],
|
|
415
474
|
['application/json'],
|
|
416
|
-
['application/json']
|
|
475
|
+
['application/json'],
|
|
476
|
+
opts['customHeaders']
|
|
417
477
|
);
|
|
418
478
|
}
|
|
419
479
|
|
|
@@ -423,6 +483,7 @@ class ResponseManagementApi {
|
|
|
423
483
|
* @param {Object} body Response
|
|
424
484
|
* @param {Object} opts Optional parameters
|
|
425
485
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
486
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
426
487
|
*/
|
|
427
488
|
postResponsemanagementResponses(body, opts) {
|
|
428
489
|
opts = opts || {};
|
|
@@ -442,7 +503,8 @@ class ResponseManagementApi {
|
|
|
442
503
|
body,
|
|
443
504
|
['PureCloud OAuth'],
|
|
444
505
|
['application/json'],
|
|
445
|
-
['application/json']
|
|
506
|
+
['application/json'],
|
|
507
|
+
opts['customHeaders']
|
|
446
508
|
);
|
|
447
509
|
}
|
|
448
510
|
|
|
@@ -450,8 +512,12 @@ class ResponseManagementApi {
|
|
|
450
512
|
* Query responses
|
|
451
513
|
*
|
|
452
514
|
* @param {Object} body Response
|
|
515
|
+
* @param {Object} opts Optional parameters
|
|
516
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
453
517
|
*/
|
|
454
|
-
postResponsemanagementResponsesQuery(body) {
|
|
518
|
+
postResponsemanagementResponsesQuery(body, opts) {
|
|
519
|
+
opts = opts || {};
|
|
520
|
+
|
|
455
521
|
// verify the required parameter 'body' is set
|
|
456
522
|
if (body === undefined || body === null) {
|
|
457
523
|
throw 'Missing the required parameter "body" when calling postResponsemanagementResponsesQuery';
|
|
@@ -467,7 +533,8 @@ class ResponseManagementApi {
|
|
|
467
533
|
body,
|
|
468
534
|
['PureCloud OAuth'],
|
|
469
535
|
['application/json'],
|
|
470
|
-
['application/json']
|
|
536
|
+
['application/json'],
|
|
537
|
+
opts['customHeaders']
|
|
471
538
|
);
|
|
472
539
|
}
|
|
473
540
|
|
|
@@ -476,8 +543,12 @@ class ResponseManagementApi {
|
|
|
476
543
|
* Fields that can be updated: name. The most recent version is required for updates.
|
|
477
544
|
* @param {String} libraryId Library ID
|
|
478
545
|
* @param {Object} body Library
|
|
546
|
+
* @param {Object} opts Optional parameters
|
|
547
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
479
548
|
*/
|
|
480
|
-
putResponsemanagementLibrary(libraryId, body) {
|
|
549
|
+
putResponsemanagementLibrary(libraryId, body, opts) {
|
|
550
|
+
opts = opts || {};
|
|
551
|
+
|
|
481
552
|
// verify the required parameter 'libraryId' is set
|
|
482
553
|
if (libraryId === undefined || libraryId === null || libraryId === '') {
|
|
483
554
|
throw 'Missing the required parameter "libraryId" when calling putResponsemanagementLibrary';
|
|
@@ -497,7 +568,8 @@ class ResponseManagementApi {
|
|
|
497
568
|
body,
|
|
498
569
|
['PureCloud OAuth'],
|
|
499
570
|
['application/json'],
|
|
500
|
-
['application/json']
|
|
571
|
+
['application/json'],
|
|
572
|
+
opts['customHeaders']
|
|
501
573
|
);
|
|
502
574
|
}
|
|
503
575
|
|
|
@@ -508,6 +580,7 @@ class ResponseManagementApi {
|
|
|
508
580
|
* @param {Object} body Response
|
|
509
581
|
* @param {Object} opts Optional parameters
|
|
510
582
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
583
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
511
584
|
*/
|
|
512
585
|
putResponsemanagementResponse(responseId, body, opts) {
|
|
513
586
|
opts = opts || {};
|
|
@@ -531,7 +604,8 @@ class ResponseManagementApi {
|
|
|
531
604
|
body,
|
|
532
605
|
['PureCloud OAuth'],
|
|
533
606
|
['application/json'],
|
|
534
|
-
['application/json']
|
|
607
|
+
['application/json'],
|
|
608
|
+
opts['customHeaders']
|
|
535
609
|
);
|
|
536
610
|
}
|
|
537
611
|
|
|
@@ -540,8 +614,12 @@ class ResponseManagementApi {
|
|
|
540
614
|
*
|
|
541
615
|
* @param {String} responseAssetId Asset Id
|
|
542
616
|
* @param {Object} body request
|
|
617
|
+
* @param {Object} opts Optional parameters
|
|
618
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
543
619
|
*/
|
|
544
|
-
putResponsemanagementResponseasset(responseAssetId, body) {
|
|
620
|
+
putResponsemanagementResponseasset(responseAssetId, body, opts) {
|
|
621
|
+
opts = opts || {};
|
|
622
|
+
|
|
545
623
|
// verify the required parameter 'responseAssetId' is set
|
|
546
624
|
if (responseAssetId === undefined || responseAssetId === null || responseAssetId === '') {
|
|
547
625
|
throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
|
|
@@ -561,7 +639,8 @@ class ResponseManagementApi {
|
|
|
561
639
|
body,
|
|
562
640
|
['PureCloud OAuth'],
|
|
563
641
|
['application/json'],
|
|
564
|
-
['application/json']
|
|
642
|
+
['application/json'],
|
|
643
|
+
opts['customHeaders']
|
|
565
644
|
);
|
|
566
645
|
}
|
|
567
646
|
|