purecloud-platform-client-v2 186.0.1 → 188.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 +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.js +1047 -185
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +367 -151
- package/dist/web-cjs/purecloud-platform-client-v2.js +455 -196
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +899 -240
- 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 +26 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +27 -8
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
- 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 +4 -22
- 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 +40 -12
- 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 +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 -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 +136 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +263 -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 +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 +3 -2
- 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 +219 -4
- 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 +1 -1
- 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 +1 -1
- 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 +3 -2
- 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 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -27
- 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 +94 -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 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -89,6 +89,7 @@ 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
|
|
92
93
|
* @param {String} opts.name Search term to filter by division name
|
|
93
94
|
*/
|
|
94
95
|
getAuthorizationDivisions(opts) {
|
|
@@ -99,7 +100,7 @@ class ObjectsApi {
|
|
|
99
100
|
'/api/v2/authorization/divisions',
|
|
100
101
|
'GET',
|
|
101
102
|
{ },
|
|
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'] },
|
|
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'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
|
|
103
104
|
{ },
|
|
104
105
|
{ },
|
|
105
106
|
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 188.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,12 +1949,71 @@ 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
|
*
|
|
1905
2010
|
* @param {String} importTemplateId Import Template ID
|
|
2011
|
+
* @param {Object} opts Optional parameters
|
|
2012
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
1906
2013
|
*/
|
|
1907
|
-
getOutboundImporttemplate(importTemplateId) {
|
|
2014
|
+
getOutboundImporttemplate(importTemplateId, opts) {
|
|
2015
|
+
opts = opts || {};
|
|
2016
|
+
|
|
1908
2017
|
// verify the required parameter 'importTemplateId' is set
|
|
1909
2018
|
if (importTemplateId === undefined || importTemplateId === null) {
|
|
1910
2019
|
throw 'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';
|
|
@@ -1914,7 +2023,7 @@ class OutboundApi {
|
|
|
1914
2023
|
'/api/v2/outbound/importtemplates/{importTemplateId}',
|
|
1915
2024
|
'GET',
|
|
1916
2025
|
{ 'importTemplateId': importTemplateId },
|
|
1917
|
-
{
|
|
2026
|
+
{ 'includeImportStatus': opts['includeImportStatus'] },
|
|
1918
2027
|
{ },
|
|
1919
2028
|
{ },
|
|
1920
2029
|
null,
|
|
@@ -1957,6 +2066,7 @@ class OutboundApi {
|
|
|
1957
2066
|
* Query Import Templates
|
|
1958
2067
|
*
|
|
1959
2068
|
* @param {Object} opts Optional parameters
|
|
2069
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
1960
2070
|
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
1961
2071
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1962
2072
|
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
@@ -1974,7 +2084,7 @@ class OutboundApi {
|
|
|
1974
2084
|
'/api/v2/outbound/importtemplates',
|
|
1975
2085
|
'GET',
|
|
1976
2086
|
{ },
|
|
1977
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'allowEmptyResult': opts['allowEmptyResult'],'filterType': opts['filterType'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'contactListTemplateId': opts['contactListTemplateId'] },
|
|
2087
|
+
{ 'includeImportStatus': opts['includeImportStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'allowEmptyResult': opts['allowEmptyResult'],'filterType': opts['filterType'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'contactListTemplateId': opts['contactListTemplateId'] },
|
|
1978
2088
|
{ },
|
|
1979
2089
|
{ },
|
|
1980
2090
|
null,
|
|
@@ -2972,6 +3082,31 @@ class OutboundApi {
|
|
|
2972
3082
|
);
|
|
2973
3083
|
}
|
|
2974
3084
|
|
|
3085
|
+
/**
|
|
3086
|
+
* Retrieve multiple contact list filters
|
|
3087
|
+
*
|
|
3088
|
+
* @param {Object} body The contact list filters to retrieve
|
|
3089
|
+
*/
|
|
3090
|
+
postOutboundContactlistfiltersBulkRetrieve(body) {
|
|
3091
|
+
// verify the required parameter 'body' is set
|
|
3092
|
+
if (body === undefined || body === null) {
|
|
3093
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
return this.apiClient.callApi(
|
|
3097
|
+
'/api/v2/outbound/contactlistfilters/bulk/retrieve',
|
|
3098
|
+
'POST',
|
|
3099
|
+
{ },
|
|
3100
|
+
{ },
|
|
3101
|
+
{ },
|
|
3102
|
+
{ },
|
|
3103
|
+
body,
|
|
3104
|
+
['PureCloud OAuth'],
|
|
3105
|
+
['application/json'],
|
|
3106
|
+
['application/json']
|
|
3107
|
+
);
|
|
3108
|
+
}
|
|
3109
|
+
|
|
2975
3110
|
/**
|
|
2976
3111
|
* Get a preview of the output of a contact list filter
|
|
2977
3112
|
*
|
|
@@ -3072,6 +3207,31 @@ class OutboundApi {
|
|
|
3072
3207
|
);
|
|
3073
3208
|
}
|
|
3074
3209
|
|
|
3210
|
+
/**
|
|
3211
|
+
* Get multiple contact list templates
|
|
3212
|
+
*
|
|
3213
|
+
* @param {Object} body contact list templates to get
|
|
3214
|
+
*/
|
|
3215
|
+
postOutboundContactlisttemplatesBulkRetrieve(body) {
|
|
3216
|
+
// verify the required parameter 'body' is set
|
|
3217
|
+
if (body === undefined || body === null) {
|
|
3218
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
return this.apiClient.callApi(
|
|
3222
|
+
'/api/v2/outbound/contactlisttemplates/bulk/retrieve',
|
|
3223
|
+
'POST',
|
|
3224
|
+
{ },
|
|
3225
|
+
{ },
|
|
3226
|
+
{ },
|
|
3227
|
+
{ },
|
|
3228
|
+
body,
|
|
3229
|
+
['PureCloud OAuth'],
|
|
3230
|
+
['application/json'],
|
|
3231
|
+
['application/json']
|
|
3232
|
+
);
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3075
3235
|
/**
|
|
3076
3236
|
* Add phone numbers to a Dialer DNC list.
|
|
3077
3237
|
*
|
|
@@ -3236,6 +3396,31 @@ class OutboundApi {
|
|
|
3236
3396
|
);
|
|
3237
3397
|
}
|
|
3238
3398
|
|
|
3399
|
+
/**
|
|
3400
|
+
* Create File Specification Template
|
|
3401
|
+
*
|
|
3402
|
+
* @param {Object} body FileSpecificationTemplate
|
|
3403
|
+
*/
|
|
3404
|
+
postOutboundFilespecificationtemplates(body) {
|
|
3405
|
+
// verify the required parameter 'body' is set
|
|
3406
|
+
if (body === undefined || body === null) {
|
|
3407
|
+
throw 'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';
|
|
3408
|
+
}
|
|
3409
|
+
|
|
3410
|
+
return this.apiClient.callApi(
|
|
3411
|
+
'/api/v2/outbound/filespecificationtemplates',
|
|
3412
|
+
'POST',
|
|
3413
|
+
{ },
|
|
3414
|
+
{ },
|
|
3415
|
+
{ },
|
|
3416
|
+
{ },
|
|
3417
|
+
body,
|
|
3418
|
+
['PureCloud OAuth'],
|
|
3419
|
+
['application/json'],
|
|
3420
|
+
['application/json']
|
|
3421
|
+
);
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3239
3424
|
/**
|
|
3240
3425
|
* Create Import Template
|
|
3241
3426
|
*
|
|
@@ -3756,6 +3941,36 @@ class OutboundApi {
|
|
|
3756
3941
|
);
|
|
3757
3942
|
}
|
|
3758
3943
|
|
|
3944
|
+
/**
|
|
3945
|
+
* Update File Specification Template
|
|
3946
|
+
*
|
|
3947
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
3948
|
+
* @param {Object} body fileSpecificationTemplate
|
|
3949
|
+
*/
|
|
3950
|
+
putOutboundFilespecificationtemplate(fileSpecificationTemplateId, body) {
|
|
3951
|
+
// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
3952
|
+
if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
|
|
3953
|
+
throw 'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';
|
|
3954
|
+
}
|
|
3955
|
+
// verify the required parameter 'body' is set
|
|
3956
|
+
if (body === undefined || body === null) {
|
|
3957
|
+
throw 'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
return this.apiClient.callApi(
|
|
3961
|
+
'/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
|
|
3962
|
+
'PUT',
|
|
3963
|
+
{ 'fileSpecificationTemplateId': fileSpecificationTemplateId },
|
|
3964
|
+
{ },
|
|
3965
|
+
{ },
|
|
3966
|
+
{ },
|
|
3967
|
+
body,
|
|
3968
|
+
['PureCloud OAuth'],
|
|
3969
|
+
['application/json'],
|
|
3970
|
+
['application/json']
|
|
3971
|
+
);
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3759
3974
|
/**
|
|
3760
3975
|
* Update Import Template
|
|
3761
3976
|
*
|
|
@@ -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 188.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
|
|
@@ -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 188.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;
|
|
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SpeechTextAnalytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 188.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -599,6 +599,7 @@ class SpeechTextAnalyticsApi {
|
|
|
599
599
|
* @param {Object} opts.state Topic state. Defaults to latest
|
|
600
600
|
* @param {String} opts.name Case insensitive partial name to filter by
|
|
601
601
|
* @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
602
|
+
* @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
|
|
602
603
|
* @param {Object} opts.sortBy Sort results by. Defaults to name
|
|
603
604
|
* @param {Object} opts.sortOrder Sort order. Defaults to asc
|
|
604
605
|
*/
|
|
@@ -610,7 +611,7 @@ class SpeechTextAnalyticsApi {
|
|
|
610
611
|
'/api/v2/speechandtextanalytics/topics',
|
|
611
612
|
'GET',
|
|
612
613
|
{ },
|
|
613
|
-
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
614
|
+
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
614
615
|
{ },
|
|
615
616
|
{ },
|
|
616
617
|
null,
|