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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2263,7 +2263,7 @@ class Configuration {
|
|
|
2263
2263
|
|
|
2264
2264
|
/**
|
|
2265
2265
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2266
|
-
* @version
|
|
2266
|
+
* @version 130.0.0
|
|
2267
2267
|
*/
|
|
2268
2268
|
class ApiClient {
|
|
2269
2269
|
/**
|
|
@@ -3203,7 +3203,7 @@ class ApiClient {
|
|
|
3203
3203
|
|
|
3204
3204
|
// set header parameters
|
|
3205
3205
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
3206
|
-
//request.set({ 'purecloud-sdk': '
|
|
3206
|
+
//request.set({ 'purecloud-sdk': '130.0.0' });
|
|
3207
3207
|
|
|
3208
3208
|
// set request timeout
|
|
3209
3209
|
request.timeout(that.timeout);
|
|
@@ -3303,7 +3303,7 @@ class AlertingApi {
|
|
|
3303
3303
|
/**
|
|
3304
3304
|
* Alerting service.
|
|
3305
3305
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3306
|
-
* @version
|
|
3306
|
+
* @version 130.0.0
|
|
3307
3307
|
*/
|
|
3308
3308
|
|
|
3309
3309
|
/**
|
|
@@ -3617,7 +3617,7 @@ class AnalyticsApi {
|
|
|
3617
3617
|
/**
|
|
3618
3618
|
* Analytics service.
|
|
3619
3619
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3620
|
-
* @version
|
|
3620
|
+
* @version 130.0.0
|
|
3621
3621
|
*/
|
|
3622
3622
|
|
|
3623
3623
|
/**
|
|
@@ -4754,7 +4754,7 @@ class ArchitectApi {
|
|
|
4754
4754
|
/**
|
|
4755
4755
|
* Architect service.
|
|
4756
4756
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4757
|
-
* @version
|
|
4757
|
+
* @version 130.0.0
|
|
4758
4758
|
*/
|
|
4759
4759
|
|
|
4760
4760
|
/**
|
|
@@ -7750,7 +7750,7 @@ class AuditApi {
|
|
|
7750
7750
|
/**
|
|
7751
7751
|
* Audit service.
|
|
7752
7752
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7753
|
-
* @version
|
|
7753
|
+
* @version 130.0.0
|
|
7754
7754
|
*/
|
|
7755
7755
|
|
|
7756
7756
|
/**
|
|
@@ -7921,7 +7921,7 @@ class AuthorizationApi {
|
|
|
7921
7921
|
/**
|
|
7922
7922
|
* Authorization service.
|
|
7923
7923
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
7924
|
-
* @version
|
|
7924
|
+
* @version 130.0.0
|
|
7925
7925
|
*/
|
|
7926
7926
|
|
|
7927
7927
|
/**
|
|
@@ -9104,7 +9104,7 @@ class BillingApi {
|
|
|
9104
9104
|
/**
|
|
9105
9105
|
* Billing service.
|
|
9106
9106
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9107
|
-
* @version
|
|
9107
|
+
* @version 130.0.0
|
|
9108
9108
|
*/
|
|
9109
9109
|
|
|
9110
9110
|
/**
|
|
@@ -9184,7 +9184,7 @@ class ChatApi {
|
|
|
9184
9184
|
/**
|
|
9185
9185
|
* Chat service.
|
|
9186
9186
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9187
|
-
* @version
|
|
9187
|
+
* @version 130.0.0
|
|
9188
9188
|
*/
|
|
9189
9189
|
|
|
9190
9190
|
/**
|
|
@@ -9275,7 +9275,7 @@ class CoachingApi {
|
|
|
9275
9275
|
/**
|
|
9276
9276
|
* Coaching service.
|
|
9277
9277
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9278
|
-
* @version
|
|
9278
|
+
* @version 130.0.0
|
|
9279
9279
|
*/
|
|
9280
9280
|
|
|
9281
9281
|
/**
|
|
@@ -9474,6 +9474,7 @@ class CoachingApi {
|
|
|
9474
9474
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
9475
9475
|
* @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
|
|
9476
9476
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
9477
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
9477
9478
|
*/
|
|
9478
9479
|
getCoachingAppointments(userIds, opts) {
|
|
9479
9480
|
opts = opts || {};
|
|
@@ -9487,7 +9488,7 @@ class CoachingApi {
|
|
|
9487
9488
|
'/api/v2/coaching/appointments',
|
|
9488
9489
|
'GET',
|
|
9489
9490
|
{ },
|
|
9490
|
-
{ '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'] },
|
|
9491
|
+
{ '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'] },
|
|
9491
9492
|
{ },
|
|
9492
9493
|
{ },
|
|
9493
9494
|
null,
|
|
@@ -9510,6 +9511,7 @@ class CoachingApi {
|
|
|
9510
9511
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
9511
9512
|
* @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
|
|
9512
9513
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
9514
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
9513
9515
|
*/
|
|
9514
9516
|
getCoachingAppointmentsMe(opts) {
|
|
9515
9517
|
opts = opts || {};
|
|
@@ -9519,7 +9521,7 @@ class CoachingApi {
|
|
|
9519
9521
|
'/api/v2/coaching/appointments/me',
|
|
9520
9522
|
'GET',
|
|
9521
9523
|
{ },
|
|
9522
|
-
{ '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'] },
|
|
9524
|
+
{ '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'] },
|
|
9523
9525
|
{ },
|
|
9524
9526
|
{ },
|
|
9525
9527
|
null,
|
|
@@ -9850,7 +9852,7 @@ class ContentManagementApi {
|
|
|
9850
9852
|
/**
|
|
9851
9853
|
* ContentManagement service.
|
|
9852
9854
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9853
|
-
* @version
|
|
9855
|
+
* @version 130.0.0
|
|
9854
9856
|
*/
|
|
9855
9857
|
|
|
9856
9858
|
/**
|
|
@@ -10990,7 +10992,7 @@ class ConversationsApi {
|
|
|
10990
10992
|
/**
|
|
10991
10993
|
* Conversations service.
|
|
10992
10994
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10993
|
-
* @version
|
|
10995
|
+
* @version 130.0.0
|
|
10994
10996
|
*/
|
|
10995
10997
|
|
|
10996
10998
|
/**
|
|
@@ -15379,7 +15381,7 @@ class DataExtensionsApi {
|
|
|
15379
15381
|
/**
|
|
15380
15382
|
* DataExtensions service.
|
|
15381
15383
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15382
|
-
* @version
|
|
15384
|
+
* @version 130.0.0
|
|
15383
15385
|
*/
|
|
15384
15386
|
|
|
15385
15387
|
/**
|
|
@@ -15465,7 +15467,7 @@ class ExternalContactsApi {
|
|
|
15465
15467
|
/**
|
|
15466
15468
|
* ExternalContacts service.
|
|
15467
15469
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15468
|
-
* @version
|
|
15470
|
+
* @version 130.0.0
|
|
15469
15471
|
*/
|
|
15470
15472
|
|
|
15471
15473
|
/**
|
|
@@ -17208,7 +17210,7 @@ class FaxApi {
|
|
|
17208
17210
|
/**
|
|
17209
17211
|
* Fax service.
|
|
17210
17212
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17211
|
-
* @version
|
|
17213
|
+
* @version 130.0.0
|
|
17212
17214
|
*/
|
|
17213
17215
|
|
|
17214
17216
|
/**
|
|
@@ -17379,7 +17381,7 @@ class FlowsApi {
|
|
|
17379
17381
|
/**
|
|
17380
17382
|
* Flows service.
|
|
17381
17383
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17382
|
-
* @version
|
|
17384
|
+
* @version 130.0.0
|
|
17383
17385
|
*/
|
|
17384
17386
|
|
|
17385
17387
|
/**
|
|
@@ -17450,7 +17452,7 @@ class GamificationApi {
|
|
|
17450
17452
|
/**
|
|
17451
17453
|
* Gamification service.
|
|
17452
17454
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17453
|
-
* @version
|
|
17455
|
+
* @version 130.0.0
|
|
17454
17456
|
*/
|
|
17455
17457
|
|
|
17456
17458
|
/**
|
|
@@ -17718,6 +17720,31 @@ class GamificationApi {
|
|
|
17718
17720
|
);
|
|
17719
17721
|
}
|
|
17720
17722
|
|
|
17723
|
+
/**
|
|
17724
|
+
* Members of a given performance profile
|
|
17725
|
+
*
|
|
17726
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
17727
|
+
*/
|
|
17728
|
+
getGamificationProfileMembers(performanceProfileId) {
|
|
17729
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
17730
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
17731
|
+
throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
|
|
17732
|
+
}
|
|
17733
|
+
|
|
17734
|
+
return this.apiClient.callApi(
|
|
17735
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
17736
|
+
'GET',
|
|
17737
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
17738
|
+
{ },
|
|
17739
|
+
{ },
|
|
17740
|
+
{ },
|
|
17741
|
+
null,
|
|
17742
|
+
['PureCloud OAuth'],
|
|
17743
|
+
['application/json'],
|
|
17744
|
+
['application/json']
|
|
17745
|
+
);
|
|
17746
|
+
}
|
|
17747
|
+
|
|
17721
17748
|
/**
|
|
17722
17749
|
* Performance profile gamified metric by id
|
|
17723
17750
|
*
|
|
@@ -18572,6 +18599,101 @@ class GamificationApi {
|
|
|
18572
18599
|
);
|
|
18573
18600
|
}
|
|
18574
18601
|
|
|
18602
|
+
/**
|
|
18603
|
+
* Assign members to a given performance profile
|
|
18604
|
+
*
|
|
18605
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
18606
|
+
* @param {Object} body assignUsers
|
|
18607
|
+
*/
|
|
18608
|
+
postGamificationProfileMembers(performanceProfileId, body) {
|
|
18609
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
18610
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
18611
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
|
|
18612
|
+
}
|
|
18613
|
+
// verify the required parameter 'body' is set
|
|
18614
|
+
if (body === undefined || body === null) {
|
|
18615
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
|
|
18616
|
+
}
|
|
18617
|
+
|
|
18618
|
+
return this.apiClient.callApi(
|
|
18619
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
18620
|
+
'POST',
|
|
18621
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
18622
|
+
{ },
|
|
18623
|
+
{ },
|
|
18624
|
+
{ },
|
|
18625
|
+
body,
|
|
18626
|
+
['PureCloud OAuth'],
|
|
18627
|
+
['application/json'],
|
|
18628
|
+
['application/json']
|
|
18629
|
+
);
|
|
18630
|
+
}
|
|
18631
|
+
|
|
18632
|
+
/**
|
|
18633
|
+
* Validate member assignment
|
|
18634
|
+
*
|
|
18635
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
18636
|
+
* @param {Object} body memberAssignments
|
|
18637
|
+
*/
|
|
18638
|
+
postGamificationProfileMembersValidate(performanceProfileId, body) {
|
|
18639
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
18640
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
18641
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
|
|
18642
|
+
}
|
|
18643
|
+
// verify the required parameter 'body' is set
|
|
18644
|
+
if (body === undefined || body === null) {
|
|
18645
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
|
|
18646
|
+
}
|
|
18647
|
+
|
|
18648
|
+
return this.apiClient.callApi(
|
|
18649
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
|
|
18650
|
+
'POST',
|
|
18651
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
18652
|
+
{ },
|
|
18653
|
+
{ },
|
|
18654
|
+
{ },
|
|
18655
|
+
body,
|
|
18656
|
+
['PureCloud OAuth'],
|
|
18657
|
+
['application/json'],
|
|
18658
|
+
['application/json']
|
|
18659
|
+
);
|
|
18660
|
+
}
|
|
18661
|
+
|
|
18662
|
+
/**
|
|
18663
|
+
* Creates a linked metric
|
|
18664
|
+
*
|
|
18665
|
+
* @param {String} sourceProfileId Source Performance Profile Id
|
|
18666
|
+
* @param {String} sourceMetricId Source Metric Id
|
|
18667
|
+
* @param {Object} body linkedMetric
|
|
18668
|
+
*/
|
|
18669
|
+
postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
|
|
18670
|
+
// verify the required parameter 'sourceProfileId' is set
|
|
18671
|
+
if (sourceProfileId === undefined || sourceProfileId === null) {
|
|
18672
|
+
throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
|
|
18673
|
+
}
|
|
18674
|
+
// verify the required parameter 'sourceMetricId' is set
|
|
18675
|
+
if (sourceMetricId === undefined || sourceMetricId === null) {
|
|
18676
|
+
throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
|
|
18677
|
+
}
|
|
18678
|
+
// verify the required parameter 'body' is set
|
|
18679
|
+
if (body === undefined || body === null) {
|
|
18680
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
|
|
18681
|
+
}
|
|
18682
|
+
|
|
18683
|
+
return this.apiClient.callApi(
|
|
18684
|
+
'/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
|
|
18685
|
+
'POST',
|
|
18686
|
+
{ 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
|
|
18687
|
+
{ },
|
|
18688
|
+
{ },
|
|
18689
|
+
{ },
|
|
18690
|
+
body,
|
|
18691
|
+
['PureCloud OAuth'],
|
|
18692
|
+
['application/json'],
|
|
18693
|
+
['application/json']
|
|
18694
|
+
);
|
|
18695
|
+
}
|
|
18696
|
+
|
|
18575
18697
|
/**
|
|
18576
18698
|
* Creates a gamified metric with a given metric definition and metric objective under in a performance profile
|
|
18577
18699
|
*
|
|
@@ -18756,7 +18878,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
18756
18878
|
/**
|
|
18757
18879
|
* GeneralDataProtectionRegulation service.
|
|
18758
18880
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18759
|
-
* @version
|
|
18881
|
+
* @version 130.0.0
|
|
18760
18882
|
*/
|
|
18761
18883
|
|
|
18762
18884
|
/**
|
|
@@ -18886,7 +19008,7 @@ class GeolocationApi {
|
|
|
18886
19008
|
/**
|
|
18887
19009
|
* Geolocation service.
|
|
18888
19010
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18889
|
-
* @version
|
|
19011
|
+
* @version 130.0.0
|
|
18890
19012
|
*/
|
|
18891
19013
|
|
|
18892
19014
|
/**
|
|
@@ -19017,7 +19139,7 @@ class GreetingsApi {
|
|
|
19017
19139
|
/**
|
|
19018
19140
|
* Greetings service.
|
|
19019
19141
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19020
|
-
* @version
|
|
19142
|
+
* @version 130.0.0
|
|
19021
19143
|
*/
|
|
19022
19144
|
|
|
19023
19145
|
/**
|
|
@@ -19472,7 +19594,7 @@ class GroupsApi {
|
|
|
19472
19594
|
/**
|
|
19473
19595
|
* Groups service.
|
|
19474
19596
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19475
|
-
* @version
|
|
19597
|
+
* @version 130.0.0
|
|
19476
19598
|
*/
|
|
19477
19599
|
|
|
19478
19600
|
/**
|
|
@@ -19877,7 +19999,7 @@ class IdentityProviderApi {
|
|
|
19877
19999
|
/**
|
|
19878
20000
|
* IdentityProvider service.
|
|
19879
20001
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19880
|
-
* @version
|
|
20002
|
+
* @version 130.0.0
|
|
19881
20003
|
*/
|
|
19882
20004
|
|
|
19883
20005
|
/**
|
|
@@ -20633,7 +20755,7 @@ class IntegrationsApi {
|
|
|
20633
20755
|
/**
|
|
20634
20756
|
* Integrations service.
|
|
20635
20757
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20636
|
-
* @version
|
|
20758
|
+
* @version 130.0.0
|
|
20637
20759
|
*/
|
|
20638
20760
|
|
|
20639
20761
|
/**
|
|
@@ -21290,6 +21412,35 @@ class IntegrationsApi {
|
|
|
21290
21412
|
);
|
|
21291
21413
|
}
|
|
21292
21414
|
|
|
21415
|
+
/**
|
|
21416
|
+
* UC integration client application configuration.
|
|
21417
|
+
* This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
|
|
21418
|
+
* @param {Object} opts Optional parameters
|
|
21419
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
21420
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
21421
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
21422
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
21423
|
+
* @param {String} opts.nextPage next page token
|
|
21424
|
+
* @param {String} opts.previousPage Previous page token
|
|
21425
|
+
*/
|
|
21426
|
+
getIntegrationsClientappsUnifiedcommunications(opts) {
|
|
21427
|
+
opts = opts || {};
|
|
21428
|
+
|
|
21429
|
+
|
|
21430
|
+
return this.apiClient.callApi(
|
|
21431
|
+
'/api/v2/integrations/clientapps/unifiedcommunications',
|
|
21432
|
+
'GET',
|
|
21433
|
+
{ },
|
|
21434
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
21435
|
+
{ },
|
|
21436
|
+
{ },
|
|
21437
|
+
null,
|
|
21438
|
+
['PureCloud OAuth'],
|
|
21439
|
+
['application/json'],
|
|
21440
|
+
['application/json']
|
|
21441
|
+
);
|
|
21442
|
+
}
|
|
21443
|
+
|
|
21293
21444
|
/**
|
|
21294
21445
|
* Get a single credential with sensitive fields redacted
|
|
21295
21446
|
*
|
|
@@ -22279,7 +22430,7 @@ class JourneyApi {
|
|
|
22279
22430
|
/**
|
|
22280
22431
|
* Journey service.
|
|
22281
22432
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22282
|
-
* @version
|
|
22433
|
+
* @version 130.0.0
|
|
22283
22434
|
*/
|
|
22284
22435
|
|
|
22285
22436
|
/**
|
|
@@ -22990,7 +23141,7 @@ class KnowledgeApi {
|
|
|
22990
23141
|
/**
|
|
22991
23142
|
* Knowledge service.
|
|
22992
23143
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22993
|
-
* @version
|
|
23144
|
+
* @version 130.0.0
|
|
22994
23145
|
*/
|
|
22995
23146
|
|
|
22996
23147
|
/**
|
|
@@ -23890,7 +24041,7 @@ class LanguageUnderstandingApi {
|
|
|
23890
24041
|
/**
|
|
23891
24042
|
* LanguageUnderstanding service.
|
|
23892
24043
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
23893
|
-
* @version
|
|
24044
|
+
* @version 130.0.0
|
|
23894
24045
|
*/
|
|
23895
24046
|
|
|
23896
24047
|
/**
|
|
@@ -24794,7 +24945,7 @@ class LanguagesApi {
|
|
|
24794
24945
|
/**
|
|
24795
24946
|
* Languages service.
|
|
24796
24947
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
24797
|
-
* @version
|
|
24948
|
+
* @version 130.0.0
|
|
24798
24949
|
*/
|
|
24799
24950
|
|
|
24800
24951
|
/**
|
|
@@ -25062,7 +25213,7 @@ class LearningApi {
|
|
|
25062
25213
|
/**
|
|
25063
25214
|
* Learning service.
|
|
25064
25215
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
25065
|
-
* @version
|
|
25216
|
+
* @version 130.0.0
|
|
25066
25217
|
*/
|
|
25067
25218
|
|
|
25068
25219
|
/**
|
|
@@ -25653,7 +25804,7 @@ class LicenseApi {
|
|
|
25653
25804
|
/**
|
|
25654
25805
|
* License service.
|
|
25655
25806
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
25656
|
-
* @version
|
|
25807
|
+
* @version 130.0.0
|
|
25657
25808
|
*/
|
|
25658
25809
|
|
|
25659
25810
|
/**
|
|
@@ -25891,7 +26042,7 @@ class LocationsApi {
|
|
|
25891
26042
|
/**
|
|
25892
26043
|
* Locations service.
|
|
25893
26044
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
25894
|
-
* @version
|
|
26045
|
+
* @version 130.0.0
|
|
25895
26046
|
*/
|
|
25896
26047
|
|
|
25897
26048
|
/**
|
|
@@ -26127,7 +26278,7 @@ class MobileDevicesApi {
|
|
|
26127
26278
|
/**
|
|
26128
26279
|
* MobileDevices service.
|
|
26129
26280
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
26130
|
-
* @version
|
|
26281
|
+
* @version 130.0.0
|
|
26131
26282
|
*/
|
|
26132
26283
|
|
|
26133
26284
|
/**
|
|
@@ -26278,7 +26429,7 @@ class NotificationsApi {
|
|
|
26278
26429
|
/**
|
|
26279
26430
|
* Notifications service.
|
|
26280
26431
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
26281
|
-
* @version
|
|
26432
|
+
* @version 130.0.0
|
|
26282
26433
|
*/
|
|
26283
26434
|
|
|
26284
26435
|
/**
|
|
@@ -26503,7 +26654,7 @@ class OAuthApi {
|
|
|
26503
26654
|
/**
|
|
26504
26655
|
* OAuth service.
|
|
26505
26656
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
26506
|
-
* @version
|
|
26657
|
+
* @version 130.0.0
|
|
26507
26658
|
*/
|
|
26508
26659
|
|
|
26509
26660
|
/**
|
|
@@ -26861,7 +27012,7 @@ class ObjectsApi {
|
|
|
26861
27012
|
/**
|
|
26862
27013
|
* Objects service.
|
|
26863
27014
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
26864
|
-
* @version
|
|
27015
|
+
* @version 130.0.0
|
|
26865
27016
|
*/
|
|
26866
27017
|
|
|
26867
27018
|
/**
|
|
@@ -27132,7 +27283,7 @@ class OrganizationApi {
|
|
|
27132
27283
|
/**
|
|
27133
27284
|
* Organization service.
|
|
27134
27285
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
27135
|
-
* @version
|
|
27286
|
+
* @version 130.0.0
|
|
27136
27287
|
*/
|
|
27137
27288
|
|
|
27138
27289
|
/**
|
|
@@ -27535,7 +27686,7 @@ class OrganizationAuthorizationApi {
|
|
|
27535
27686
|
/**
|
|
27536
27687
|
* OrganizationAuthorization service.
|
|
27537
27688
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
27538
|
-
* @version
|
|
27689
|
+
* @version 130.0.0
|
|
27539
27690
|
*/
|
|
27540
27691
|
|
|
27541
27692
|
/**
|
|
@@ -28460,7 +28611,7 @@ class OutboundApi {
|
|
|
28460
28611
|
/**
|
|
28461
28612
|
* Outbound service.
|
|
28462
28613
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
28463
|
-
* @version
|
|
28614
|
+
* @version 130.0.0
|
|
28464
28615
|
*/
|
|
28465
28616
|
|
|
28466
28617
|
/**
|
|
@@ -31486,7 +31637,7 @@ class PresenceApi {
|
|
|
31486
31637
|
/**
|
|
31487
31638
|
* Presence service.
|
|
31488
31639
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
31489
|
-
* @version
|
|
31640
|
+
* @version 130.0.0
|
|
31490
31641
|
*/
|
|
31491
31642
|
|
|
31492
31643
|
/**
|
|
@@ -31858,7 +32009,7 @@ class QualityApi {
|
|
|
31858
32009
|
/**
|
|
31859
32010
|
* Quality service.
|
|
31860
32011
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
31861
|
-
* @version
|
|
32012
|
+
* @version 130.0.0
|
|
31862
32013
|
*/
|
|
31863
32014
|
|
|
31864
32015
|
/**
|
|
@@ -33386,7 +33537,7 @@ class RecordingApi {
|
|
|
33386
33537
|
/**
|
|
33387
33538
|
* Recording service.
|
|
33388
33539
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
33389
|
-
* @version
|
|
33540
|
+
* @version 130.0.0
|
|
33390
33541
|
*/
|
|
33391
33542
|
|
|
33392
33543
|
/**
|
|
@@ -33592,11 +33743,11 @@ class RecordingApi {
|
|
|
33592
33743
|
* @param {String} conversationId Conversation ID
|
|
33593
33744
|
* @param {String} recordingId Recording ID
|
|
33594
33745
|
* @param {Object} opts Optional parameters
|
|
33595
|
-
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
33596
|
-
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
|
|
33597
|
-
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
|
|
33598
|
-
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
|
|
33599
|
-
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
33746
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
|
|
33747
|
+
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
|
|
33748
|
+
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
|
|
33749
|
+
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
33750
|
+
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
33600
33751
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
33601
33752
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
33602
33753
|
*/
|
|
@@ -33692,7 +33843,7 @@ class RecordingApi {
|
|
|
33692
33843
|
}
|
|
33693
33844
|
|
|
33694
33845
|
/**
|
|
33695
|
-
* Get recording metadata for a conversation. Does not return playable media.
|
|
33846
|
+
* 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.
|
|
33696
33847
|
*
|
|
33697
33848
|
* @param {String} conversationId Conversation ID
|
|
33698
33849
|
*/
|
|
@@ -33752,7 +33903,7 @@ class RecordingApi {
|
|
|
33752
33903
|
* @param {String} conversationId Conversation ID
|
|
33753
33904
|
* @param {Object} opts Optional parameters
|
|
33754
33905
|
* @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)
|
|
33755
|
-
* @param {Object} opts.formatId The desired media format (default to WEBM)
|
|
33906
|
+
* @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
33756
33907
|
*/
|
|
33757
33908
|
getConversationRecordings(conversationId, opts) {
|
|
33758
33909
|
opts = opts || {};
|
|
@@ -33982,6 +34133,8 @@ class RecordingApi {
|
|
|
33982
34133
|
* @param {Object} opts Optional parameters
|
|
33983
34134
|
* @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
|
|
33984
34135
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
34136
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
34137
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
33985
34138
|
*/
|
|
33986
34139
|
getRecordingJobFailedrecordings(jobId, opts) {
|
|
33987
34140
|
opts = opts || {};
|
|
@@ -33995,7 +34148,7 @@ class RecordingApi {
|
|
|
33995
34148
|
'/api/v2/recording/jobs/{jobId}/failedrecordings',
|
|
33996
34149
|
'GET',
|
|
33997
34150
|
{ 'jobId': jobId },
|
|
33998
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
34151
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
33999
34152
|
{ },
|
|
34000
34153
|
{ },
|
|
34001
34154
|
null,
|
|
@@ -34015,6 +34168,8 @@ class RecordingApi {
|
|
|
34015
34168
|
* @param {Object} opts.state Filter by state
|
|
34016
34169
|
* @param {Boolean} opts.showOnlyMyJobs Show only my jobs
|
|
34017
34170
|
* @param {Object} opts.jobType Job Type (Can be left empty for both)
|
|
34171
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
34172
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
34018
34173
|
*/
|
|
34019
34174
|
getRecordingJobs(opts) {
|
|
34020
34175
|
opts = opts || {};
|
|
@@ -34024,7 +34179,7 @@ class RecordingApi {
|
|
|
34024
34179
|
'/api/v2/recording/jobs',
|
|
34025
34180
|
'GET',
|
|
34026
34181
|
{ },
|
|
34027
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'] },
|
|
34182
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
34028
34183
|
{ },
|
|
34029
34184
|
{ },
|
|
34030
34185
|
null,
|
|
@@ -34905,7 +35060,7 @@ class ResponseManagementApi {
|
|
|
34905
35060
|
/**
|
|
34906
35061
|
* ResponseManagement service.
|
|
34907
35062
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
34908
|
-
* @version
|
|
35063
|
+
* @version 130.0.0
|
|
34909
35064
|
*/
|
|
34910
35065
|
|
|
34911
35066
|
/**
|
|
@@ -35230,7 +35385,7 @@ class RoutingApi {
|
|
|
35230
35385
|
/**
|
|
35231
35386
|
* Routing service.
|
|
35232
35387
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
35233
|
-
* @version
|
|
35388
|
+
* @version 130.0.0
|
|
35234
35389
|
*/
|
|
35235
35390
|
|
|
35236
35391
|
/**
|
|
@@ -36668,10 +36823,14 @@ class RoutingApi {
|
|
|
36668
36823
|
*
|
|
36669
36824
|
* @param {Object} opts Optional parameters
|
|
36670
36825
|
* @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.
|
|
36671
|
-
* @param {
|
|
36672
|
-
* @param {
|
|
36826
|
+
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
36827
|
+
* @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
|
|
36828
|
+
* @param {Array.<String>} opts.countryCode Filter on country code
|
|
36673
36829
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
36674
36830
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
36831
|
+
* @param {Object} opts.sortBy Optional field to sort results
|
|
36832
|
+
* @param {Object} opts.sortOrder Sort order
|
|
36833
|
+
* @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)
|
|
36675
36834
|
*/
|
|
36676
36835
|
getRoutingSmsPhonenumbers(opts) {
|
|
36677
36836
|
opts = opts || {};
|
|
@@ -36681,7 +36840,7 @@ class RoutingApi {
|
|
|
36681
36840
|
'/api/v2/routing/sms/phonenumbers',
|
|
36682
36841
|
'GET',
|
|
36683
36842
|
{ },
|
|
36684
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
36843
|
+
{ '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'] },
|
|
36685
36844
|
{ },
|
|
36686
36845
|
{ },
|
|
36687
36846
|
null,
|
|
@@ -38149,7 +38308,7 @@ class SCIMApi {
|
|
|
38149
38308
|
/**
|
|
38150
38309
|
* SCIM service.
|
|
38151
38310
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
38152
|
-
* @version
|
|
38311
|
+
* @version 130.0.0
|
|
38153
38312
|
*/
|
|
38154
38313
|
|
|
38155
38314
|
/**
|
|
@@ -39026,7 +39185,7 @@ class ScriptsApi {
|
|
|
39026
39185
|
/**
|
|
39027
39186
|
* Scripts service.
|
|
39028
39187
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
39029
|
-
* @version
|
|
39188
|
+
* @version 130.0.0
|
|
39030
39189
|
*/
|
|
39031
39190
|
|
|
39032
39191
|
/**
|
|
@@ -39379,7 +39538,7 @@ class SearchApi {
|
|
|
39379
39538
|
/**
|
|
39380
39539
|
* Search service.
|
|
39381
39540
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
39382
|
-
* @version
|
|
39541
|
+
* @version 130.0.0
|
|
39383
39542
|
*/
|
|
39384
39543
|
|
|
39385
39544
|
/**
|
|
@@ -39914,7 +40073,7 @@ class SpeechTextAnalyticsApi {
|
|
|
39914
40073
|
/**
|
|
39915
40074
|
* SpeechTextAnalytics service.
|
|
39916
40075
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
39917
|
-
* @version
|
|
40076
|
+
* @version 130.0.0
|
|
39918
40077
|
*/
|
|
39919
40078
|
|
|
39920
40079
|
/**
|
|
@@ -40278,6 +40437,26 @@ class SpeechTextAnalyticsApi {
|
|
|
40278
40437
|
);
|
|
40279
40438
|
}
|
|
40280
40439
|
|
|
40440
|
+
/**
|
|
40441
|
+
* Get the list of Speech & Text Analytics sentiment supported dialects
|
|
40442
|
+
*
|
|
40443
|
+
*/
|
|
40444
|
+
getSpeechandtextanalyticsSentimentDialects() {
|
|
40445
|
+
|
|
40446
|
+
return this.apiClient.callApi(
|
|
40447
|
+
'/api/v2/speechandtextanalytics/sentiment/dialects',
|
|
40448
|
+
'GET',
|
|
40449
|
+
{ },
|
|
40450
|
+
{ },
|
|
40451
|
+
{ },
|
|
40452
|
+
{ },
|
|
40453
|
+
null,
|
|
40454
|
+
['PureCloud OAuth'],
|
|
40455
|
+
['application/json'],
|
|
40456
|
+
['application/json']
|
|
40457
|
+
);
|
|
40458
|
+
}
|
|
40459
|
+
|
|
40281
40460
|
/**
|
|
40282
40461
|
* Get the list of Speech & Text Analytics SentimentFeedback
|
|
40283
40462
|
*
|
|
@@ -40767,7 +40946,7 @@ class StationsApi {
|
|
|
40767
40946
|
/**
|
|
40768
40947
|
* Stations service.
|
|
40769
40948
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
40770
|
-
* @version
|
|
40949
|
+
* @version 130.0.0
|
|
40771
40950
|
*/
|
|
40772
40951
|
|
|
40773
40952
|
/**
|
|
@@ -40914,7 +41093,7 @@ class SuggestApi {
|
|
|
40914
41093
|
/**
|
|
40915
41094
|
* Suggest service.
|
|
40916
41095
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
40917
|
-
* @version
|
|
41096
|
+
* @version 130.0.0
|
|
40918
41097
|
*/
|
|
40919
41098
|
|
|
40920
41099
|
/**
|
|
@@ -41053,7 +41232,7 @@ class TelephonyApi {
|
|
|
41053
41232
|
/**
|
|
41054
41233
|
* Telephony service.
|
|
41055
41234
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
41056
|
-
* @version
|
|
41235
|
+
* @version 130.0.0
|
|
41057
41236
|
*/
|
|
41058
41237
|
|
|
41059
41238
|
/**
|
|
@@ -41161,7 +41340,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
41161
41340
|
/**
|
|
41162
41341
|
* TelephonyProvidersEdge service.
|
|
41163
41342
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
41164
|
-
* @version
|
|
41343
|
+
* @version 130.0.0
|
|
41165
41344
|
*/
|
|
41166
41345
|
|
|
41167
41346
|
/**
|
|
@@ -42499,6 +42678,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
42499
42678
|
);
|
|
42500
42679
|
}
|
|
42501
42680
|
|
|
42681
|
+
/**
|
|
42682
|
+
* List of edges more than 4 edge versions behind the latest software.
|
|
42683
|
+
*
|
|
42684
|
+
*/
|
|
42685
|
+
getTelephonyProvidersEdgesExpired() {
|
|
42686
|
+
|
|
42687
|
+
return this.apiClient.callApi(
|
|
42688
|
+
'/api/v2/telephony/providers/edges/expired',
|
|
42689
|
+
'GET',
|
|
42690
|
+
{ },
|
|
42691
|
+
{ },
|
|
42692
|
+
{ },
|
|
42693
|
+
{ },
|
|
42694
|
+
null,
|
|
42695
|
+
['PureCloud OAuth'],
|
|
42696
|
+
['application/json'],
|
|
42697
|
+
['application/json']
|
|
42698
|
+
);
|
|
42699
|
+
}
|
|
42700
|
+
|
|
42502
42701
|
/**
|
|
42503
42702
|
* Get an extension by ID.
|
|
42504
42703
|
*
|
|
@@ -44774,7 +44973,7 @@ class TextbotsApi {
|
|
|
44774
44973
|
/**
|
|
44775
44974
|
* Textbots service.
|
|
44776
44975
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
44777
|
-
* @version
|
|
44976
|
+
* @version 130.0.0
|
|
44778
44977
|
*/
|
|
44779
44978
|
|
|
44780
44979
|
/**
|
|
@@ -44789,6 +44988,33 @@ class TextbotsApi {
|
|
|
44789
44988
|
}
|
|
44790
44989
|
|
|
44791
44990
|
|
|
44991
|
+
/**
|
|
44992
|
+
* Find bots using the currently configured friendly name or ID.
|
|
44993
|
+
* 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
|
|
44994
|
+
* @param {Object} opts Optional parameters
|
|
44995
|
+
* @param {Array.<String>} opts.botType Bot types
|
|
44996
|
+
* @param {String} opts.botName Bot name
|
|
44997
|
+
* @param {Array.<String>} opts.botId Bot IDs
|
|
44998
|
+
* @param {Number} opts.pageSize The maximum results to return (default to 25)
|
|
44999
|
+
*/
|
|
45000
|
+
getTextbotsBotsSearch(opts) {
|
|
45001
|
+
opts = opts || {};
|
|
45002
|
+
|
|
45003
|
+
|
|
45004
|
+
return this.apiClient.callApi(
|
|
45005
|
+
'/api/v2/textbots/bots/search',
|
|
45006
|
+
'GET',
|
|
45007
|
+
{ },
|
|
45008
|
+
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
45009
|
+
{ },
|
|
45010
|
+
{ },
|
|
45011
|
+
null,
|
|
45012
|
+
['PureCloud OAuth'],
|
|
45013
|
+
['application/json'],
|
|
45014
|
+
['application/json']
|
|
45015
|
+
);
|
|
45016
|
+
}
|
|
45017
|
+
|
|
44792
45018
|
/**
|
|
44793
45019
|
* Issue a bot flow turn event
|
|
44794
45020
|
* Send a turn event to an executing bot flow and produce the next action to take.
|
|
@@ -44875,7 +45101,7 @@ class TokensApi {
|
|
|
44875
45101
|
/**
|
|
44876
45102
|
* Tokens service.
|
|
44877
45103
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
44878
|
-
* @version
|
|
45104
|
+
* @version 130.0.0
|
|
44879
45105
|
*/
|
|
44880
45106
|
|
|
44881
45107
|
/**
|
|
@@ -44981,7 +45207,7 @@ class UploadsApi {
|
|
|
44981
45207
|
/**
|
|
44982
45208
|
* Uploads service.
|
|
44983
45209
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
44984
|
-
* @version
|
|
45210
|
+
* @version 130.0.0
|
|
44985
45211
|
*/
|
|
44986
45212
|
|
|
44987
45213
|
/**
|
|
@@ -45157,7 +45383,7 @@ class UsageApi {
|
|
|
45157
45383
|
/**
|
|
45158
45384
|
* Usage service.
|
|
45159
45385
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
45160
|
-
* @version
|
|
45386
|
+
* @version 130.0.0
|
|
45161
45387
|
*/
|
|
45162
45388
|
|
|
45163
45389
|
/**
|
|
@@ -45228,7 +45454,7 @@ class UserRecordingsApi {
|
|
|
45228
45454
|
/**
|
|
45229
45455
|
* UserRecordings service.
|
|
45230
45456
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
45231
|
-
* @version
|
|
45457
|
+
* @version 130.0.0
|
|
45232
45458
|
*/
|
|
45233
45459
|
|
|
45234
45460
|
/**
|
|
@@ -45412,7 +45638,7 @@ class UsersApi {
|
|
|
45412
45638
|
/**
|
|
45413
45639
|
* Users service.
|
|
45414
45640
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
45415
|
-
* @version
|
|
45641
|
+
* @version 130.0.0
|
|
45416
45642
|
*/
|
|
45417
45643
|
|
|
45418
45644
|
/**
|
|
@@ -47714,7 +47940,7 @@ class UtilitiesApi {
|
|
|
47714
47940
|
/**
|
|
47715
47941
|
* Utilities service.
|
|
47716
47942
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
47717
|
-
* @version
|
|
47943
|
+
* @version 130.0.0
|
|
47718
47944
|
*/
|
|
47719
47945
|
|
|
47720
47946
|
/**
|
|
@@ -47750,7 +47976,7 @@ class UtilitiesApi {
|
|
|
47750
47976
|
}
|
|
47751
47977
|
|
|
47752
47978
|
/**
|
|
47753
|
-
* Get public ip address ranges for
|
|
47979
|
+
* Get public ip address ranges for Genesys Cloud
|
|
47754
47980
|
*
|
|
47755
47981
|
*/
|
|
47756
47982
|
getIpranges() {
|
|
@@ -47825,7 +48051,7 @@ class VoicemailApi {
|
|
|
47825
48051
|
/**
|
|
47826
48052
|
* Voicemail service.
|
|
47827
48053
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
47828
|
-
* @version
|
|
48054
|
+
* @version 130.0.0
|
|
47829
48055
|
*/
|
|
47830
48056
|
|
|
47831
48057
|
/**
|
|
@@ -48492,7 +48718,7 @@ class WebChatApi {
|
|
|
48492
48718
|
/**
|
|
48493
48719
|
* WebChat service.
|
|
48494
48720
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
48495
|
-
* @version
|
|
48721
|
+
* @version 130.0.0
|
|
48496
48722
|
*/
|
|
48497
48723
|
|
|
48498
48724
|
/**
|
|
@@ -49036,7 +49262,7 @@ class WebDeploymentsApi {
|
|
|
49036
49262
|
/**
|
|
49037
49263
|
* WebDeployments service.
|
|
49038
49264
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
49039
|
-
* @version
|
|
49265
|
+
* @version 130.0.0
|
|
49040
49266
|
*/
|
|
49041
49267
|
|
|
49042
49268
|
/**
|
|
@@ -49391,7 +49617,7 @@ class WebMessagingApi {
|
|
|
49391
49617
|
/**
|
|
49392
49618
|
* WebMessaging service.
|
|
49393
49619
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
49394
|
-
* @version
|
|
49620
|
+
* @version 130.0.0
|
|
49395
49621
|
*/
|
|
49396
49622
|
|
|
49397
49623
|
/**
|
|
@@ -49437,7 +49663,7 @@ class WidgetsApi {
|
|
|
49437
49663
|
/**
|
|
49438
49664
|
* Widgets service.
|
|
49439
49665
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
49440
|
-
* @version
|
|
49666
|
+
* @version 130.0.0
|
|
49441
49667
|
*/
|
|
49442
49668
|
|
|
49443
49669
|
/**
|
|
@@ -49583,7 +49809,7 @@ class WorkforceManagementApi {
|
|
|
49583
49809
|
/**
|
|
49584
49810
|
* WorkforceManagement service.
|
|
49585
49811
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
49586
|
-
* @version
|
|
49812
|
+
* @version 130.0.0
|
|
49587
49813
|
*/
|
|
49588
49814
|
|
|
49589
49815
|
/**
|
|
@@ -53614,7 +53840,7 @@ class WorkforceManagementApi {
|
|
|
53614
53840
|
* </pre>
|
|
53615
53841
|
* </p>
|
|
53616
53842
|
* @module purecloud-platform-client-v2/index
|
|
53617
|
-
* @version
|
|
53843
|
+
* @version 130.0.0
|
|
53618
53844
|
*/
|
|
53619
53845
|
class platformClient {
|
|
53620
53846
|
constructor() {
|