purecloud-platform-client-v2 204.1.0 → 205.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +778 -81
- package/dist/web-amd/purecloud-platform-client-v2.js +778 -81
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +262 -82
- package/dist/web-cjs/purecloud-platform-client-v2.js +262 -82
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +519 -2
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.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 +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/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 +27 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +516 -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 +31 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -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 +58 -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 +70 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
- 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 OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 205.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1116,6 +1116,36 @@ class OutboundApi {
|
|
|
1116
1116
|
);
|
|
1117
1117
|
}
|
|
1118
1118
|
|
|
1119
|
+
/**
|
|
1120
|
+
* Get the remaining and total contact count for each skill combination in a skills campaign
|
|
1121
|
+
*
|
|
1122
|
+
* @param {String} campaignId Campaign ID
|
|
1123
|
+
* @param {Object} opts Optional parameters
|
|
1124
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1125
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1126
|
+
*/
|
|
1127
|
+
getOutboundCampaignSkillcombinations(campaignId, opts) {
|
|
1128
|
+
opts = opts || {};
|
|
1129
|
+
|
|
1130
|
+
// verify the required parameter 'campaignId' is set
|
|
1131
|
+
if (campaignId === undefined || campaignId === null) {
|
|
1132
|
+
throw 'Missing the required parameter "campaignId" when calling getOutboundCampaignSkillcombinations';
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
return this.apiClient.callApi(
|
|
1136
|
+
'/api/v2/outbound/campaigns/{campaignId}/skillcombinations',
|
|
1137
|
+
'GET',
|
|
1138
|
+
{ 'campaignId': campaignId },
|
|
1139
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
1140
|
+
{ },
|
|
1141
|
+
{ },
|
|
1142
|
+
null,
|
|
1143
|
+
['PureCloud OAuth'],
|
|
1144
|
+
['application/json'],
|
|
1145
|
+
['application/json']
|
|
1146
|
+
);
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1119
1149
|
/**
|
|
1120
1150
|
* Get statistics about a Dialer Campaign
|
|
1121
1151
|
*
|
|
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SpeechTextAnalytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 205.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -823,6 +823,63 @@ class SpeechTextAnalyticsApi {
|
|
|
823
823
|
);
|
|
824
824
|
}
|
|
825
825
|
|
|
826
|
+
/**
|
|
827
|
+
* Translate all communication(s) for an interaction.
|
|
828
|
+
*
|
|
829
|
+
* @param {String} languageId Target translation language
|
|
830
|
+
* @param {String} conversationId Conversation id
|
|
831
|
+
* @param {Object} opts Optional parameters
|
|
832
|
+
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
833
|
+
* @param {String} opts.recordingId Recording id associated with the communication
|
|
834
|
+
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
835
|
+
*/
|
|
836
|
+
getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
|
|
837
|
+
opts = opts || {};
|
|
838
|
+
|
|
839
|
+
// verify the required parameter 'languageId' is set
|
|
840
|
+
if (languageId === undefined || languageId === null) {
|
|
841
|
+
throw 'Missing the required parameter "languageId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
842
|
+
}
|
|
843
|
+
// verify the required parameter 'conversationId' is set
|
|
844
|
+
if (conversationId === undefined || conversationId === null) {
|
|
845
|
+
throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsTranslationsLanguageConversation';
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
return this.apiClient.callApi(
|
|
849
|
+
'/api/v2/speechandtextanalytics/translations/languages/{languageId}/conversations/{conversationId}',
|
|
850
|
+
'GET',
|
|
851
|
+
{ 'languageId': languageId,'conversationId': conversationId },
|
|
852
|
+
{ 'communicationId': opts['communicationId'],'recordingId': opts['recordingId'] },
|
|
853
|
+
{ },
|
|
854
|
+
{ },
|
|
855
|
+
null,
|
|
856
|
+
['PureCloud OAuth'],
|
|
857
|
+
['application/json'],
|
|
858
|
+
['application/json']
|
|
859
|
+
);
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Get supported translation languages
|
|
864
|
+
*
|
|
865
|
+
* getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
866
|
+
*/
|
|
867
|
+
getSpeechandtextanalyticsTranslationsLanguages() {
|
|
868
|
+
|
|
869
|
+
return this.apiClient.callApi(
|
|
870
|
+
'/api/v2/speechandtextanalytics/translations/languages',
|
|
871
|
+
'GET',
|
|
872
|
+
{ },
|
|
873
|
+
{ },
|
|
874
|
+
{ },
|
|
875
|
+
{ },
|
|
876
|
+
null,
|
|
877
|
+
['PureCloud OAuth'],
|
|
878
|
+
['application/json'],
|
|
879
|
+
['application/json']
|
|
880
|
+
);
|
|
881
|
+
}
|
|
882
|
+
|
|
826
883
|
/**
|
|
827
884
|
* Patch Speech And Text Analytics Settings
|
|
828
885
|
*
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 205.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -100,6 +100,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Deletes alertable presences overrides.
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
deleteTelephonyProvidersEdgesAlertablepresences() {
|
|
108
|
+
|
|
109
|
+
return this.apiClient.callApi(
|
|
110
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
111
|
+
'DELETE',
|
|
112
|
+
{ },
|
|
113
|
+
{ },
|
|
114
|
+
{ },
|
|
115
|
+
{ },
|
|
116
|
+
null,
|
|
117
|
+
['PureCloud OAuth'],
|
|
118
|
+
['application/json'],
|
|
119
|
+
['application/json']
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
103
123
|
/**
|
|
104
124
|
* Delete a certificate authority.
|
|
105
125
|
*
|
|
@@ -772,6 +792,30 @@ class TelephonyProvidersEdgeApi {
|
|
|
772
792
|
);
|
|
773
793
|
}
|
|
774
794
|
|
|
795
|
+
/**
|
|
796
|
+
* Get the list alertable presences. The 'type' query parameter can be used to If there are any overrides, this is the list of overrides; if there are no overrides, it is the default list.
|
|
797
|
+
*
|
|
798
|
+
* @param {Object} opts Optional parameters
|
|
799
|
+
* @param {Object} opts.type
|
|
800
|
+
*/
|
|
801
|
+
getTelephonyProvidersEdgesAlertablepresences(opts) {
|
|
802
|
+
opts = opts || {};
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
return this.apiClient.callApi(
|
|
806
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
807
|
+
'GET',
|
|
808
|
+
{ },
|
|
809
|
+
{ 'type': opts['type'] },
|
|
810
|
+
{ },
|
|
811
|
+
{ },
|
|
812
|
+
null,
|
|
813
|
+
['PureCloud OAuth'],
|
|
814
|
+
['application/json'],
|
|
815
|
+
['application/json']
|
|
816
|
+
);
|
|
817
|
+
}
|
|
818
|
+
|
|
775
819
|
/**
|
|
776
820
|
* Get the list of certificate authorities.
|
|
777
821
|
*
|
|
@@ -2957,6 +3001,31 @@ class TelephonyProvidersEdgeApi {
|
|
|
2957
3001
|
);
|
|
2958
3002
|
}
|
|
2959
3003
|
|
|
3004
|
+
/**
|
|
3005
|
+
* Creates or updates alertable presences overrides.
|
|
3006
|
+
*
|
|
3007
|
+
* @param {Object} body Alertable Presences Overrides
|
|
3008
|
+
*/
|
|
3009
|
+
putTelephonyProvidersEdgesAlertablepresences(body) {
|
|
3010
|
+
// verify the required parameter 'body' is set
|
|
3011
|
+
if (body === undefined || body === null) {
|
|
3012
|
+
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesAlertablepresences';
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
return this.apiClient.callApi(
|
|
3016
|
+
'/api/v2/telephony/providers/edges/alertablepresences',
|
|
3017
|
+
'PUT',
|
|
3018
|
+
{ },
|
|
3019
|
+
{ },
|
|
3020
|
+
{ },
|
|
3021
|
+
{ },
|
|
3022
|
+
body,
|
|
3023
|
+
['PureCloud OAuth'],
|
|
3024
|
+
['application/json'],
|
|
3025
|
+
['application/json']
|
|
3026
|
+
);
|
|
3027
|
+
}
|
|
3028
|
+
|
|
2960
3029
|
/**
|
|
2961
3030
|
* Update a certificate authority.
|
|
2962
3031
|
*
|
|
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebDeployments service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 205.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -322,7 +322,7 @@ class WebDeploymentsApi {
|
|
|
322
322
|
* Get deployments
|
|
323
323
|
*
|
|
324
324
|
* @param {Object} opts Optional parameters
|
|
325
|
-
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
325
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
326
326
|
*/
|
|
327
327
|
getWebdeploymentsDeployments(opts) {
|
|
328
328
|
opts = opts || {};
|