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.
Files changed (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +432 -87
  3. package/dist/web-amd/purecloud-platform-client-v2.js +432 -87
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +171 -87
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +171 -87
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +230 -10
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +187 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +7 -3
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -2
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -2
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +2 -2
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +156 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  91. 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 211.1.0
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
  *
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
5
5
  /**
6
6
  * WorkforceManagement service.
7
7
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
8
- * @version 211.1.0
8
+ * @version 212.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -113,7 +113,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
113
113
  * </pre>
114
114
  * </p>
115
115
  * @module purecloud-platform-client-v2/index
116
- * @version 211.1.0
116
+ * @version 212.0.0
117
117
  */
118
118
  class platformClient {
119
119
  constructor() {