purecloud-platform-client-v2 136.0.0 → 137.0.1
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 +9663 -9406
- package/dist/web-amd/purecloud-platform-client-v2.js +9663 -9406
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +9670 -9406
- package/dist/web-cjs/purecloud-platform-client-v2.js +9670 -9406
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +620 -462
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +14 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +573 -524
- package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +808 -808
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
- package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +246 -246
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +311 -311
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
- package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +768 -568
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
- package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +302 -302
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +536 -536
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
- package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
- package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
- package/src/purecloud-platform-client-v2/index.js +2 -1
|
@@ -5,7 +5,7 @@ class QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 137.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -39,13 +39,13 @@ class QualityApi {
|
|
|
39
39
|
return this.apiClient.callApi(
|
|
40
40
|
'/api/v2/quality/calibrations/{calibrationId}',
|
|
41
41
|
'DELETE',
|
|
42
|
-
{ 'calibrationId': calibrationId },
|
|
43
|
-
{ 'calibratorId': calibratorId },
|
|
44
|
-
{ },
|
|
45
|
-
{ },
|
|
42
|
+
{ 'calibrationId': calibrationId },
|
|
43
|
+
{ 'calibratorId': calibratorId },
|
|
44
|
+
{ },
|
|
45
|
+
{ },
|
|
46
46
|
null,
|
|
47
47
|
['PureCloud OAuth'],
|
|
48
|
-
['application/json'],
|
|
48
|
+
['application/json'],
|
|
49
49
|
['application/json']
|
|
50
50
|
);
|
|
51
51
|
}
|
|
@@ -73,13 +73,13 @@ class QualityApi {
|
|
|
73
73
|
return this.apiClient.callApi(
|
|
74
74
|
'/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}',
|
|
75
75
|
'DELETE',
|
|
76
|
-
{ 'conversationId': conversationId,'evaluationId': evaluationId },
|
|
77
|
-
{ 'expand': opts['expand'] },
|
|
78
|
-
{ },
|
|
79
|
-
{ },
|
|
76
|
+
{ 'conversationId': conversationId,'evaluationId': evaluationId },
|
|
77
|
+
{ 'expand': opts['expand'] },
|
|
78
|
+
{ },
|
|
79
|
+
{ },
|
|
80
80
|
null,
|
|
81
81
|
['PureCloud OAuth'],
|
|
82
|
-
['application/json'],
|
|
82
|
+
['application/json'],
|
|
83
83
|
['application/json']
|
|
84
84
|
);
|
|
85
85
|
}
|
|
@@ -98,13 +98,13 @@ class QualityApi {
|
|
|
98
98
|
return this.apiClient.callApi(
|
|
99
99
|
'/api/v2/quality/forms/{formId}',
|
|
100
100
|
'DELETE',
|
|
101
|
-
{ 'formId': formId },
|
|
102
|
-
{ },
|
|
103
|
-
{ },
|
|
104
|
-
{ },
|
|
101
|
+
{ 'formId': formId },
|
|
102
|
+
{ },
|
|
103
|
+
{ },
|
|
104
|
+
{ },
|
|
105
105
|
null,
|
|
106
106
|
['PureCloud OAuth'],
|
|
107
|
-
['application/json'],
|
|
107
|
+
['application/json'],
|
|
108
108
|
['application/json']
|
|
109
109
|
);
|
|
110
110
|
}
|
|
@@ -123,13 +123,13 @@ class QualityApi {
|
|
|
123
123
|
return this.apiClient.callApi(
|
|
124
124
|
'/api/v2/quality/forms/evaluations/{formId}',
|
|
125
125
|
'DELETE',
|
|
126
|
-
{ 'formId': formId },
|
|
127
|
-
{ },
|
|
128
|
-
{ },
|
|
129
|
-
{ },
|
|
126
|
+
{ 'formId': formId },
|
|
127
|
+
{ },
|
|
128
|
+
{ },
|
|
129
|
+
{ },
|
|
130
130
|
null,
|
|
131
131
|
['PureCloud OAuth'],
|
|
132
|
-
['application/json'],
|
|
132
|
+
['application/json'],
|
|
133
133
|
['application/json']
|
|
134
134
|
);
|
|
135
135
|
}
|
|
@@ -148,20 +148,20 @@ class QualityApi {
|
|
|
148
148
|
return this.apiClient.callApi(
|
|
149
149
|
'/api/v2/quality/forms/surveys/{formId}',
|
|
150
150
|
'DELETE',
|
|
151
|
-
{ 'formId': formId },
|
|
152
|
-
{ },
|
|
153
|
-
{ },
|
|
154
|
-
{ },
|
|
151
|
+
{ 'formId': formId },
|
|
152
|
+
{ },
|
|
153
|
+
{ },
|
|
154
|
+
{ },
|
|
155
155
|
null,
|
|
156
156
|
['PureCloud OAuth'],
|
|
157
|
-
['application/json'],
|
|
157
|
+
['application/json'],
|
|
158
158
|
['application/json']
|
|
159
159
|
);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Gets a list of Agent Activities
|
|
164
|
-
* Each item on the list shows one
|
|
164
|
+
* Each item on the list shows one agents evaluation activity comprised of the number of evaluations and the highest, average, and lowest standard and critical scores, as well as a sub list showing the number and average score of evaluations for each evaluator for that agent. evaluatorUserId, startTime, and endTime are all filtering criteria. If specified, the only evaluations used to compile the agent activity response will be ones that match the filtering criteria. agentUserId, name, group, and agentTeamId are all agent selection criteria. criteria. If one or more agent selection criteria are specified, then the returned activity will include users that match the criteria even if those users did not have any agent activity or evaluations that do not match any filtering criteria. If no agent selection criteria are specified but an evaluatorUserId is, then the returned activity will be only for those agents that had evaluations where the evaluator is the evaluatorUserId. If no agent selection criteria are specified and no evaluatorUserId is specified, then the returned activity will be for all users
|
|
165
165
|
* @param {Object} opts Optional parameters
|
|
166
166
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
167
167
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -183,13 +183,13 @@ class QualityApi {
|
|
|
183
183
|
return this.apiClient.callApi(
|
|
184
184
|
'/api/v2/quality/agents/activity',
|
|
185
185
|
'GET',
|
|
186
|
-
{ },
|
|
187
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'startTime': opts['startTime'],'endTime': opts['endTime'],'agentUserId': this.apiClient.buildCollectionParam(opts['agentUserId'], 'multi'),'evaluatorUserId': opts['evaluatorUserId'],'name': opts['name'],'group': opts['group'] },
|
|
188
|
-
{ },
|
|
189
|
-
{ },
|
|
186
|
+
{ },
|
|
187
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'startTime': opts['startTime'],'endTime': opts['endTime'],'agentUserId': this.apiClient.buildCollectionParam(opts['agentUserId'], 'multi'),'evaluatorUserId': opts['evaluatorUserId'],'name': opts['name'],'group': opts['group'] },
|
|
188
|
+
{ },
|
|
189
|
+
{ },
|
|
190
190
|
null,
|
|
191
191
|
['PureCloud OAuth'],
|
|
192
|
-
['application/json'],
|
|
192
|
+
['application/json'],
|
|
193
193
|
['application/json']
|
|
194
194
|
);
|
|
195
195
|
}
|
|
@@ -213,13 +213,13 @@ class QualityApi {
|
|
|
213
213
|
return this.apiClient.callApi(
|
|
214
214
|
'/api/v2/quality/calibrations/{calibrationId}',
|
|
215
215
|
'GET',
|
|
216
|
-
{ 'calibrationId': calibrationId },
|
|
217
|
-
{ 'calibratorId': opts['calibratorId'],'conversationId': opts['conversationId'] },
|
|
218
|
-
{ },
|
|
219
|
-
{ },
|
|
216
|
+
{ 'calibrationId': calibrationId },
|
|
217
|
+
{ 'calibratorId': opts['calibratorId'],'conversationId': opts['conversationId'] },
|
|
218
|
+
{ },
|
|
219
|
+
{ },
|
|
220
220
|
null,
|
|
221
221
|
['PureCloud OAuth'],
|
|
222
|
-
['application/json'],
|
|
222
|
+
['application/json'],
|
|
223
223
|
['application/json']
|
|
224
224
|
);
|
|
225
225
|
}
|
|
@@ -250,13 +250,13 @@ class QualityApi {
|
|
|
250
250
|
return this.apiClient.callApi(
|
|
251
251
|
'/api/v2/quality/calibrations',
|
|
252
252
|
'GET',
|
|
253
|
-
{ },
|
|
254
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'calibratorId': calibratorId },
|
|
255
|
-
{ },
|
|
256
|
-
{ },
|
|
253
|
+
{ },
|
|
254
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'calibratorId': calibratorId },
|
|
255
|
+
{ },
|
|
256
|
+
{ },
|
|
257
257
|
null,
|
|
258
258
|
['PureCloud OAuth'],
|
|
259
|
-
['application/json'],
|
|
259
|
+
['application/json'],
|
|
260
260
|
['application/json']
|
|
261
261
|
);
|
|
262
262
|
}
|
|
@@ -284,13 +284,13 @@ class QualityApi {
|
|
|
284
284
|
return this.apiClient.callApi(
|
|
285
285
|
'/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}',
|
|
286
286
|
'GET',
|
|
287
|
-
{ 'conversationId': conversationId,'evaluationId': evaluationId },
|
|
288
|
-
{ 'expand': opts['expand'] },
|
|
289
|
-
{ },
|
|
290
|
-
{ },
|
|
287
|
+
{ 'conversationId': conversationId,'evaluationId': evaluationId },
|
|
288
|
+
{ 'expand': opts['expand'] },
|
|
289
|
+
{ },
|
|
290
|
+
{ },
|
|
291
291
|
null,
|
|
292
292
|
['PureCloud OAuth'],
|
|
293
|
-
['application/json'],
|
|
293
|
+
['application/json'],
|
|
294
294
|
['application/json']
|
|
295
295
|
);
|
|
296
296
|
}
|
|
@@ -309,13 +309,13 @@ class QualityApi {
|
|
|
309
309
|
return this.apiClient.callApi(
|
|
310
310
|
'/api/v2/quality/conversations/{conversationId}/surveys',
|
|
311
311
|
'GET',
|
|
312
|
-
{ 'conversationId': conversationId },
|
|
313
|
-
{ },
|
|
314
|
-
{ },
|
|
315
|
-
{ },
|
|
312
|
+
{ 'conversationId': conversationId },
|
|
313
|
+
{ },
|
|
314
|
+
{ },
|
|
315
|
+
{ },
|
|
316
316
|
null,
|
|
317
317
|
['PureCloud OAuth'],
|
|
318
|
-
['application/json'],
|
|
318
|
+
['application/json'],
|
|
319
319
|
['application/json']
|
|
320
320
|
);
|
|
321
321
|
}
|
|
@@ -334,13 +334,13 @@ class QualityApi {
|
|
|
334
334
|
return this.apiClient.callApi(
|
|
335
335
|
'/api/v2/quality/conversations/audits/query/{transactionId}',
|
|
336
336
|
'GET',
|
|
337
|
-
{ 'transactionId': transactionId },
|
|
338
|
-
{ },
|
|
339
|
-
{ },
|
|
340
|
-
{ },
|
|
337
|
+
{ 'transactionId': transactionId },
|
|
338
|
+
{ },
|
|
339
|
+
{ },
|
|
340
|
+
{ },
|
|
341
341
|
null,
|
|
342
342
|
['PureCloud OAuth'],
|
|
343
|
-
['application/json'],
|
|
343
|
+
['application/json'],
|
|
344
344
|
['application/json']
|
|
345
345
|
);
|
|
346
346
|
}
|
|
@@ -365,20 +365,20 @@ class QualityApi {
|
|
|
365
365
|
return this.apiClient.callApi(
|
|
366
366
|
'/api/v2/quality/conversations/audits/query/{transactionId}/results',
|
|
367
367
|
'GET',
|
|
368
|
-
{ 'transactionId': transactionId },
|
|
369
|
-
{ 'cursor': opts['cursor'],'pageSize': opts['pageSize'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
370
|
-
{ },
|
|
371
|
-
{ },
|
|
368
|
+
{ 'transactionId': transactionId },
|
|
369
|
+
{ 'cursor': opts['cursor'],'pageSize': opts['pageSize'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
370
|
+
{ },
|
|
371
|
+
{ },
|
|
372
372
|
null,
|
|
373
373
|
['PureCloud OAuth'],
|
|
374
|
-
['application/json'],
|
|
374
|
+
['application/json'],
|
|
375
375
|
['application/json']
|
|
376
376
|
);
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
380
|
* Queries Evaluations and returns a paged list
|
|
381
|
-
* Query params must include one of conversationId, evaluatorUserId, or agentUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to
|
|
381
|
+
* Query params must include one of conversationId, evaluatorUserId, or agentUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
|
|
382
382
|
* @param {Object} opts Optional parameters
|
|
383
383
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
384
384
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -397,7 +397,7 @@ class QualityApi {
|
|
|
397
397
|
* @param {Boolean} opts.agentHasRead agent has the evaluation
|
|
398
398
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations
|
|
399
399
|
* @param {Number} opts.maximum maximum
|
|
400
|
-
* @param {String} opts.sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are
|
|
400
|
+
* @param {String} opts.sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are 'a', 'asc', 'ascending', 'd', 'desc', 'descending'
|
|
401
401
|
*/
|
|
402
402
|
getQualityEvaluationsQuery(opts) {
|
|
403
403
|
opts = opts || {};
|
|
@@ -406,13 +406,13 @@ class QualityApi {
|
|
|
406
406
|
return this.apiClient.callApi(
|
|
407
407
|
'/api/v2/quality/evaluations/query',
|
|
408
408
|
'GET',
|
|
409
|
-
{ },
|
|
410
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
|
|
411
|
-
{ },
|
|
412
|
-
{ },
|
|
409
|
+
{ },
|
|
410
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'conversationId': opts['conversationId'],'agentUserId': opts['agentUserId'],'evaluatorUserId': opts['evaluatorUserId'],'queueId': opts['queueId'],'startTime': opts['startTime'],'endTime': opts['endTime'],'evaluationState': this.apiClient.buildCollectionParam(opts['evaluationState'], 'multi'),'isReleased': opts['isReleased'],'agentHasRead': opts['agentHasRead'],'expandAnswerTotalScores': opts['expandAnswerTotalScores'],'maximum': opts['maximum'],'sortOrder': opts['sortOrder'] },
|
|
411
|
+
{ },
|
|
412
|
+
{ },
|
|
413
413
|
null,
|
|
414
414
|
['PureCloud OAuth'],
|
|
415
|
-
['application/json'],
|
|
415
|
+
['application/json'],
|
|
416
416
|
['application/json']
|
|
417
417
|
);
|
|
418
418
|
}
|
|
@@ -440,13 +440,13 @@ class QualityApi {
|
|
|
440
440
|
return this.apiClient.callApi(
|
|
441
441
|
'/api/v2/quality/evaluators/activity',
|
|
442
442
|
'GET',
|
|
443
|
-
{ },
|
|
444
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'startTime': opts['startTime'],'endTime': opts['endTime'],'name': opts['name'],'permission': this.apiClient.buildCollectionParam(opts['permission'], 'multi'),'group': opts['group'] },
|
|
445
|
-
{ },
|
|
446
|
-
{ },
|
|
443
|
+
{ },
|
|
444
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'startTime': opts['startTime'],'endTime': opts['endTime'],'name': opts['name'],'permission': this.apiClient.buildCollectionParam(opts['permission'], 'multi'),'group': opts['group'] },
|
|
445
|
+
{ },
|
|
446
|
+
{ },
|
|
447
447
|
null,
|
|
448
448
|
['PureCloud OAuth'],
|
|
449
|
-
['application/json'],
|
|
449
|
+
['application/json'],
|
|
450
450
|
['application/json']
|
|
451
451
|
);
|
|
452
452
|
}
|
|
@@ -465,13 +465,13 @@ class QualityApi {
|
|
|
465
465
|
return this.apiClient.callApi(
|
|
466
466
|
'/api/v2/quality/forms/{formId}',
|
|
467
467
|
'GET',
|
|
468
|
-
{ 'formId': formId },
|
|
469
|
-
{ },
|
|
470
|
-
{ },
|
|
471
|
-
{ },
|
|
468
|
+
{ 'formId': formId },
|
|
469
|
+
{ },
|
|
470
|
+
{ },
|
|
471
|
+
{ },
|
|
472
472
|
null,
|
|
473
473
|
['PureCloud OAuth'],
|
|
474
|
-
['application/json'],
|
|
474
|
+
['application/json'],
|
|
475
475
|
['application/json']
|
|
476
476
|
);
|
|
477
477
|
}
|
|
@@ -495,13 +495,13 @@ class QualityApi {
|
|
|
495
495
|
return this.apiClient.callApi(
|
|
496
496
|
'/api/v2/quality/forms/{formId}/versions',
|
|
497
497
|
'GET',
|
|
498
|
-
{ 'formId': formId },
|
|
499
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
500
|
-
{ },
|
|
501
|
-
{ },
|
|
498
|
+
{ 'formId': formId },
|
|
499
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
500
|
+
{ },
|
|
501
|
+
{ },
|
|
502
502
|
null,
|
|
503
503
|
['PureCloud OAuth'],
|
|
504
|
-
['application/json'],
|
|
504
|
+
['application/json'],
|
|
505
505
|
['application/json']
|
|
506
506
|
);
|
|
507
507
|
}
|
|
@@ -526,13 +526,13 @@ class QualityApi {
|
|
|
526
526
|
return this.apiClient.callApi(
|
|
527
527
|
'/api/v2/quality/forms',
|
|
528
528
|
'GET',
|
|
529
|
-
{ },
|
|
530
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'expand': opts['expand'],'name': opts['name'],'sortOrder': opts['sortOrder'] },
|
|
531
|
-
{ },
|
|
532
|
-
{ },
|
|
529
|
+
{ },
|
|
530
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'expand': opts['expand'],'name': opts['name'],'sortOrder': opts['sortOrder'] },
|
|
531
|
+
{ },
|
|
532
|
+
{ },
|
|
533
533
|
null,
|
|
534
534
|
['PureCloud OAuth'],
|
|
535
|
-
['application/json'],
|
|
535
|
+
['application/json'],
|
|
536
536
|
['application/json']
|
|
537
537
|
);
|
|
538
538
|
}
|
|
@@ -551,13 +551,13 @@ class QualityApi {
|
|
|
551
551
|
return this.apiClient.callApi(
|
|
552
552
|
'/api/v2/quality/forms/evaluations/{formId}',
|
|
553
553
|
'GET',
|
|
554
|
-
{ 'formId': formId },
|
|
555
|
-
{ },
|
|
556
|
-
{ },
|
|
557
|
-
{ },
|
|
554
|
+
{ 'formId': formId },
|
|
555
|
+
{ },
|
|
556
|
+
{ },
|
|
557
|
+
{ },
|
|
558
558
|
null,
|
|
559
559
|
['PureCloud OAuth'],
|
|
560
|
-
['application/json'],
|
|
560
|
+
['application/json'],
|
|
561
561
|
['application/json']
|
|
562
562
|
);
|
|
563
563
|
}
|
|
@@ -582,13 +582,13 @@ class QualityApi {
|
|
|
582
582
|
return this.apiClient.callApi(
|
|
583
583
|
'/api/v2/quality/forms/evaluations/{formId}/versions',
|
|
584
584
|
'GET',
|
|
585
|
-
{ 'formId': formId },
|
|
586
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
587
|
-
{ },
|
|
588
|
-
{ },
|
|
585
|
+
{ 'formId': formId },
|
|
586
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
587
|
+
{ },
|
|
588
|
+
{ },
|
|
589
589
|
null,
|
|
590
590
|
['PureCloud OAuth'],
|
|
591
|
-
['application/json'],
|
|
591
|
+
['application/json'],
|
|
592
592
|
['application/json']
|
|
593
593
|
);
|
|
594
594
|
}
|
|
@@ -613,13 +613,13 @@ class QualityApi {
|
|
|
613
613
|
return this.apiClient.callApi(
|
|
614
614
|
'/api/v2/quality/forms/evaluations',
|
|
615
615
|
'GET',
|
|
616
|
-
{ },
|
|
617
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'expand': opts['expand'],'name': opts['name'],'sortOrder': opts['sortOrder'] },
|
|
618
|
-
{ },
|
|
619
|
-
{ },
|
|
616
|
+
{ },
|
|
617
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'expand': opts['expand'],'name': opts['name'],'sortOrder': opts['sortOrder'] },
|
|
618
|
+
{ },
|
|
619
|
+
{ },
|
|
620
620
|
null,
|
|
621
621
|
['PureCloud OAuth'],
|
|
622
|
-
['application/json'],
|
|
622
|
+
['application/json'],
|
|
623
623
|
['application/json']
|
|
624
624
|
);
|
|
625
625
|
}
|
|
@@ -638,13 +638,13 @@ class QualityApi {
|
|
|
638
638
|
return this.apiClient.callApi(
|
|
639
639
|
'/api/v2/quality/forms/evaluations/bulk/contexts',
|
|
640
640
|
'GET',
|
|
641
|
-
{ },
|
|
642
|
-
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
|
|
643
|
-
{ },
|
|
644
|
-
{ },
|
|
641
|
+
{ },
|
|
642
|
+
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
|
|
643
|
+
{ },
|
|
644
|
+
{ },
|
|
645
645
|
null,
|
|
646
646
|
['PureCloud OAuth'],
|
|
647
|
-
['application/json'],
|
|
647
|
+
['application/json'],
|
|
648
648
|
['application/json']
|
|
649
649
|
);
|
|
650
650
|
}
|
|
@@ -663,13 +663,13 @@ class QualityApi {
|
|
|
663
663
|
return this.apiClient.callApi(
|
|
664
664
|
'/api/v2/quality/forms/surveys/{formId}',
|
|
665
665
|
'GET',
|
|
666
|
-
{ 'formId': formId },
|
|
667
|
-
{ },
|
|
668
|
-
{ },
|
|
669
|
-
{ },
|
|
666
|
+
{ 'formId': formId },
|
|
667
|
+
{ },
|
|
668
|
+
{ },
|
|
669
|
+
{ },
|
|
670
670
|
null,
|
|
671
671
|
['PureCloud OAuth'],
|
|
672
|
-
['application/json'],
|
|
672
|
+
['application/json'],
|
|
673
673
|
['application/json']
|
|
674
674
|
);
|
|
675
675
|
}
|
|
@@ -693,13 +693,13 @@ class QualityApi {
|
|
|
693
693
|
return this.apiClient.callApi(
|
|
694
694
|
'/api/v2/quality/forms/surveys/{formId}/versions',
|
|
695
695
|
'GET',
|
|
696
|
-
{ 'formId': formId },
|
|
697
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
698
|
-
{ },
|
|
699
|
-
{ },
|
|
696
|
+
{ 'formId': formId },
|
|
697
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
698
|
+
{ },
|
|
699
|
+
{ },
|
|
700
700
|
null,
|
|
701
701
|
['PureCloud OAuth'],
|
|
702
|
-
['application/json'],
|
|
702
|
+
['application/json'],
|
|
703
703
|
['application/json']
|
|
704
704
|
);
|
|
705
705
|
}
|
|
@@ -724,13 +724,13 @@ class QualityApi {
|
|
|
724
724
|
return this.apiClient.callApi(
|
|
725
725
|
'/api/v2/quality/forms/surveys',
|
|
726
726
|
'GET',
|
|
727
|
-
{ },
|
|
728
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'expand': opts['expand'],'name': opts['name'],'sortOrder': opts['sortOrder'] },
|
|
729
|
-
{ },
|
|
730
|
-
{ },
|
|
727
|
+
{ },
|
|
728
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'expand': opts['expand'],'name': opts['name'],'sortOrder': opts['sortOrder'] },
|
|
729
|
+
{ },
|
|
730
|
+
{ },
|
|
731
731
|
null,
|
|
732
732
|
['PureCloud OAuth'],
|
|
733
|
-
['application/json'],
|
|
733
|
+
['application/json'],
|
|
734
734
|
['application/json']
|
|
735
735
|
);
|
|
736
736
|
}
|
|
@@ -749,13 +749,13 @@ class QualityApi {
|
|
|
749
749
|
return this.apiClient.callApi(
|
|
750
750
|
'/api/v2/quality/forms/surveys/bulk',
|
|
751
751
|
'GET',
|
|
752
|
-
{ },
|
|
753
|
-
{ 'id': this.apiClient.buildCollectionParam(id, 'multi') },
|
|
754
|
-
{ },
|
|
755
|
-
{ },
|
|
752
|
+
{ },
|
|
753
|
+
{ 'id': this.apiClient.buildCollectionParam(id, 'multi') },
|
|
754
|
+
{ },
|
|
755
|
+
{ },
|
|
756
756
|
null,
|
|
757
757
|
['PureCloud OAuth'],
|
|
758
|
-
['application/json'],
|
|
758
|
+
['application/json'],
|
|
759
759
|
['application/json']
|
|
760
760
|
);
|
|
761
761
|
}
|
|
@@ -778,13 +778,13 @@ class QualityApi {
|
|
|
778
778
|
return this.apiClient.callApi(
|
|
779
779
|
'/api/v2/quality/forms/surveys/bulk/contexts',
|
|
780
780
|
'GET',
|
|
781
|
-
{ },
|
|
782
|
-
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi'),'published': opts['published'] },
|
|
783
|
-
{ },
|
|
784
|
-
{ },
|
|
781
|
+
{ },
|
|
782
|
+
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi'),'published': opts['published'] },
|
|
783
|
+
{ },
|
|
784
|
+
{ },
|
|
785
785
|
null,
|
|
786
786
|
['PureCloud OAuth'],
|
|
787
|
-
['application/json'],
|
|
787
|
+
['application/json'],
|
|
788
788
|
['application/json']
|
|
789
789
|
);
|
|
790
790
|
}
|
|
@@ -803,13 +803,13 @@ class QualityApi {
|
|
|
803
803
|
return this.apiClient.callApi(
|
|
804
804
|
'/api/v2/quality/publishedforms/{formId}',
|
|
805
805
|
'GET',
|
|
806
|
-
{ 'formId': formId },
|
|
807
|
-
{ },
|
|
808
|
-
{ },
|
|
809
|
-
{ },
|
|
806
|
+
{ 'formId': formId },
|
|
807
|
+
{ },
|
|
808
|
+
{ },
|
|
809
|
+
{ },
|
|
810
810
|
null,
|
|
811
811
|
['PureCloud OAuth'],
|
|
812
|
-
['application/json'],
|
|
812
|
+
['application/json'],
|
|
813
813
|
['application/json']
|
|
814
814
|
);
|
|
815
815
|
}
|
|
@@ -830,13 +830,13 @@ class QualityApi {
|
|
|
830
830
|
return this.apiClient.callApi(
|
|
831
831
|
'/api/v2/quality/publishedforms',
|
|
832
832
|
'GET',
|
|
833
|
-
{ },
|
|
834
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'onlyLatestPerContext': opts['onlyLatestPerContext'] },
|
|
835
|
-
{ },
|
|
836
|
-
{ },
|
|
833
|
+
{ },
|
|
834
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'onlyLatestPerContext': opts['onlyLatestPerContext'] },
|
|
835
|
+
{ },
|
|
836
|
+
{ },
|
|
837
837
|
null,
|
|
838
838
|
['PureCloud OAuth'],
|
|
839
|
-
['application/json'],
|
|
839
|
+
['application/json'],
|
|
840
840
|
['application/json']
|
|
841
841
|
);
|
|
842
842
|
}
|
|
@@ -855,13 +855,13 @@ class QualityApi {
|
|
|
855
855
|
return this.apiClient.callApi(
|
|
856
856
|
'/api/v2/quality/publishedforms/evaluations/{formId}',
|
|
857
857
|
'GET',
|
|
858
|
-
{ 'formId': formId },
|
|
859
|
-
{ },
|
|
860
|
-
{ },
|
|
861
|
-
{ },
|
|
858
|
+
{ 'formId': formId },
|
|
859
|
+
{ },
|
|
860
|
+
{ },
|
|
861
|
+
{ },
|
|
862
862
|
null,
|
|
863
863
|
['PureCloud OAuth'],
|
|
864
|
-
['application/json'],
|
|
864
|
+
['application/json'],
|
|
865
865
|
['application/json']
|
|
866
866
|
);
|
|
867
867
|
}
|
|
@@ -882,13 +882,13 @@ class QualityApi {
|
|
|
882
882
|
return this.apiClient.callApi(
|
|
883
883
|
'/api/v2/quality/publishedforms/evaluations',
|
|
884
884
|
'GET',
|
|
885
|
-
{ },
|
|
886
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'onlyLatestPerContext': opts['onlyLatestPerContext'] },
|
|
887
|
-
{ },
|
|
888
|
-
{ },
|
|
885
|
+
{ },
|
|
886
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'onlyLatestPerContext': opts['onlyLatestPerContext'] },
|
|
887
|
+
{ },
|
|
888
|
+
{ },
|
|
889
889
|
null,
|
|
890
890
|
['PureCloud OAuth'],
|
|
891
|
-
['application/json'],
|
|
891
|
+
['application/json'],
|
|
892
892
|
['application/json']
|
|
893
893
|
);
|
|
894
894
|
}
|
|
@@ -907,13 +907,13 @@ class QualityApi {
|
|
|
907
907
|
return this.apiClient.callApi(
|
|
908
908
|
'/api/v2/quality/publishedforms/surveys/{formId}',
|
|
909
909
|
'GET',
|
|
910
|
-
{ 'formId': formId },
|
|
911
|
-
{ },
|
|
912
|
-
{ },
|
|
913
|
-
{ },
|
|
910
|
+
{ 'formId': formId },
|
|
911
|
+
{ },
|
|
912
|
+
{ },
|
|
913
|
+
{ },
|
|
914
914
|
null,
|
|
915
915
|
['PureCloud OAuth'],
|
|
916
|
-
['application/json'],
|
|
916
|
+
['application/json'],
|
|
917
917
|
['application/json']
|
|
918
918
|
);
|
|
919
919
|
}
|
|
@@ -934,13 +934,13 @@ class QualityApi {
|
|
|
934
934
|
return this.apiClient.callApi(
|
|
935
935
|
'/api/v2/quality/publishedforms/surveys',
|
|
936
936
|
'GET',
|
|
937
|
-
{ },
|
|
938
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'onlyLatestEnabledPerContext': opts['onlyLatestEnabledPerContext'] },
|
|
939
|
-
{ },
|
|
940
|
-
{ },
|
|
937
|
+
{ },
|
|
938
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'onlyLatestEnabledPerContext': opts['onlyLatestEnabledPerContext'] },
|
|
939
|
+
{ },
|
|
940
|
+
{ },
|
|
941
941
|
null,
|
|
942
942
|
['PureCloud OAuth'],
|
|
943
|
-
['application/json'],
|
|
943
|
+
['application/json'],
|
|
944
944
|
['application/json']
|
|
945
945
|
);
|
|
946
946
|
}
|
|
@@ -959,13 +959,13 @@ class QualityApi {
|
|
|
959
959
|
return this.apiClient.callApi(
|
|
960
960
|
'/api/v2/quality/surveys/{surveyId}',
|
|
961
961
|
'GET',
|
|
962
|
-
{ 'surveyId': surveyId },
|
|
963
|
-
{ },
|
|
964
|
-
{ },
|
|
965
|
-
{ },
|
|
962
|
+
{ 'surveyId': surveyId },
|
|
963
|
+
{ },
|
|
964
|
+
{ },
|
|
965
|
+
{ },
|
|
966
966
|
null,
|
|
967
967
|
['PureCloud OAuth'],
|
|
968
|
-
['application/json'],
|
|
968
|
+
['application/json'],
|
|
969
969
|
['application/json']
|
|
970
970
|
);
|
|
971
971
|
}
|
|
@@ -984,13 +984,13 @@ class QualityApi {
|
|
|
984
984
|
return this.apiClient.callApi(
|
|
985
985
|
'/api/v2/quality/surveys/scorable',
|
|
986
986
|
'GET',
|
|
987
|
-
{ },
|
|
988
|
-
{ 'customerSurveyUrl': customerSurveyUrl },
|
|
989
|
-
{ },
|
|
990
|
-
{ },
|
|
987
|
+
{ },
|
|
988
|
+
{ 'customerSurveyUrl': customerSurveyUrl },
|
|
989
|
+
{ },
|
|
990
|
+
{ },
|
|
991
991
|
null,
|
|
992
992
|
['PureCloud OAuth'],
|
|
993
|
-
['application/json'],
|
|
993
|
+
['application/json'],
|
|
994
994
|
['application/json']
|
|
995
995
|
);
|
|
996
996
|
}
|
|
@@ -1014,13 +1014,13 @@ class QualityApi {
|
|
|
1014
1014
|
return this.apiClient.callApi(
|
|
1015
1015
|
'/api/v2/quality/forms/surveys/{formId}',
|
|
1016
1016
|
'PATCH',
|
|
1017
|
-
{ 'formId': formId },
|
|
1018
|
-
{ },
|
|
1019
|
-
{ },
|
|
1020
|
-
{ },
|
|
1017
|
+
{ 'formId': formId },
|
|
1018
|
+
{ },
|
|
1019
|
+
{ },
|
|
1020
|
+
{ },
|
|
1021
1021
|
body,
|
|
1022
1022
|
['PureCloud OAuth'],
|
|
1023
|
-
['application/json'],
|
|
1023
|
+
['application/json'],
|
|
1024
1024
|
['application/json']
|
|
1025
1025
|
);
|
|
1026
1026
|
}
|
|
@@ -1039,13 +1039,13 @@ class QualityApi {
|
|
|
1039
1039
|
return this.apiClient.callApi(
|
|
1040
1040
|
'/api/v2/analytics/evaluations/aggregates/query',
|
|
1041
1041
|
'POST',
|
|
1042
|
-
{ },
|
|
1043
|
-
{ },
|
|
1044
|
-
{ },
|
|
1045
|
-
{ },
|
|
1042
|
+
{ },
|
|
1043
|
+
{ },
|
|
1044
|
+
{ },
|
|
1045
|
+
{ },
|
|
1046
1046
|
body,
|
|
1047
1047
|
['PureCloud OAuth'],
|
|
1048
|
-
['application/json'],
|
|
1048
|
+
['application/json'],
|
|
1049
1049
|
['application/json']
|
|
1050
1050
|
);
|
|
1051
1051
|
}
|
|
@@ -1064,13 +1064,13 @@ class QualityApi {
|
|
|
1064
1064
|
return this.apiClient.callApi(
|
|
1065
1065
|
'/api/v2/analytics/surveys/aggregates/query',
|
|
1066
1066
|
'POST',
|
|
1067
|
-
{ },
|
|
1068
|
-
{ },
|
|
1069
|
-
{ },
|
|
1070
|
-
{ },
|
|
1067
|
+
{ },
|
|
1068
|
+
{ },
|
|
1069
|
+
{ },
|
|
1070
|
+
{ },
|
|
1071
1071
|
body,
|
|
1072
1072
|
['PureCloud OAuth'],
|
|
1073
|
-
['application/json'],
|
|
1073
|
+
['application/json'],
|
|
1074
1074
|
['application/json']
|
|
1075
1075
|
);
|
|
1076
1076
|
}
|
|
@@ -1093,13 +1093,13 @@ class QualityApi {
|
|
|
1093
1093
|
return this.apiClient.callApi(
|
|
1094
1094
|
'/api/v2/quality/calibrations',
|
|
1095
1095
|
'POST',
|
|
1096
|
-
{ },
|
|
1097
|
-
{ 'expand': opts['expand'] },
|
|
1098
|
-
{ },
|
|
1099
|
-
{ },
|
|
1096
|
+
{ },
|
|
1097
|
+
{ 'expand': opts['expand'] },
|
|
1098
|
+
{ },
|
|
1099
|
+
{ },
|
|
1100
1100
|
body,
|
|
1101
1101
|
['PureCloud OAuth'],
|
|
1102
|
-
['application/json'],
|
|
1102
|
+
['application/json'],
|
|
1103
1103
|
['application/json']
|
|
1104
1104
|
);
|
|
1105
1105
|
}
|
|
@@ -1127,13 +1127,13 @@ class QualityApi {
|
|
|
1127
1127
|
return this.apiClient.callApi(
|
|
1128
1128
|
'/api/v2/quality/conversations/{conversationId}/evaluations',
|
|
1129
1129
|
'POST',
|
|
1130
|
-
{ 'conversationId': conversationId },
|
|
1131
|
-
{ 'expand': opts['expand'] },
|
|
1132
|
-
{ },
|
|
1133
|
-
{ },
|
|
1130
|
+
{ 'conversationId': conversationId },
|
|
1131
|
+
{ 'expand': opts['expand'] },
|
|
1132
|
+
{ },
|
|
1133
|
+
{ },
|
|
1134
1134
|
body,
|
|
1135
1135
|
['PureCloud OAuth'],
|
|
1136
|
-
['application/json'],
|
|
1136
|
+
['application/json'],
|
|
1137
1137
|
['application/json']
|
|
1138
1138
|
);
|
|
1139
1139
|
}
|
|
@@ -1152,13 +1152,13 @@ class QualityApi {
|
|
|
1152
1152
|
return this.apiClient.callApi(
|
|
1153
1153
|
'/api/v2/quality/conversations/audits/query',
|
|
1154
1154
|
'POST',
|
|
1155
|
-
{ },
|
|
1156
|
-
{ },
|
|
1157
|
-
{ },
|
|
1158
|
-
{ },
|
|
1155
|
+
{ },
|
|
1156
|
+
{ },
|
|
1157
|
+
{ },
|
|
1158
|
+
{ },
|
|
1159
1159
|
body,
|
|
1160
1160
|
['PureCloud OAuth'],
|
|
1161
|
-
['application/json'],
|
|
1161
|
+
['application/json'],
|
|
1162
1162
|
['application/json']
|
|
1163
1163
|
);
|
|
1164
1164
|
}
|
|
@@ -1177,13 +1177,13 @@ class QualityApi {
|
|
|
1177
1177
|
return this.apiClient.callApi(
|
|
1178
1178
|
'/api/v2/quality/evaluations/aggregates/query/me',
|
|
1179
1179
|
'POST',
|
|
1180
|
-
{ },
|
|
1181
|
-
{ },
|
|
1182
|
-
{ },
|
|
1183
|
-
{ },
|
|
1180
|
+
{ },
|
|
1181
|
+
{ },
|
|
1182
|
+
{ },
|
|
1183
|
+
{ },
|
|
1184
1184
|
body,
|
|
1185
1185
|
['PureCloud OAuth'],
|
|
1186
|
-
['application/json'],
|
|
1186
|
+
['application/json'],
|
|
1187
1187
|
['application/json']
|
|
1188
1188
|
);
|
|
1189
1189
|
}
|
|
@@ -1202,13 +1202,13 @@ class QualityApi {
|
|
|
1202
1202
|
return this.apiClient.callApi(
|
|
1203
1203
|
'/api/v2/quality/evaluations/scoring',
|
|
1204
1204
|
'POST',
|
|
1205
|
-
{ },
|
|
1206
|
-
{ },
|
|
1207
|
-
{ },
|
|
1208
|
-
{ },
|
|
1205
|
+
{ },
|
|
1206
|
+
{ },
|
|
1207
|
+
{ },
|
|
1208
|
+
{ },
|
|
1209
1209
|
body,
|
|
1210
1210
|
['PureCloud OAuth'],
|
|
1211
|
-
['application/json'],
|
|
1211
|
+
['application/json'],
|
|
1212
1212
|
['application/json']
|
|
1213
1213
|
);
|
|
1214
1214
|
}
|
|
@@ -1227,13 +1227,13 @@ class QualityApi {
|
|
|
1227
1227
|
return this.apiClient.callApi(
|
|
1228
1228
|
'/api/v2/quality/forms',
|
|
1229
1229
|
'POST',
|
|
1230
|
-
{ },
|
|
1231
|
-
{ },
|
|
1232
|
-
{ },
|
|
1233
|
-
{ },
|
|
1230
|
+
{ },
|
|
1231
|
+
{ },
|
|
1232
|
+
{ },
|
|
1233
|
+
{ },
|
|
1234
1234
|
body,
|
|
1235
1235
|
['PureCloud OAuth'],
|
|
1236
|
-
['application/json'],
|
|
1236
|
+
['application/json'],
|
|
1237
1237
|
['application/json']
|
|
1238
1238
|
);
|
|
1239
1239
|
}
|
|
@@ -1252,13 +1252,13 @@ class QualityApi {
|
|
|
1252
1252
|
return this.apiClient.callApi(
|
|
1253
1253
|
'/api/v2/quality/forms/evaluations',
|
|
1254
1254
|
'POST',
|
|
1255
|
-
{ },
|
|
1256
|
-
{ },
|
|
1257
|
-
{ },
|
|
1258
|
-
{ },
|
|
1255
|
+
{ },
|
|
1256
|
+
{ },
|
|
1257
|
+
{ },
|
|
1258
|
+
{ },
|
|
1259
1259
|
body,
|
|
1260
1260
|
['PureCloud OAuth'],
|
|
1261
|
-
['application/json'],
|
|
1261
|
+
['application/json'],
|
|
1262
1262
|
['application/json']
|
|
1263
1263
|
);
|
|
1264
1264
|
}
|
|
@@ -1277,13 +1277,13 @@ class QualityApi {
|
|
|
1277
1277
|
return this.apiClient.callApi(
|
|
1278
1278
|
'/api/v2/quality/forms/surveys',
|
|
1279
1279
|
'POST',
|
|
1280
|
-
{ },
|
|
1281
|
-
{ },
|
|
1282
|
-
{ },
|
|
1283
|
-
{ },
|
|
1280
|
+
{ },
|
|
1281
|
+
{ },
|
|
1282
|
+
{ },
|
|
1283
|
+
{ },
|
|
1284
1284
|
body,
|
|
1285
1285
|
['PureCloud OAuth'],
|
|
1286
|
-
['application/json'],
|
|
1286
|
+
['application/json'],
|
|
1287
1287
|
['application/json']
|
|
1288
1288
|
);
|
|
1289
1289
|
}
|
|
@@ -1302,13 +1302,13 @@ class QualityApi {
|
|
|
1302
1302
|
return this.apiClient.callApi(
|
|
1303
1303
|
'/api/v2/quality/publishedforms',
|
|
1304
1304
|
'POST',
|
|
1305
|
-
{ },
|
|
1306
|
-
{ },
|
|
1307
|
-
{ },
|
|
1308
|
-
{ },
|
|
1305
|
+
{ },
|
|
1306
|
+
{ },
|
|
1307
|
+
{ },
|
|
1308
|
+
{ },
|
|
1309
1309
|
body,
|
|
1310
1310
|
['PureCloud OAuth'],
|
|
1311
|
-
['application/json'],
|
|
1311
|
+
['application/json'],
|
|
1312
1312
|
['application/json']
|
|
1313
1313
|
);
|
|
1314
1314
|
}
|
|
@@ -1327,13 +1327,13 @@ class QualityApi {
|
|
|
1327
1327
|
return this.apiClient.callApi(
|
|
1328
1328
|
'/api/v2/quality/publishedforms/evaluations',
|
|
1329
1329
|
'POST',
|
|
1330
|
-
{ },
|
|
1331
|
-
{ },
|
|
1332
|
-
{ },
|
|
1333
|
-
{ },
|
|
1330
|
+
{ },
|
|
1331
|
+
{ },
|
|
1332
|
+
{ },
|
|
1333
|
+
{ },
|
|
1334
1334
|
body,
|
|
1335
1335
|
['PureCloud OAuth'],
|
|
1336
|
-
['application/json'],
|
|
1336
|
+
['application/json'],
|
|
1337
1337
|
['application/json']
|
|
1338
1338
|
);
|
|
1339
1339
|
}
|
|
@@ -1352,13 +1352,13 @@ class QualityApi {
|
|
|
1352
1352
|
return this.apiClient.callApi(
|
|
1353
1353
|
'/api/v2/quality/publishedforms/surveys',
|
|
1354
1354
|
'POST',
|
|
1355
|
-
{ },
|
|
1356
|
-
{ },
|
|
1357
|
-
{ },
|
|
1358
|
-
{ },
|
|
1355
|
+
{ },
|
|
1356
|
+
{ },
|
|
1357
|
+
{ },
|
|
1358
|
+
{ },
|
|
1359
1359
|
body,
|
|
1360
1360
|
['PureCloud OAuth'],
|
|
1361
|
-
['application/json'],
|
|
1361
|
+
['application/json'],
|
|
1362
1362
|
['application/json']
|
|
1363
1363
|
);
|
|
1364
1364
|
}
|
|
@@ -1377,13 +1377,13 @@ class QualityApi {
|
|
|
1377
1377
|
return this.apiClient.callApi(
|
|
1378
1378
|
'/api/v2/quality/surveys/scoring',
|
|
1379
1379
|
'POST',
|
|
1380
|
-
{ },
|
|
1381
|
-
{ },
|
|
1382
|
-
{ },
|
|
1383
|
-
{ },
|
|
1380
|
+
{ },
|
|
1381
|
+
{ },
|
|
1382
|
+
{ },
|
|
1383
|
+
{ },
|
|
1384
1384
|
body,
|
|
1385
1385
|
['PureCloud OAuth'],
|
|
1386
|
-
['application/json'],
|
|
1386
|
+
['application/json'],
|
|
1387
1387
|
['application/json']
|
|
1388
1388
|
);
|
|
1389
1389
|
}
|
|
@@ -1407,13 +1407,13 @@ class QualityApi {
|
|
|
1407
1407
|
return this.apiClient.callApi(
|
|
1408
1408
|
'/api/v2/quality/calibrations/{calibrationId}',
|
|
1409
1409
|
'PUT',
|
|
1410
|
-
{ 'calibrationId': calibrationId },
|
|
1411
|
-
{ },
|
|
1412
|
-
{ },
|
|
1413
|
-
{ },
|
|
1410
|
+
{ 'calibrationId': calibrationId },
|
|
1411
|
+
{ },
|
|
1412
|
+
{ },
|
|
1413
|
+
{ },
|
|
1414
1414
|
body,
|
|
1415
1415
|
['PureCloud OAuth'],
|
|
1416
|
-
['application/json'],
|
|
1416
|
+
['application/json'],
|
|
1417
1417
|
['application/json']
|
|
1418
1418
|
);
|
|
1419
1419
|
}
|
|
@@ -1446,13 +1446,13 @@ class QualityApi {
|
|
|
1446
1446
|
return this.apiClient.callApi(
|
|
1447
1447
|
'/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}',
|
|
1448
1448
|
'PUT',
|
|
1449
|
-
{ 'conversationId': conversationId,'evaluationId': evaluationId },
|
|
1450
|
-
{ 'expand': opts['expand'] },
|
|
1451
|
-
{ },
|
|
1452
|
-
{ },
|
|
1449
|
+
{ 'conversationId': conversationId,'evaluationId': evaluationId },
|
|
1450
|
+
{ 'expand': opts['expand'] },
|
|
1451
|
+
{ },
|
|
1452
|
+
{ },
|
|
1453
1453
|
body,
|
|
1454
1454
|
['PureCloud OAuth'],
|
|
1455
|
-
['application/json'],
|
|
1455
|
+
['application/json'],
|
|
1456
1456
|
['application/json']
|
|
1457
1457
|
);
|
|
1458
1458
|
}
|
|
@@ -1476,13 +1476,13 @@ class QualityApi {
|
|
|
1476
1476
|
return this.apiClient.callApi(
|
|
1477
1477
|
'/api/v2/quality/forms/{formId}',
|
|
1478
1478
|
'PUT',
|
|
1479
|
-
{ 'formId': formId },
|
|
1480
|
-
{ },
|
|
1481
|
-
{ },
|
|
1482
|
-
{ },
|
|
1479
|
+
{ 'formId': formId },
|
|
1480
|
+
{ },
|
|
1481
|
+
{ },
|
|
1482
|
+
{ },
|
|
1483
1483
|
body,
|
|
1484
1484
|
['PureCloud OAuth'],
|
|
1485
|
-
['application/json'],
|
|
1485
|
+
['application/json'],
|
|
1486
1486
|
['application/json']
|
|
1487
1487
|
);
|
|
1488
1488
|
}
|
|
@@ -1506,13 +1506,13 @@ class QualityApi {
|
|
|
1506
1506
|
return this.apiClient.callApi(
|
|
1507
1507
|
'/api/v2/quality/forms/evaluations/{formId}',
|
|
1508
1508
|
'PUT',
|
|
1509
|
-
{ 'formId': formId },
|
|
1510
|
-
{ },
|
|
1511
|
-
{ },
|
|
1512
|
-
{ },
|
|
1509
|
+
{ 'formId': formId },
|
|
1510
|
+
{ },
|
|
1511
|
+
{ },
|
|
1512
|
+
{ },
|
|
1513
1513
|
body,
|
|
1514
1514
|
['PureCloud OAuth'],
|
|
1515
|
-
['application/json'],
|
|
1515
|
+
['application/json'],
|
|
1516
1516
|
['application/json']
|
|
1517
1517
|
);
|
|
1518
1518
|
}
|
|
@@ -1536,13 +1536,13 @@ class QualityApi {
|
|
|
1536
1536
|
return this.apiClient.callApi(
|
|
1537
1537
|
'/api/v2/quality/forms/surveys/{formId}',
|
|
1538
1538
|
'PUT',
|
|
1539
|
-
{ 'formId': formId },
|
|
1540
|
-
{ },
|
|
1541
|
-
{ },
|
|
1542
|
-
{ },
|
|
1539
|
+
{ 'formId': formId },
|
|
1540
|
+
{ },
|
|
1541
|
+
{ },
|
|
1542
|
+
{ },
|
|
1543
1543
|
body,
|
|
1544
1544
|
['PureCloud OAuth'],
|
|
1545
|
-
['application/json'],
|
|
1545
|
+
['application/json'],
|
|
1546
1546
|
['application/json']
|
|
1547
1547
|
);
|
|
1548
1548
|
}
|
|
@@ -1550,29 +1550,29 @@ class QualityApi {
|
|
|
1550
1550
|
/**
|
|
1551
1551
|
* Update a survey as an end-customer, for the purposes of scoring it.
|
|
1552
1552
|
*
|
|
1553
|
-
* @param {Object} body survey
|
|
1554
1553
|
* @param {String} customerSurveyUrl customerSurveyUrl
|
|
1554
|
+
* @param {Object} body survey
|
|
1555
1555
|
*/
|
|
1556
|
-
putQualitySurveysScorable(
|
|
1557
|
-
// verify the required parameter 'body' is set
|
|
1558
|
-
if (body === undefined || body === null) {
|
|
1559
|
-
throw 'Missing the required parameter "body" when calling putQualitySurveysScorable';
|
|
1560
|
-
}
|
|
1556
|
+
putQualitySurveysScorable(customerSurveyUrl, body) {
|
|
1561
1557
|
// verify the required parameter 'customerSurveyUrl' is set
|
|
1562
1558
|
if (customerSurveyUrl === undefined || customerSurveyUrl === null) {
|
|
1563
1559
|
throw 'Missing the required parameter "customerSurveyUrl" when calling putQualitySurveysScorable';
|
|
1564
1560
|
}
|
|
1561
|
+
// verify the required parameter 'body' is set
|
|
1562
|
+
if (body === undefined || body === null) {
|
|
1563
|
+
throw 'Missing the required parameter "body" when calling putQualitySurveysScorable';
|
|
1564
|
+
}
|
|
1565
1565
|
|
|
1566
1566
|
return this.apiClient.callApi(
|
|
1567
1567
|
'/api/v2/quality/surveys/scorable',
|
|
1568
1568
|
'PUT',
|
|
1569
|
-
{ },
|
|
1570
|
-
{ 'customerSurveyUrl': customerSurveyUrl },
|
|
1571
|
-
{ },
|
|
1572
|
-
{ },
|
|
1569
|
+
{ },
|
|
1570
|
+
{ 'customerSurveyUrl': customerSurveyUrl },
|
|
1571
|
+
{ },
|
|
1572
|
+
{ },
|
|
1573
1573
|
body,
|
|
1574
1574
|
['PureCloud OAuth'],
|
|
1575
|
-
['application/json'],
|
|
1575
|
+
['application/json'],
|
|
1576
1576
|
['application/json']
|
|
1577
1577
|
);
|
|
1578
1578
|
}
|