purecloud-platform-client-v2 204.0.1 → 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 +828 -95
- package/dist/web-amd/purecloud-platform-client-v2.js +828 -95
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +273 -96
- package/dist/web-cjs/purecloud-platform-client-v2.js +273 -96
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +563 -1
- 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 -14
- 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 -2
- 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 +51 -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
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class ArchitectApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Architect service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 205.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -49,7 +49,6 @@ class ArchitectApi {
|
|
|
49
49
|
* Delete a grammar.
|
|
50
50
|
*
|
|
51
51
|
* @param {String} grammarId grammar ID
|
|
52
|
-
* deleteArchitectGrammar is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
53
52
|
*/
|
|
54
53
|
deleteArchitectGrammar(grammarId) {
|
|
55
54
|
// verify the required parameter 'grammarId' is set
|
|
@@ -76,7 +75,6 @@ class ArchitectApi {
|
|
|
76
75
|
*
|
|
77
76
|
* @param {String} grammarId Grammar ID
|
|
78
77
|
* @param {String} languageCode Language
|
|
79
|
-
* deleteArchitectGrammarLanguage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
80
78
|
*/
|
|
81
79
|
deleteArchitectGrammarLanguage(grammarId, languageCode) {
|
|
82
80
|
// verify the required parameter 'grammarId' is set
|
|
@@ -107,7 +105,6 @@ class ArchitectApi {
|
|
|
107
105
|
*
|
|
108
106
|
* @param {String} grammarId Grammar ID
|
|
109
107
|
* @param {String} languageCode Language
|
|
110
|
-
* deleteArchitectGrammarLanguageFilesDtmf is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
111
108
|
*/
|
|
112
109
|
deleteArchitectGrammarLanguageFilesDtmf(grammarId, languageCode) {
|
|
113
110
|
// verify the required parameter 'grammarId' is set
|
|
@@ -138,7 +135,6 @@ class ArchitectApi {
|
|
|
138
135
|
*
|
|
139
136
|
* @param {String} grammarId Grammar ID
|
|
140
137
|
* @param {String} languageCode Language
|
|
141
|
-
* deleteArchitectGrammarLanguageFilesVoice is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
142
138
|
*/
|
|
143
139
|
deleteArchitectGrammarLanguageFilesVoice(grammarId, languageCode) {
|
|
144
140
|
// verify the required parameter 'grammarId' is set
|
|
@@ -929,7 +925,6 @@ class ArchitectApi {
|
|
|
929
925
|
* @param {String} grammarId grammar ID
|
|
930
926
|
* @param {Object} opts Optional parameters
|
|
931
927
|
* @param {Boolean} opts.includeFileUrls Include grammar language file URLs
|
|
932
|
-
* getArchitectGrammar is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
933
928
|
*/
|
|
934
929
|
getArchitectGrammar(grammarId, opts) {
|
|
935
930
|
opts = opts || {};
|
|
@@ -958,7 +953,6 @@ class ArchitectApi {
|
|
|
958
953
|
*
|
|
959
954
|
* @param {String} grammarId Grammar ID
|
|
960
955
|
* @param {String} languageCode Language
|
|
961
|
-
* getArchitectGrammarLanguage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
962
956
|
*/
|
|
963
957
|
getArchitectGrammarLanguage(grammarId, languageCode) {
|
|
964
958
|
// verify the required parameter 'grammarId' is set
|
|
@@ -997,7 +991,6 @@ class ArchitectApi {
|
|
|
997
991
|
* @param {String} opts.description Description
|
|
998
992
|
* @param {String} opts.nameOrDescription Name or description
|
|
999
993
|
* @param {Boolean} opts.includeFileUrls Include grammar language file URLs
|
|
1000
|
-
* getArchitectGrammars is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1001
994
|
*/
|
|
1002
995
|
getArchitectGrammars(opts) {
|
|
1003
996
|
opts = opts || {};
|
|
@@ -2693,7 +2686,6 @@ class ArchitectApi {
|
|
|
2693
2686
|
* @param {String} grammarId grammar ID
|
|
2694
2687
|
* @param {Object} opts Optional parameters
|
|
2695
2688
|
* @param {Object} opts.body
|
|
2696
|
-
* patchArchitectGrammar is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2697
2689
|
*/
|
|
2698
2690
|
patchArchitectGrammar(grammarId, opts) {
|
|
2699
2691
|
opts = opts || {};
|
|
@@ -2724,7 +2716,6 @@ class ArchitectApi {
|
|
|
2724
2716
|
* @param {String} languageCode Language
|
|
2725
2717
|
* @param {Object} opts Optional parameters
|
|
2726
2718
|
* @param {Object} opts.body
|
|
2727
|
-
* patchArchitectGrammarLanguage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2728
2719
|
*/
|
|
2729
2720
|
patchArchitectGrammarLanguage(grammarId, languageCode, opts) {
|
|
2730
2721
|
opts = opts || {};
|
|
@@ -2828,7 +2819,6 @@ class ArchitectApi {
|
|
|
2828
2819
|
* @param {String} grammarId Grammar ID
|
|
2829
2820
|
* @param {String} languageCode Language
|
|
2830
2821
|
* @param {Object} body query
|
|
2831
|
-
* postArchitectGrammarLanguageFilesDtmf is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2832
2822
|
*/
|
|
2833
2823
|
postArchitectGrammarLanguageFilesDtmf(grammarId, languageCode, body) {
|
|
2834
2824
|
// verify the required parameter 'grammarId' is set
|
|
@@ -2864,7 +2854,6 @@ class ArchitectApi {
|
|
|
2864
2854
|
* @param {String} grammarId Grammar ID
|
|
2865
2855
|
* @param {String} languageCode Language
|
|
2866
2856
|
* @param {Object} body query
|
|
2867
|
-
* postArchitectGrammarLanguageFilesVoice is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2868
2857
|
*/
|
|
2869
2858
|
postArchitectGrammarLanguageFilesVoice(grammarId, languageCode, body) {
|
|
2870
2859
|
// verify the required parameter 'grammarId' is set
|
|
@@ -2899,7 +2888,6 @@ class ArchitectApi {
|
|
|
2899
2888
|
*
|
|
2900
2889
|
* @param {String} grammarId Grammar ID
|
|
2901
2890
|
* @param {Object} body
|
|
2902
|
-
* postArchitectGrammarLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2903
2891
|
*/
|
|
2904
2892
|
postArchitectGrammarLanguages(grammarId, body) {
|
|
2905
2893
|
// verify the required parameter 'grammarId' is set
|
|
@@ -2929,7 +2917,6 @@ class ArchitectApi {
|
|
|
2929
2917
|
* Create a new grammar
|
|
2930
2918
|
*
|
|
2931
2919
|
* @param {Object} body
|
|
2932
|
-
* postArchitectGrammars is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2933
2920
|
*/
|
|
2934
2921
|
postArchitectGrammars(body) {
|
|
2935
2922
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 205.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -787,6 +787,32 @@ class ConversationsApi {
|
|
|
787
787
|
);
|
|
788
788
|
}
|
|
789
789
|
|
|
790
|
+
/**
|
|
791
|
+
* Get the summaries of the conversation.
|
|
792
|
+
*
|
|
793
|
+
* @param {String} conversationId Conversation ID
|
|
794
|
+
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
795
|
+
*/
|
|
796
|
+
getConversationSummaries(conversationId) {
|
|
797
|
+
// verify the required parameter 'conversationId' is set
|
|
798
|
+
if (conversationId === undefined || conversationId === null) {
|
|
799
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSummaries';
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
return this.apiClient.callApi(
|
|
803
|
+
'/api/v2/conversations/{conversationId}/summaries',
|
|
804
|
+
'GET',
|
|
805
|
+
{ 'conversationId': conversationId },
|
|
806
|
+
{ },
|
|
807
|
+
{ },
|
|
808
|
+
{ },
|
|
809
|
+
null,
|
|
810
|
+
['PureCloud OAuth'],
|
|
811
|
+
['application/json'],
|
|
812
|
+
['application/json']
|
|
813
|
+
);
|
|
814
|
+
}
|
|
815
|
+
|
|
790
816
|
/**
|
|
791
817
|
* Get active conversations for the logged in user
|
|
792
818
|
*
|
|
@@ -2861,7 +2887,6 @@ class ConversationsApi {
|
|
|
2861
2887
|
*
|
|
2862
2888
|
* @param {String} conversationId conversation ID
|
|
2863
2889
|
* @param {Object} body Conversation Utilization Label
|
|
2864
|
-
* patchConversationUtilizationlabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2865
2890
|
*/
|
|
2866
2891
|
patchConversationUtilizationlabel(conversationId, body) {
|
|
2867
2892
|
// verify the required parameter 'conversationId' is set
|
|
@@ -5,7 +5,7 @@ class IntegrationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Integrations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 205.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -882,6 +882,56 @@ class IntegrationsApi {
|
|
|
882
882
|
);
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
+
/**
|
|
886
|
+
* Get a list of Audio Connector integrations
|
|
887
|
+
*
|
|
888
|
+
* @param {Object} opts Optional parameters
|
|
889
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
890
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
891
|
+
*/
|
|
892
|
+
getIntegrationsSpeechAudioconnector(opts) {
|
|
893
|
+
opts = opts || {};
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
return this.apiClient.callApi(
|
|
897
|
+
'/api/v2/integrations/speech/audioconnector',
|
|
898
|
+
'GET',
|
|
899
|
+
{ },
|
|
900
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
901
|
+
{ },
|
|
902
|
+
{ },
|
|
903
|
+
null,
|
|
904
|
+
['PureCloud OAuth'],
|
|
905
|
+
['application/json'],
|
|
906
|
+
['application/json']
|
|
907
|
+
);
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Get an Audio Connector integration
|
|
912
|
+
*
|
|
913
|
+
* @param {String} integrationId The integration ID
|
|
914
|
+
*/
|
|
915
|
+
getIntegrationsSpeechAudioconnectorIntegrationId(integrationId) {
|
|
916
|
+
// verify the required parameter 'integrationId' is set
|
|
917
|
+
if (integrationId === undefined || integrationId === null) {
|
|
918
|
+
throw 'Missing the required parameter "integrationId" when calling getIntegrationsSpeechAudioconnectorIntegrationId';
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
return this.apiClient.callApi(
|
|
922
|
+
'/api/v2/integrations/speech/audioconnector/{integrationId}',
|
|
923
|
+
'GET',
|
|
924
|
+
{ 'integrationId': integrationId },
|
|
925
|
+
{ },
|
|
926
|
+
{ },
|
|
927
|
+
{ },
|
|
928
|
+
null,
|
|
929
|
+
['PureCloud OAuth'],
|
|
930
|
+
['application/json'],
|
|
931
|
+
['application/json']
|
|
932
|
+
);
|
|
933
|
+
}
|
|
934
|
+
|
|
885
935
|
/**
|
|
886
936
|
* Get details about a Dialogflow agent
|
|
887
937
|
*
|