purecloud-platform-client-v2 198.0.0 → 200.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 +388 -91
- package/dist/web-amd/purecloud-platform-client-v2.js +388 -91
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +150 -89
- package/dist/web-cjs/purecloud-platform-client-v2.js +150 -89
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +82 -23
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -2
- 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/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +10 -3
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +146 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +146 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 200.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1695,24 +1695,24 @@ class QualityApi {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
|
|
1697
1697
|
/**
|
|
1698
|
-
* Update the
|
|
1698
|
+
* Update the AI Scoring settings of an evaluation form.
|
|
1699
1699
|
*
|
|
1700
1700
|
* @param {String} formId Form ID
|
|
1701
|
-
* @param {Object} body
|
|
1702
|
-
*
|
|
1701
|
+
* @param {Object} body AI Scoring Settings
|
|
1702
|
+
* putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1703
1703
|
*/
|
|
1704
|
-
|
|
1704
|
+
putQualityFormsEvaluationAiscoringSettings(formId, body) {
|
|
1705
1705
|
// verify the required parameter 'formId' is set
|
|
1706
1706
|
if (formId === undefined || formId === null) {
|
|
1707
|
-
throw 'Missing the required parameter "formId" when calling
|
|
1707
|
+
throw 'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';
|
|
1708
1708
|
}
|
|
1709
1709
|
// verify the required parameter 'body' is set
|
|
1710
1710
|
if (body === undefined || body === null) {
|
|
1711
|
-
throw 'Missing the required parameter "body" when calling
|
|
1711
|
+
throw 'Missing the required parameter "body" when calling putQualityFormsEvaluationAiscoringSettings';
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
1714
|
return this.apiClient.callApi(
|
|
1715
|
-
'/api/v2/quality/forms/evaluations/{formId}/
|
|
1715
|
+
'/api/v2/quality/forms/evaluations/{formId}/aiscoring/settings',
|
|
1716
1716
|
'PUT',
|
|
1717
1717
|
{ 'formId': formId },
|
|
1718
1718
|
{ },
|
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 200.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -997,10 +997,11 @@ class RecordingApi {
|
|
|
997
997
|
|
|
998
998
|
/**
|
|
999
999
|
* Update a screen recording session
|
|
1000
|
-
*
|
|
1000
|
+
* This API is deprecated and the functionality to stop screen recording will be no longer supported.
|
|
1001
1001
|
* @param {String} recordingSessionId Screen recording session ID
|
|
1002
1002
|
* @param {Object} opts Optional parameters
|
|
1003
1003
|
* @param {Object} opts.body
|
|
1004
|
+
* @deprecated
|
|
1004
1005
|
*/
|
|
1005
1006
|
patchRecordingsScreensession(recordingSessionId, opts) {
|
|
1006
1007
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 200.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -45,6 +45,26 @@ class RoutingApi {
|
|
|
45
45
|
);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
deleteRoutingDirectroutingbackupSettingsMe() {
|
|
53
|
+
|
|
54
|
+
return this.apiClient.callApi(
|
|
55
|
+
'/api/v2/routing/directroutingbackup/settings/me',
|
|
56
|
+
'DELETE',
|
|
57
|
+
{ },
|
|
58
|
+
{ },
|
|
59
|
+
{ },
|
|
60
|
+
{ },
|
|
61
|
+
null,
|
|
62
|
+
['PureCloud OAuth'],
|
|
63
|
+
['application/json'],
|
|
64
|
+
['application/json']
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
48
68
|
/**
|
|
49
69
|
* Delete a domain
|
|
50
70
|
*
|
|
@@ -415,6 +435,31 @@ class RoutingApi {
|
|
|
415
435
|
);
|
|
416
436
|
}
|
|
417
437
|
|
|
438
|
+
/**
|
|
439
|
+
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
440
|
+
*
|
|
441
|
+
* @param {String} userId User ID
|
|
442
|
+
*/
|
|
443
|
+
deleteRoutingUserDirectroutingbackupSettings(userId) {
|
|
444
|
+
// verify the required parameter 'userId' is set
|
|
445
|
+
if (userId === undefined || userId === null) {
|
|
446
|
+
throw 'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
return this.apiClient.callApi(
|
|
450
|
+
'/api/v2/routing/users/{userId}/directroutingbackup/settings',
|
|
451
|
+
'DELETE',
|
|
452
|
+
{ 'userId': userId },
|
|
453
|
+
{ },
|
|
454
|
+
{ },
|
|
455
|
+
{ },
|
|
456
|
+
null,
|
|
457
|
+
['PureCloud OAuth'],
|
|
458
|
+
['application/json'],
|
|
459
|
+
['application/json']
|
|
460
|
+
);
|
|
461
|
+
}
|
|
462
|
+
|
|
418
463
|
/**
|
|
419
464
|
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
420
465
|
*
|
|
@@ -726,6 +771,26 @@ class RoutingApi {
|
|
|
726
771
|
);
|
|
727
772
|
}
|
|
728
773
|
|
|
774
|
+
/**
|
|
775
|
+
* Get the user's Direct Routing Backup settings.
|
|
776
|
+
*
|
|
777
|
+
*/
|
|
778
|
+
getRoutingDirectroutingbackupSettingsMe() {
|
|
779
|
+
|
|
780
|
+
return this.apiClient.callApi(
|
|
781
|
+
'/api/v2/routing/directroutingbackup/settings/me',
|
|
782
|
+
'GET',
|
|
783
|
+
{ },
|
|
784
|
+
{ },
|
|
785
|
+
{ },
|
|
786
|
+
{ },
|
|
787
|
+
null,
|
|
788
|
+
['PureCloud OAuth'],
|
|
789
|
+
['application/json'],
|
|
790
|
+
['application/json']
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
|
|
729
794
|
/**
|
|
730
795
|
* Get domain
|
|
731
796
|
*
|
|
@@ -1936,6 +2001,31 @@ class RoutingApi {
|
|
|
1936
2001
|
);
|
|
1937
2002
|
}
|
|
1938
2003
|
|
|
2004
|
+
/**
|
|
2005
|
+
* Get the user's Direct Routing Backup settings.
|
|
2006
|
+
*
|
|
2007
|
+
* @param {String} userId User ID
|
|
2008
|
+
*/
|
|
2009
|
+
getRoutingUserDirectroutingbackupSettings(userId) {
|
|
2010
|
+
// verify the required parameter 'userId' is set
|
|
2011
|
+
if (userId === undefined || userId === null) {
|
|
2012
|
+
throw 'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
return this.apiClient.callApi(
|
|
2016
|
+
'/api/v2/routing/users/{userId}/directroutingbackup/settings',
|
|
2017
|
+
'GET',
|
|
2018
|
+
{ 'userId': userId },
|
|
2019
|
+
{ },
|
|
2020
|
+
{ },
|
|
2021
|
+
{ },
|
|
2022
|
+
null,
|
|
2023
|
+
['PureCloud OAuth'],
|
|
2024
|
+
['application/json'],
|
|
2025
|
+
['application/json']
|
|
2026
|
+
);
|
|
2027
|
+
}
|
|
2028
|
+
|
|
1939
2029
|
/**
|
|
1940
2030
|
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
1941
2031
|
*
|
|
@@ -3593,6 +3683,31 @@ class RoutingApi {
|
|
|
3593
3683
|
);
|
|
3594
3684
|
}
|
|
3595
3685
|
|
|
3686
|
+
/**
|
|
3687
|
+
* Update the user's Direct Routing Backup settings.
|
|
3688
|
+
*
|
|
3689
|
+
* @param {Object} body directRoutingBackup
|
|
3690
|
+
*/
|
|
3691
|
+
putRoutingDirectroutingbackupSettingsMe(body) {
|
|
3692
|
+
// verify the required parameter 'body' is set
|
|
3693
|
+
if (body === undefined || body === null) {
|
|
3694
|
+
throw 'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
return this.apiClient.callApi(
|
|
3698
|
+
'/api/v2/routing/directroutingbackup/settings/me',
|
|
3699
|
+
'PUT',
|
|
3700
|
+
{ },
|
|
3701
|
+
{ },
|
|
3702
|
+
{ },
|
|
3703
|
+
{ },
|
|
3704
|
+
body,
|
|
3705
|
+
['PureCloud OAuth'],
|
|
3706
|
+
['application/json'],
|
|
3707
|
+
['application/json']
|
|
3708
|
+
);
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3596
3711
|
/**
|
|
3597
3712
|
* Update a route
|
|
3598
3713
|
*
|
|
@@ -3793,6 +3908,36 @@ class RoutingApi {
|
|
|
3793
3908
|
);
|
|
3794
3909
|
}
|
|
3795
3910
|
|
|
3911
|
+
/**
|
|
3912
|
+
* Update the user's Direct Routing Backup settings.
|
|
3913
|
+
*
|
|
3914
|
+
* @param {String} userId User ID
|
|
3915
|
+
* @param {Object} body directRoutingBackup
|
|
3916
|
+
*/
|
|
3917
|
+
putRoutingUserDirectroutingbackupSettings(userId, body) {
|
|
3918
|
+
// verify the required parameter 'userId' is set
|
|
3919
|
+
if (userId === undefined || userId === null) {
|
|
3920
|
+
throw 'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';
|
|
3921
|
+
}
|
|
3922
|
+
// verify the required parameter 'body' is set
|
|
3923
|
+
if (body === undefined || body === null) {
|
|
3924
|
+
throw 'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
return this.apiClient.callApi(
|
|
3928
|
+
'/api/v2/routing/users/{userId}/directroutingbackup/settings',
|
|
3929
|
+
'PUT',
|
|
3930
|
+
{ 'userId': userId },
|
|
3931
|
+
{ },
|
|
3932
|
+
{ },
|
|
3933
|
+
{ },
|
|
3934
|
+
body,
|
|
3935
|
+
['PureCloud OAuth'],
|
|
3936
|
+
['application/json'],
|
|
3937
|
+
['application/json']
|
|
3938
|
+
);
|
|
3939
|
+
}
|
|
3940
|
+
|
|
3796
3941
|
/**
|
|
3797
3942
|
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
3798
3943
|
*
|