purecloud-platform-client-v2 184.0.0 → 186.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 +68 -2
- package/dist/node/purecloud-platform-client-v2.js +1103 -156
- package/dist/web-amd/purecloud-platform-client-v2.js +1103 -156
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +349 -140
- package/dist/web-cjs/purecloud-platform-client-v2.js +354 -142
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +711 -161
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +334 -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 +3 -3
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -4
- 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 +58 -1
- 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 +1 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- 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 +247 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +5 -4
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +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 +222 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 186.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -460,6 +460,36 @@ class RoutingApi {
|
|
|
460
460
|
);
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
+
/**
|
|
464
|
+
* Delete a utilization label
|
|
465
|
+
*
|
|
466
|
+
* @param {String} labelId Utilization Label ID
|
|
467
|
+
* @param {Object} opts Optional parameters
|
|
468
|
+
* @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
|
|
469
|
+
* deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
470
|
+
*/
|
|
471
|
+
deleteRoutingUtilizationLabel(labelId, opts) {
|
|
472
|
+
opts = opts || {};
|
|
473
|
+
|
|
474
|
+
// verify the required parameter 'labelId' is set
|
|
475
|
+
if (labelId === undefined || labelId === null) {
|
|
476
|
+
throw 'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
return this.apiClient.callApi(
|
|
480
|
+
'/api/v2/routing/utilization/labels/{labelId}',
|
|
481
|
+
'DELETE',
|
|
482
|
+
{ 'labelId': labelId },
|
|
483
|
+
{ 'forceDelete': opts['forceDelete'] },
|
|
484
|
+
{ },
|
|
485
|
+
{ },
|
|
486
|
+
null,
|
|
487
|
+
['PureCloud OAuth'],
|
|
488
|
+
['application/json'],
|
|
489
|
+
['application/json']
|
|
490
|
+
);
|
|
491
|
+
}
|
|
492
|
+
|
|
463
493
|
/**
|
|
464
494
|
* Delete an utilization tag
|
|
465
495
|
*
|
|
@@ -1950,6 +1980,86 @@ class RoutingApi {
|
|
|
1950
1980
|
);
|
|
1951
1981
|
}
|
|
1952
1982
|
|
|
1983
|
+
/**
|
|
1984
|
+
* Get details about this utilization label
|
|
1985
|
+
*
|
|
1986
|
+
* @param {String} labelId Utilization Label ID
|
|
1987
|
+
* getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1988
|
+
*/
|
|
1989
|
+
getRoutingUtilizationLabel(labelId) {
|
|
1990
|
+
// verify the required parameter 'labelId' is set
|
|
1991
|
+
if (labelId === undefined || labelId === null) {
|
|
1992
|
+
throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
return this.apiClient.callApi(
|
|
1996
|
+
'/api/v2/routing/utilization/labels/{labelId}',
|
|
1997
|
+
'GET',
|
|
1998
|
+
{ 'labelId': labelId },
|
|
1999
|
+
{ },
|
|
2000
|
+
{ },
|
|
2001
|
+
{ },
|
|
2002
|
+
null,
|
|
2003
|
+
['PureCloud OAuth'],
|
|
2004
|
+
['application/json'],
|
|
2005
|
+
['application/json']
|
|
2006
|
+
);
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* Get list of agent ids associated with a utilization label
|
|
2011
|
+
*
|
|
2012
|
+
* @param {String} labelId Utilization Label ID
|
|
2013
|
+
* getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2014
|
+
*/
|
|
2015
|
+
getRoutingUtilizationLabelAgents(labelId) {
|
|
2016
|
+
// verify the required parameter 'labelId' is set
|
|
2017
|
+
if (labelId === undefined || labelId === null) {
|
|
2018
|
+
throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
return this.apiClient.callApi(
|
|
2022
|
+
'/api/v2/routing/utilization/labels/{labelId}/agents',
|
|
2023
|
+
'GET',
|
|
2024
|
+
{ 'labelId': labelId },
|
|
2025
|
+
{ },
|
|
2026
|
+
{ },
|
|
2027
|
+
{ },
|
|
2028
|
+
null,
|
|
2029
|
+
['PureCloud OAuth'],
|
|
2030
|
+
['application/json'],
|
|
2031
|
+
['application/json']
|
|
2032
|
+
);
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* Get list of utilization labels
|
|
2037
|
+
*
|
|
2038
|
+
* @param {Object} opts Optional parameters
|
|
2039
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2040
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2041
|
+
* @param {Object} opts.sortOrder Sort order by name (default to ascending)
|
|
2042
|
+
* @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
|
|
2043
|
+
* getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2044
|
+
*/
|
|
2045
|
+
getRoutingUtilizationLabels(opts) {
|
|
2046
|
+
opts = opts || {};
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
return this.apiClient.callApi(
|
|
2050
|
+
'/api/v2/routing/utilization/labels',
|
|
2051
|
+
'GET',
|
|
2052
|
+
{ },
|
|
2053
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
2054
|
+
{ },
|
|
2055
|
+
{ },
|
|
2056
|
+
null,
|
|
2057
|
+
['PureCloud OAuth'],
|
|
2058
|
+
['application/json'],
|
|
2059
|
+
['application/json']
|
|
2060
|
+
);
|
|
2061
|
+
}
|
|
2062
|
+
|
|
1953
2063
|
/**
|
|
1954
2064
|
* Get details about this utilization tag
|
|
1955
2065
|
*
|
|
@@ -2085,6 +2195,60 @@ class RoutingApi {
|
|
|
2085
2195
|
);
|
|
2086
2196
|
}
|
|
2087
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
|
+
|
|
2088
2252
|
/**
|
|
2089
2253
|
* Get queues for user
|
|
2090
2254
|
*
|
|
@@ -2486,6 +2650,31 @@ class RoutingApi {
|
|
|
2486
2650
|
);
|
|
2487
2651
|
}
|
|
2488
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
|
+
|
|
2489
2678
|
/**
|
|
2490
2679
|
* Update skill group definition
|
|
2491
2680
|
*
|
|
@@ -3224,7 +3413,6 @@ class RoutingApi {
|
|
|
3224
3413
|
* Imports a phone number for SMS
|
|
3225
3414
|
*
|
|
3226
3415
|
* @param {Object} body SmsPhoneNumber
|
|
3227
|
-
* postRoutingSmsPhonenumbersImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3228
3416
|
*/
|
|
3229
3417
|
postRoutingSmsPhonenumbersImport(body) {
|
|
3230
3418
|
// verify the required parameter 'body' is set
|
|
@@ -3246,6 +3434,32 @@ class RoutingApi {
|
|
|
3246
3434
|
);
|
|
3247
3435
|
}
|
|
3248
3436
|
|
|
3437
|
+
/**
|
|
3438
|
+
* Create a utilization label
|
|
3439
|
+
*
|
|
3440
|
+
* @param {Object} body UtilizationLabel
|
|
3441
|
+
* postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3442
|
+
*/
|
|
3443
|
+
postRoutingUtilizationLabels(body) {
|
|
3444
|
+
// verify the required parameter 'body' is set
|
|
3445
|
+
if (body === undefined || body === null) {
|
|
3446
|
+
throw 'Missing the required parameter "body" when calling postRoutingUtilizationLabels';
|
|
3447
|
+
}
|
|
3448
|
+
|
|
3449
|
+
return this.apiClient.callApi(
|
|
3450
|
+
'/api/v2/routing/utilization/labels',
|
|
3451
|
+
'POST',
|
|
3452
|
+
{ },
|
|
3453
|
+
{ },
|
|
3454
|
+
{ },
|
|
3455
|
+
{ },
|
|
3456
|
+
body,
|
|
3457
|
+
['PureCloud OAuth'],
|
|
3458
|
+
['application/json'],
|
|
3459
|
+
['application/json']
|
|
3460
|
+
);
|
|
3461
|
+
}
|
|
3462
|
+
|
|
3249
3463
|
/**
|
|
3250
3464
|
* Create an utilization tag
|
|
3251
3465
|
*
|
|
@@ -3612,6 +3826,37 @@ class RoutingApi {
|
|
|
3612
3826
|
);
|
|
3613
3827
|
}
|
|
3614
3828
|
|
|
3829
|
+
/**
|
|
3830
|
+
* Update a utilization label
|
|
3831
|
+
*
|
|
3832
|
+
* @param {String} labelId Utilization Label ID
|
|
3833
|
+
* @param {Object} body UtilizationLabel
|
|
3834
|
+
* putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3835
|
+
*/
|
|
3836
|
+
putRoutingUtilizationLabel(labelId, body) {
|
|
3837
|
+
// verify the required parameter 'labelId' is set
|
|
3838
|
+
if (labelId === undefined || labelId === null) {
|
|
3839
|
+
throw 'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';
|
|
3840
|
+
}
|
|
3841
|
+
// verify the required parameter 'body' is set
|
|
3842
|
+
if (body === undefined || body === null) {
|
|
3843
|
+
throw 'Missing the required parameter "body" when calling putRoutingUtilizationLabel';
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
return this.apiClient.callApi(
|
|
3847
|
+
'/api/v2/routing/utilization/labels/{labelId}',
|
|
3848
|
+
'PUT',
|
|
3849
|
+
{ 'labelId': labelId },
|
|
3850
|
+
{ },
|
|
3851
|
+
{ },
|
|
3852
|
+
{ },
|
|
3853
|
+
body,
|
|
3854
|
+
['PureCloud OAuth'],
|
|
3855
|
+
['application/json'],
|
|
3856
|
+
['application/json']
|
|
3857
|
+
);
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3615
3860
|
/**
|
|
3616
3861
|
* Update wrap-up code
|
|
3617
3862
|
*
|
|
@@ -5,7 +5,7 @@ class TelephonyApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Telephony service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 186.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -44,7 +44,6 @@ class TelephonyApi {
|
|
|
44
44
|
* Get a SIP message.
|
|
45
45
|
* Get the raw form of the SIP message
|
|
46
46
|
* @param {String} conversationId Conversation id
|
|
47
|
-
* getTelephonySipmessagesConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
48
47
|
*/
|
|
49
48
|
getTelephonySipmessagesConversation(conversationId) {
|
|
50
49
|
// verify the required parameter 'conversationId' is set
|
|
@@ -72,7 +71,6 @@ class TelephonyApi {
|
|
|
72
71
|
* @param {String} conversationId Conversation id
|
|
73
72
|
* @param {Object} opts Optional parameters
|
|
74
73
|
* @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
|
|
75
|
-
* getTelephonySipmessagesConversationHeaders is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
76
74
|
*/
|
|
77
75
|
getTelephonySipmessagesConversationHeaders(conversationId, opts) {
|
|
78
76
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 186.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -773,8 +773,9 @@ class TelephonyProvidersEdgeApi {
|
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
/**
|
|
776
|
-
* Get the list of available languages.
|
|
776
|
+
* Get the list of available languages. For never released keyword spotting feature. Deprecated, do not use.
|
|
777
777
|
*
|
|
778
|
+
* @deprecated
|
|
778
779
|
*/
|
|
779
780
|
getTelephonyProvidersEdgesAvailablelanguages() {
|
|
780
781
|
|
|
@@ -1193,7 +1194,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
1193
1194
|
* @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
|
|
1194
1195
|
* @param {String} opts.name Name of the Extension Pools to filter by.
|
|
1195
1196
|
* @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
|
|
1196
|
-
* getTelephonyProvidersEdgesExtensionpoolsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1197
1197
|
*/
|
|
1198
1198
|
getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts) {
|
|
1199
1199
|
opts = opts || {};
|
|
@@ -1965,6 +1965,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1965
1965
|
* @param {String} opts.name Name
|
|
1966
1966
|
* @param {String} opts.locationId Location Id
|
|
1967
1967
|
* @param {Boolean} opts.managed Filter by managed
|
|
1968
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
1968
1969
|
*/
|
|
1969
1970
|
getTelephonyProvidersEdgesSites(opts) {
|
|
1970
1971
|
opts = opts || {};
|
|
@@ -1974,7 +1975,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1974
1975
|
'/api/v2/telephony/providers/edges/sites',
|
|
1975
1976
|
'GET',
|
|
1976
1977
|
{ },
|
|
1977
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'] },
|
|
1978
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
1978
1979
|
{ },
|
|
1979
1980
|
{ },
|
|
1980
1981
|
null,
|