purecloud-platform-client-v2 235.0.0 → 237.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 +492 -88
- package/dist/web-amd/purecloud-platform-client-v2.js +492 -88
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +201 -89
- package/dist/web-cjs/purecloud-platform-client-v2.js +201 -89
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +889 -596
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.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 +2 -2
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.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 +37 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.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 +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 +27 -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 +2 -2
- 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 +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/SocialMediaApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +294 -0
- 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 +51 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class AuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Authorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 237.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -302,7 +302,7 @@ class AuthorizationApi {
|
|
|
302
302
|
* @param {Object} opts Optional parameters
|
|
303
303
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
304
304
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
305
|
-
* @param {String} opts.pageSize
|
|
305
|
+
* @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
|
|
306
306
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
307
307
|
* @param {String} opts.name Optionally request specific divisions by division name
|
|
308
308
|
*/
|
|
@@ -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 237.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2086,6 +2086,42 @@ class ConversationsApi {
|
|
|
2086
2086
|
);
|
|
2087
2087
|
}
|
|
2088
2088
|
|
|
2089
|
+
/**
|
|
2090
|
+
* Get message media list by status
|
|
2091
|
+
*
|
|
2092
|
+
* @param {String} conversationId conversationId
|
|
2093
|
+
* @param {String} communicationId communicationId
|
|
2094
|
+
* @param {Object} opts Optional parameters
|
|
2095
|
+
* @param {Object} opts.status The status on which to filter the response.
|
|
2096
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2097
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2098
|
+
*/
|
|
2099
|
+
getConversationsMessageCommunicationMessagesMedia(conversationId, communicationId, opts) {
|
|
2100
|
+
opts = opts || {};
|
|
2101
|
+
|
|
2102
|
+
// verify the required parameter 'conversationId' is set
|
|
2103
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
2104
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';
|
|
2105
|
+
}
|
|
2106
|
+
// verify the required parameter 'communicationId' is set
|
|
2107
|
+
if (communicationId === undefined || communicationId === null || communicationId === '') {
|
|
2108
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
return this.apiClient.callApi(
|
|
2112
|
+
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media',
|
|
2113
|
+
'GET',
|
|
2114
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
2115
|
+
{ 'status': opts['status'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
2116
|
+
{ },
|
|
2117
|
+
{ },
|
|
2118
|
+
null,
|
|
2119
|
+
['PureCloud OAuth'],
|
|
2120
|
+
['application/json'],
|
|
2121
|
+
['application/json']
|
|
2122
|
+
);
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2089
2125
|
/**
|
|
2090
2126
|
* Get media
|
|
2091
2127
|
* See https://developer.genesys.cloud/api/rest/v2/conversations/messaging-media-upload for example usage.
|
|
@@ -3325,7 +3361,6 @@ class ConversationsApi {
|
|
|
3325
3361
|
* Gets a record for a given meetingId
|
|
3326
3362
|
*
|
|
3327
3363
|
* @param {String} meetingId meetingId
|
|
3328
|
-
* getConversationsVideosMeeting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3329
3364
|
*/
|
|
3330
3365
|
getConversationsVideosMeeting(meetingId) {
|
|
3331
3366
|
// verify the required parameter 'meetingId' is set
|
|
@@ -7850,7 +7885,6 @@ class ConversationsApi {
|
|
|
7850
7885
|
* Generate a meetingId for a given conferenceId
|
|
7851
7886
|
*
|
|
7852
7887
|
* @param {Object} body MeetingIdRequest
|
|
7853
|
-
* postConversationsVideosMeetings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7854
7888
|
*/
|
|
7855
7889
|
postConversationsVideosMeetings(body) {
|
|
7856
7890
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 237.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -854,6 +854,32 @@ class LearningApi {
|
|
|
854
854
|
);
|
|
855
855
|
}
|
|
856
856
|
|
|
857
|
+
/**
|
|
858
|
+
* Migrate a legacy learning module rule to a users rule.
|
|
859
|
+
*
|
|
860
|
+
* @param {String} moduleId The ID of the learning module
|
|
861
|
+
* postLearningModuleRuleMigrate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
862
|
+
*/
|
|
863
|
+
postLearningModuleRuleMigrate(moduleId) {
|
|
864
|
+
// verify the required parameter 'moduleId' is set
|
|
865
|
+
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
866
|
+
throw 'Missing the required parameter "moduleId" when calling postLearningModuleRuleMigrate';
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
return this.apiClient.callApi(
|
|
870
|
+
'/api/v2/learning/modules/{moduleId}/rule/migrate',
|
|
871
|
+
'POST',
|
|
872
|
+
{ 'moduleId': moduleId },
|
|
873
|
+
{ },
|
|
874
|
+
{ },
|
|
875
|
+
{ },
|
|
876
|
+
null,
|
|
877
|
+
['PureCloud OAuth'],
|
|
878
|
+
['application/json'],
|
|
879
|
+
['application/json']
|
|
880
|
+
);
|
|
881
|
+
}
|
|
882
|
+
|
|
857
883
|
/**
|
|
858
884
|
* Create a new learning module
|
|
859
885
|
* This will create a new unpublished learning module with the specified fields.
|
|
@@ -5,7 +5,7 @@ class ObjectsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Objects service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 237.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -181,7 +181,7 @@ class ObjectsApi {
|
|
|
181
181
|
* @param {Object} opts Optional parameters
|
|
182
182
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
183
183
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
184
|
-
* @param {String} opts.pageSize
|
|
184
|
+
* @param {String} opts.pageSize Page size (max 200, default 25) (default to 25)
|
|
185
185
|
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
186
186
|
* @param {String} opts.name Optionally request specific divisions by division name
|
|
187
187
|
*/
|