purecloud-platform-client-v2 147.0.0 → 149.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +454 -198
- package/dist/web-amd/purecloud-platform-client-v2.js +454 -198
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +454 -198
- package/dist/web-cjs/purecloud-platform-client-v2.js +455 -199
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +526 -312
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -51
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -78
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +243 -0
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +56 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import ApiClient from '../ApiClient.js';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ProcessAutomationApi {
|
|
5
|
+
/**
|
|
6
|
+
* ProcessAutomation service.
|
|
7
|
+
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
8
|
+
* @version 149.0.0
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Constructs a new ProcessAutomationApi.
|
|
13
|
+
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
14
|
+
* @class
|
|
15
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
16
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
17
|
+
*/
|
|
18
|
+
constructor(apiClient) {
|
|
19
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Delete a Trigger
|
|
25
|
+
*
|
|
26
|
+
* @param {String} triggerId triggerId
|
|
27
|
+
*/
|
|
28
|
+
deleteProcessautomationTrigger(triggerId) {
|
|
29
|
+
// verify the required parameter 'triggerId' is set
|
|
30
|
+
if (triggerId === undefined || triggerId === null) {
|
|
31
|
+
throw 'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return this.apiClient.callApi(
|
|
35
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
36
|
+
'DELETE',
|
|
37
|
+
{ 'triggerId': triggerId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
null,
|
|
42
|
+
['PureCloud OAuth'],
|
|
43
|
+
['application/json'],
|
|
44
|
+
['application/json']
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Retrieve a single Trigger matching id.
|
|
50
|
+
*
|
|
51
|
+
* @param {String} triggerId triggerId
|
|
52
|
+
*/
|
|
53
|
+
getProcessautomationTrigger(triggerId) {
|
|
54
|
+
// verify the required parameter 'triggerId' is set
|
|
55
|
+
if (triggerId === undefined || triggerId === null) {
|
|
56
|
+
throw 'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return this.apiClient.callApi(
|
|
60
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
61
|
+
'GET',
|
|
62
|
+
{ 'triggerId': triggerId },
|
|
63
|
+
{ },
|
|
64
|
+
{ },
|
|
65
|
+
{ },
|
|
66
|
+
null,
|
|
67
|
+
['PureCloud OAuth'],
|
|
68
|
+
['application/json'],
|
|
69
|
+
['application/json']
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Retrieves all triggers
|
|
75
|
+
*
|
|
76
|
+
* @param {Object} opts Optional parameters
|
|
77
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
78
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
79
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
80
|
+
* @param {String} opts.topicName Topic name
|
|
81
|
+
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
82
|
+
*/
|
|
83
|
+
getProcessautomationTriggers(opts) {
|
|
84
|
+
opts = opts || {};
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
return this.apiClient.callApi(
|
|
88
|
+
'/api/v2/processautomation/triggers',
|
|
89
|
+
'GET',
|
|
90
|
+
{ },
|
|
91
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'] },
|
|
92
|
+
{ },
|
|
93
|
+
{ },
|
|
94
|
+
null,
|
|
95
|
+
['PureCloud OAuth'],
|
|
96
|
+
['application/json'],
|
|
97
|
+
['application/json']
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Get topics available for organization
|
|
103
|
+
*
|
|
104
|
+
* @param {Object} opts Optional parameters
|
|
105
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
106
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
107
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
108
|
+
*/
|
|
109
|
+
getProcessautomationTriggersTopics(opts) {
|
|
110
|
+
opts = opts || {};
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
return this.apiClient.callApi(
|
|
114
|
+
'/api/v2/processautomation/triggers/topics',
|
|
115
|
+
'GET',
|
|
116
|
+
{ },
|
|
117
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
118
|
+
{ },
|
|
119
|
+
{ },
|
|
120
|
+
null,
|
|
121
|
+
['PureCloud OAuth'],
|
|
122
|
+
['application/json'],
|
|
123
|
+
['application/json']
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Test the matching of a Trigger based on provided event body
|
|
129
|
+
*
|
|
130
|
+
* @param {String} triggerId triggerId
|
|
131
|
+
* @param {Object} opts Optional parameters
|
|
132
|
+
* @param {String} opts.body eventBody
|
|
133
|
+
*/
|
|
134
|
+
postProcessautomationTriggerTest(triggerId, opts) {
|
|
135
|
+
opts = opts || {};
|
|
136
|
+
|
|
137
|
+
// verify the required parameter 'triggerId' is set
|
|
138
|
+
if (triggerId === undefined || triggerId === null) {
|
|
139
|
+
throw 'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
return this.apiClient.callApi(
|
|
143
|
+
'/api/v2/processautomation/triggers/{triggerId}/test',
|
|
144
|
+
'POST',
|
|
145
|
+
{ 'triggerId': triggerId },
|
|
146
|
+
{ },
|
|
147
|
+
{ },
|
|
148
|
+
{ },
|
|
149
|
+
opts['body'],
|
|
150
|
+
['PureCloud OAuth'],
|
|
151
|
+
['application/json'],
|
|
152
|
+
['application/json']
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Create a Trigger
|
|
158
|
+
*
|
|
159
|
+
* @param {Object} body Input used to create a Trigger.
|
|
160
|
+
*/
|
|
161
|
+
postProcessautomationTriggers(body) {
|
|
162
|
+
// verify the required parameter 'body' is set
|
|
163
|
+
if (body === undefined || body === null) {
|
|
164
|
+
throw 'Missing the required parameter "body" when calling postProcessautomationTriggers';
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
return this.apiClient.callApi(
|
|
168
|
+
'/api/v2/processautomation/triggers',
|
|
169
|
+
'POST',
|
|
170
|
+
{ },
|
|
171
|
+
{ },
|
|
172
|
+
{ },
|
|
173
|
+
{ },
|
|
174
|
+
body,
|
|
175
|
+
['PureCloud OAuth'],
|
|
176
|
+
['application/json'],
|
|
177
|
+
['application/json']
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Test the matching of all organization Triggers on given topic using provided event body
|
|
183
|
+
*
|
|
184
|
+
* @param {String} topicName topicName
|
|
185
|
+
* @param {Object} opts Optional parameters
|
|
186
|
+
* @param {String} opts.body eventBody
|
|
187
|
+
*/
|
|
188
|
+
postProcessautomationTriggersTopicTest(topicName, opts) {
|
|
189
|
+
opts = opts || {};
|
|
190
|
+
|
|
191
|
+
// verify the required parameter 'topicName' is set
|
|
192
|
+
if (topicName === undefined || topicName === null) {
|
|
193
|
+
throw 'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
return this.apiClient.callApi(
|
|
197
|
+
'/api/v2/processautomation/triggers/topics/{topicName}/test',
|
|
198
|
+
'POST',
|
|
199
|
+
{ 'topicName': topicName },
|
|
200
|
+
{ },
|
|
201
|
+
{ },
|
|
202
|
+
{ },
|
|
203
|
+
opts['body'],
|
|
204
|
+
['PureCloud OAuth'],
|
|
205
|
+
['application/json'],
|
|
206
|
+
['application/json']
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Update a Trigger
|
|
212
|
+
*
|
|
213
|
+
* @param {String} triggerId triggerId
|
|
214
|
+
* @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
|
|
215
|
+
*/
|
|
216
|
+
putProcessautomationTrigger(triggerId, body) {
|
|
217
|
+
// verify the required parameter 'triggerId' is set
|
|
218
|
+
if (triggerId === undefined || triggerId === null) {
|
|
219
|
+
throw 'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';
|
|
220
|
+
}
|
|
221
|
+
// verify the required parameter 'body' is set
|
|
222
|
+
if (body === undefined || body === null) {
|
|
223
|
+
throw 'Missing the required parameter "body" when calling putProcessautomationTrigger';
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
return this.apiClient.callApi(
|
|
227
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
228
|
+
'PUT',
|
|
229
|
+
{ 'triggerId': triggerId },
|
|
230
|
+
{ },
|
|
231
|
+
{ },
|
|
232
|
+
{ },
|
|
233
|
+
body,
|
|
234
|
+
['PureCloud OAuth'],
|
|
235
|
+
['application/json'],
|
|
236
|
+
['application/json']
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
export default ProcessAutomationApi;
|
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 149.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1359,8 +1359,12 @@ class RecordingApi {
|
|
|
1359
1359
|
* @param {String} conversationId Conversation ID
|
|
1360
1360
|
* @param {String} recordingId Recording ID
|
|
1361
1361
|
* @param {Object} body recording
|
|
1362
|
+
* @param {Object} opts Optional parameters
|
|
1363
|
+
* @param {Boolean} opts.clearExport Whether to clear the pending export for the recording
|
|
1362
1364
|
*/
|
|
1363
|
-
putConversationRecording(conversationId, recordingId, body) {
|
|
1365
|
+
putConversationRecording(conversationId, recordingId, body, opts) {
|
|
1366
|
+
opts = opts || {};
|
|
1367
|
+
|
|
1364
1368
|
// verify the required parameter 'conversationId' is set
|
|
1365
1369
|
if (conversationId === undefined || conversationId === null) {
|
|
1366
1370
|
throw 'Missing the required parameter "conversationId" when calling putConversationRecording';
|
|
@@ -1378,7 +1382,7 @@ class RecordingApi {
|
|
|
1378
1382
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
1379
1383
|
'PUT',
|
|
1380
1384
|
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
1381
|
-
{
|
|
1385
|
+
{ 'clearExport': opts['clearExport'] },
|
|
1382
1386
|
{ },
|
|
1383
1387
|
{ },
|
|
1384
1388
|
body,
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 149.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -825,6 +825,61 @@ class RoutingApi {
|
|
|
825
825
|
);
|
|
826
826
|
}
|
|
827
827
|
|
|
828
|
+
/**
|
|
829
|
+
* Retrieve Predictor Model Features.
|
|
830
|
+
*
|
|
831
|
+
* @param {String} predictorId Predictor ID
|
|
832
|
+
* @param {String} modelId Model ID
|
|
833
|
+
*/
|
|
834
|
+
getRoutingPredictorModelFeatures(predictorId, modelId) {
|
|
835
|
+
// verify the required parameter 'predictorId' is set
|
|
836
|
+
if (predictorId === undefined || predictorId === null) {
|
|
837
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';
|
|
838
|
+
}
|
|
839
|
+
// verify the required parameter 'modelId' is set
|
|
840
|
+
if (modelId === undefined || modelId === null) {
|
|
841
|
+
throw 'Missing the required parameter "modelId" when calling getRoutingPredictorModelFeatures';
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
return this.apiClient.callApi(
|
|
845
|
+
'/api/v2/routing/predictors/{predictorId}/models/{modelId}/features',
|
|
846
|
+
'GET',
|
|
847
|
+
{ 'predictorId': predictorId,'modelId': modelId },
|
|
848
|
+
{ },
|
|
849
|
+
{ },
|
|
850
|
+
{ },
|
|
851
|
+
null,
|
|
852
|
+
['PureCloud OAuth'],
|
|
853
|
+
['application/json'],
|
|
854
|
+
['application/json']
|
|
855
|
+
);
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Retrieve Predictor Models and Top Features.
|
|
860
|
+
*
|
|
861
|
+
* @param {String} predictorId Predictor ID
|
|
862
|
+
*/
|
|
863
|
+
getRoutingPredictorModels(predictorId) {
|
|
864
|
+
// verify the required parameter 'predictorId' is set
|
|
865
|
+
if (predictorId === undefined || predictorId === null) {
|
|
866
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
return this.apiClient.callApi(
|
|
870
|
+
'/api/v2/routing/predictors/{predictorId}/models',
|
|
871
|
+
'GET',
|
|
872
|
+
{ 'predictorId': predictorId },
|
|
873
|
+
{ },
|
|
874
|
+
{ },
|
|
875
|
+
{ },
|
|
876
|
+
null,
|
|
877
|
+
['PureCloud OAuth'],
|
|
878
|
+
['application/json'],
|
|
879
|
+
['application/json']
|
|
880
|
+
);
|
|
881
|
+
}
|
|
882
|
+
|
|
828
883
|
/**
|
|
829
884
|
* Retrieve all predictors.
|
|
830
885
|
*
|
|
@@ -5,7 +5,7 @@ class UserRecordingsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* UserRecordings service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 149.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -80,6 +80,7 @@ class UserRecordingsApi {
|
|
|
80
80
|
* @param {String} recordingId User Recording ID
|
|
81
81
|
* @param {Object} opts Optional parameters
|
|
82
82
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
83
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
83
84
|
*/
|
|
84
85
|
getUserrecordingMedia(recordingId, opts) {
|
|
85
86
|
opts = opts || {};
|
|
@@ -93,7 +94,7 @@ class UserRecordingsApi {
|
|
|
93
94
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
94
95
|
'GET',
|
|
95
96
|
{ 'recordingId': recordingId },
|
|
96
|
-
{ 'formatId': opts['formatId'] },
|
|
97
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
97
98
|
{ },
|
|
98
99
|
{ },
|
|
99
100
|
null,
|
|
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebDeployments service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 149.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -231,14 +231,18 @@ class WebDeploymentsApi {
|
|
|
231
231
|
/**
|
|
232
232
|
* Get deployments
|
|
233
233
|
*
|
|
234
|
+
* @param {Object} opts Optional parameters
|
|
235
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected. Valid values:
|
|
234
236
|
*/
|
|
235
|
-
getWebdeploymentsDeployments() {
|
|
237
|
+
getWebdeploymentsDeployments(opts) {
|
|
238
|
+
opts = opts || {};
|
|
239
|
+
|
|
236
240
|
|
|
237
241
|
return this.apiClient.callApi(
|
|
238
242
|
'/api/v2/webdeployments/deployments',
|
|
239
243
|
'GET',
|
|
240
244
|
{ },
|
|
241
|
-
{
|
|
245
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
242
246
|
{ },
|
|
243
247
|
{ },
|
|
244
248
|
null,
|
|
@@ -38,6 +38,7 @@ import OrganizationApi from './api/OrganizationApi.js';
|
|
|
38
38
|
import OrganizationAuthorizationApi from './api/OrganizationAuthorizationApi.js';
|
|
39
39
|
import OutboundApi from './api/OutboundApi.js';
|
|
40
40
|
import PresenceApi from './api/PresenceApi.js';
|
|
41
|
+
import ProcessAutomationApi from './api/ProcessAutomationApi.js';
|
|
41
42
|
import QualityApi from './api/QualityApi.js';
|
|
42
43
|
import RecordingApi from './api/RecordingApi.js';
|
|
43
44
|
import ResponseManagementApi from './api/ResponseManagementApi.js';
|
|
@@ -96,7 +97,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
96
97
|
* </pre>
|
|
97
98
|
* </p>
|
|
98
99
|
* @module purecloud-platform-client-v2/index
|
|
99
|
-
* @version
|
|
100
|
+
* @version 149.0.0
|
|
100
101
|
*/
|
|
101
102
|
class platformClient {
|
|
102
103
|
constructor() {
|
|
@@ -295,6 +296,11 @@ class platformClient {
|
|
|
295
296
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
296
297
|
*/
|
|
297
298
|
this.PresenceApi = PresenceApi;
|
|
299
|
+
/**
|
|
300
|
+
* The ProcessAutomationApi service constructor.
|
|
301
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
302
|
+
*/
|
|
303
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
298
304
|
/**
|
|
299
305
|
* The QualityApi service constructor.
|
|
300
306
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|