purecloud-platform-client-v2 211.1.0 → 212.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 +432 -87
- package/dist/web-amd/purecloud-platform-client-v2.js +432 -87
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +171 -87
- package/dist/web-cjs/purecloud-platform-client-v2.js +171 -87
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +230 -10
- 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 +187 -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 +7 -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 +3 -2
- 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 -2
- 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 +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 +2 -2
- 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 +156 -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/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 TaskManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TaskManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 212.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -120,6 +120,36 @@ class TaskManagementApi {
|
|
|
120
120
|
);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Delete a date based rule
|
|
125
|
+
*
|
|
126
|
+
* @param {String} worktypeId Worktype id
|
|
127
|
+
* @param {String} ruleId ruleId
|
|
128
|
+
*/
|
|
129
|
+
deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
130
|
+
// verify the required parameter 'worktypeId' is set
|
|
131
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
132
|
+
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
|
|
133
|
+
}
|
|
134
|
+
// verify the required parameter 'ruleId' is set
|
|
135
|
+
if (ruleId === undefined || ruleId === null) {
|
|
136
|
+
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
return this.apiClient.callApi(
|
|
140
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
|
|
141
|
+
'DELETE',
|
|
142
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
143
|
+
{ },
|
|
144
|
+
{ },
|
|
145
|
+
{ },
|
|
146
|
+
null,
|
|
147
|
+
['PureCloud OAuth'],
|
|
148
|
+
['application/json'],
|
|
149
|
+
['application/json']
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
|
|
123
153
|
/**
|
|
124
154
|
* Delete a rule
|
|
125
155
|
*
|
|
@@ -702,6 +732,66 @@ class TaskManagementApi {
|
|
|
702
732
|
);
|
|
703
733
|
}
|
|
704
734
|
|
|
735
|
+
/**
|
|
736
|
+
* Get a date based rule
|
|
737
|
+
*
|
|
738
|
+
* @param {String} worktypeId Worktype id
|
|
739
|
+
* @param {String} ruleId ruleId
|
|
740
|
+
*/
|
|
741
|
+
getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
742
|
+
// verify the required parameter 'worktypeId' is set
|
|
743
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
744
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
|
|
745
|
+
}
|
|
746
|
+
// verify the required parameter 'ruleId' is set
|
|
747
|
+
if (ruleId === undefined || ruleId === null) {
|
|
748
|
+
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
return this.apiClient.callApi(
|
|
752
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
|
|
753
|
+
'GET',
|
|
754
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
755
|
+
{ },
|
|
756
|
+
{ },
|
|
757
|
+
{ },
|
|
758
|
+
null,
|
|
759
|
+
['PureCloud OAuth'],
|
|
760
|
+
['application/json'],
|
|
761
|
+
['application/json']
|
|
762
|
+
);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Get all date based rules for a worktype
|
|
767
|
+
*
|
|
768
|
+
* @param {String} worktypeId Worktype id
|
|
769
|
+
* @param {Object} opts Optional parameters
|
|
770
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
771
|
+
* @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
|
|
772
|
+
*/
|
|
773
|
+
getTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, opts) {
|
|
774
|
+
opts = opts || {};
|
|
775
|
+
|
|
776
|
+
// verify the required parameter 'worktypeId' is set
|
|
777
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
778
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRules';
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
return this.apiClient.callApi(
|
|
782
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules',
|
|
783
|
+
'GET',
|
|
784
|
+
{ 'worktypeId': worktypeId },
|
|
785
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
786
|
+
{ },
|
|
787
|
+
{ },
|
|
788
|
+
null,
|
|
789
|
+
['PureCloud OAuth'],
|
|
790
|
+
['application/json'],
|
|
791
|
+
['application/json']
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
|
|
705
795
|
/**
|
|
706
796
|
* Get an attribute change rule
|
|
707
797
|
*
|
|
@@ -1158,6 +1248,41 @@ class TaskManagementApi {
|
|
|
1158
1248
|
);
|
|
1159
1249
|
}
|
|
1160
1250
|
|
|
1251
|
+
/**
|
|
1252
|
+
* Update the attributes of a date based rule
|
|
1253
|
+
*
|
|
1254
|
+
* @param {String} worktypeId Worktype id
|
|
1255
|
+
* @param {String} ruleId ruleId
|
|
1256
|
+
* @param {Object} body Rule
|
|
1257
|
+
*/
|
|
1258
|
+
patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, body) {
|
|
1259
|
+
// verify the required parameter 'worktypeId' is set
|
|
1260
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
1261
|
+
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
1262
|
+
}
|
|
1263
|
+
// verify the required parameter 'ruleId' is set
|
|
1264
|
+
if (ruleId === undefined || ruleId === null) {
|
|
1265
|
+
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
1266
|
+
}
|
|
1267
|
+
// verify the required parameter 'body' is set
|
|
1268
|
+
if (body === undefined || body === null) {
|
|
1269
|
+
throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
return this.apiClient.callApi(
|
|
1273
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}',
|
|
1274
|
+
'PATCH',
|
|
1275
|
+
{ 'worktypeId': worktypeId,'ruleId': ruleId },
|
|
1276
|
+
{ },
|
|
1277
|
+
{ },
|
|
1278
|
+
{ },
|
|
1279
|
+
body,
|
|
1280
|
+
['PureCloud OAuth'],
|
|
1281
|
+
['application/json'],
|
|
1282
|
+
['application/json']
|
|
1283
|
+
);
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1161
1286
|
/**
|
|
1162
1287
|
* Update the attributes of a rule
|
|
1163
1288
|
*
|
|
@@ -1493,6 +1618,36 @@ class TaskManagementApi {
|
|
|
1493
1618
|
);
|
|
1494
1619
|
}
|
|
1495
1620
|
|
|
1621
|
+
/**
|
|
1622
|
+
* Add a date based rule to a worktype
|
|
1623
|
+
*
|
|
1624
|
+
* @param {String} worktypeId Worktype id
|
|
1625
|
+
* @param {Object} body Rule
|
|
1626
|
+
*/
|
|
1627
|
+
postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, body) {
|
|
1628
|
+
// verify the required parameter 'worktypeId' is set
|
|
1629
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
1630
|
+
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
|
|
1631
|
+
}
|
|
1632
|
+
// verify the required parameter 'body' is set
|
|
1633
|
+
if (body === undefined || body === null) {
|
|
1634
|
+
throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
return this.apiClient.callApi(
|
|
1638
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules',
|
|
1639
|
+
'POST',
|
|
1640
|
+
{ 'worktypeId': worktypeId },
|
|
1641
|
+
{ },
|
|
1642
|
+
{ },
|
|
1643
|
+
{ },
|
|
1644
|
+
body,
|
|
1645
|
+
['PureCloud OAuth'],
|
|
1646
|
+
['application/json'],
|
|
1647
|
+
['application/json']
|
|
1648
|
+
);
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1496
1651
|
/**
|
|
1497
1652
|
* Add an attribute-change rule to a worktype
|
|
1498
1653
|
*
|