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
|
@@ -393,7 +393,7 @@ class Configuration {
|
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* @module purecloud-platform-client-v2/ApiClient
|
|
396
|
-
* @version
|
|
396
|
+
* @version 130.0.0
|
|
397
397
|
*/
|
|
398
398
|
class ApiClient {
|
|
399
399
|
/**
|
|
@@ -1340,7 +1340,7 @@ class ApiClient {
|
|
|
1340
1340
|
|
|
1341
1341
|
// set header parameters
|
|
1342
1342
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
1343
|
-
//request.set({ 'purecloud-sdk': '
|
|
1343
|
+
//request.set({ 'purecloud-sdk': '130.0.0' });
|
|
1344
1344
|
|
|
1345
1345
|
// set request timeout
|
|
1346
1346
|
request.timeout(that.timeout);
|
|
@@ -1440,7 +1440,7 @@ class AlertingApi {
|
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Alerting service.
|
|
1442
1442
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1443
|
-
* @version
|
|
1443
|
+
* @version 130.0.0
|
|
1444
1444
|
*/
|
|
1445
1445
|
|
|
1446
1446
|
/**
|
|
@@ -1754,7 +1754,7 @@ class AnalyticsApi {
|
|
|
1754
1754
|
/**
|
|
1755
1755
|
* Analytics service.
|
|
1756
1756
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1757
|
-
* @version
|
|
1757
|
+
* @version 130.0.0
|
|
1758
1758
|
*/
|
|
1759
1759
|
|
|
1760
1760
|
/**
|
|
@@ -2891,7 +2891,7 @@ class ArchitectApi {
|
|
|
2891
2891
|
/**
|
|
2892
2892
|
* Architect service.
|
|
2893
2893
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
2894
|
-
* @version
|
|
2894
|
+
* @version 130.0.0
|
|
2895
2895
|
*/
|
|
2896
2896
|
|
|
2897
2897
|
/**
|
|
@@ -5887,7 +5887,7 @@ class AuditApi {
|
|
|
5887
5887
|
/**
|
|
5888
5888
|
* Audit service.
|
|
5889
5889
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
5890
|
-
* @version
|
|
5890
|
+
* @version 130.0.0
|
|
5891
5891
|
*/
|
|
5892
5892
|
|
|
5893
5893
|
/**
|
|
@@ -6058,7 +6058,7 @@ class AuthorizationApi {
|
|
|
6058
6058
|
/**
|
|
6059
6059
|
* Authorization service.
|
|
6060
6060
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6061
|
-
* @version
|
|
6061
|
+
* @version 130.0.0
|
|
6062
6062
|
*/
|
|
6063
6063
|
|
|
6064
6064
|
/**
|
|
@@ -7241,7 +7241,7 @@ class BillingApi {
|
|
|
7241
7241
|
/**
|
|
7242
7242
|
* Billing service.
|
|
7243
7243
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7244
|
-
* @version
|
|
7244
|
+
* @version 130.0.0
|
|
7245
7245
|
*/
|
|
7246
7246
|
|
|
7247
7247
|
/**
|
|
@@ -7321,7 +7321,7 @@ class ChatApi {
|
|
|
7321
7321
|
/**
|
|
7322
7322
|
* Chat service.
|
|
7323
7323
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7324
|
-
* @version
|
|
7324
|
+
* @version 130.0.0
|
|
7325
7325
|
*/
|
|
7326
7326
|
|
|
7327
7327
|
/**
|
|
@@ -7412,7 +7412,7 @@ class CoachingApi {
|
|
|
7412
7412
|
/**
|
|
7413
7413
|
* Coaching service.
|
|
7414
7414
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7415
|
-
* @version
|
|
7415
|
+
* @version 130.0.0
|
|
7416
7416
|
*/
|
|
7417
7417
|
|
|
7418
7418
|
/**
|
|
@@ -7611,6 +7611,7 @@ class CoachingApi {
|
|
|
7611
7611
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
7612
7612
|
* @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
|
|
7613
7613
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
7614
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
7614
7615
|
*/
|
|
7615
7616
|
getCoachingAppointments(userIds, opts) {
|
|
7616
7617
|
opts = opts || {};
|
|
@@ -7624,7 +7625,7 @@ class CoachingApi {
|
|
|
7624
7625
|
'/api/v2/coaching/appointments',
|
|
7625
7626
|
'GET',
|
|
7626
7627
|
{ },
|
|
7627
|
-
{ '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'] },
|
|
7628
|
+
{ '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'] },
|
|
7628
7629
|
{ },
|
|
7629
7630
|
{ },
|
|
7630
7631
|
null,
|
|
@@ -7647,6 +7648,7 @@ class CoachingApi {
|
|
|
7647
7648
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
7648
7649
|
* @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
|
|
7649
7650
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
7651
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
7650
7652
|
*/
|
|
7651
7653
|
getCoachingAppointmentsMe(opts) {
|
|
7652
7654
|
opts = opts || {};
|
|
@@ -7656,7 +7658,7 @@ class CoachingApi {
|
|
|
7656
7658
|
'/api/v2/coaching/appointments/me',
|
|
7657
7659
|
'GET',
|
|
7658
7660
|
{ },
|
|
7659
|
-
{ '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'] },
|
|
7661
|
+
{ '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'] },
|
|
7660
7662
|
{ },
|
|
7661
7663
|
{ },
|
|
7662
7664
|
null,
|
|
@@ -7987,7 +7989,7 @@ class ContentManagementApi {
|
|
|
7987
7989
|
/**
|
|
7988
7990
|
* ContentManagement service.
|
|
7989
7991
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
7990
|
-
* @version
|
|
7992
|
+
* @version 130.0.0
|
|
7991
7993
|
*/
|
|
7992
7994
|
|
|
7993
7995
|
/**
|
|
@@ -9127,7 +9129,7 @@ class ConversationsApi {
|
|
|
9127
9129
|
/**
|
|
9128
9130
|
* Conversations service.
|
|
9129
9131
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9130
|
-
* @version
|
|
9132
|
+
* @version 130.0.0
|
|
9131
9133
|
*/
|
|
9132
9134
|
|
|
9133
9135
|
/**
|
|
@@ -13516,7 +13518,7 @@ class DataExtensionsApi {
|
|
|
13516
13518
|
/**
|
|
13517
13519
|
* DataExtensions service.
|
|
13518
13520
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13519
|
-
* @version
|
|
13521
|
+
* @version 130.0.0
|
|
13520
13522
|
*/
|
|
13521
13523
|
|
|
13522
13524
|
/**
|
|
@@ -13602,7 +13604,7 @@ class ExternalContactsApi {
|
|
|
13602
13604
|
/**
|
|
13603
13605
|
* ExternalContacts service.
|
|
13604
13606
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13605
|
-
* @version
|
|
13607
|
+
* @version 130.0.0
|
|
13606
13608
|
*/
|
|
13607
13609
|
|
|
13608
13610
|
/**
|
|
@@ -15345,7 +15347,7 @@ class FaxApi {
|
|
|
15345
15347
|
/**
|
|
15346
15348
|
* Fax service.
|
|
15347
15349
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
15348
|
-
* @version
|
|
15350
|
+
* @version 130.0.0
|
|
15349
15351
|
*/
|
|
15350
15352
|
|
|
15351
15353
|
/**
|
|
@@ -15516,7 +15518,7 @@ class FlowsApi {
|
|
|
15516
15518
|
/**
|
|
15517
15519
|
* Flows service.
|
|
15518
15520
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
15519
|
-
* @version
|
|
15521
|
+
* @version 130.0.0
|
|
15520
15522
|
*/
|
|
15521
15523
|
|
|
15522
15524
|
/**
|
|
@@ -15587,7 +15589,7 @@ class GamificationApi {
|
|
|
15587
15589
|
/**
|
|
15588
15590
|
* Gamification service.
|
|
15589
15591
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
15590
|
-
* @version
|
|
15592
|
+
* @version 130.0.0
|
|
15591
15593
|
*/
|
|
15592
15594
|
|
|
15593
15595
|
/**
|
|
@@ -15855,6 +15857,31 @@ class GamificationApi {
|
|
|
15855
15857
|
);
|
|
15856
15858
|
}
|
|
15857
15859
|
|
|
15860
|
+
/**
|
|
15861
|
+
* Members of a given performance profile
|
|
15862
|
+
*
|
|
15863
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
15864
|
+
*/
|
|
15865
|
+
getGamificationProfileMembers(performanceProfileId) {
|
|
15866
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
15867
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
15868
|
+
throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
|
|
15869
|
+
}
|
|
15870
|
+
|
|
15871
|
+
return this.apiClient.callApi(
|
|
15872
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
15873
|
+
'GET',
|
|
15874
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
15875
|
+
{ },
|
|
15876
|
+
{ },
|
|
15877
|
+
{ },
|
|
15878
|
+
null,
|
|
15879
|
+
['PureCloud OAuth'],
|
|
15880
|
+
['application/json'],
|
|
15881
|
+
['application/json']
|
|
15882
|
+
);
|
|
15883
|
+
}
|
|
15884
|
+
|
|
15858
15885
|
/**
|
|
15859
15886
|
* Performance profile gamified metric by id
|
|
15860
15887
|
*
|
|
@@ -16709,6 +16736,101 @@ class GamificationApi {
|
|
|
16709
16736
|
);
|
|
16710
16737
|
}
|
|
16711
16738
|
|
|
16739
|
+
/**
|
|
16740
|
+
* Assign members to a given performance profile
|
|
16741
|
+
*
|
|
16742
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
16743
|
+
* @param {Object} body assignUsers
|
|
16744
|
+
*/
|
|
16745
|
+
postGamificationProfileMembers(performanceProfileId, body) {
|
|
16746
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
16747
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
16748
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
|
|
16749
|
+
}
|
|
16750
|
+
// verify the required parameter 'body' is set
|
|
16751
|
+
if (body === undefined || body === null) {
|
|
16752
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
|
|
16753
|
+
}
|
|
16754
|
+
|
|
16755
|
+
return this.apiClient.callApi(
|
|
16756
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
16757
|
+
'POST',
|
|
16758
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
16759
|
+
{ },
|
|
16760
|
+
{ },
|
|
16761
|
+
{ },
|
|
16762
|
+
body,
|
|
16763
|
+
['PureCloud OAuth'],
|
|
16764
|
+
['application/json'],
|
|
16765
|
+
['application/json']
|
|
16766
|
+
);
|
|
16767
|
+
}
|
|
16768
|
+
|
|
16769
|
+
/**
|
|
16770
|
+
* Validate member assignment
|
|
16771
|
+
*
|
|
16772
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
16773
|
+
* @param {Object} body memberAssignments
|
|
16774
|
+
*/
|
|
16775
|
+
postGamificationProfileMembersValidate(performanceProfileId, body) {
|
|
16776
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
16777
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
16778
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
|
|
16779
|
+
}
|
|
16780
|
+
// verify the required parameter 'body' is set
|
|
16781
|
+
if (body === undefined || body === null) {
|
|
16782
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
|
|
16783
|
+
}
|
|
16784
|
+
|
|
16785
|
+
return this.apiClient.callApi(
|
|
16786
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
|
|
16787
|
+
'POST',
|
|
16788
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
16789
|
+
{ },
|
|
16790
|
+
{ },
|
|
16791
|
+
{ },
|
|
16792
|
+
body,
|
|
16793
|
+
['PureCloud OAuth'],
|
|
16794
|
+
['application/json'],
|
|
16795
|
+
['application/json']
|
|
16796
|
+
);
|
|
16797
|
+
}
|
|
16798
|
+
|
|
16799
|
+
/**
|
|
16800
|
+
* Creates a linked metric
|
|
16801
|
+
*
|
|
16802
|
+
* @param {String} sourceProfileId Source Performance Profile Id
|
|
16803
|
+
* @param {String} sourceMetricId Source Metric Id
|
|
16804
|
+
* @param {Object} body linkedMetric
|
|
16805
|
+
*/
|
|
16806
|
+
postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
|
|
16807
|
+
// verify the required parameter 'sourceProfileId' is set
|
|
16808
|
+
if (sourceProfileId === undefined || sourceProfileId === null) {
|
|
16809
|
+
throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
|
|
16810
|
+
}
|
|
16811
|
+
// verify the required parameter 'sourceMetricId' is set
|
|
16812
|
+
if (sourceMetricId === undefined || sourceMetricId === null) {
|
|
16813
|
+
throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
|
|
16814
|
+
}
|
|
16815
|
+
// verify the required parameter 'body' is set
|
|
16816
|
+
if (body === undefined || body === null) {
|
|
16817
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
|
|
16818
|
+
}
|
|
16819
|
+
|
|
16820
|
+
return this.apiClient.callApi(
|
|
16821
|
+
'/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
|
|
16822
|
+
'POST',
|
|
16823
|
+
{ 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
|
|
16824
|
+
{ },
|
|
16825
|
+
{ },
|
|
16826
|
+
{ },
|
|
16827
|
+
body,
|
|
16828
|
+
['PureCloud OAuth'],
|
|
16829
|
+
['application/json'],
|
|
16830
|
+
['application/json']
|
|
16831
|
+
);
|
|
16832
|
+
}
|
|
16833
|
+
|
|
16712
16834
|
/**
|
|
16713
16835
|
* Creates a gamified metric with a given metric definition and metric objective under in a performance profile
|
|
16714
16836
|
*
|
|
@@ -16893,7 +17015,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
16893
17015
|
/**
|
|
16894
17016
|
* GeneralDataProtectionRegulation service.
|
|
16895
17017
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
16896
|
-
* @version
|
|
17018
|
+
* @version 130.0.0
|
|
16897
17019
|
*/
|
|
16898
17020
|
|
|
16899
17021
|
/**
|
|
@@ -17023,7 +17145,7 @@ class GeolocationApi {
|
|
|
17023
17145
|
/**
|
|
17024
17146
|
* Geolocation service.
|
|
17025
17147
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
17026
|
-
* @version
|
|
17148
|
+
* @version 130.0.0
|
|
17027
17149
|
*/
|
|
17028
17150
|
|
|
17029
17151
|
/**
|
|
@@ -17154,7 +17276,7 @@ class GreetingsApi {
|
|
|
17154
17276
|
/**
|
|
17155
17277
|
* Greetings service.
|
|
17156
17278
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
17157
|
-
* @version
|
|
17279
|
+
* @version 130.0.0
|
|
17158
17280
|
*/
|
|
17159
17281
|
|
|
17160
17282
|
/**
|
|
@@ -17609,7 +17731,7 @@ class GroupsApi {
|
|
|
17609
17731
|
/**
|
|
17610
17732
|
* Groups service.
|
|
17611
17733
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
17612
|
-
* @version
|
|
17734
|
+
* @version 130.0.0
|
|
17613
17735
|
*/
|
|
17614
17736
|
|
|
17615
17737
|
/**
|
|
@@ -18014,7 +18136,7 @@ class IdentityProviderApi {
|
|
|
18014
18136
|
/**
|
|
18015
18137
|
* IdentityProvider service.
|
|
18016
18138
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
18017
|
-
* @version
|
|
18139
|
+
* @version 130.0.0
|
|
18018
18140
|
*/
|
|
18019
18141
|
|
|
18020
18142
|
/**
|
|
@@ -18770,7 +18892,7 @@ class IntegrationsApi {
|
|
|
18770
18892
|
/**
|
|
18771
18893
|
* Integrations service.
|
|
18772
18894
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
18773
|
-
* @version
|
|
18895
|
+
* @version 130.0.0
|
|
18774
18896
|
*/
|
|
18775
18897
|
|
|
18776
18898
|
/**
|
|
@@ -19427,6 +19549,35 @@ class IntegrationsApi {
|
|
|
19427
19549
|
);
|
|
19428
19550
|
}
|
|
19429
19551
|
|
|
19552
|
+
/**
|
|
19553
|
+
* UC integration client application configuration.
|
|
19554
|
+
* This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
|
|
19555
|
+
* @param {Object} opts Optional parameters
|
|
19556
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
19557
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
19558
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
19559
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
19560
|
+
* @param {String} opts.nextPage next page token
|
|
19561
|
+
* @param {String} opts.previousPage Previous page token
|
|
19562
|
+
*/
|
|
19563
|
+
getIntegrationsClientappsUnifiedcommunications(opts) {
|
|
19564
|
+
opts = opts || {};
|
|
19565
|
+
|
|
19566
|
+
|
|
19567
|
+
return this.apiClient.callApi(
|
|
19568
|
+
'/api/v2/integrations/clientapps/unifiedcommunications',
|
|
19569
|
+
'GET',
|
|
19570
|
+
{ },
|
|
19571
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
19572
|
+
{ },
|
|
19573
|
+
{ },
|
|
19574
|
+
null,
|
|
19575
|
+
['PureCloud OAuth'],
|
|
19576
|
+
['application/json'],
|
|
19577
|
+
['application/json']
|
|
19578
|
+
);
|
|
19579
|
+
}
|
|
19580
|
+
|
|
19430
19581
|
/**
|
|
19431
19582
|
* Get a single credential with sensitive fields redacted
|
|
19432
19583
|
*
|
|
@@ -20416,7 +20567,7 @@ class JourneyApi {
|
|
|
20416
20567
|
/**
|
|
20417
20568
|
* Journey service.
|
|
20418
20569
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
20419
|
-
* @version
|
|
20570
|
+
* @version 130.0.0
|
|
20420
20571
|
*/
|
|
20421
20572
|
|
|
20422
20573
|
/**
|
|
@@ -21127,7 +21278,7 @@ class KnowledgeApi {
|
|
|
21127
21278
|
/**
|
|
21128
21279
|
* Knowledge service.
|
|
21129
21280
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
21130
|
-
* @version
|
|
21281
|
+
* @version 130.0.0
|
|
21131
21282
|
*/
|
|
21132
21283
|
|
|
21133
21284
|
/**
|
|
@@ -22027,7 +22178,7 @@ class LanguageUnderstandingApi {
|
|
|
22027
22178
|
/**
|
|
22028
22179
|
* LanguageUnderstanding service.
|
|
22029
22180
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
22030
|
-
* @version
|
|
22181
|
+
* @version 130.0.0
|
|
22031
22182
|
*/
|
|
22032
22183
|
|
|
22033
22184
|
/**
|
|
@@ -22931,7 +23082,7 @@ class LanguagesApi {
|
|
|
22931
23082
|
/**
|
|
22932
23083
|
* Languages service.
|
|
22933
23084
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
22934
|
-
* @version
|
|
23085
|
+
* @version 130.0.0
|
|
22935
23086
|
*/
|
|
22936
23087
|
|
|
22937
23088
|
/**
|
|
@@ -23199,7 +23350,7 @@ class LearningApi {
|
|
|
23199
23350
|
/**
|
|
23200
23351
|
* Learning service.
|
|
23201
23352
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
23202
|
-
* @version
|
|
23353
|
+
* @version 130.0.0
|
|
23203
23354
|
*/
|
|
23204
23355
|
|
|
23205
23356
|
/**
|
|
@@ -23790,7 +23941,7 @@ class LicenseApi {
|
|
|
23790
23941
|
/**
|
|
23791
23942
|
* License service.
|
|
23792
23943
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
23793
|
-
* @version
|
|
23944
|
+
* @version 130.0.0
|
|
23794
23945
|
*/
|
|
23795
23946
|
|
|
23796
23947
|
/**
|
|
@@ -24028,7 +24179,7 @@ class LocationsApi {
|
|
|
24028
24179
|
/**
|
|
24029
24180
|
* Locations service.
|
|
24030
24181
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
24031
|
-
* @version
|
|
24182
|
+
* @version 130.0.0
|
|
24032
24183
|
*/
|
|
24033
24184
|
|
|
24034
24185
|
/**
|
|
@@ -24264,7 +24415,7 @@ class MobileDevicesApi {
|
|
|
24264
24415
|
/**
|
|
24265
24416
|
* MobileDevices service.
|
|
24266
24417
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
24267
|
-
* @version
|
|
24418
|
+
* @version 130.0.0
|
|
24268
24419
|
*/
|
|
24269
24420
|
|
|
24270
24421
|
/**
|
|
@@ -24415,7 +24566,7 @@ class NotificationsApi {
|
|
|
24415
24566
|
/**
|
|
24416
24567
|
* Notifications service.
|
|
24417
24568
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
24418
|
-
* @version
|
|
24569
|
+
* @version 130.0.0
|
|
24419
24570
|
*/
|
|
24420
24571
|
|
|
24421
24572
|
/**
|
|
@@ -24640,7 +24791,7 @@ class OAuthApi {
|
|
|
24640
24791
|
/**
|
|
24641
24792
|
* OAuth service.
|
|
24642
24793
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
24643
|
-
* @version
|
|
24794
|
+
* @version 130.0.0
|
|
24644
24795
|
*/
|
|
24645
24796
|
|
|
24646
24797
|
/**
|
|
@@ -24998,7 +25149,7 @@ class ObjectsApi {
|
|
|
24998
25149
|
/**
|
|
24999
25150
|
* Objects service.
|
|
25000
25151
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
25001
|
-
* @version
|
|
25152
|
+
* @version 130.0.0
|
|
25002
25153
|
*/
|
|
25003
25154
|
|
|
25004
25155
|
/**
|
|
@@ -25269,7 +25420,7 @@ class OrganizationApi {
|
|
|
25269
25420
|
/**
|
|
25270
25421
|
* Organization service.
|
|
25271
25422
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
25272
|
-
* @version
|
|
25423
|
+
* @version 130.0.0
|
|
25273
25424
|
*/
|
|
25274
25425
|
|
|
25275
25426
|
/**
|
|
@@ -25672,7 +25823,7 @@ class OrganizationAuthorizationApi {
|
|
|
25672
25823
|
/**
|
|
25673
25824
|
* OrganizationAuthorization service.
|
|
25674
25825
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
25675
|
-
* @version
|
|
25826
|
+
* @version 130.0.0
|
|
25676
25827
|
*/
|
|
25677
25828
|
|
|
25678
25829
|
/**
|
|
@@ -26597,7 +26748,7 @@ class OutboundApi {
|
|
|
26597
26748
|
/**
|
|
26598
26749
|
* Outbound service.
|
|
26599
26750
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
26600
|
-
* @version
|
|
26751
|
+
* @version 130.0.0
|
|
26601
26752
|
*/
|
|
26602
26753
|
|
|
26603
26754
|
/**
|
|
@@ -29623,7 +29774,7 @@ class PresenceApi {
|
|
|
29623
29774
|
/**
|
|
29624
29775
|
* Presence service.
|
|
29625
29776
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
29626
|
-
* @version
|
|
29777
|
+
* @version 130.0.0
|
|
29627
29778
|
*/
|
|
29628
29779
|
|
|
29629
29780
|
/**
|
|
@@ -29995,7 +30146,7 @@ class QualityApi {
|
|
|
29995
30146
|
/**
|
|
29996
30147
|
* Quality service.
|
|
29997
30148
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
29998
|
-
* @version
|
|
30149
|
+
* @version 130.0.0
|
|
29999
30150
|
*/
|
|
30000
30151
|
|
|
30001
30152
|
/**
|
|
@@ -31523,7 +31674,7 @@ class RecordingApi {
|
|
|
31523
31674
|
/**
|
|
31524
31675
|
* Recording service.
|
|
31525
31676
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
31526
|
-
* @version
|
|
31677
|
+
* @version 130.0.0
|
|
31527
31678
|
*/
|
|
31528
31679
|
|
|
31529
31680
|
/**
|
|
@@ -31729,11 +31880,11 @@ class RecordingApi {
|
|
|
31729
31880
|
* @param {String} conversationId Conversation ID
|
|
31730
31881
|
* @param {String} recordingId Recording ID
|
|
31731
31882
|
* @param {Object} opts Optional parameters
|
|
31732
|
-
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
31733
|
-
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
|
|
31734
|
-
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
|
|
31735
|
-
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
|
|
31736
|
-
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
31883
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
|
|
31884
|
+
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
|
|
31885
|
+
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
|
|
31886
|
+
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
31887
|
+
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
31737
31888
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
31738
31889
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
31739
31890
|
*/
|
|
@@ -31829,7 +31980,7 @@ class RecordingApi {
|
|
|
31829
31980
|
}
|
|
31830
31981
|
|
|
31831
31982
|
/**
|
|
31832
|
-
* Get recording metadata for a conversation. Does not return playable media.
|
|
31983
|
+
* 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.
|
|
31833
31984
|
*
|
|
31834
31985
|
* @param {String} conversationId Conversation ID
|
|
31835
31986
|
*/
|
|
@@ -31889,7 +32040,7 @@ class RecordingApi {
|
|
|
31889
32040
|
* @param {String} conversationId Conversation ID
|
|
31890
32041
|
* @param {Object} opts Optional parameters
|
|
31891
32042
|
* @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)
|
|
31892
|
-
* @param {Object} opts.formatId The desired media format (default to WEBM)
|
|
32043
|
+
* @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
31893
32044
|
*/
|
|
31894
32045
|
getConversationRecordings(conversationId, opts) {
|
|
31895
32046
|
opts = opts || {};
|
|
@@ -32119,6 +32270,8 @@ class RecordingApi {
|
|
|
32119
32270
|
* @param {Object} opts Optional parameters
|
|
32120
32271
|
* @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
|
|
32121
32272
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
32273
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
32274
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
32122
32275
|
*/
|
|
32123
32276
|
getRecordingJobFailedrecordings(jobId, opts) {
|
|
32124
32277
|
opts = opts || {};
|
|
@@ -32132,7 +32285,7 @@ class RecordingApi {
|
|
|
32132
32285
|
'/api/v2/recording/jobs/{jobId}/failedrecordings',
|
|
32133
32286
|
'GET',
|
|
32134
32287
|
{ 'jobId': jobId },
|
|
32135
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
32288
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
32136
32289
|
{ },
|
|
32137
32290
|
{ },
|
|
32138
32291
|
null,
|
|
@@ -32152,6 +32305,8 @@ class RecordingApi {
|
|
|
32152
32305
|
* @param {Object} opts.state Filter by state
|
|
32153
32306
|
* @param {Boolean} opts.showOnlyMyJobs Show only my jobs
|
|
32154
32307
|
* @param {Object} opts.jobType Job Type (Can be left empty for both)
|
|
32308
|
+
* @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
|
|
32309
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
32155
32310
|
*/
|
|
32156
32311
|
getRecordingJobs(opts) {
|
|
32157
32312
|
opts = opts || {};
|
|
@@ -32161,7 +32316,7 @@ class RecordingApi {
|
|
|
32161
32316
|
'/api/v2/recording/jobs',
|
|
32162
32317
|
'GET',
|
|
32163
32318
|
{ },
|
|
32164
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'] },
|
|
32319
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
|
|
32165
32320
|
{ },
|
|
32166
32321
|
{ },
|
|
32167
32322
|
null,
|
|
@@ -33042,7 +33197,7 @@ class ResponseManagementApi {
|
|
|
33042
33197
|
/**
|
|
33043
33198
|
* ResponseManagement service.
|
|
33044
33199
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
33045
|
-
* @version
|
|
33200
|
+
* @version 130.0.0
|
|
33046
33201
|
*/
|
|
33047
33202
|
|
|
33048
33203
|
/**
|
|
@@ -33367,7 +33522,7 @@ class RoutingApi {
|
|
|
33367
33522
|
/**
|
|
33368
33523
|
* Routing service.
|
|
33369
33524
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
33370
|
-
* @version
|
|
33525
|
+
* @version 130.0.0
|
|
33371
33526
|
*/
|
|
33372
33527
|
|
|
33373
33528
|
/**
|
|
@@ -34805,10 +34960,14 @@ class RoutingApi {
|
|
|
34805
34960
|
*
|
|
34806
34961
|
* @param {Object} opts Optional parameters
|
|
34807
34962
|
* @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.
|
|
34808
|
-
* @param {
|
|
34809
|
-
* @param {
|
|
34963
|
+
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
34964
|
+
* @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
|
|
34965
|
+
* @param {Array.<String>} opts.countryCode Filter on country code
|
|
34810
34966
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
34811
34967
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
34968
|
+
* @param {Object} opts.sortBy Optional field to sort results
|
|
34969
|
+
* @param {Object} opts.sortOrder Sort order
|
|
34970
|
+
* @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)
|
|
34812
34971
|
*/
|
|
34813
34972
|
getRoutingSmsPhonenumbers(opts) {
|
|
34814
34973
|
opts = opts || {};
|
|
@@ -34818,7 +34977,7 @@ class RoutingApi {
|
|
|
34818
34977
|
'/api/v2/routing/sms/phonenumbers',
|
|
34819
34978
|
'GET',
|
|
34820
34979
|
{ },
|
|
34821
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
34980
|
+
{ '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'] },
|
|
34822
34981
|
{ },
|
|
34823
34982
|
{ },
|
|
34824
34983
|
null,
|
|
@@ -36286,7 +36445,7 @@ class SCIMApi {
|
|
|
36286
36445
|
/**
|
|
36287
36446
|
* SCIM service.
|
|
36288
36447
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
36289
|
-
* @version
|
|
36448
|
+
* @version 130.0.0
|
|
36290
36449
|
*/
|
|
36291
36450
|
|
|
36292
36451
|
/**
|
|
@@ -37163,7 +37322,7 @@ class ScriptsApi {
|
|
|
37163
37322
|
/**
|
|
37164
37323
|
* Scripts service.
|
|
37165
37324
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
37166
|
-
* @version
|
|
37325
|
+
* @version 130.0.0
|
|
37167
37326
|
*/
|
|
37168
37327
|
|
|
37169
37328
|
/**
|
|
@@ -37516,7 +37675,7 @@ class SearchApi {
|
|
|
37516
37675
|
/**
|
|
37517
37676
|
* Search service.
|
|
37518
37677
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
37519
|
-
* @version
|
|
37678
|
+
* @version 130.0.0
|
|
37520
37679
|
*/
|
|
37521
37680
|
|
|
37522
37681
|
/**
|
|
@@ -38051,7 +38210,7 @@ class SpeechTextAnalyticsApi {
|
|
|
38051
38210
|
/**
|
|
38052
38211
|
* SpeechTextAnalytics service.
|
|
38053
38212
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
38054
|
-
* @version
|
|
38213
|
+
* @version 130.0.0
|
|
38055
38214
|
*/
|
|
38056
38215
|
|
|
38057
38216
|
/**
|
|
@@ -38415,6 +38574,26 @@ class SpeechTextAnalyticsApi {
|
|
|
38415
38574
|
);
|
|
38416
38575
|
}
|
|
38417
38576
|
|
|
38577
|
+
/**
|
|
38578
|
+
* Get the list of Speech & Text Analytics sentiment supported dialects
|
|
38579
|
+
*
|
|
38580
|
+
*/
|
|
38581
|
+
getSpeechandtextanalyticsSentimentDialects() {
|
|
38582
|
+
|
|
38583
|
+
return this.apiClient.callApi(
|
|
38584
|
+
'/api/v2/speechandtextanalytics/sentiment/dialects',
|
|
38585
|
+
'GET',
|
|
38586
|
+
{ },
|
|
38587
|
+
{ },
|
|
38588
|
+
{ },
|
|
38589
|
+
{ },
|
|
38590
|
+
null,
|
|
38591
|
+
['PureCloud OAuth'],
|
|
38592
|
+
['application/json'],
|
|
38593
|
+
['application/json']
|
|
38594
|
+
);
|
|
38595
|
+
}
|
|
38596
|
+
|
|
38418
38597
|
/**
|
|
38419
38598
|
* Get the list of Speech & Text Analytics SentimentFeedback
|
|
38420
38599
|
*
|
|
@@ -38904,7 +39083,7 @@ class StationsApi {
|
|
|
38904
39083
|
/**
|
|
38905
39084
|
* Stations service.
|
|
38906
39085
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
38907
|
-
* @version
|
|
39086
|
+
* @version 130.0.0
|
|
38908
39087
|
*/
|
|
38909
39088
|
|
|
38910
39089
|
/**
|
|
@@ -39051,7 +39230,7 @@ class SuggestApi {
|
|
|
39051
39230
|
/**
|
|
39052
39231
|
* Suggest service.
|
|
39053
39232
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
39054
|
-
* @version
|
|
39233
|
+
* @version 130.0.0
|
|
39055
39234
|
*/
|
|
39056
39235
|
|
|
39057
39236
|
/**
|
|
@@ -39190,7 +39369,7 @@ class TelephonyApi {
|
|
|
39190
39369
|
/**
|
|
39191
39370
|
* Telephony service.
|
|
39192
39371
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
39193
|
-
* @version
|
|
39372
|
+
* @version 130.0.0
|
|
39194
39373
|
*/
|
|
39195
39374
|
|
|
39196
39375
|
/**
|
|
@@ -39298,7 +39477,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
39298
39477
|
/**
|
|
39299
39478
|
* TelephonyProvidersEdge service.
|
|
39300
39479
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
39301
|
-
* @version
|
|
39480
|
+
* @version 130.0.0
|
|
39302
39481
|
*/
|
|
39303
39482
|
|
|
39304
39483
|
/**
|
|
@@ -40636,6 +40815,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
40636
40815
|
);
|
|
40637
40816
|
}
|
|
40638
40817
|
|
|
40818
|
+
/**
|
|
40819
|
+
* List of edges more than 4 edge versions behind the latest software.
|
|
40820
|
+
*
|
|
40821
|
+
*/
|
|
40822
|
+
getTelephonyProvidersEdgesExpired() {
|
|
40823
|
+
|
|
40824
|
+
return this.apiClient.callApi(
|
|
40825
|
+
'/api/v2/telephony/providers/edges/expired',
|
|
40826
|
+
'GET',
|
|
40827
|
+
{ },
|
|
40828
|
+
{ },
|
|
40829
|
+
{ },
|
|
40830
|
+
{ },
|
|
40831
|
+
null,
|
|
40832
|
+
['PureCloud OAuth'],
|
|
40833
|
+
['application/json'],
|
|
40834
|
+
['application/json']
|
|
40835
|
+
);
|
|
40836
|
+
}
|
|
40837
|
+
|
|
40639
40838
|
/**
|
|
40640
40839
|
* Get an extension by ID.
|
|
40641
40840
|
*
|
|
@@ -42911,7 +43110,7 @@ class TextbotsApi {
|
|
|
42911
43110
|
/**
|
|
42912
43111
|
* Textbots service.
|
|
42913
43112
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
42914
|
-
* @version
|
|
43113
|
+
* @version 130.0.0
|
|
42915
43114
|
*/
|
|
42916
43115
|
|
|
42917
43116
|
/**
|
|
@@ -42926,6 +43125,33 @@ class TextbotsApi {
|
|
|
42926
43125
|
}
|
|
42927
43126
|
|
|
42928
43127
|
|
|
43128
|
+
/**
|
|
43129
|
+
* Find bots using the currently configured friendly name or ID.
|
|
43130
|
+
* 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
|
|
43131
|
+
* @param {Object} opts Optional parameters
|
|
43132
|
+
* @param {Array.<String>} opts.botType Bot types
|
|
43133
|
+
* @param {String} opts.botName Bot name
|
|
43134
|
+
* @param {Array.<String>} opts.botId Bot IDs
|
|
43135
|
+
* @param {Number} opts.pageSize The maximum results to return (default to 25)
|
|
43136
|
+
*/
|
|
43137
|
+
getTextbotsBotsSearch(opts) {
|
|
43138
|
+
opts = opts || {};
|
|
43139
|
+
|
|
43140
|
+
|
|
43141
|
+
return this.apiClient.callApi(
|
|
43142
|
+
'/api/v2/textbots/bots/search',
|
|
43143
|
+
'GET',
|
|
43144
|
+
{ },
|
|
43145
|
+
{ 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
|
|
43146
|
+
{ },
|
|
43147
|
+
{ },
|
|
43148
|
+
null,
|
|
43149
|
+
['PureCloud OAuth'],
|
|
43150
|
+
['application/json'],
|
|
43151
|
+
['application/json']
|
|
43152
|
+
);
|
|
43153
|
+
}
|
|
43154
|
+
|
|
42929
43155
|
/**
|
|
42930
43156
|
* Issue a bot flow turn event
|
|
42931
43157
|
* Send a turn event to an executing bot flow and produce the next action to take.
|
|
@@ -43012,7 +43238,7 @@ class TokensApi {
|
|
|
43012
43238
|
/**
|
|
43013
43239
|
* Tokens service.
|
|
43014
43240
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
43015
|
-
* @version
|
|
43241
|
+
* @version 130.0.0
|
|
43016
43242
|
*/
|
|
43017
43243
|
|
|
43018
43244
|
/**
|
|
@@ -43118,7 +43344,7 @@ class UploadsApi {
|
|
|
43118
43344
|
/**
|
|
43119
43345
|
* Uploads service.
|
|
43120
43346
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
43121
|
-
* @version
|
|
43347
|
+
* @version 130.0.0
|
|
43122
43348
|
*/
|
|
43123
43349
|
|
|
43124
43350
|
/**
|
|
@@ -43294,7 +43520,7 @@ class UsageApi {
|
|
|
43294
43520
|
/**
|
|
43295
43521
|
* Usage service.
|
|
43296
43522
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
43297
|
-
* @version
|
|
43523
|
+
* @version 130.0.0
|
|
43298
43524
|
*/
|
|
43299
43525
|
|
|
43300
43526
|
/**
|
|
@@ -43365,7 +43591,7 @@ class UserRecordingsApi {
|
|
|
43365
43591
|
/**
|
|
43366
43592
|
* UserRecordings service.
|
|
43367
43593
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
43368
|
-
* @version
|
|
43594
|
+
* @version 130.0.0
|
|
43369
43595
|
*/
|
|
43370
43596
|
|
|
43371
43597
|
/**
|
|
@@ -43549,7 +43775,7 @@ class UsersApi {
|
|
|
43549
43775
|
/**
|
|
43550
43776
|
* Users service.
|
|
43551
43777
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
43552
|
-
* @version
|
|
43778
|
+
* @version 130.0.0
|
|
43553
43779
|
*/
|
|
43554
43780
|
|
|
43555
43781
|
/**
|
|
@@ -45851,7 +46077,7 @@ class UtilitiesApi {
|
|
|
45851
46077
|
/**
|
|
45852
46078
|
* Utilities service.
|
|
45853
46079
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
45854
|
-
* @version
|
|
46080
|
+
* @version 130.0.0
|
|
45855
46081
|
*/
|
|
45856
46082
|
|
|
45857
46083
|
/**
|
|
@@ -45887,7 +46113,7 @@ class UtilitiesApi {
|
|
|
45887
46113
|
}
|
|
45888
46114
|
|
|
45889
46115
|
/**
|
|
45890
|
-
* Get public ip address ranges for
|
|
46116
|
+
* Get public ip address ranges for Genesys Cloud
|
|
45891
46117
|
*
|
|
45892
46118
|
*/
|
|
45893
46119
|
getIpranges() {
|
|
@@ -45962,7 +46188,7 @@ class VoicemailApi {
|
|
|
45962
46188
|
/**
|
|
45963
46189
|
* Voicemail service.
|
|
45964
46190
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
45965
|
-
* @version
|
|
46191
|
+
* @version 130.0.0
|
|
45966
46192
|
*/
|
|
45967
46193
|
|
|
45968
46194
|
/**
|
|
@@ -46629,7 +46855,7 @@ class WebChatApi {
|
|
|
46629
46855
|
/**
|
|
46630
46856
|
* WebChat service.
|
|
46631
46857
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
46632
|
-
* @version
|
|
46858
|
+
* @version 130.0.0
|
|
46633
46859
|
*/
|
|
46634
46860
|
|
|
46635
46861
|
/**
|
|
@@ -47173,7 +47399,7 @@ class WebDeploymentsApi {
|
|
|
47173
47399
|
/**
|
|
47174
47400
|
* WebDeployments service.
|
|
47175
47401
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
47176
|
-
* @version
|
|
47402
|
+
* @version 130.0.0
|
|
47177
47403
|
*/
|
|
47178
47404
|
|
|
47179
47405
|
/**
|
|
@@ -47528,7 +47754,7 @@ class WebMessagingApi {
|
|
|
47528
47754
|
/**
|
|
47529
47755
|
* WebMessaging service.
|
|
47530
47756
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
47531
|
-
* @version
|
|
47757
|
+
* @version 130.0.0
|
|
47532
47758
|
*/
|
|
47533
47759
|
|
|
47534
47760
|
/**
|
|
@@ -47574,7 +47800,7 @@ class WidgetsApi {
|
|
|
47574
47800
|
/**
|
|
47575
47801
|
* Widgets service.
|
|
47576
47802
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
47577
|
-
* @version
|
|
47803
|
+
* @version 130.0.0
|
|
47578
47804
|
*/
|
|
47579
47805
|
|
|
47580
47806
|
/**
|
|
@@ -47720,7 +47946,7 @@ class WorkforceManagementApi {
|
|
|
47720
47946
|
/**
|
|
47721
47947
|
* WorkforceManagement service.
|
|
47722
47948
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
47723
|
-
* @version
|
|
47949
|
+
* @version 130.0.0
|
|
47724
47950
|
*/
|
|
47725
47951
|
|
|
47726
47952
|
/**
|
|
@@ -51751,7 +51977,7 @@ class WorkforceManagementApi {
|
|
|
51751
51977
|
* </pre>
|
|
51752
51978
|
* </p>
|
|
51753
51979
|
* @module purecloud-platform-client-v2/index
|
|
51754
|
-
* @version
|
|
51980
|
+
* @version 130.0.0
|
|
51755
51981
|
*/
|
|
51756
51982
|
class platformClient {
|
|
51757
51983
|
constructor() {
|