purecloud-platform-client-v2 126.1.0 → 130.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 +305 -79
- package/dist/web-amd/purecloud-platform-client-v2.js +305 -79
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +305 -79
- package/dist/web-cjs/purecloud-platform-client-v2.js +305 -79
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +411 -215
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +5 -3
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +121 -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/IntegrationsApi.js +30 -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/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +14 -10
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +8 -4
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +21 -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/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +21 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +28 -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 +2 -2
- 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 +1 -1
|
@@ -6873,7 +6873,7 @@ class Configuration {
|
|
|
6873
6873
|
|
|
6874
6874
|
/**
|
|
6875
6875
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6876
|
-
* @version
|
|
6876
|
+
* @version 130.0.0
|
|
6877
6877
|
*/
|
|
6878
6878
|
class ApiClient {
|
|
6879
6879
|
/**
|
|
@@ -7813,7 +7813,7 @@ class ApiClient {
|
|
|
7813
7813
|
|
|
7814
7814
|
// set header parameters
|
|
7815
7815
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
7816
|
-
//request.set({ 'purecloud-sdk': '
|
|
7816
|
+
//request.set({ 'purecloud-sdk': '130.0.0' });
|
|
7817
7817
|
|
|
7818
7818
|
// set request timeout
|
|
7819
7819
|
request.timeout(that.timeout);
|
|
@@ -7913,7 +7913,7 @@ class AlertingApi {
|
|
|
7913
7913
|
/**
|
|
7914
7914
|
* Alerting service.
|
|
7915
7915
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7916
|
-
* @version
|
|
7916
|
+
* @version 130.0.0
|
|
7917
7917
|
*/
|
|
7918
7918
|
|
|
7919
7919
|
/**
|
|
@@ -8227,7 +8227,7 @@ class AnalyticsApi {
|
|
|
8227
8227
|
/**
|
|
8228
8228
|
* Analytics service.
|
|
8229
8229
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
8230
|
-
* @version
|
|
8230
|
+
* @version 130.0.0
|
|
8231
8231
|
*/
|
|
8232
8232
|
|
|
8233
8233
|
/**
|
|
@@ -9364,7 +9364,7 @@ class ArchitectApi {
|
|
|
9364
9364
|
/**
|
|
9365
9365
|
* Architect service.
|
|
9366
9366
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
9367
|
-
* @version
|
|
9367
|
+
* @version 130.0.0
|
|
9368
9368
|
*/
|
|
9369
9369
|
|
|
9370
9370
|
/**
|
|
@@ -12360,7 +12360,7 @@ class AuditApi {
|
|
|
12360
12360
|
/**
|
|
12361
12361
|
* Audit service.
|
|
12362
12362
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
12363
|
-
* @version
|
|
12363
|
+
* @version 130.0.0
|
|
12364
12364
|
*/
|
|
12365
12365
|
|
|
12366
12366
|
/**
|
|
@@ -12531,7 +12531,7 @@ class AuthorizationApi {
|
|
|
12531
12531
|
/**
|
|
12532
12532
|
* Authorization service.
|
|
12533
12533
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
12534
|
-
* @version
|
|
12534
|
+
* @version 130.0.0
|
|
12535
12535
|
*/
|
|
12536
12536
|
|
|
12537
12537
|
/**
|
|
@@ -13714,7 +13714,7 @@ class BillingApi {
|
|
|
13714
13714
|
/**
|
|
13715
13715
|
* Billing service.
|
|
13716
13716
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
13717
|
-
* @version
|
|
13717
|
+
* @version 130.0.0
|
|
13718
13718
|
*/
|
|
13719
13719
|
|
|
13720
13720
|
/**
|
|
@@ -13794,7 +13794,7 @@ class ChatApi {
|
|
|
13794
13794
|
/**
|
|
13795
13795
|
* Chat service.
|
|
13796
13796
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
13797
|
-
* @version
|
|
13797
|
+
* @version 130.0.0
|
|
13798
13798
|
*/
|
|
13799
13799
|
|
|
13800
13800
|
/**
|
|
@@ -13885,7 +13885,7 @@ class CoachingApi {
|
|
|
13885
13885
|
/**
|
|
13886
13886
|
* Coaching service.
|
|
13887
13887
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
13888
|
-
* @version
|
|
13888
|
+
* @version 130.0.0
|
|
13889
13889
|
*/
|
|
13890
13890
|
|
|
13891
13891
|
/**
|
|
@@ -14084,6 +14084,7 @@ class CoachingApi {
|
|
|
14084
14084
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
14085
14085
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
14086
14086
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
14087
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
14087
14088
|
*/
|
|
14088
14089
|
getCoachingAppointments(userIds, opts) {
|
|
14089
14090
|
opts = opts || {};
|
|
@@ -14097,7 +14098,7 @@ class CoachingApi {
|
|
|
14097
14098
|
'/api/v2/coaching/appointments',
|
|
14098
14099
|
'GET',
|
|
14099
14100
|
{ },
|
|
14100
|
-
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
14101
|
+
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
14101
14102
|
{ },
|
|
14102
14103
|
{ },
|
|
14103
14104
|
null,
|
|
@@ -14120,6 +14121,7 @@ class CoachingApi {
|
|
|
14120
14121
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
14121
14122
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
14122
14123
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
14124
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
14123
14125
|
*/
|
|
14124
14126
|
getCoachingAppointmentsMe(opts) {
|
|
14125
14127
|
opts = opts || {};
|
|
@@ -14129,7 +14131,7 @@ class CoachingApi {
|
|
|
14129
14131
|
'/api/v2/coaching/appointments/me',
|
|
14130
14132
|
'GET',
|
|
14131
14133
|
{ },
|
|
14132
|
-
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
14134
|
+
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
14133
14135
|
{ },
|
|
14134
14136
|
{ },
|
|
14135
14137
|
null,
|
|
@@ -14460,7 +14462,7 @@ class ContentManagementApi {
|
|
|
14460
14462
|
/**
|
|
14461
14463
|
* ContentManagement service.
|
|
14462
14464
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
14463
|
-
* @version
|
|
14465
|
+
* @version 130.0.0
|
|
14464
14466
|
*/
|
|
14465
14467
|
|
|
14466
14468
|
/**
|
|
@@ -15600,7 +15602,7 @@ class ConversationsApi {
|
|
|
15600
15602
|
/**
|
|
15601
15603
|
* Conversations service.
|
|
15602
15604
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
15603
|
-
* @version
|
|
15605
|
+
* @version 130.0.0
|
|
15604
15606
|
*/
|
|
15605
15607
|
|
|
15606
15608
|
/**
|
|
@@ -19989,7 +19991,7 @@ class DataExtensionsApi {
|
|
|
19989
19991
|
/**
|
|
19990
19992
|
* DataExtensions service.
|
|
19991
19993
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
19992
|
-
* @version
|
|
19994
|
+
* @version 130.0.0
|
|
19993
19995
|
*/
|
|
19994
19996
|
|
|
19995
19997
|
/**
|
|
@@ -20075,7 +20077,7 @@ class ExternalContactsApi {
|
|
|
20075
20077
|
/**
|
|
20076
20078
|
* ExternalContacts service.
|
|
20077
20079
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
20078
|
-
* @version
|
|
20080
|
+
* @version 130.0.0
|
|
20079
20081
|
*/
|
|
20080
20082
|
|
|
20081
20083
|
/**
|
|
@@ -21818,7 +21820,7 @@ class FaxApi {
|
|
|
21818
21820
|
/**
|
|
21819
21821
|
* Fax service.
|
|
21820
21822
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
21821
|
-
* @version
|
|
21823
|
+
* @version 130.0.0
|
|
21822
21824
|
*/
|
|
21823
21825
|
|
|
21824
21826
|
/**
|
|
@@ -21989,7 +21991,7 @@ class FlowsApi {
|
|
|
21989
21991
|
/**
|
|
21990
21992
|
* Flows service.
|
|
21991
21993
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
21992
|
-
* @version
|
|
21994
|
+
* @version 130.0.0
|
|
21993
21995
|
*/
|
|
21994
21996
|
|
|
21995
21997
|
/**
|
|
@@ -22060,7 +22062,7 @@ class GamificationApi {
|
|
|
22060
22062
|
/**
|
|
22061
22063
|
* Gamification service.
|
|
22062
22064
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
22063
|
-
* @version
|
|
22065
|
+
* @version 130.0.0
|
|
22064
22066
|
*/
|
|
22065
22067
|
|
|
22066
22068
|
/**
|
|
@@ -22328,6 +22330,31 @@ class GamificationApi {
|
|
|
22328
22330
|
);
|
|
22329
22331
|
}
|
|
22330
22332
|
|
|
22333
|
+
/**
|
|
22334
|
+
* Members of a given performance profile
|
|
22335
|
+
*
|
|
22336
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
22337
|
+
*/
|
|
22338
|
+
getGamificationProfileMembers(performanceProfileId) {
|
|
22339
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
22340
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
22341
|
+
throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
|
|
22342
|
+
}
|
|
22343
|
+
|
|
22344
|
+
return this.apiClient.callApi(
|
|
22345
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
22346
|
+
'GET',
|
|
22347
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
22348
|
+
{ },
|
|
22349
|
+
{ },
|
|
22350
|
+
{ },
|
|
22351
|
+
null,
|
|
22352
|
+
['PureCloud OAuth'],
|
|
22353
|
+
['application/json'],
|
|
22354
|
+
['application/json']
|
|
22355
|
+
);
|
|
22356
|
+
}
|
|
22357
|
+
|
|
22331
22358
|
/**
|
|
22332
22359
|
* Performance profile gamified metric by id
|
|
22333
22360
|
*
|
|
@@ -23182,6 +23209,101 @@ class GamificationApi {
|
|
|
23182
23209
|
);
|
|
23183
23210
|
}
|
|
23184
23211
|
|
|
23212
|
+
/**
|
|
23213
|
+
* Assign members to a given performance profile
|
|
23214
|
+
*
|
|
23215
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
23216
|
+
* @param {Object} body assignUsers
|
|
23217
|
+
*/
|
|
23218
|
+
postGamificationProfileMembers(performanceProfileId, body) {
|
|
23219
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
23220
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
23221
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
|
|
23222
|
+
}
|
|
23223
|
+
// verify the required parameter 'body' is set
|
|
23224
|
+
if (body === undefined || body === null) {
|
|
23225
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
|
|
23226
|
+
}
|
|
23227
|
+
|
|
23228
|
+
return this.apiClient.callApi(
|
|
23229
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
23230
|
+
'POST',
|
|
23231
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
23232
|
+
{ },
|
|
23233
|
+
{ },
|
|
23234
|
+
{ },
|
|
23235
|
+
body,
|
|
23236
|
+
['PureCloud OAuth'],
|
|
23237
|
+
['application/json'],
|
|
23238
|
+
['application/json']
|
|
23239
|
+
);
|
|
23240
|
+
}
|
|
23241
|
+
|
|
23242
|
+
/**
|
|
23243
|
+
* Validate member assignment
|
|
23244
|
+
*
|
|
23245
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
23246
|
+
* @param {Object} body memberAssignments
|
|
23247
|
+
*/
|
|
23248
|
+
postGamificationProfileMembersValidate(performanceProfileId, body) {
|
|
23249
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
23250
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
23251
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
|
|
23252
|
+
}
|
|
23253
|
+
// verify the required parameter 'body' is set
|
|
23254
|
+
if (body === undefined || body === null) {
|
|
23255
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
|
|
23256
|
+
}
|
|
23257
|
+
|
|
23258
|
+
return this.apiClient.callApi(
|
|
23259
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
|
|
23260
|
+
'POST',
|
|
23261
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
23262
|
+
{ },
|
|
23263
|
+
{ },
|
|
23264
|
+
{ },
|
|
23265
|
+
body,
|
|
23266
|
+
['PureCloud OAuth'],
|
|
23267
|
+
['application/json'],
|
|
23268
|
+
['application/json']
|
|
23269
|
+
);
|
|
23270
|
+
}
|
|
23271
|
+
|
|
23272
|
+
/**
|
|
23273
|
+
* Creates a linked metric
|
|
23274
|
+
*
|
|
23275
|
+
* @param {String} sourceProfileId Source Performance Profile Id
|
|
23276
|
+
* @param {String} sourceMetricId Source Metric Id
|
|
23277
|
+
* @param {Object} body linkedMetric
|
|
23278
|
+
*/
|
|
23279
|
+
postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
|
|
23280
|
+
// verify the required parameter 'sourceProfileId' is set
|
|
23281
|
+
if (sourceProfileId === undefined || sourceProfileId === null) {
|
|
23282
|
+
throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
|
|
23283
|
+
}
|
|
23284
|
+
// verify the required parameter 'sourceMetricId' is set
|
|
23285
|
+
if (sourceMetricId === undefined || sourceMetricId === null) {
|
|
23286
|
+
throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
|
|
23287
|
+
}
|
|
23288
|
+
// verify the required parameter 'body' is set
|
|
23289
|
+
if (body === undefined || body === null) {
|
|
23290
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
|
|
23291
|
+
}
|
|
23292
|
+
|
|
23293
|
+
return this.apiClient.callApi(
|
|
23294
|
+
'/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
|
|
23295
|
+
'POST',
|
|
23296
|
+
{ 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
|
|
23297
|
+
{ },
|
|
23298
|
+
{ },
|
|
23299
|
+
{ },
|
|
23300
|
+
body,
|
|
23301
|
+
['PureCloud OAuth'],
|
|
23302
|
+
['application/json'],
|
|
23303
|
+
['application/json']
|
|
23304
|
+
);
|
|
23305
|
+
}
|
|
23306
|
+
|
|
23185
23307
|
/**
|
|
23186
23308
|
* Creates a gamified metric with a given metric definition and metric objective under in a performance profile
|
|
23187
23309
|
*
|
|
@@ -23366,7 +23488,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
23366
23488
|
/**
|
|
23367
23489
|
* GeneralDataProtectionRegulation service.
|
|
23368
23490
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
23369
|
-
* @version
|
|
23491
|
+
* @version 130.0.0
|
|
23370
23492
|
*/
|
|
23371
23493
|
|
|
23372
23494
|
/**
|
|
@@ -23496,7 +23618,7 @@ class GeolocationApi {
|
|
|
23496
23618
|
/**
|
|
23497
23619
|
* Geolocation service.
|
|
23498
23620
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
23499
|
-
* @version
|
|
23621
|
+
* @version 130.0.0
|
|
23500
23622
|
*/
|
|
23501
23623
|
|
|
23502
23624
|
/**
|
|
@@ -23627,7 +23749,7 @@ class GreetingsApi {
|
|
|
23627
23749
|
/**
|
|
23628
23750
|
* Greetings service.
|
|
23629
23751
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
23630
|
-
* @version
|
|
23752
|
+
* @version 130.0.0
|
|
23631
23753
|
*/
|
|
23632
23754
|
|
|
23633
23755
|
/**
|
|
@@ -24082,7 +24204,7 @@ class GroupsApi {
|
|
|
24082
24204
|
/**
|
|
24083
24205
|
* Groups service.
|
|
24084
24206
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
24085
|
-
* @version
|
|
24207
|
+
* @version 130.0.0
|
|
24086
24208
|
*/
|
|
24087
24209
|
|
|
24088
24210
|
/**
|
|
@@ -24487,7 +24609,7 @@ class IdentityProviderApi {
|
|
|
24487
24609
|
/**
|
|
24488
24610
|
* IdentityProvider service.
|
|
24489
24611
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
24490
|
-
* @version
|
|
24612
|
+
* @version 130.0.0
|
|
24491
24613
|
*/
|
|
24492
24614
|
|
|
24493
24615
|
/**
|
|
@@ -25243,7 +25365,7 @@ class IntegrationsApi {
|
|
|
25243
25365
|
/**
|
|
25244
25366
|
* Integrations service.
|
|
25245
25367
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
25246
|
-
* @version
|
|
25368
|
+
* @version 130.0.0
|
|
25247
25369
|
*/
|
|
25248
25370
|
|
|
25249
25371
|
/**
|
|
@@ -25900,6 +26022,35 @@ class IntegrationsApi {
|
|
|
25900
26022
|
);
|
|
25901
26023
|
}
|
|
25902
26024
|
|
|
26025
|
+
/**
|
|
26026
|
+
* UC integration client application configuration.
|
|
26027
|
+
* This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
|
|
26028
|
+
* @param {Object} opts Optional parameters
|
|
26029
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
26030
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
26031
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
26032
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
26033
|
+
* @param {String} opts.nextPage next page token
|
|
26034
|
+
* @param {String} opts.previousPage Previous page token
|
|
26035
|
+
*/
|
|
26036
|
+
getIntegrationsClientappsUnifiedcommunications(opts) {
|
|
26037
|
+
opts = opts || {};
|
|
26038
|
+
|
|
26039
|
+
|
|
26040
|
+
return this.apiClient.callApi(
|
|
26041
|
+
'/api/v2/integrations/clientapps/unifiedcommunications',
|
|
26042
|
+
'GET',
|
|
26043
|
+
{ },
|
|
26044
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
26045
|
+
{ },
|
|
26046
|
+
{ },
|
|
26047
|
+
null,
|
|
26048
|
+
['PureCloud OAuth'],
|
|
26049
|
+
['application/json'],
|
|
26050
|
+
['application/json']
|
|
26051
|
+
);
|
|
26052
|
+
}
|
|
26053
|
+
|
|
25903
26054
|
/**
|
|
25904
26055
|
* Get a single credential with sensitive fields redacted
|
|
25905
26056
|
*
|
|
@@ -26889,7 +27040,7 @@ class JourneyApi {
|
|
|
26889
27040
|
/**
|
|
26890
27041
|
* Journey service.
|
|
26891
27042
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
26892
|
-
* @version
|
|
27043
|
+
* @version 130.0.0
|
|
26893
27044
|
*/
|
|
26894
27045
|
|
|
26895
27046
|
/**
|
|
@@ -27600,7 +27751,7 @@ class KnowledgeApi {
|
|
|
27600
27751
|
/**
|
|
27601
27752
|
* Knowledge service.
|
|
27602
27753
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
27603
|
-
* @version
|
|
27754
|
+
* @version 130.0.0
|
|
27604
27755
|
*/
|
|
27605
27756
|
|
|
27606
27757
|
/**
|
|
@@ -28500,7 +28651,7 @@ class LanguageUnderstandingApi {
|
|
|
28500
28651
|
/**
|
|
28501
28652
|
* LanguageUnderstanding service.
|
|
28502
28653
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
28503
|
-
* @version
|
|
28654
|
+
* @version 130.0.0
|
|
28504
28655
|
*/
|
|
28505
28656
|
|
|
28506
28657
|
/**
|
|
@@ -29404,7 +29555,7 @@ class LanguagesApi {
|
|
|
29404
29555
|
/**
|
|
29405
29556
|
* Languages service.
|
|
29406
29557
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
29407
|
-
* @version
|
|
29558
|
+
* @version 130.0.0
|
|
29408
29559
|
*/
|
|
29409
29560
|
|
|
29410
29561
|
/**
|
|
@@ -29672,7 +29823,7 @@ class LearningApi {
|
|
|
29672
29823
|
/**
|
|
29673
29824
|
* Learning service.
|
|
29674
29825
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
29675
|
-
* @version
|
|
29826
|
+
* @version 130.0.0
|
|
29676
29827
|
*/
|
|
29677
29828
|
|
|
29678
29829
|
/**
|
|
@@ -30263,7 +30414,7 @@ class LicenseApi {
|
|
|
30263
30414
|
/**
|
|
30264
30415
|
* License service.
|
|
30265
30416
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
30266
|
-
* @version
|
|
30417
|
+
* @version 130.0.0
|
|
30267
30418
|
*/
|
|
30268
30419
|
|
|
30269
30420
|
/**
|
|
@@ -30501,7 +30652,7 @@ class LocationsApi {
|
|
|
30501
30652
|
/**
|
|
30502
30653
|
* Locations service.
|
|
30503
30654
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
30504
|
-
* @version
|
|
30655
|
+
* @version 130.0.0
|
|
30505
30656
|
*/
|
|
30506
30657
|
|
|
30507
30658
|
/**
|
|
@@ -30737,7 +30888,7 @@ class MobileDevicesApi {
|
|
|
30737
30888
|
/**
|
|
30738
30889
|
* MobileDevices service.
|
|
30739
30890
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
30740
|
-
* @version
|
|
30891
|
+
* @version 130.0.0
|
|
30741
30892
|
*/
|
|
30742
30893
|
|
|
30743
30894
|
/**
|
|
@@ -30888,7 +31039,7 @@ class NotificationsApi {
|
|
|
30888
31039
|
/**
|
|
30889
31040
|
* Notifications service.
|
|
30890
31041
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
30891
|
-
* @version
|
|
31042
|
+
* @version 130.0.0
|
|
30892
31043
|
*/
|
|
30893
31044
|
|
|
30894
31045
|
/**
|
|
@@ -31113,7 +31264,7 @@ class OAuthApi {
|
|
|
31113
31264
|
/**
|
|
31114
31265
|
* OAuth service.
|
|
31115
31266
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
31116
|
-
* @version
|
|
31267
|
+
* @version 130.0.0
|
|
31117
31268
|
*/
|
|
31118
31269
|
|
|
31119
31270
|
/**
|
|
@@ -31471,7 +31622,7 @@ class ObjectsApi {
|
|
|
31471
31622
|
/**
|
|
31472
31623
|
* Objects service.
|
|
31473
31624
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
31474
|
-
* @version
|
|
31625
|
+
* @version 130.0.0
|
|
31475
31626
|
*/
|
|
31476
31627
|
|
|
31477
31628
|
/**
|
|
@@ -31742,7 +31893,7 @@ class OrganizationApi {
|
|
|
31742
31893
|
/**
|
|
31743
31894
|
* Organization service.
|
|
31744
31895
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
31745
|
-
* @version
|
|
31896
|
+
* @version 130.0.0
|
|
31746
31897
|
*/
|
|
31747
31898
|
|
|
31748
31899
|
/**
|
|
@@ -32145,7 +32296,7 @@ class OrganizationAuthorizationApi {
|
|
|
32145
32296
|
/**
|
|
32146
32297
|
* OrganizationAuthorization service.
|
|
32147
32298
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
32148
|
-
* @version
|
|
32299
|
+
* @version 130.0.0
|
|
32149
32300
|
*/
|
|
32150
32301
|
|
|
32151
32302
|
/**
|
|
@@ -33070,7 +33221,7 @@ class OutboundApi {
|
|
|
33070
33221
|
/**
|
|
33071
33222
|
* Outbound service.
|
|
33072
33223
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
33073
|
-
* @version
|
|
33224
|
+
* @version 130.0.0
|
|
33074
33225
|
*/
|
|
33075
33226
|
|
|
33076
33227
|
/**
|
|
@@ -36096,7 +36247,7 @@ class PresenceApi {
|
|
|
36096
36247
|
/**
|
|
36097
36248
|
* Presence service.
|
|
36098
36249
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
36099
|
-
* @version
|
|
36250
|
+
* @version 130.0.0
|
|
36100
36251
|
*/
|
|
36101
36252
|
|
|
36102
36253
|
/**
|
|
@@ -36468,7 +36619,7 @@ class QualityApi {
|
|
|
36468
36619
|
/**
|
|
36469
36620
|
* Quality service.
|
|
36470
36621
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36471
|
-
* @version
|
|
36622
|
+
* @version 130.0.0
|
|
36472
36623
|
*/
|
|
36473
36624
|
|
|
36474
36625
|
/**
|
|
@@ -37996,7 +38147,7 @@ class RecordingApi {
|
|
|
37996
38147
|
/**
|
|
37997
38148
|
* Recording service.
|
|
37998
38149
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37999
|
-
* @version
|
|
38150
|
+
* @version 130.0.0
|
|
38000
38151
|
*/
|
|
38001
38152
|
|
|
38002
38153
|
/**
|
|
@@ -38202,11 +38353,11 @@ class RecordingApi {
|
|
|
38202
38353
|
* @param {String} conversationId Conversation ID
|
|
38203
38354
|
* @param {String} recordingId Recording ID
|
|
38204
38355
|
* @param {Object} opts Optional parameters
|
|
38205
|
-
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
38206
|
-
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
|
|
38207
|
-
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
|
|
38208
|
-
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
|
|
38209
|
-
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
38356
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
|
|
38357
|
+
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
|
|
38358
|
+
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
|
|
38359
|
+
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
38360
|
+
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
38210
38361
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
38211
38362
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
38212
38363
|
*/
|
|
@@ -38302,7 +38453,7 @@ class RecordingApi {
|
|
|
38302
38453
|
}
|
|
38303
38454
|
|
|
38304
38455
|
/**
|
|
38305
|
-
* Get recording metadata for a conversation. Does not return playable media.
|
|
38456
|
+
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
|
|
38306
38457
|
*
|
|
38307
38458
|
* @param {String} conversationId Conversation ID
|
|
38308
38459
|
*/
|
|
@@ -38362,7 +38513,7 @@ class RecordingApi {
|
|
|
38362
38513
|
* @param {String} conversationId Conversation ID
|
|
38363
38514
|
* @param {Object} opts Optional parameters
|
|
38364
38515
|
* @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
|
|
38365
|
-
* @param {Object} opts.formatId The desired media format (default to WEBM)
|
|
38516
|
+
* @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
38366
38517
|
*/
|
|
38367
38518
|
getConversationRecordings(conversationId, opts) {
|
|
38368
38519
|
opts = opts || {};
|
|
@@ -38592,6 +38743,8 @@ class RecordingApi {
|
|
|
38592
38743
|
* @param {Object} opts Optional parameters
|
|
38593
38744
|
* @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
|
|
38594
38745
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
38746
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
38747
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
38595
38748
|
*/
|
|
38596
38749
|
getRecordingJobFailedrecordings(jobId, opts) {
|
|
38597
38750
|
opts = opts || {};
|
|
@@ -38605,7 +38758,7 @@ class RecordingApi {
|
|
|
38605
38758
|
'/api/v2/recording/jobs/{jobId}/failedrecordings',
|
|
38606
38759
|
'GET',
|
|
38607
38760
|
{ 'jobId': jobId },
|
|
38608
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
38761
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
38609
38762
|
{ },
|
|
38610
38763
|
{ },
|
|
38611
38764
|
null,
|
|
@@ -38625,6 +38778,8 @@ class RecordingApi {
|
|
|
38625
38778
|
* @param {Object} opts.state Filter by state
|
|
38626
38779
|
* @param {Boolean} opts.showOnlyMyJobs Show only my jobs
|
|
38627
38780
|
* @param {Object} opts.jobType Job Type (Can be left empty for both)
|
|
38781
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
38782
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
38628
38783
|
*/
|
|
38629
38784
|
getRecordingJobs(opts) {
|
|
38630
38785
|
opts = opts || {};
|
|
@@ -38634,7 +38789,7 @@ class RecordingApi {
|
|
|
38634
38789
|
'/api/v2/recording/jobs',
|
|
38635
38790
|
'GET',
|
|
38636
38791
|
{ },
|
|
38637
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'] },
|
|
38792
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
38638
38793
|
{ },
|
|
38639
38794
|
{ },
|
|
38640
38795
|
null,
|
|
@@ -39515,7 +39670,7 @@ class ResponseManagementApi {
|
|
|
39515
39670
|
/**
|
|
39516
39671
|
* ResponseManagement service.
|
|
39517
39672
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39518
|
-
* @version
|
|
39673
|
+
* @version 130.0.0
|
|
39519
39674
|
*/
|
|
39520
39675
|
|
|
39521
39676
|
/**
|
|
@@ -39840,7 +39995,7 @@ class RoutingApi {
|
|
|
39840
39995
|
/**
|
|
39841
39996
|
* Routing service.
|
|
39842
39997
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39843
|
-
* @version
|
|
39998
|
+
* @version 130.0.0
|
|
39844
39999
|
*/
|
|
39845
40000
|
|
|
39846
40001
|
/**
|
|
@@ -41278,10 +41433,14 @@ class RoutingApi {
|
|
|
41278
41433
|
*
|
|
41279
41434
|
* @param {Object} opts Optional parameters
|
|
41280
41435
|
* @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
|
|
41281
|
-
* @param {
|
|
41282
|
-
* @param {
|
|
41436
|
+
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
41437
|
+
* @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
|
|
41438
|
+
* @param {Array.<String>} opts.countryCode Filter on country code
|
|
41283
41439
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41284
41440
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
41441
|
+
* @param {Object} opts.sortBy Optional field to sort results
|
|
41442
|
+
* @param {Object} opts.sortOrder Sort order
|
|
41443
|
+
* @param {String} opts.language A language tag (which is sometimes referred to as a \"locale identifier\") to use to localize country field and sort operations (default to en-US)
|
|
41285
41444
|
*/
|
|
41286
41445
|
getRoutingSmsPhonenumbers(opts) {
|
|
41287
41446
|
opts = opts || {};
|
|
@@ -41291,7 +41450,7 @@ class RoutingApi {
|
|
|
41291
41450
|
'/api/v2/routing/sms/phonenumbers',
|
|
41292
41451
|
'GET',
|
|
41293
41452
|
{ },
|
|
41294
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
41453
|
+
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
|
|
41295
41454
|
{ },
|
|
41296
41455
|
{ },
|
|
41297
41456
|
null,
|
|
@@ -42759,7 +42918,7 @@ class SCIMApi {
|
|
|
42759
42918
|
/**
|
|
42760
42919
|
* SCIM service.
|
|
42761
42920
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
42762
|
-
* @version
|
|
42921
|
+
* @version 130.0.0
|
|
42763
42922
|
*/
|
|
42764
42923
|
|
|
42765
42924
|
/**
|
|
@@ -43636,7 +43795,7 @@ class ScriptsApi {
|
|
|
43636
43795
|
/**
|
|
43637
43796
|
* Scripts service.
|
|
43638
43797
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
43639
|
-
* @version
|
|
43798
|
+
* @version 130.0.0
|
|
43640
43799
|
*/
|
|
43641
43800
|
|
|
43642
43801
|
/**
|
|
@@ -43989,7 +44148,7 @@ class SearchApi {
|
|
|
43989
44148
|
/**
|
|
43990
44149
|
* Search service.
|
|
43991
44150
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
43992
|
-
* @version
|
|
44151
|
+
* @version 130.0.0
|
|
43993
44152
|
*/
|
|
43994
44153
|
|
|
43995
44154
|
/**
|
|
@@ -44524,7 +44683,7 @@ class SpeechTextAnalyticsApi {
|
|
|
44524
44683
|
/**
|
|
44525
44684
|
* SpeechTextAnalytics service.
|
|
44526
44685
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
44527
|
-
* @version
|
|
44686
|
+
* @version 130.0.0
|
|
44528
44687
|
*/
|
|
44529
44688
|
|
|
44530
44689
|
/**
|
|
@@ -44888,6 +45047,26 @@ class SpeechTextAnalyticsApi {
|
|
|
44888
45047
|
);
|
|
44889
45048
|
}
|
|
44890
45049
|
|
|
45050
|
+
/**
|
|
45051
|
+
* Get the list of Speech & Text Analytics sentiment supported dialects
|
|
45052
|
+
*
|
|
45053
|
+
*/
|
|
45054
|
+
getSpeechandtextanalyticsSentimentDialects() {
|
|
45055
|
+
|
|
45056
|
+
return this.apiClient.callApi(
|
|
45057
|
+
'/api/v2/speechandtextanalytics/sentiment/dialects',
|
|
45058
|
+
'GET',
|
|
45059
|
+
{ },
|
|
45060
|
+
{ },
|
|
45061
|
+
{ },
|
|
45062
|
+
{ },
|
|
45063
|
+
null,
|
|
45064
|
+
['PureCloud OAuth'],
|
|
45065
|
+
['application/json'],
|
|
45066
|
+
['application/json']
|
|
45067
|
+
);
|
|
45068
|
+
}
|
|
45069
|
+
|
|
44891
45070
|
/**
|
|
44892
45071
|
* Get the list of Speech & Text Analytics SentimentFeedback
|
|
44893
45072
|
*
|
|
@@ -45377,7 +45556,7 @@ class StationsApi {
|
|
|
45377
45556
|
/**
|
|
45378
45557
|
* Stations service.
|
|
45379
45558
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
45380
|
-
* @version
|
|
45559
|
+
* @version 130.0.0
|
|
45381
45560
|
*/
|
|
45382
45561
|
|
|
45383
45562
|
/**
|
|
@@ -45524,7 +45703,7 @@ class SuggestApi {
|
|
|
45524
45703
|
/**
|
|
45525
45704
|
* Suggest service.
|
|
45526
45705
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
45527
|
-
* @version
|
|
45706
|
+
* @version 130.0.0
|
|
45528
45707
|
*/
|
|
45529
45708
|
|
|
45530
45709
|
/**
|
|
@@ -45663,7 +45842,7 @@ class TelephonyApi {
|
|
|
45663
45842
|
/**
|
|
45664
45843
|
* Telephony service.
|
|
45665
45844
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
45666
|
-
* @version
|
|
45845
|
+
* @version 130.0.0
|
|
45667
45846
|
*/
|
|
45668
45847
|
|
|
45669
45848
|
/**
|
|
@@ -45771,7 +45950,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
45771
45950
|
/**
|
|
45772
45951
|
* TelephonyProvidersEdge service.
|
|
45773
45952
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
45774
|
-
* @version
|
|
45953
|
+
* @version 130.0.0
|
|
45775
45954
|
*/
|
|
45776
45955
|
|
|
45777
45956
|
/**
|
|
@@ -47109,6 +47288,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
47109
47288
|
);
|
|
47110
47289
|
}
|
|
47111
47290
|
|
|
47291
|
+
/**
|
|
47292
|
+
* List of edges more than 4 edge versions behind the latest software.
|
|
47293
|
+
*
|
|
47294
|
+
*/
|
|
47295
|
+
getTelephonyProvidersEdgesExpired() {
|
|
47296
|
+
|
|
47297
|
+
return this.apiClient.callApi(
|
|
47298
|
+
'/api/v2/telephony/providers/edges/expired',
|
|
47299
|
+
'GET',
|
|
47300
|
+
{ },
|
|
47301
|
+
{ },
|
|
47302
|
+
{ },
|
|
47303
|
+
{ },
|
|
47304
|
+
null,
|
|
47305
|
+
['PureCloud OAuth'],
|
|
47306
|
+
['application/json'],
|
|
47307
|
+
['application/json']
|
|
47308
|
+
);
|
|
47309
|
+
}
|
|
47310
|
+
|
|
47112
47311
|
/**
|
|
47113
47312
|
* Get an extension by ID.
|
|
47114
47313
|
*
|
|
@@ -49384,7 +49583,7 @@ class TextbotsApi {
|
|
|
49384
49583
|
/**
|
|
49385
49584
|
* Textbots service.
|
|
49386
49585
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
49387
|
-
* @version
|
|
49586
|
+
* @version 130.0.0
|
|
49388
49587
|
*/
|
|
49389
49588
|
|
|
49390
49589
|
/**
|
|
@@ -49399,6 +49598,33 @@ class TextbotsApi {
|
|
|
49399
49598
|
}
|
|
49400
49599
|
|
|
49401
49600
|
|
|
49601
|
+
/**
|
|
49602
|
+
* Find bots using the currently configured friendly name or ID.
|
|
49603
|
+
* The name does allow case-insensitive partial string matches or by IDs (up to 50), but not both at the same time. Optionally you can limit the scope of the search by providing one or more bot types. You can specify the maximum results to return, up to a limit of 100
|
|
49604
|
+
* @param {Object} opts Optional parameters
|
|
49605
|
+
* @param {Array.<String>} opts.botType Bot types
|
|
49606
|
+
* @param {String} opts.botName Bot name
|
|
49607
|
+
* @param {Array.<String>} opts.botId Bot IDs
|
|
49608
|
+
* @param {Number} opts.pageSize The maximum results to return (default to 25)
|
|
49609
|
+
*/
|
|
49610
|
+
getTextbotsBotsSearch(opts) {
|
|
49611
|
+
opts = opts || {};
|
|
49612
|
+
|
|
49613
|
+
|
|
49614
|
+
return this.apiClient.callApi(
|
|
49615
|
+
'/api/v2/textbots/bots/search',
|
|
49616
|
+
'GET',
|
|
49617
|
+
{ },
|
|
49618
|
+
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
49619
|
+
{ },
|
|
49620
|
+
{ },
|
|
49621
|
+
null,
|
|
49622
|
+
['PureCloud OAuth'],
|
|
49623
|
+
['application/json'],
|
|
49624
|
+
['application/json']
|
|
49625
|
+
);
|
|
49626
|
+
}
|
|
49627
|
+
|
|
49402
49628
|
/**
|
|
49403
49629
|
* Issue a bot flow turn event
|
|
49404
49630
|
* Send a turn event to an executing bot flow and produce the next action to take.
|
|
@@ -49485,7 +49711,7 @@ class TokensApi {
|
|
|
49485
49711
|
/**
|
|
49486
49712
|
* Tokens service.
|
|
49487
49713
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
49488
|
-
* @version
|
|
49714
|
+
* @version 130.0.0
|
|
49489
49715
|
*/
|
|
49490
49716
|
|
|
49491
49717
|
/**
|
|
@@ -49591,7 +49817,7 @@ class UploadsApi {
|
|
|
49591
49817
|
/**
|
|
49592
49818
|
* Uploads service.
|
|
49593
49819
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
49594
|
-
* @version
|
|
49820
|
+
* @version 130.0.0
|
|
49595
49821
|
*/
|
|
49596
49822
|
|
|
49597
49823
|
/**
|
|
@@ -49767,7 +49993,7 @@ class UsageApi {
|
|
|
49767
49993
|
/**
|
|
49768
49994
|
* Usage service.
|
|
49769
49995
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
49770
|
-
* @version
|
|
49996
|
+
* @version 130.0.0
|
|
49771
49997
|
*/
|
|
49772
49998
|
|
|
49773
49999
|
/**
|
|
@@ -49838,7 +50064,7 @@ class UserRecordingsApi {
|
|
|
49838
50064
|
/**
|
|
49839
50065
|
* UserRecordings service.
|
|
49840
50066
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
49841
|
-
* @version
|
|
50067
|
+
* @version 130.0.0
|
|
49842
50068
|
*/
|
|
49843
50069
|
|
|
49844
50070
|
/**
|
|
@@ -50022,7 +50248,7 @@ class UsersApi {
|
|
|
50022
50248
|
/**
|
|
50023
50249
|
* Users service.
|
|
50024
50250
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
50025
|
-
* @version
|
|
50251
|
+
* @version 130.0.0
|
|
50026
50252
|
*/
|
|
50027
50253
|
|
|
50028
50254
|
/**
|
|
@@ -52324,7 +52550,7 @@ class UtilitiesApi {
|
|
|
52324
52550
|
/**
|
|
52325
52551
|
* Utilities service.
|
|
52326
52552
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
52327
|
-
* @version
|
|
52553
|
+
* @version 130.0.0
|
|
52328
52554
|
*/
|
|
52329
52555
|
|
|
52330
52556
|
/**
|
|
@@ -52360,7 +52586,7 @@ class UtilitiesApi {
|
|
|
52360
52586
|
}
|
|
52361
52587
|
|
|
52362
52588
|
/**
|
|
52363
|
-
* Get public ip address ranges for
|
|
52589
|
+
* Get public ip address ranges for Genesys Cloud
|
|
52364
52590
|
*
|
|
52365
52591
|
*/
|
|
52366
52592
|
getIpranges() {
|
|
@@ -52435,7 +52661,7 @@ class VoicemailApi {
|
|
|
52435
52661
|
/**
|
|
52436
52662
|
* Voicemail service.
|
|
52437
52663
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
52438
|
-
* @version
|
|
52664
|
+
* @version 130.0.0
|
|
52439
52665
|
*/
|
|
52440
52666
|
|
|
52441
52667
|
/**
|
|
@@ -53102,7 +53328,7 @@ class WebChatApi {
|
|
|
53102
53328
|
/**
|
|
53103
53329
|
* WebChat service.
|
|
53104
53330
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
53105
|
-
* @version
|
|
53331
|
+
* @version 130.0.0
|
|
53106
53332
|
*/
|
|
53107
53333
|
|
|
53108
53334
|
/**
|
|
@@ -53646,7 +53872,7 @@ class WebDeploymentsApi {
|
|
|
53646
53872
|
/**
|
|
53647
53873
|
* WebDeployments service.
|
|
53648
53874
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
53649
|
-
* @version
|
|
53875
|
+
* @version 130.0.0
|
|
53650
53876
|
*/
|
|
53651
53877
|
|
|
53652
53878
|
/**
|
|
@@ -54001,7 +54227,7 @@ class WebMessagingApi {
|
|
|
54001
54227
|
/**
|
|
54002
54228
|
* WebMessaging service.
|
|
54003
54229
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
54004
|
-
* @version
|
|
54230
|
+
* @version 130.0.0
|
|
54005
54231
|
*/
|
|
54006
54232
|
|
|
54007
54233
|
/**
|
|
@@ -54047,7 +54273,7 @@ class WidgetsApi {
|
|
|
54047
54273
|
/**
|
|
54048
54274
|
* Widgets service.
|
|
54049
54275
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
54050
|
-
* @version
|
|
54276
|
+
* @version 130.0.0
|
|
54051
54277
|
*/
|
|
54052
54278
|
|
|
54053
54279
|
/**
|
|
@@ -54193,7 +54419,7 @@ class WorkforceManagementApi {
|
|
|
54193
54419
|
/**
|
|
54194
54420
|
* WorkforceManagement service.
|
|
54195
54421
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
54196
|
-
* @version
|
|
54422
|
+
* @version 130.0.0
|
|
54197
54423
|
*/
|
|
54198
54424
|
|
|
54199
54425
|
/**
|
|
@@ -58224,7 +58450,7 @@ class WorkforceManagementApi {
|
|
|
58224
58450
|
* </pre>
|
|
58225
58451
|
* </p>
|
|
58226
58452
|
* @module purecloud-platform-client-v2/index
|
|
58227
|
-
* @version
|
|
58453
|
+
* @version 130.0.0
|
|
58228
58454
|
*/
|
|
58229
58455
|
class platformClient {
|
|
58230
58456
|
constructor() {
|