purecloud-platform-client-v2 185.0.0 → 187.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 +1019 -245
- package/dist/web-amd/purecloud-platform-client-v2.js +1019 -245
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +357 -172
- package/dist/web-cjs/purecloud-platform-client-v2.js +362 -174
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +674 -222
- package/package.json +2 -2
- 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 +25 -7
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +2 -3
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +61 -22
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -62
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +38 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +7 -7
- 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 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +106 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +161 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +63 -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/LogCaptureApi.js +131 -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 +2 -3
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.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 +186 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +80 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +50 -0
- 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/SettingsApi.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/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -3
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -29
- 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 +32 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- 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 +1 -1
- 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
|
@@ -5,7 +5,7 @@ class ObjectsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Objects service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -89,7 +89,6 @@ class ObjectsApi {
|
|
|
89
89
|
* @param {String} opts.nextPage next page token
|
|
90
90
|
* @param {String} opts.previousPage Previous page token
|
|
91
91
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
92
|
-
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
93
92
|
* @param {String} opts.name Search term to filter by division name
|
|
94
93
|
*/
|
|
95
94
|
getAuthorizationDivisions(opts) {
|
|
@@ -100,7 +99,7 @@ class ObjectsApi {
|
|
|
100
99
|
'/api/v2/authorization/divisions',
|
|
101
100
|
'GET',
|
|
102
101
|
{ },
|
|
103
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'
|
|
102
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'name': opts['name'] },
|
|
104
103
|
{ },
|
|
105
104
|
{ },
|
|
106
105
|
null,
|
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -492,6 +492,56 @@ class OutboundApi {
|
|
|
492
492
|
);
|
|
493
493
|
}
|
|
494
494
|
|
|
495
|
+
/**
|
|
496
|
+
* Delete File Specification Template
|
|
497
|
+
*
|
|
498
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
499
|
+
*/
|
|
500
|
+
deleteOutboundFilespecificationtemplate(fileSpecificationTemplateId) {
|
|
501
|
+
// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
502
|
+
if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
|
|
503
|
+
throw 'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
return this.apiClient.callApi(
|
|
507
|
+
'/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
|
|
508
|
+
'DELETE',
|
|
509
|
+
{ 'fileSpecificationTemplateId': fileSpecificationTemplateId },
|
|
510
|
+
{ },
|
|
511
|
+
{ },
|
|
512
|
+
{ },
|
|
513
|
+
null,
|
|
514
|
+
['PureCloud OAuth'],
|
|
515
|
+
['application/json'],
|
|
516
|
+
['application/json']
|
|
517
|
+
);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Delete multiple file specification templates.
|
|
522
|
+
*
|
|
523
|
+
* @param {Array.<String>} id File Specification template id(s) to delete
|
|
524
|
+
*/
|
|
525
|
+
deleteOutboundFilespecificationtemplatesBulk(id) {
|
|
526
|
+
// verify the required parameter 'id' is set
|
|
527
|
+
if (id === undefined || id === null) {
|
|
528
|
+
throw 'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
return this.apiClient.callApi(
|
|
532
|
+
'/api/v2/outbound/filespecificationtemplates/bulk',
|
|
533
|
+
'DELETE',
|
|
534
|
+
{ },
|
|
535
|
+
{ 'id': this.apiClient.buildCollectionParam(id, 'multi') },
|
|
536
|
+
{ },
|
|
537
|
+
{ },
|
|
538
|
+
null,
|
|
539
|
+
['PureCloud OAuth'],
|
|
540
|
+
['application/json'],
|
|
541
|
+
['application/json']
|
|
542
|
+
);
|
|
543
|
+
}
|
|
544
|
+
|
|
495
545
|
/**
|
|
496
546
|
* Delete Import Template
|
|
497
547
|
*
|
|
@@ -1899,6 +1949,61 @@ class OutboundApi {
|
|
|
1899
1949
|
);
|
|
1900
1950
|
}
|
|
1901
1951
|
|
|
1952
|
+
/**
|
|
1953
|
+
* Get File Specification Template
|
|
1954
|
+
*
|
|
1955
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
1956
|
+
*/
|
|
1957
|
+
getOutboundFilespecificationtemplate(fileSpecificationTemplateId) {
|
|
1958
|
+
// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
1959
|
+
if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
|
|
1960
|
+
throw 'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
return this.apiClient.callApi(
|
|
1964
|
+
'/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
|
|
1965
|
+
'GET',
|
|
1966
|
+
{ 'fileSpecificationTemplateId': fileSpecificationTemplateId },
|
|
1967
|
+
{ },
|
|
1968
|
+
{ },
|
|
1969
|
+
{ },
|
|
1970
|
+
null,
|
|
1971
|
+
['PureCloud OAuth'],
|
|
1972
|
+
['application/json'],
|
|
1973
|
+
['application/json']
|
|
1974
|
+
);
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Query File Specification Templates
|
|
1979
|
+
*
|
|
1980
|
+
* @param {Object} opts Optional parameters
|
|
1981
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
1982
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1983
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
1984
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
1985
|
+
* @param {String} opts.name Name
|
|
1986
|
+
* @param {String} opts.sortBy Sort by
|
|
1987
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
1988
|
+
*/
|
|
1989
|
+
getOutboundFilespecificationtemplates(opts) {
|
|
1990
|
+
opts = opts || {};
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
return this.apiClient.callApi(
|
|
1994
|
+
'/api/v2/outbound/filespecificationtemplates',
|
|
1995
|
+
'GET',
|
|
1996
|
+
{ },
|
|
1997
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'allowEmptyResult': opts['allowEmptyResult'],'filterType': opts['filterType'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
1998
|
+
{ },
|
|
1999
|
+
{ },
|
|
2000
|
+
null,
|
|
2001
|
+
['PureCloud OAuth'],
|
|
2002
|
+
['application/json'],
|
|
2003
|
+
['application/json']
|
|
2004
|
+
);
|
|
2005
|
+
}
|
|
2006
|
+
|
|
1902
2007
|
/**
|
|
1903
2008
|
* Get Import Template
|
|
1904
2009
|
*
|
|
@@ -3072,6 +3177,31 @@ class OutboundApi {
|
|
|
3072
3177
|
);
|
|
3073
3178
|
}
|
|
3074
3179
|
|
|
3180
|
+
/**
|
|
3181
|
+
* Get multiple contact list templates
|
|
3182
|
+
*
|
|
3183
|
+
* @param {Object} body contact list templates to get
|
|
3184
|
+
*/
|
|
3185
|
+
postOutboundContactlisttemplatesBulkRetrieve(body) {
|
|
3186
|
+
// verify the required parameter 'body' is set
|
|
3187
|
+
if (body === undefined || body === null) {
|
|
3188
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
return this.apiClient.callApi(
|
|
3192
|
+
'/api/v2/outbound/contactlisttemplates/bulk/retrieve',
|
|
3193
|
+
'POST',
|
|
3194
|
+
{ },
|
|
3195
|
+
{ },
|
|
3196
|
+
{ },
|
|
3197
|
+
{ },
|
|
3198
|
+
body,
|
|
3199
|
+
['PureCloud OAuth'],
|
|
3200
|
+
['application/json'],
|
|
3201
|
+
['application/json']
|
|
3202
|
+
);
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3075
3205
|
/**
|
|
3076
3206
|
* Add phone numbers to a Dialer DNC list.
|
|
3077
3207
|
*
|
|
@@ -3236,6 +3366,31 @@ class OutboundApi {
|
|
|
3236
3366
|
);
|
|
3237
3367
|
}
|
|
3238
3368
|
|
|
3369
|
+
/**
|
|
3370
|
+
* Create File Specification Template
|
|
3371
|
+
*
|
|
3372
|
+
* @param {Object} body FileSpecificationTemplate
|
|
3373
|
+
*/
|
|
3374
|
+
postOutboundFilespecificationtemplates(body) {
|
|
3375
|
+
// verify the required parameter 'body' is set
|
|
3376
|
+
if (body === undefined || body === null) {
|
|
3377
|
+
throw 'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';
|
|
3378
|
+
}
|
|
3379
|
+
|
|
3380
|
+
return this.apiClient.callApi(
|
|
3381
|
+
'/api/v2/outbound/filespecificationtemplates',
|
|
3382
|
+
'POST',
|
|
3383
|
+
{ },
|
|
3384
|
+
{ },
|
|
3385
|
+
{ },
|
|
3386
|
+
{ },
|
|
3387
|
+
body,
|
|
3388
|
+
['PureCloud OAuth'],
|
|
3389
|
+
['application/json'],
|
|
3390
|
+
['application/json']
|
|
3391
|
+
);
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3239
3394
|
/**
|
|
3240
3395
|
* Create Import Template
|
|
3241
3396
|
*
|
|
@@ -3756,6 +3911,36 @@ class OutboundApi {
|
|
|
3756
3911
|
);
|
|
3757
3912
|
}
|
|
3758
3913
|
|
|
3914
|
+
/**
|
|
3915
|
+
* Update File Specification Template
|
|
3916
|
+
*
|
|
3917
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
3918
|
+
* @param {Object} body fileSpecificationTemplate
|
|
3919
|
+
*/
|
|
3920
|
+
putOutboundFilespecificationtemplate(fileSpecificationTemplateId, body) {
|
|
3921
|
+
// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
3922
|
+
if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
|
|
3923
|
+
throw 'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';
|
|
3924
|
+
}
|
|
3925
|
+
// verify the required parameter 'body' is set
|
|
3926
|
+
if (body === undefined || body === null) {
|
|
3927
|
+
throw 'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';
|
|
3928
|
+
}
|
|
3929
|
+
|
|
3930
|
+
return this.apiClient.callApi(
|
|
3931
|
+
'/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
|
|
3932
|
+
'PUT',
|
|
3933
|
+
{ 'fileSpecificationTemplateId': fileSpecificationTemplateId },
|
|
3934
|
+
{ },
|
|
3935
|
+
{ },
|
|
3936
|
+
{ },
|
|
3937
|
+
body,
|
|
3938
|
+
['PureCloud OAuth'],
|
|
3939
|
+
['application/json'],
|
|
3940
|
+
['application/json']
|
|
3941
|
+
);
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3759
3944
|
/**
|
|
3760
3945
|
* Update Import Template
|
|
3761
3946
|
*
|
|
@@ -5,7 +5,7 @@ class PresenceApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Presence service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -71,9 +71,10 @@ class PresenceApi {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Delete a Presence Definition
|
|
74
|
+
* Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
|
|
75
75
|
*
|
|
76
76
|
* @param {String} presenceId Organization Presence ID
|
|
77
|
+
* @deprecated
|
|
77
78
|
*/
|
|
78
79
|
deletePresencedefinition(presenceId) {
|
|
79
80
|
// verify the required parameter 'presenceId' is set
|
|
@@ -245,11 +246,12 @@ class PresenceApi {
|
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
/**
|
|
248
|
-
* Get a Presence Definition
|
|
249
|
+
* Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
|
|
249
250
|
*
|
|
250
251
|
* @param {String} presenceId Organization Presence ID
|
|
251
252
|
* @param {Object} opts Optional parameters
|
|
252
253
|
* @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
254
|
+
* @deprecated
|
|
253
255
|
*/
|
|
254
256
|
getPresencedefinition(presenceId, opts) {
|
|
255
257
|
opts = opts || {};
|
|
@@ -274,13 +276,14 @@ class PresenceApi {
|
|
|
274
276
|
}
|
|
275
277
|
|
|
276
278
|
/**
|
|
277
|
-
* Get an Organization's list of Presence Definitions
|
|
279
|
+
* Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
|
|
278
280
|
*
|
|
279
281
|
* @param {Object} opts Optional parameters
|
|
280
282
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
281
283
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
282
284
|
* @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
|
|
283
285
|
* @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
|
|
286
|
+
* @deprecated
|
|
284
287
|
*/
|
|
285
288
|
getPresencedefinitions(opts) {
|
|
286
289
|
opts = opts || {};
|
|
@@ -544,9 +547,10 @@ class PresenceApi {
|
|
|
544
547
|
}
|
|
545
548
|
|
|
546
549
|
/**
|
|
547
|
-
* Create a Presence Definition
|
|
550
|
+
* Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
|
|
548
551
|
*
|
|
549
552
|
* @param {Object} body The Presence Definition to create
|
|
553
|
+
* @deprecated
|
|
550
554
|
*/
|
|
551
555
|
postPresencedefinitions(body) {
|
|
552
556
|
// verify the required parameter 'body' is set
|
|
@@ -684,10 +688,11 @@ class PresenceApi {
|
|
|
684
688
|
}
|
|
685
689
|
|
|
686
690
|
/**
|
|
687
|
-
* Update a Presence Definition
|
|
691
|
+
* Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
|
|
688
692
|
*
|
|
689
693
|
* @param {String} presenceId Organization Presence ID
|
|
690
694
|
* @param {Object} body The OrganizationPresence to update
|
|
695
|
+
* @deprecated
|
|
691
696
|
*/
|
|
692
697
|
putPresencedefinition(presenceId, body) {
|
|
693
698
|
// verify the required parameter 'presenceId' is set
|
|
@@ -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 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1598,7 +1598,7 @@ class QualityApi {
|
|
|
1598
1598
|
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Update an evaluation
|
|
1601
|
-
* The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation.
|
|
1601
|
+
* The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation. authorizedActions is not returned for this PUT request, and is only returned for GET requests to this endpoint.
|
|
1602
1602
|
* @param {String} conversationId conversationId
|
|
1603
1603
|
* @param {String} evaluationId evaluationId
|
|
1604
1604
|
* @param {Object} body evaluation
|
|
@@ -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 187.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2195,6 +2195,60 @@ class RoutingApi {
|
|
|
2195
2195
|
);
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
2198
|
+
/**
|
|
2199
|
+
* Get a simplified wrap-up code.
|
|
2200
|
+
*
|
|
2201
|
+
* @param {String} codeId Wrapup Code ID
|
|
2202
|
+
*/
|
|
2203
|
+
getRoutingWrapupcodesDivisionview(codeId) {
|
|
2204
|
+
// verify the required parameter 'codeId' is set
|
|
2205
|
+
if (codeId === undefined || codeId === null) {
|
|
2206
|
+
throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
return this.apiClient.callApi(
|
|
2210
|
+
'/api/v2/routing/wrapupcodes/divisionviews/{codeId}',
|
|
2211
|
+
'GET',
|
|
2212
|
+
{ 'codeId': codeId },
|
|
2213
|
+
{ },
|
|
2214
|
+
{ },
|
|
2215
|
+
{ },
|
|
2216
|
+
null,
|
|
2217
|
+
['PureCloud OAuth'],
|
|
2218
|
+
['application/json'],
|
|
2219
|
+
['application/json']
|
|
2220
|
+
);
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* Get a paged listing of simplified wrapup code objects, filterable by name, wrapup code ID(s), or division ID(s).
|
|
2225
|
+
* Specifying both name and ID parameters is not supported.
|
|
2226
|
+
* @param {Object} opts Optional parameters
|
|
2227
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2228
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2229
|
+
* @param {String} opts.name Name (trailing asterisks allowed)
|
|
2230
|
+
* @param {Array.<String>} opts.id Wrapup code ID(s)
|
|
2231
|
+
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
2232
|
+
* @param {Object} opts.includeState Wrapup code state(s) to include
|
|
2233
|
+
*/
|
|
2234
|
+
getRoutingWrapupcodesDivisionviews(opts) {
|
|
2235
|
+
opts = opts || {};
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
return this.apiClient.callApi(
|
|
2239
|
+
'/api/v2/routing/wrapupcodes/divisionviews',
|
|
2240
|
+
'GET',
|
|
2241
|
+
{ },
|
|
2242
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'includeState': opts['includeState'] },
|
|
2243
|
+
{ },
|
|
2244
|
+
{ },
|
|
2245
|
+
null,
|
|
2246
|
+
['PureCloud OAuth'],
|
|
2247
|
+
['application/json'],
|
|
2248
|
+
['application/json']
|
|
2249
|
+
);
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2198
2252
|
/**
|
|
2199
2253
|
* Get queues for user
|
|
2200
2254
|
*
|
|
@@ -2596,6 +2650,31 @@ class RoutingApi {
|
|
|
2596
2650
|
);
|
|
2597
2651
|
}
|
|
2598
2652
|
|
|
2653
|
+
/**
|
|
2654
|
+
* Patch Transcription Settings
|
|
2655
|
+
*
|
|
2656
|
+
* @param {Object} body Organization Settings
|
|
2657
|
+
*/
|
|
2658
|
+
patchRoutingSettingsTranscription(body) {
|
|
2659
|
+
// verify the required parameter 'body' is set
|
|
2660
|
+
if (body === undefined || body === null) {
|
|
2661
|
+
throw 'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
return this.apiClient.callApi(
|
|
2665
|
+
'/api/v2/routing/settings/transcription',
|
|
2666
|
+
'PATCH',
|
|
2667
|
+
{ },
|
|
2668
|
+
{ },
|
|
2669
|
+
{ },
|
|
2670
|
+
{ },
|
|
2671
|
+
body,
|
|
2672
|
+
['PureCloud OAuth'],
|
|
2673
|
+
['application/json'],
|
|
2674
|
+
['application/json']
|
|
2675
|
+
);
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2599
2678
|
/**
|
|
2600
2679
|
* Update skill group definition
|
|
2601
2680
|
*
|
|
@@ -3334,7 +3413,6 @@ class RoutingApi {
|
|
|
3334
3413
|
* Imports a phone number for SMS
|
|
3335
3414
|
*
|
|
3336
3415
|
* @param {Object} body SmsPhoneNumber
|
|
3337
|
-
* postRoutingSmsPhonenumbersImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3338
3416
|
*/
|
|
3339
3417
|
postRoutingSmsPhonenumbersImport(body) {
|
|
3340
3418
|
// verify the required parameter 'body' is set
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import ApiClient from '../ApiClient.js';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ScreenRecordingApi {
|
|
5
|
+
/**
|
|
6
|
+
* ScreenRecording service.
|
|
7
|
+
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
8
|
+
* @version 187.0.0
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Constructs a new ScreenRecordingApi.
|
|
13
|
+
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
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
|
+
* Sign identifying information for screen recording
|
|
25
|
+
*
|
|
26
|
+
* @param {Object} opts Optional parameters
|
|
27
|
+
* @param {Object} opts.body
|
|
28
|
+
*/
|
|
29
|
+
postScreenrecordingToken(opts) {
|
|
30
|
+
opts = opts || {};
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
return this.apiClient.callApi(
|
|
34
|
+
'/api/v2/screenrecording/token',
|
|
35
|
+
'POST',
|
|
36
|
+
{ },
|
|
37
|
+
{ },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
opts['body'],
|
|
41
|
+
['PureCloud OAuth'],
|
|
42
|
+
['application/json'],
|
|
43
|
+
['application/json']
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
export default ScreenRecordingApi;
|