purecloud-platform-client-v2 215.0.0 → 216.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 +559 -118
  3. package/dist/web-amd/purecloud-platform-client-v2.js +559 -118
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +203 -96
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +204 -97
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +484 -255
  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 +1 -2
  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 +379 -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 +1 -1
  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 +9 -4
  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 +21 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  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 -31
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  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 +3 -3
  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 +1 -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 +70 -1
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -690,7 +690,7 @@ class Configuration {
690
690
 
691
691
  /**
692
692
  * @module purecloud-platform-client-v2/ApiClient
693
- * @version 215.0.0
693
+ * @version 216.0.0
694
694
  */
695
695
  class ApiClient {
696
696
  /**
@@ -2234,7 +2234,7 @@ class AgentAssistantsApi {
2234
2234
  /**
2235
2235
  * AgentAssistants service.
2236
2236
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2237
- * @version 215.0.0
2237
+ * @version 216.0.0
2238
2238
  */
2239
2239
 
2240
2240
  /**
@@ -2610,7 +2610,7 @@ class AgentCopilotApi {
2610
2610
  /**
2611
2611
  * AgentCopilot service.
2612
2612
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2613
- * @version 215.0.0
2613
+ * @version 216.0.0
2614
2614
  */
2615
2615
 
2616
2616
  /**
@@ -2686,7 +2686,7 @@ class AgentUIApi {
2686
2686
  /**
2687
2687
  * AgentUI service.
2688
2688
  * @module purecloud-platform-client-v2/api/AgentUIApi
2689
- * @version 215.0.0
2689
+ * @version 216.0.0
2690
2690
  */
2691
2691
 
2692
2692
  /**
@@ -2817,7 +2817,7 @@ class AlertingApi {
2817
2817
  /**
2818
2818
  * Alerting service.
2819
2819
  * @module purecloud-platform-client-v2/api/AlertingApi
2820
- * @version 215.0.0
2820
+ * @version 216.0.0
2821
2821
  */
2822
2822
 
2823
2823
  /**
@@ -3522,7 +3522,7 @@ class AnalyticsApi {
3522
3522
  /**
3523
3523
  * Analytics service.
3524
3524
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3525
- * @version 215.0.0
3525
+ * @version 216.0.0
3526
3526
  */
3527
3527
 
3528
3528
  /**
@@ -5955,7 +5955,6 @@ class AnalyticsApi {
5955
5955
  * Query for summary aggregates
5956
5956
  *
5957
5957
  * @param {Object} body query
5958
- * postAnalyticsSummariesAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5959
5958
  */
5960
5959
  postAnalyticsSummariesAggregatesQuery(body) {
5961
5960
  // verify the required parameter 'body' is set
@@ -6347,7 +6346,7 @@ class ArchitectApi {
6347
6346
  /**
6348
6347
  * Architect service.
6349
6348
  * @module purecloud-platform-client-v2/api/ArchitectApi
6350
- * @version 215.0.0
6349
+ * @version 216.0.0
6351
6350
  */
6352
6351
 
6353
6352
  /**
@@ -10469,7 +10468,7 @@ class AuditApi {
10469
10468
  /**
10470
10469
  * Audit service.
10471
10470
  * @module purecloud-platform-client-v2/api/AuditApi
10472
- * @version 215.0.0
10471
+ * @version 216.0.0
10473
10472
  */
10474
10473
 
10475
10474
  /**
@@ -10670,7 +10669,7 @@ class AuthorizationApi {
10670
10669
  /**
10671
10670
  * Authorization service.
10672
10671
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10673
- * @version 215.0.0
10672
+ * @version 216.0.0
10674
10673
  */
10675
10674
 
10676
10675
  /**
@@ -10714,6 +10713,37 @@ class AuthorizationApi {
10714
10713
  );
10715
10714
  }
10716
10715
 
10716
+ /**
10717
+ * Delete an access control policy
10718
+ *
10719
+ * @param {String} targetName The domain:entity:action target to which the policy is applied
10720
+ * @param {String} subjectId The ID of the subject to which the policy is applied
10721
+ * deleteAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10722
+ */
10723
+ deleteAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
10724
+ // verify the required parameter 'targetName' is set
10725
+ if (targetName === undefined || targetName === null) {
10726
+ throw 'Missing the required parameter "targetName" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
10727
+ }
10728
+ // verify the required parameter 'subjectId' is set
10729
+ if (subjectId === undefined || subjectId === null) {
10730
+ throw 'Missing the required parameter "subjectId" when calling deleteAuthorizationPoliciesTargetSubjectSubjectId';
10731
+ }
10732
+
10733
+ return this.apiClient.callApi(
10734
+ '/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}',
10735
+ 'DELETE',
10736
+ { 'targetName': targetName,'subjectId': subjectId },
10737
+ { },
10738
+ { },
10739
+ { },
10740
+ null,
10741
+ ['PureCloud OAuth'],
10742
+ ['application/json'],
10743
+ ['application/json']
10744
+ );
10745
+ }
10746
+
10717
10747
  /**
10718
10748
  * Delete an organization role.
10719
10749
  *
@@ -11028,6 +11058,198 @@ class AuthorizationApi {
11028
11058
  );
11029
11059
  }
11030
11060
 
11061
+ /**
11062
+ * Get a page of access policies for an organization
11063
+ *
11064
+ * @param {Object} opts Optional parameters
11065
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
11066
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
11067
+ * getAuthorizationPolicies is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11068
+ */
11069
+ getAuthorizationPolicies(opts) {
11070
+ opts = opts || {};
11071
+
11072
+
11073
+ return this.apiClient.callApi(
11074
+ '/api/v2/authorization/policies',
11075
+ 'GET',
11076
+ { },
11077
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
11078
+ { },
11079
+ { },
11080
+ null,
11081
+ ['PureCloud OAuth'],
11082
+ ['application/json'],
11083
+ ['application/json']
11084
+ );
11085
+ }
11086
+
11087
+ /**
11088
+ * Get a page of access policies for a given subject
11089
+ *
11090
+ * @param {String} subjectId The ID of the subject to which policies are applied
11091
+ * @param {Object} opts Optional parameters
11092
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
11093
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
11094
+ * getAuthorizationPoliciesSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11095
+ */
11096
+ getAuthorizationPoliciesSubjectSubjectId(subjectId, opts) {
11097
+ opts = opts || {};
11098
+
11099
+ // verify the required parameter 'subjectId' is set
11100
+ if (subjectId === undefined || subjectId === null) {
11101
+ throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesSubjectSubjectId';
11102
+ }
11103
+
11104
+ return this.apiClient.callApi(
11105
+ '/api/v2/authorization/policies/subject/{subjectId}',
11106
+ 'GET',
11107
+ { 'subjectId': subjectId },
11108
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
11109
+ { },
11110
+ { },
11111
+ null,
11112
+ ['PureCloud OAuth'],
11113
+ ['application/json'],
11114
+ ['application/json']
11115
+ );
11116
+ }
11117
+
11118
+ /**
11119
+ * Get a page of access policies for a given policy target
11120
+ *
11121
+ * @param {String} targetName The domain:entity:action resource target to which policies are applied
11122
+ * @param {Object} opts Optional parameters
11123
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
11124
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
11125
+ * getAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11126
+ */
11127
+ getAuthorizationPoliciesTarget(targetName, opts) {
11128
+ opts = opts || {};
11129
+
11130
+ // verify the required parameter 'targetName' is set
11131
+ if (targetName === undefined || targetName === null) {
11132
+ throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTarget';
11133
+ }
11134
+
11135
+ return this.apiClient.callApi(
11136
+ '/api/v2/authorization/policies/targets/{targetName}',
11137
+ 'GET',
11138
+ { 'targetName': targetName },
11139
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
11140
+ { },
11141
+ { },
11142
+ null,
11143
+ ['PureCloud OAuth'],
11144
+ ['application/json'],
11145
+ ['application/json']
11146
+ );
11147
+ }
11148
+
11149
+ /**
11150
+ * Get an access control policy for a specified resource target and subject
11151
+ *
11152
+ * @param {String} targetName The domain:entity:action resource target to which the policy is applied
11153
+ * @param {String} subjectId The ID of the subject to which the policy is applied
11154
+ * getAuthorizationPoliciesTargetSubjectSubjectId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11155
+ */
11156
+ getAuthorizationPoliciesTargetSubjectSubjectId(targetName, subjectId) {
11157
+ // verify the required parameter 'targetName' is set
11158
+ if (targetName === undefined || targetName === null) {
11159
+ throw 'Missing the required parameter "targetName" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
11160
+ }
11161
+ // verify the required parameter 'subjectId' is set
11162
+ if (subjectId === undefined || subjectId === null) {
11163
+ throw 'Missing the required parameter "subjectId" when calling getAuthorizationPoliciesTargetSubjectSubjectId';
11164
+ }
11165
+
11166
+ return this.apiClient.callApi(
11167
+ '/api/v2/authorization/policies/targets/{targetName}/subject/{subjectId}',
11168
+ 'GET',
11169
+ { 'targetName': targetName,'subjectId': subjectId },
11170
+ { },
11171
+ { },
11172
+ { },
11173
+ null,
11174
+ ['PureCloud OAuth'],
11175
+ ['application/json'],
11176
+ ['application/json']
11177
+ );
11178
+ }
11179
+
11180
+ /**
11181
+ * Get a map of policy targets to valid attributes for those targets
11182
+ *
11183
+ * getAuthorizationPoliciesTargets is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11184
+ */
11185
+ getAuthorizationPoliciesTargets() {
11186
+
11187
+ return this.apiClient.callApi(
11188
+ '/api/v2/authorization/policies/targets',
11189
+ 'GET',
11190
+ { },
11191
+ { },
11192
+ { },
11193
+ { },
11194
+ null,
11195
+ ['PureCloud OAuth'],
11196
+ ['application/json'],
11197
+ ['application/json']
11198
+ );
11199
+ }
11200
+
11201
+ /**
11202
+ * Get an access control policy with the specified policy ID
11203
+ *
11204
+ * @param {String} policyId The ID of the policy to retrieve
11205
+ * getAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11206
+ */
11207
+ getAuthorizationPolicy(policyId) {
11208
+ // verify the required parameter 'policyId' is set
11209
+ if (policyId === undefined || policyId === null) {
11210
+ throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicy';
11211
+ }
11212
+
11213
+ return this.apiClient.callApi(
11214
+ '/api/v2/authorization/policies/{policyId}',
11215
+ 'GET',
11216
+ { 'policyId': policyId },
11217
+ { },
11218
+ { },
11219
+ { },
11220
+ null,
11221
+ ['PureCloud OAuth'],
11222
+ ['application/json'],
11223
+ ['application/json']
11224
+ );
11225
+ }
11226
+
11227
+ /**
11228
+ * Get the list of attributes used to evaluate an access control policy with the specified policy ID
11229
+ *
11230
+ * @param {String} policyId The ID of the policy to retrieve attributes
11231
+ * getAuthorizationPolicyAttributes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11232
+ */
11233
+ getAuthorizationPolicyAttributes(policyId) {
11234
+ // verify the required parameter 'policyId' is set
11235
+ if (policyId === undefined || policyId === null) {
11236
+ throw 'Missing the required parameter "policyId" when calling getAuthorizationPolicyAttributes';
11237
+ }
11238
+
11239
+ return this.apiClient.callApi(
11240
+ '/api/v2/authorization/policies/{policyId}/attributes',
11241
+ 'GET',
11242
+ { 'policyId': policyId },
11243
+ { },
11244
+ { },
11245
+ { },
11246
+ null,
11247
+ ['PureCloud OAuth'],
11248
+ ['application/json'],
11249
+ ['application/json']
11250
+ );
11251
+ }
11252
+
11031
11253
  /**
11032
11254
  * Get the list of enabled products
11033
11255
  * Gets the list of enabled products. Some example product names are: collaborateFree, collaboratePro, communicate, and engage.
@@ -11492,6 +11714,99 @@ class AuthorizationApi {
11492
11714
  );
11493
11715
  }
11494
11716
 
11717
+ /**
11718
+ * Add an access control policy for a specified resource target and subject
11719
+ *
11720
+ * @param {String} targetName The domain:entity:action target to which the policy will be applied
11721
+ * @param {Object} body Access control policy
11722
+ * postAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11723
+ */
11724
+ postAuthorizationPoliciesTarget(targetName, body) {
11725
+ // verify the required parameter 'targetName' is set
11726
+ if (targetName === undefined || targetName === null) {
11727
+ throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTarget';
11728
+ }
11729
+ // verify the required parameter 'body' is set
11730
+ if (body === undefined || body === null) {
11731
+ throw 'Missing the required parameter "body" when calling postAuthorizationPoliciesTarget';
11732
+ }
11733
+
11734
+ return this.apiClient.callApi(
11735
+ '/api/v2/authorization/policies/targets/{targetName}',
11736
+ 'POST',
11737
+ { 'targetName': targetName },
11738
+ { },
11739
+ { },
11740
+ { },
11741
+ body,
11742
+ ['PureCloud OAuth'],
11743
+ ['application/json'],
11744
+ ['application/json']
11745
+ );
11746
+ }
11747
+
11748
+ /**
11749
+ * Validate the conditions and attributes of an access control policy for a specified resource target
11750
+ *
11751
+ * @param {String} targetName The domain:entity:action target to which the policy will be applied
11752
+ * @param {Object} body Access control policy
11753
+ * postAuthorizationPoliciesTargetValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11754
+ */
11755
+ postAuthorizationPoliciesTargetValidate(targetName, body) {
11756
+ // verify the required parameter 'targetName' is set
11757
+ if (targetName === undefined || targetName === null) {
11758
+ throw 'Missing the required parameter "targetName" when calling postAuthorizationPoliciesTargetValidate';
11759
+ }
11760
+ // verify the required parameter 'body' is set
11761
+ if (body === undefined || body === null) {
11762
+ throw 'Missing the required parameter "body" when calling postAuthorizationPoliciesTargetValidate';
11763
+ }
11764
+
11765
+ return this.apiClient.callApi(
11766
+ '/api/v2/authorization/policies/targets/{targetName}/validate',
11767
+ 'POST',
11768
+ { 'targetName': targetName },
11769
+ { },
11770
+ { },
11771
+ { },
11772
+ body,
11773
+ ['PureCloud OAuth'],
11774
+ ['application/json'],
11775
+ ['application/json']
11776
+ );
11777
+ }
11778
+
11779
+ /**
11780
+ * Simulate a request and evaluate the specified policy ID against the provided values
11781
+ *
11782
+ * @param {String} policyId The ID of the policy to test the simulated data against
11783
+ * @param {Object} body A map of attribute names to type and simulated data value
11784
+ * postAuthorizationPolicySimulate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11785
+ */
11786
+ postAuthorizationPolicySimulate(policyId, body) {
11787
+ // verify the required parameter 'policyId' is set
11788
+ if (policyId === undefined || policyId === null) {
11789
+ throw 'Missing the required parameter "policyId" when calling postAuthorizationPolicySimulate';
11790
+ }
11791
+ // verify the required parameter 'body' is set
11792
+ if (body === undefined || body === null) {
11793
+ throw 'Missing the required parameter "body" when calling postAuthorizationPolicySimulate';
11794
+ }
11795
+
11796
+ return this.apiClient.callApi(
11797
+ '/api/v2/authorization/policies/{policyId}/simulate',
11798
+ 'POST',
11799
+ { 'policyId': policyId },
11800
+ { },
11801
+ { },
11802
+ { },
11803
+ body,
11804
+ ['PureCloud OAuth'],
11805
+ ['application/json'],
11806
+ ['application/json']
11807
+ );
11808
+ }
11809
+
11495
11810
  /**
11496
11811
  * Bulk-grant subjects and divisions with an organization role.
11497
11812
  *
@@ -11777,6 +12092,68 @@ class AuthorizationApi {
11777
12092
  );
11778
12093
  }
11779
12094
 
12095
+ /**
12096
+ * Add an access control policy for a specified resource target and subject, overwriting any existing policy
12097
+ *
12098
+ * @param {String} targetName The domain:entity:action target to which the policy will be applied
12099
+ * @param {Object} body Access control policy
12100
+ * putAuthorizationPoliciesTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12101
+ */
12102
+ putAuthorizationPoliciesTarget(targetName, body) {
12103
+ // verify the required parameter 'targetName' is set
12104
+ if (targetName === undefined || targetName === null) {
12105
+ throw 'Missing the required parameter "targetName" when calling putAuthorizationPoliciesTarget';
12106
+ }
12107
+ // verify the required parameter 'body' is set
12108
+ if (body === undefined || body === null) {
12109
+ throw 'Missing the required parameter "body" when calling putAuthorizationPoliciesTarget';
12110
+ }
12111
+
12112
+ return this.apiClient.callApi(
12113
+ '/api/v2/authorization/policies/targets/{targetName}',
12114
+ 'PUT',
12115
+ { 'targetName': targetName },
12116
+ { },
12117
+ { },
12118
+ { },
12119
+ body,
12120
+ ['PureCloud OAuth'],
12121
+ ['application/json'],
12122
+ ['application/json']
12123
+ );
12124
+ }
12125
+
12126
+ /**
12127
+ * Update an access control policy with a given ID
12128
+ *
12129
+ * @param {String} policyId The ID of the policy to update
12130
+ * @param {Object} body Access control policy
12131
+ * putAuthorizationPolicy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12132
+ */
12133
+ putAuthorizationPolicy(policyId, body) {
12134
+ // verify the required parameter 'policyId' is set
12135
+ if (policyId === undefined || policyId === null) {
12136
+ throw 'Missing the required parameter "policyId" when calling putAuthorizationPolicy';
12137
+ }
12138
+ // verify the required parameter 'body' is set
12139
+ if (body === undefined || body === null) {
12140
+ throw 'Missing the required parameter "body" when calling putAuthorizationPolicy';
12141
+ }
12142
+
12143
+ return this.apiClient.callApi(
12144
+ '/api/v2/authorization/policies/{policyId}',
12145
+ 'PUT',
12146
+ { 'policyId': policyId },
12147
+ { },
12148
+ { },
12149
+ { },
12150
+ body,
12151
+ ['PureCloud OAuth'],
12152
+ ['application/json'],
12153
+ ['application/json']
12154
+ );
12155
+ }
12156
+
11780
12157
  /**
11781
12158
  * Update an organization role.
11782
12159
  * Update
@@ -11953,7 +12330,7 @@ class BillingApi {
11953
12330
  /**
11954
12331
  * Billing service.
11955
12332
  * @module purecloud-platform-client-v2/api/BillingApi
11956
- * @version 215.0.0
12333
+ * @version 216.0.0
11957
12334
  */
11958
12335
 
11959
12336
  /**
@@ -12033,7 +12410,7 @@ class CarrierServicesApi {
12033
12410
  /**
12034
12411
  * CarrierServices service.
12035
12412
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
12036
- * @version 215.0.0
12413
+ * @version 216.0.0
12037
12414
  */
12038
12415
 
12039
12416
  /**
@@ -12103,7 +12480,7 @@ class ChatApi {
12103
12480
  /**
12104
12481
  * Chat service.
12105
12482
  * @module purecloud-platform-client-v2/api/ChatApi
12106
- * @version 215.0.0
12483
+ * @version 216.0.0
12107
12484
  */
12108
12485
 
12109
12486
  /**
@@ -13039,7 +13416,7 @@ class CoachingApi {
13039
13416
  /**
13040
13417
  * Coaching service.
13041
13418
  * @module purecloud-platform-client-v2/api/CoachingApi
13042
- * @version 215.0.0
13419
+ * @version 216.0.0
13043
13420
  */
13044
13421
 
13045
13422
  /**
@@ -13616,7 +13993,7 @@ class ContentManagementApi {
13616
13993
  /**
13617
13994
  * ContentManagement service.
13618
13995
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13619
- * @version 215.0.0
13996
+ * @version 216.0.0
13620
13997
  */
13621
13998
 
13622
13999
  /**
@@ -14697,7 +15074,7 @@ class ConversationsApi {
14697
15074
  /**
14698
15075
  * Conversations service.
14699
15076
  * @module purecloud-platform-client-v2/api/ConversationsApi
14700
- * @version 215.0.0
15077
+ * @version 216.0.0
14701
15078
  */
14702
15079
 
14703
15080
  /**
@@ -21859,7 +22236,7 @@ class DataExtensionsApi {
21859
22236
  /**
21860
22237
  * DataExtensions service.
21861
22238
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
21862
- * @version 215.0.0
22239
+ * @version 216.0.0
21863
22240
  */
21864
22241
 
21865
22242
  /**
@@ -21945,7 +22322,7 @@ class DataPrivacyApi {
21945
22322
  /**
21946
22323
  * DataPrivacy service.
21947
22324
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
21948
- * @version 215.0.0
22325
+ * @version 216.0.0
21949
22326
  */
21950
22327
 
21951
22328
  /**
@@ -22115,7 +22492,7 @@ class DownloadsApi {
22115
22492
  /**
22116
22493
  * Downloads service.
22117
22494
  * @module purecloud-platform-client-v2/api/DownloadsApi
22118
- * @version 215.0.0
22495
+ * @version 216.0.0
22119
22496
  */
22120
22497
 
22121
22498
  /**
@@ -22167,7 +22544,7 @@ class EmailsApi {
22167
22544
  /**
22168
22545
  * Emails service.
22169
22546
  * @module purecloud-platform-client-v2/api/EmailsApi
22170
- * @version 215.0.0
22547
+ * @version 216.0.0
22171
22548
  */
22172
22549
 
22173
22550
  /**
@@ -22232,7 +22609,7 @@ class EmployeeEngagementApi {
22232
22609
  /**
22233
22610
  * EmployeeEngagement service.
22234
22611
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
22235
- * @version 215.0.0
22612
+ * @version 216.0.0
22236
22613
  */
22237
22614
 
22238
22615
  /**
@@ -22383,7 +22760,7 @@ class EventsApi {
22383
22760
  /**
22384
22761
  * Events service.
22385
22762
  * @module purecloud-platform-client-v2/api/EventsApi
22386
- * @version 215.0.0
22763
+ * @version 216.0.0
22387
22764
  */
22388
22765
 
22389
22766
  /**
@@ -22479,7 +22856,7 @@ class ExternalContactsApi {
22479
22856
  /**
22480
22857
  * ExternalContacts service.
22481
22858
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
22482
- * @version 215.0.0
22859
+ * @version 216.0.0
22483
22860
  */
22484
22861
 
22485
22862
  /**
@@ -23219,8 +23596,12 @@ class ExternalContactsApi {
23219
23596
  * Get job based on id
23220
23597
  *
23221
23598
  * @param {String} jobId Job id
23599
+ * @param {Object} opts Optional parameters
23600
+ * @param {Array.<String>} opts.expand which fields, if any, to expand
23222
23601
  */
23223
- getExternalcontactsImportJob(jobId) {
23602
+ getExternalcontactsImportJob(jobId, opts) {
23603
+ opts = opts || {};
23604
+
23224
23605
  // verify the required parameter 'jobId' is set
23225
23606
  if (jobId === undefined || jobId === null) {
23226
23607
  throw 'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';
@@ -23230,7 +23611,7 @@ class ExternalContactsApi {
23230
23611
  '/api/v2/externalcontacts/import/jobs/{jobId}',
23231
23612
  'GET',
23232
23613
  { 'jobId': jobId },
23233
- { },
23614
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
23234
23615
  { },
23235
23616
  { },
23236
23617
  null,
@@ -23244,6 +23625,7 @@ class ExternalContactsApi {
23244
23625
  * List jobs for organization
23245
23626
  *
23246
23627
  * @param {Object} opts Optional parameters
23628
+ * @param {Array.<String>} opts.expand which fields, if any, to expand
23247
23629
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
23248
23630
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
23249
23631
  * @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
@@ -23257,7 +23639,7 @@ class ExternalContactsApi {
23257
23639
  '/api/v2/externalcontacts/import/jobs',
23258
23640
  'GET',
23259
23641
  { },
23260
- { 'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'jobStatus': opts['jobStatus'] },
23642
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'after': opts['after'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'jobStatus': opts['jobStatus'] },
23261
23643
  { },
23262
23644
  { },
23263
23645
  null,
@@ -25044,7 +25426,7 @@ class FaxApi {
25044
25426
  /**
25045
25427
  * Fax service.
25046
25428
  * @module purecloud-platform-client-v2/api/FaxApi
25047
- * @version 215.0.0
25429
+ * @version 216.0.0
25048
25430
  */
25049
25431
 
25050
25432
  /**
@@ -25259,7 +25641,7 @@ class FlowsApi {
25259
25641
  /**
25260
25642
  * Flows service.
25261
25643
  * @module purecloud-platform-client-v2/api/FlowsApi
25262
- * @version 215.0.0
25644
+ * @version 216.0.0
25263
25645
  */
25264
25646
 
25265
25647
  /**
@@ -25442,7 +25824,7 @@ class GamificationApi {
25442
25824
  /**
25443
25825
  * Gamification service.
25444
25826
  * @module purecloud-platform-client-v2/api/GamificationApi
25445
- * @version 215.0.0
25827
+ * @version 216.0.0
25446
25828
  */
25447
25829
 
25448
25830
  /**
@@ -27584,7 +27966,7 @@ class GeneralDataProtectionRegulationApi {
27584
27966
  /**
27585
27967
  * GeneralDataProtectionRegulation service.
27586
27968
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27587
- * @version 215.0.0
27969
+ * @version 216.0.0
27588
27970
  */
27589
27971
 
27590
27972
  /**
@@ -27714,7 +28096,7 @@ class GeolocationApi {
27714
28096
  /**
27715
28097
  * Geolocation service.
27716
28098
  * @module purecloud-platform-client-v2/api/GeolocationApi
27717
- * @version 215.0.0
28099
+ * @version 216.0.0
27718
28100
  */
27719
28101
 
27720
28102
  /**
@@ -27845,7 +28227,7 @@ class GreetingsApi {
27845
28227
  /**
27846
28228
  * Greetings service.
27847
28229
  * @module purecloud-platform-client-v2/api/GreetingsApi
27848
- * @version 215.0.0
28230
+ * @version 216.0.0
27849
28231
  */
27850
28232
 
27851
28233
  /**
@@ -28300,7 +28682,7 @@ class GroupsApi {
28300
28682
  /**
28301
28683
  * Groups service.
28302
28684
  * @module purecloud-platform-client-v2/api/GroupsApi
28303
- * @version 215.0.0
28685
+ * @version 216.0.0
28304
28686
  */
28305
28687
 
28306
28688
  /**
@@ -28819,7 +29201,7 @@ class IdentityProviderApi {
28819
29201
  /**
28820
29202
  * IdentityProvider service.
28821
29203
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
28822
- * @version 215.0.0
29204
+ * @version 216.0.0
28823
29205
  */
28824
29206
 
28825
29207
  /**
@@ -29680,7 +30062,7 @@ class InfrastructureAsCodeApi {
29680
30062
  /**
29681
30063
  * InfrastructureAsCode service.
29682
30064
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
29683
- * @version 215.0.0
30065
+ * @version 216.0.0
29684
30066
  */
29685
30067
 
29686
30068
  /**
@@ -29847,7 +30229,7 @@ class IntegrationsApi {
29847
30229
  /**
29848
30230
  * Integrations service.
29849
30231
  * @module purecloud-platform-client-v2/api/IntegrationsApi
29850
- * @version 215.0.0
30232
+ * @version 216.0.0
29851
30233
  */
29852
30234
 
29853
30235
  /**
@@ -32284,7 +32666,7 @@ class JourneyApi {
32284
32666
  /**
32285
32667
  * Journey service.
32286
32668
  * @module purecloud-platform-client-v2/api/JourneyApi
32287
- * @version 215.0.0
32669
+ * @version 216.0.0
32288
32670
  */
32289
32671
 
32290
32672
  /**
@@ -33424,6 +33806,26 @@ class JourneyApi {
33424
33806
  );
33425
33807
  }
33426
33808
 
33809
+ /**
33810
+ * Get details about the data available for journey queries including oldest and newest event dates
33811
+ *
33812
+ */
33813
+ getJourneyViewsDataDetails() {
33814
+
33815
+ return this.apiClient.callApi(
33816
+ '/api/v2/journey/views/data/details',
33817
+ 'GET',
33818
+ { },
33819
+ { },
33820
+ { },
33821
+ { },
33822
+ null,
33823
+ ['PureCloud OAuth'],
33824
+ ['application/json'],
33825
+ ['application/json']
33826
+ );
33827
+ }
33828
+
33427
33829
  /**
33428
33830
  * Get an Event Definition
33429
33831
  *
@@ -34249,7 +34651,7 @@ class KnowledgeApi {
34249
34651
  /**
34250
34652
  * Knowledge service.
34251
34653
  * @module purecloud-platform-client-v2/api/KnowledgeApi
34252
- * @version 215.0.0
34654
+ * @version 216.0.0
34253
34655
  */
34254
34656
 
34255
34657
  /**
@@ -38125,7 +38527,7 @@ class LanguageUnderstandingApi {
38125
38527
  /**
38126
38528
  * LanguageUnderstanding service.
38127
38529
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
38128
- * @version 215.0.0
38530
+ * @version 216.0.0
38129
38531
  */
38130
38532
 
38131
38533
  /**
@@ -39158,7 +39560,7 @@ class LanguagesApi {
39158
39560
  /**
39159
39561
  * Languages service.
39160
39562
  * @module purecloud-platform-client-v2/api/LanguagesApi
39161
- * @version 215.0.0
39563
+ * @version 216.0.0
39162
39564
  */
39163
39565
 
39164
39566
  /**
@@ -39380,7 +39782,7 @@ class LearningApi {
39380
39782
  /**
39381
39783
  * Learning service.
39382
39784
  * @module purecloud-platform-client-v2/api/LearningApi
39383
- * @version 215.0.0
39785
+ * @version 216.0.0
39384
39786
  */
39385
39787
 
39386
39788
  /**
@@ -40409,7 +40811,7 @@ class LicenseApi {
40409
40811
  /**
40410
40812
  * License service.
40411
40813
  * @module purecloud-platform-client-v2/api/LicenseApi
40412
- * @version 215.0.0
40814
+ * @version 216.0.0
40413
40815
  */
40414
40816
 
40415
40817
  /**
@@ -40647,7 +41049,7 @@ class LocationsApi {
40647
41049
  /**
40648
41050
  * Locations service.
40649
41051
  * @module purecloud-platform-client-v2/api/LocationsApi
40650
- * @version 215.0.0
41052
+ * @version 216.0.0
40651
41053
  */
40652
41054
 
40653
41055
  /**
@@ -40883,7 +41285,7 @@ class LogCaptureApi {
40883
41285
  /**
40884
41286
  * LogCapture service.
40885
41287
  * @module purecloud-platform-client-v2/api/LogCaptureApi
40886
- * @version 215.0.0
41288
+ * @version 216.0.0
40887
41289
  */
40888
41290
 
40889
41291
  /**
@@ -41083,7 +41485,7 @@ class MessagingApi {
41083
41485
  /**
41084
41486
  * Messaging service.
41085
41487
  * @module purecloud-platform-client-v2/api/MessagingApi
41086
- * @version 215.0.0
41488
+ * @version 216.0.0
41087
41489
  */
41088
41490
 
41089
41491
  /**
@@ -41442,7 +41844,7 @@ class MobileDevicesApi {
41442
41844
  /**
41443
41845
  * MobileDevices service.
41444
41846
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
41445
- * @version 215.0.0
41847
+ * @version 216.0.0
41446
41848
  */
41447
41849
 
41448
41850
  /**
@@ -41593,7 +41995,7 @@ class NotificationsApi {
41593
41995
  /**
41594
41996
  * Notifications service.
41595
41997
  * @module purecloud-platform-client-v2/api/NotificationsApi
41596
- * @version 215.0.0
41998
+ * @version 216.0.0
41597
41999
  */
41598
42000
 
41599
42001
  /**
@@ -41826,7 +42228,7 @@ class OAuthApi {
41826
42228
  /**
41827
42229
  * OAuth service.
41828
42230
  * @module purecloud-platform-client-v2/api/OAuthApi
41829
- * @version 215.0.0
42231
+ * @version 216.0.0
41830
42232
  */
41831
42233
 
41832
42234
  /**
@@ -42192,7 +42594,7 @@ class ObjectsApi {
42192
42594
  /**
42193
42595
  * Objects service.
42194
42596
  * @module purecloud-platform-client-v2/api/ObjectsApi
42195
- * @version 215.0.0
42597
+ * @version 216.0.0
42196
42598
  */
42197
42599
 
42198
42600
  /**
@@ -42462,7 +42864,7 @@ class OperationalEventsApi {
42462
42864
  /**
42463
42865
  * OperationalEvents service.
42464
42866
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
42465
- * @version 215.0.0
42867
+ * @version 216.0.0
42466
42868
  */
42467
42869
 
42468
42870
  /**
@@ -42579,7 +42981,7 @@ class OrganizationApi {
42579
42981
  /**
42580
42982
  * Organization service.
42581
42983
  * @module purecloud-platform-client-v2/api/OrganizationApi
42582
- * @version 215.0.0
42984
+ * @version 216.0.0
42583
42985
  */
42584
42986
 
42585
42987
  /**
@@ -43121,7 +43523,7 @@ class OrganizationAuthorizationApi {
43121
43523
  /**
43122
43524
  * OrganizationAuthorization service.
43123
43525
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
43124
- * @version 215.0.0
43526
+ * @version 216.0.0
43125
43527
  */
43126
43528
 
43127
43529
  /**
@@ -44515,7 +44917,7 @@ class OutboundApi {
44515
44917
  /**
44516
44918
  * Outbound service.
44517
44919
  * @module purecloud-platform-client-v2/api/OutboundApi
44518
- * @version 215.0.0
44920
+ * @version 216.0.0
44519
44921
  */
44520
44922
 
44521
44923
  /**
@@ -49066,7 +49468,7 @@ class PresenceApi {
49066
49468
  /**
49067
49469
  * Presence service.
49068
49470
  * @module purecloud-platform-client-v2/api/PresenceApi
49069
- * @version 215.0.0
49471
+ * @version 216.0.0
49070
49472
  */
49071
49473
 
49072
49474
  /**
@@ -49810,7 +50212,7 @@ class ProcessAutomationApi {
49810
50212
  /**
49811
50213
  * ProcessAutomation service.
49812
50214
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
49813
- * @version 215.0.0
50215
+ * @version 216.0.0
49814
50216
  */
49815
50217
 
49816
50218
  /**
@@ -50049,7 +50451,7 @@ class QualityApi {
50049
50451
  /**
50050
50452
  * Quality service.
50051
50453
  * @module purecloud-platform-client-v2/api/QualityApi
50052
- * @version 215.0.0
50454
+ * @version 216.0.0
50053
50455
  */
50054
50456
 
50055
50457
  /**
@@ -51837,7 +52239,7 @@ class RecordingApi {
51837
52239
  /**
51838
52240
  * Recording service.
51839
52241
  * @module purecloud-platform-client-v2/api/RecordingApi
51840
- * @version 215.0.0
52242
+ * @version 216.0.0
51841
52243
  */
51842
52244
 
51843
52245
  /**
@@ -52827,36 +53229,6 @@ class RecordingApi {
52827
53229
  );
52828
53230
  }
52829
53231
 
52830
- /**
52831
- * Update a screen recording session
52832
- * This API is deprecated and the functionality to stop screen recording will be no longer supported.
52833
- * @param {String} recordingSessionId Screen recording session ID
52834
- * @param {Object} opts Optional parameters
52835
- * @param {Object} opts.body
52836
- * @deprecated
52837
- */
52838
- patchRecordingsScreensession(recordingSessionId, opts) {
52839
- opts = opts || {};
52840
-
52841
- // verify the required parameter 'recordingSessionId' is set
52842
- if (recordingSessionId === undefined || recordingSessionId === null) {
52843
- throw 'Missing the required parameter "recordingSessionId" when calling patchRecordingsScreensession';
52844
- }
52845
-
52846
- return this.apiClient.callApi(
52847
- '/api/v2/recordings/screensessions/{recordingSessionId}',
52848
- 'PATCH',
52849
- { 'recordingSessionId': recordingSessionId },
52850
- { },
52851
- { },
52852
- { },
52853
- opts['body'],
52854
- ['PureCloud OAuth'],
52855
- ['application/json'],
52856
- ['application/json']
52857
- );
52858
- }
52859
-
52860
53232
  /**
52861
53233
  * Create annotation
52862
53234
  *
@@ -53496,7 +53868,7 @@ class ResponseManagementApi {
53496
53868
  /**
53497
53869
  * ResponseManagement service.
53498
53870
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
53499
- * @version 215.0.0
53871
+ * @version 216.0.0
53500
53872
  */
53501
53873
 
53502
53874
  /**
@@ -54006,7 +54378,7 @@ class RoutingApi {
54006
54378
  /**
54007
54379
  * Routing service.
54008
54380
  * @module purecloud-platform-client-v2/api/RoutingApi
54009
- * @version 215.0.0
54381
+ * @version 216.0.0
54010
54382
  */
54011
54383
 
54012
54384
  /**
@@ -58128,7 +58500,7 @@ class SCIMApi {
58128
58500
  /**
58129
58501
  * SCIM service.
58130
58502
  * @module purecloud-platform-client-v2/api/SCIMApi
58131
- * @version 215.0.0
58503
+ * @version 216.0.0
58132
58504
  */
58133
58505
 
58134
58506
  /**
@@ -59005,7 +59377,7 @@ class ScreenRecordingApi {
59005
59377
  /**
59006
59378
  * ScreenRecording service.
59007
59379
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
59008
- * @version 215.0.0
59380
+ * @version 216.0.0
59009
59381
  */
59010
59382
 
59011
59383
  /**
@@ -59050,7 +59422,7 @@ class ScriptsApi {
59050
59422
  /**
59051
59423
  * Scripts service.
59052
59424
  * @module purecloud-platform-client-v2/api/ScriptsApi
59053
- * @version 215.0.0
59425
+ * @version 216.0.0
59054
59426
  */
59055
59427
 
59056
59428
  /**
@@ -59494,7 +59866,7 @@ class SearchApi {
59494
59866
  /**
59495
59867
  * Search service.
59496
59868
  * @module purecloud-platform-client-v2/api/SearchApi
59497
- * @version 215.0.0
59869
+ * @version 216.0.0
59498
59870
  */
59499
59871
 
59500
59872
  /**
@@ -60237,7 +60609,7 @@ class SettingsApi {
60237
60609
  /**
60238
60610
  * Settings service.
60239
60611
  * @module purecloud-platform-client-v2/api/SettingsApi
60240
- * @version 215.0.0
60612
+ * @version 216.0.0
60241
60613
  */
60242
60614
 
60243
60615
  /**
@@ -60457,7 +60829,7 @@ class SocialMediaApi {
60457
60829
  /**
60458
60830
  * SocialMedia service.
60459
60831
  * @module purecloud-platform-client-v2/api/SocialMediaApi
60460
- * @version 215.0.0
60832
+ * @version 216.0.0
60461
60833
  */
60462
60834
 
60463
60835
  /**
@@ -61362,7 +61734,7 @@ class SpeechTextAnalyticsApi {
61362
61734
  /**
61363
61735
  * SpeechTextAnalytics service.
61364
61736
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
61365
- * @version 215.0.0
61737
+ * @version 216.0.0
61366
61738
  */
61367
61739
 
61368
61740
  /**
@@ -61530,12 +61902,12 @@ class SpeechTextAnalyticsApi {
61530
61902
  * Get the list of Speech and Text Analytics categories
61531
61903
  *
61532
61904
  * @param {Object} opts Optional parameters
61533
- * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
61905
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 25. (default to 25)
61534
61906
  * @param {Number} opts.pageNumber The page number for the listing (default to 1)
61535
61907
  * @param {String} opts.name The category name filter applied to the listing
61536
61908
  * @param {Object} opts.sortOrder The sort order for the listing (default to asc)
61537
61909
  * @param {Object} opts.sortBy The field to sort by for the listing (default to name)
61538
- * @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
61910
+ * @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 25 IDs allowed.
61539
61911
  */
61540
61912
  getSpeechandtextanalyticsCategories(opts) {
61541
61913
  opts = opts || {};
@@ -62803,7 +63175,7 @@ class StationsApi {
62803
63175
  /**
62804
63176
  * Stations service.
62805
63177
  * @module purecloud-platform-client-v2/api/StationsApi
62806
- * @version 215.0.0
63178
+ * @version 216.0.0
62807
63179
  */
62808
63180
 
62809
63181
  /**
@@ -62905,7 +63277,7 @@ class SuggestApi {
62905
63277
  /**
62906
63278
  * Suggest service.
62907
63279
  * @module purecloud-platform-client-v2/api/SuggestApi
62908
- * @version 215.0.0
63280
+ * @version 216.0.0
62909
63281
  */
62910
63282
 
62911
63283
  /**
@@ -63044,7 +63416,7 @@ class TaskManagementApi {
63044
63416
  /**
63045
63417
  * TaskManagement service.
63046
63418
  * @module purecloud-platform-client-v2/api/TaskManagementApi
63047
- * @version 215.0.0
63419
+ * @version 216.0.0
63048
63420
  */
63049
63421
 
63050
63422
  /**
@@ -65150,7 +65522,7 @@ class TeamsApi {
65150
65522
  /**
65151
65523
  * Teams service.
65152
65524
  * @module purecloud-platform-client-v2/api/TeamsApi
65153
- * @version 215.0.0
65525
+ * @version 216.0.0
65154
65526
  */
65155
65527
 
65156
65528
  /**
@@ -65455,7 +65827,7 @@ class TelephonyApi {
65455
65827
  /**
65456
65828
  * Telephony service.
65457
65829
  * @module purecloud-platform-client-v2/api/TelephonyApi
65458
- * @version 215.0.0
65830
+ * @version 216.0.0
65459
65831
  */
65460
65832
 
65461
65833
  /**
@@ -65637,7 +66009,7 @@ class TelephonyProvidersEdgeApi {
65637
66009
  /**
65638
66010
  * TelephonyProvidersEdge service.
65639
66011
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
65640
- * @version 215.0.0
66012
+ * @version 216.0.0
65641
66013
  */
65642
66014
 
65643
66015
  /**
@@ -69088,7 +69460,7 @@ class TextbotsApi {
69088
69460
  /**
69089
69461
  * Textbots service.
69090
69462
  * @module purecloud-platform-client-v2/api/TextbotsApi
69091
- * @version 215.0.0
69463
+ * @version 216.0.0
69092
69464
  */
69093
69465
 
69094
69466
  /**
@@ -69216,7 +69588,7 @@ class TokensApi {
69216
69588
  /**
69217
69589
  * Tokens service.
69218
69590
  * @module purecloud-platform-client-v2/api/TokensApi
69219
- * @version 215.0.0
69591
+ * @version 216.0.0
69220
69592
  */
69221
69593
 
69222
69594
  /**
@@ -69370,7 +69742,7 @@ class UploadsApi {
69370
69742
  /**
69371
69743
  * Uploads service.
69372
69744
  * @module purecloud-platform-client-v2/api/UploadsApi
69373
- * @version 215.0.0
69745
+ * @version 216.0.0
69374
69746
  */
69375
69747
 
69376
69748
  /**
@@ -69638,7 +70010,7 @@ class UsageApi {
69638
70010
  /**
69639
70011
  * Usage service.
69640
70012
  * @module purecloud-platform-client-v2/api/UsageApi
69641
- * @version 215.0.0
70013
+ * @version 216.0.0
69642
70014
  */
69643
70015
 
69644
70016
  /**
@@ -69853,7 +70225,7 @@ class UserRecordingsApi {
69853
70225
  /**
69854
70226
  * UserRecordings service.
69855
70227
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
69856
- * @version 215.0.0
70228
+ * @version 216.0.0
69857
70229
  */
69858
70230
 
69859
70231
  /**
@@ -70068,7 +70440,7 @@ class UsersApi {
70068
70440
  /**
70069
70441
  * Users service.
70070
70442
  * @module purecloud-platform-client-v2/api/UsersApi
70071
- * @version 215.0.0
70443
+ * @version 216.0.0
70072
70444
  */
70073
70445
 
70074
70446
  /**
@@ -73021,7 +73393,7 @@ class UtilitiesApi {
73021
73393
  /**
73022
73394
  * Utilities service.
73023
73395
  * @module purecloud-platform-client-v2/api/UtilitiesApi
73024
- * @version 215.0.0
73396
+ * @version 216.0.0
73025
73397
  */
73026
73398
 
73027
73399
  /**
@@ -73132,7 +73504,7 @@ class VoicemailApi {
73132
73504
  /**
73133
73505
  * Voicemail service.
73134
73506
  * @module purecloud-platform-client-v2/api/VoicemailApi
73135
- * @version 215.0.0
73507
+ * @version 216.0.0
73136
73508
  */
73137
73509
 
73138
73510
  /**
@@ -73854,7 +74226,7 @@ class WebChatApi {
73854
74226
  /**
73855
74227
  * WebChat service.
73856
74228
  * @module purecloud-platform-client-v2/api/WebChatApi
73857
- * @version 215.0.0
74229
+ * @version 216.0.0
73858
74230
  */
73859
74231
 
73860
74232
  /**
@@ -74405,7 +74777,7 @@ class WebDeploymentsApi {
74405
74777
  /**
74406
74778
  * WebDeployments service.
74407
74779
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
74408
- * @version 215.0.0
74780
+ * @version 216.0.0
74409
74781
  */
74410
74782
 
74411
74783
  /**
@@ -74932,7 +75304,7 @@ class WebMessagingApi {
74932
75304
  /**
74933
75305
  * WebMessaging service.
74934
75306
  * @module purecloud-platform-client-v2/api/WebMessagingApi
74935
- * @version 215.0.0
75307
+ * @version 216.0.0
74936
75308
  */
74937
75309
 
74938
75310
  /**
@@ -74978,7 +75350,7 @@ class WidgetsApi {
74978
75350
  /**
74979
75351
  * Widgets service.
74980
75352
  * @module purecloud-platform-client-v2/api/WidgetsApi
74981
- * @version 215.0.0
75353
+ * @version 216.0.0
74982
75354
  */
74983
75355
 
74984
75356
  /**
@@ -75124,7 +75496,7 @@ class WorkforceManagementApi {
75124
75496
  /**
75125
75497
  * WorkforceManagement service.
75126
75498
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
75127
- * @version 215.0.0
75499
+ * @version 216.0.0
75128
75500
  */
75129
75501
 
75130
75502
  /**
@@ -77648,6 +78020,51 @@ class WorkforceManagementApi {
77648
78020
  );
77649
78021
  }
77650
78022
 
78023
+ /**
78024
+ * Retrieves delete job status for historical data imports associated with the job id
78025
+ *
78026
+ * @param {String} jobId The job ID of the historical data delete request
78027
+ */
78028
+ getWorkforcemanagementHistoricaldataBulkRemoveJob(jobId) {
78029
+ // verify the required parameter 'jobId' is set
78030
+ if (jobId === undefined || jobId === null) {
78031
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataBulkRemoveJob';
78032
+ }
78033
+
78034
+ return this.apiClient.callApi(
78035
+ '/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs/{jobId}',
78036
+ 'GET',
78037
+ { 'jobId': jobId },
78038
+ { },
78039
+ { },
78040
+ { },
78041
+ null,
78042
+ ['PureCloud OAuth'],
78043
+ ['application/json'],
78044
+ ['application/json']
78045
+ );
78046
+ }
78047
+
78048
+ /**
78049
+ * Retrieves all delete job status for historical data
78050
+ *
78051
+ */
78052
+ getWorkforcemanagementHistoricaldataBulkRemoveJobs() {
78053
+
78054
+ return this.apiClient.callApi(
78055
+ '/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
78056
+ 'GET',
78057
+ { },
78058
+ { },
78059
+ { },
78060
+ { },
78061
+ null,
78062
+ ['PureCloud OAuth'],
78063
+ ['application/json'],
78064
+ ['application/json']
78065
+ );
78066
+ }
78067
+
77651
78068
  /**
77652
78069
  * Retrieves delete job status for historical data imports of the organization
77653
78070
  *
@@ -81197,6 +81614,30 @@ class WorkforceManagementApi {
81197
81614
  );
81198
81615
  }
81199
81616
 
81617
+ /**
81618
+ * Delete the list of the historical data import entries
81619
+ *
81620
+ * @param {Object} opts Optional parameters
81621
+ * @param {Object} opts.body body
81622
+ */
81623
+ postWorkforcemanagementHistoricaldataBulkRemoveJobs(opts) {
81624
+ opts = opts || {};
81625
+
81626
+
81627
+ return this.apiClient.callApi(
81628
+ '/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
81629
+ 'POST',
81630
+ { },
81631
+ { },
81632
+ { },
81633
+ { },
81634
+ opts['body'],
81635
+ ['PureCloud OAuth'],
81636
+ ['application/json'],
81637
+ ['application/json']
81638
+ );
81639
+ }
81640
+
81200
81641
  /**
81201
81642
  * Delete the entries of the historical data imports in the organization
81202
81643
  *
@@ -82448,7 +82889,7 @@ class WorkforceManagementApi {
82448
82889
  * </pre>
82449
82890
  * </p>
82450
82891
  * @module purecloud-platform-client-v2/index
82451
- * @version 215.0.0
82892
+ * @version 216.0.0
82452
82893
  */
82453
82894
  class platformClient {
82454
82895
  constructor() {