purecloud-platform-client-v2 216.0.0 → 218.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 +1546 -567
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1546 -567
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +502 -282
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +507 -285
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +951 -292
  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 -305
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +112 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +9 -8
  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 -8
  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 +387 -2
  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 +243 -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 +5 -3
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +13 -16
  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 +9 -8
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -68
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +19 -7
  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 -2
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +5 -29
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +182 -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 +403 -20
  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 +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 +3 -2
  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 -3
  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 +19 -10
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +58 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +11 -6
  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 LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -25,7 +25,7 @@ class ObjectsApi {
25
25
  *
26
26
  * @param {String} divisionId Division ID
27
27
  * @param {Object} opts Optional parameters
28
- * @param {Boolean} opts.force Force delete this division as well as the grants and objects associated with it (default to false)
28
+ * @param {Boolean} opts.force DEPRECATED - Force delete this division. Warning: This option may cause any remaining objects in this division to be inaccessible. (default to false)
29
29
  */
30
30
  deleteAuthorizationDivision(divisionId, opts) {
31
31
  opts = opts || {};
@@ -189,16 +189,17 @@ class ObjectsApi {
189
189
  * Recreate a previously deleted division.
190
190
  *
191
191
  * @param {String} divisionId Division ID
192
- * @param {Object} opts Optional parameters
193
- * @param {Object} opts.body Recreated division data
192
+ * @param {Object} body Recreated division data
194
193
  */
195
- postAuthorizationDivisionRestore(divisionId, opts) {
196
- opts = opts || {};
197
-
194
+ postAuthorizationDivisionRestore(divisionId, body) {
198
195
  // verify the required parameter 'divisionId' is set
199
196
  if (divisionId === undefined || divisionId === null) {
200
197
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
201
198
  }
199
+ // verify the required parameter 'body' is set
200
+ if (body === undefined || body === null) {
201
+ throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
202
+ }
202
203
 
203
204
  return this.apiClient.callApi(
204
205
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -207,7 +208,7 @@ class ObjectsApi {
207
208
  { },
208
209
  { },
209
210
  { },
210
- opts['body'],
211
+ body,
211
212
  ['PureCloud OAuth'],
212
213
  ['application/json'],
213
214
  ['application/json']
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -226,37 +226,6 @@ class OrganizationApi {
226
226
  );
227
227
  }
228
228
 
229
- /**
230
- * Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
231
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
232
- * @param {String} namespaceName The namespace to get
233
- * @param {Object} opts Optional parameters
234
- * @param {String} opts.cursor Cursor provided when retrieving the last page
235
- * @param {String} opts.entityId entity id of the count
236
- * @param {String} opts.userId userid of the count
237
- */
238
- getOrganizationsLimitsNamespaceCounts(namespaceName, opts) {
239
- opts = opts || {};
240
-
241
- // verify the required parameter 'namespaceName' is set
242
- if (namespaceName === undefined || namespaceName === null) {
243
- throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';
244
- }
245
-
246
- return this.apiClient.callApi(
247
- '/api/v2/organizations/limits/namespaces/{namespaceName}/counts',
248
- 'GET',
249
- { 'namespaceName': namespaceName },
250
- { 'cursor': opts['cursor'],'entityId': opts['entityId'],'userId': opts['userId'] },
251
- { },
252
- { },
253
- null,
254
- ['PureCloud OAuth'],
255
- ['application/json'],
256
- ['application/json']
257
- );
258
- }
259
-
260
229
  /**
261
230
  * Get the default limits in a namespace for an organization
262
231
  *
@@ -282,42 +251,6 @@ class OrganizationApi {
282
251
  );
283
252
  }
284
253
 
285
- /**
286
- * Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
287
- * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
288
- * @param {String} namespaceName The namespace to get
289
- * @param {String} limitName The limit to get
290
- * @param {Object} opts Optional parameters
291
- * @param {String} opts.entityId entity id of the count
292
- * @param {String} opts.userId userid of the count
293
- * @param {String} opts.cursor Cursor provided when retrieving the last page
294
- */
295
- getOrganizationsLimitsNamespaceLimitCounts(namespaceName, limitName, opts) {
296
- opts = opts || {};
297
-
298
- // verify the required parameter 'namespaceName' is set
299
- if (namespaceName === undefined || namespaceName === null) {
300
- throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';
301
- }
302
- // verify the required parameter 'limitName' is set
303
- if (limitName === undefined || limitName === null) {
304
- throw 'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';
305
- }
306
-
307
- return this.apiClient.callApi(
308
- '/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts',
309
- 'GET',
310
- { 'namespaceName': namespaceName,'limitName': limitName },
311
- { 'entityId': opts['entityId'],'userId': opts['userId'],'cursor': opts['cursor'] },
312
- { },
313
- { },
314
- null,
315
- ['PureCloud OAuth'],
316
- ['application/json'],
317
- ['application/json']
318
- );
319
- }
320
-
321
254
  /**
322
255
  * Get the available limit namespaces
323
256
  *
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2834,8 +2834,12 @@ class OutboundApi {
2834
2834
  * Update the outbound settings for this organization
2835
2835
  *
2836
2836
  * @param {Object} body outboundSettings
2837
+ * @param {Object} opts Optional parameters
2838
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
2837
2839
  */
2838
- patchOutboundSettings(body) {
2840
+ patchOutboundSettings(body, opts) {
2841
+ opts = opts || {};
2842
+
2839
2843
  // verify the required parameter 'body' is set
2840
2844
  if (body === undefined || body === null) {
2841
2845
  throw 'Missing the required parameter "body" when calling patchOutboundSettings';
@@ -2845,7 +2849,7 @@ class OutboundApi {
2845
2849
  '/api/v2/outbound/settings',
2846
2850
  'PATCH',
2847
2851
  { },
2848
- { },
2852
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
2849
2853
  { },
2850
2854
  { },
2851
2855
  body,
@@ -3065,8 +3069,12 @@ class OutboundApi {
3065
3069
  * Create a campaign.
3066
3070
  *
3067
3071
  * @param {Object} body Campaign
3072
+ * @param {Object} opts Optional parameters
3073
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
3068
3074
  */
3069
- postOutboundCampaigns(body) {
3075
+ postOutboundCampaigns(body, opts) {
3076
+ opts = opts || {};
3077
+
3070
3078
  // verify the required parameter 'body' is set
3071
3079
  if (body === undefined || body === null) {
3072
3080
  throw 'Missing the required parameter "body" when calling postOutboundCampaigns';
@@ -3076,7 +3084,7 @@ class OutboundApi {
3076
3084
  '/api/v2/outbound/campaigns',
3077
3085
  'POST',
3078
3086
  { },
3079
- { },
3087
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
3080
3088
  { },
3081
3089
  { },
3082
3090
  body,
@@ -3980,8 +3988,12 @@ class OutboundApi {
3980
3988
  *
3981
3989
  * @param {String} campaignId Campaign ID
3982
3990
  * @param {Object} body Campaign
3991
+ * @param {Object} opts Optional parameters
3992
+ * @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
3983
3993
  */
3984
- putOutboundCampaign(campaignId, body) {
3994
+ putOutboundCampaign(campaignId, body, opts) {
3995
+ opts = opts || {};
3996
+
3985
3997
  // verify the required parameter 'campaignId' is set
3986
3998
  if (campaignId === undefined || campaignId === null) {
3987
3999
  throw 'Missing the required parameter "campaignId" when calling putOutboundCampaign';
@@ -3995,7 +4007,7 @@ class OutboundApi {
3995
4007
  '/api/v2/outbound/campaigns/{campaignId}',
3996
4008
  'PUT',
3997
4009
  { 'campaignId': campaignId },
3998
- { },
4010
+ { 'useMaxCallsPerAgentDecimal': opts['useMaxCallsPerAgentDecimal'] },
3999
4011
  { },
4000
4012
  { },
4001
4013
  body,
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1701,7 +1701,6 @@ class QualityApi {
1701
1701
  *
1702
1702
  * @param {String} formId Form ID
1703
1703
  * @param {Object} body AI Scoring Settings
1704
- * putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1705
1704
  */
1706
1705
  putQualityFormsEvaluationAiscoringSettings(formId, body) {
1707
1706
  // verify the required parameter 'formId' is set
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -217,7 +217,7 @@ class RecordingApi {
217
217
  * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
218
218
  * @param {Object} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
219
219
  * @param {String} opts.fileName the name of the downloaded fileName
220
- * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
220
+ * @param {String} opts.locale The locale for the requested file when downloading or for redacting sensitive information in requested files, as an ISO 639-1 code
221
221
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3
222
222
  */
223
223
  getConversationRecording(conversationId, recordingId, opts) {
@@ -374,6 +374,8 @@ class RecordingApi {
374
374
  * @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
375
375
  * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
376
376
  * @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
377
+ * @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
378
+ * @param {Boolean} opts.includePauseAnnotationsForScreenRecordings Include applicable Secure Pause annotations from all audio recordings to all screen recordings (default to false)
377
379
  */
378
380
  getConversationRecordings(conversationId, opts) {
379
381
  opts = opts || {};
@@ -387,7 +389,7 @@ class RecordingApi {
387
389
  '/api/v2/conversations/{conversationId}/recordings',
388
390
  'GET',
389
391
  { 'conversationId': conversationId },
390
- { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi') },
392
+ { 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi'),'locale': opts['locale'],'includePauseAnnotationsForScreenRecordings': opts['includePauseAnnotationsForScreenRecordings'] },
391
393
  { },
392
394
  { },
393
395
  null,
@@ -889,32 +891,6 @@ class RecordingApi {
889
891
  );
890
892
  }
891
893
 
892
- /**
893
- * Retrieves a paged listing of screen recording sessions
894
- * Coming soon: This API is deprecated and will be replaced by /api/v2/recordings/screensessions/details
895
- * @param {Object} opts Optional parameters
896
- * @param {Number} opts.pageSize Page size (default to 25)
897
- * @param {Number} opts.pageNumber Page number (default to 1)
898
- * @deprecated
899
- */
900
- getRecordingsScreensessions(opts) {
901
- opts = opts || {};
902
-
903
-
904
- return this.apiClient.callApi(
905
- '/api/v2/recordings/screensessions',
906
- 'GET',
907
- { },
908
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
909
- { },
910
- { },
911
- null,
912
- ['PureCloud OAuth'],
913
- ['application/json'],
914
- ['application/json']
915
- );
916
- }
917
-
918
894
  /**
919
895
  * Retrieves an object containing the total number of concurrent active screen recordings
920
896
  *
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -846,6 +846,37 @@ class RoutingApi {
846
846
  );
847
847
  }
848
848
 
849
+ /**
850
+ * Get a route identity resolution setting.
851
+ *
852
+ * @param {String} domainName email domain
853
+ * @param {String} routeId route ID
854
+ * getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
855
+ */
856
+ getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
857
+ // verify the required parameter 'domainName' is set
858
+ if (domainName === undefined || domainName === null) {
859
+ throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';
860
+ }
861
+ // verify the required parameter 'routeId' is set
862
+ if (routeId === undefined || routeId === null) {
863
+ throw 'Missing the required parameter "routeId" when calling getRoutingEmailDomainRouteIdentityresolution';
864
+ }
865
+
866
+ return this.apiClient.callApi(
867
+ '/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
868
+ 'GET',
869
+ { 'domainName': domainName,'routeId': routeId },
870
+ { },
871
+ { },
872
+ { },
873
+ null,
874
+ ['PureCloud OAuth'],
875
+ ['application/json'],
876
+ ['application/json']
877
+ );
878
+ }
879
+
849
880
  /**
850
881
  * Get routes
851
882
  *
@@ -1399,6 +1430,32 @@ class RoutingApi {
1399
1430
  );
1400
1431
  }
1401
1432
 
1433
+ /**
1434
+ * Get Queue IdentityResolution Settings.
1435
+ *
1436
+ * @param {String} queueId Queue ID
1437
+ * getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1438
+ */
1439
+ getRoutingQueueIdentityresolution(queueId) {
1440
+ // verify the required parameter 'queueId' is set
1441
+ if (queueId === undefined || queueId === null) {
1442
+ throw 'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';
1443
+ }
1444
+
1445
+ return this.apiClient.callApi(
1446
+ '/api/v2/routing/queues/{queueId}/identityresolution',
1447
+ 'GET',
1448
+ { 'queueId': queueId },
1449
+ { },
1450
+ { },
1451
+ { },
1452
+ null,
1453
+ ['PureCloud OAuth'],
1454
+ ['application/json'],
1455
+ ['application/json']
1456
+ );
1457
+ }
1458
+
1402
1459
  /**
1403
1460
  * Get Estimated Wait Time
1404
1461
  *
@@ -1971,6 +2028,32 @@ class RoutingApi {
1971
2028
  );
1972
2029
  }
1973
2030
 
2031
+ /**
2032
+ * Get a SMS identity resolution settings.
2033
+ *
2034
+ * @param {String} addressId Address ID
2035
+ * getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2036
+ */
2037
+ getRoutingSmsIdentityresolutionPhonenumber(addressId) {
2038
+ // verify the required parameter 'addressId' is set
2039
+ if (addressId === undefined || addressId === null) {
2040
+ throw 'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';
2041
+ }
2042
+
2043
+ return this.apiClient.callApi(
2044
+ '/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
2045
+ 'GET',
2046
+ { 'addressId': addressId },
2047
+ { },
2048
+ { },
2049
+ { },
2050
+ null,
2051
+ ['PureCloud OAuth'],
2052
+ ['application/json'],
2053
+ ['application/json']
2054
+ );
2055
+ }
2056
+
1974
2057
  /**
1975
2058
  * Get a phone number provisioned for SMS.
1976
2059
  *
@@ -3776,6 +3859,42 @@ class RoutingApi {
3776
3859
  );
3777
3860
  }
3778
3861
 
3862
+ /**
3863
+ * Update identity resolution settings for a route.
3864
+ *
3865
+ * @param {String} domainName email domain
3866
+ * @param {String} routeId route ID
3867
+ * @param {Object} body
3868
+ * putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3869
+ */
3870
+ putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
3871
+ // verify the required parameter 'domainName' is set
3872
+ if (domainName === undefined || domainName === null) {
3873
+ throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';
3874
+ }
3875
+ // verify the required parameter 'routeId' is set
3876
+ if (routeId === undefined || routeId === null) {
3877
+ throw 'Missing the required parameter "routeId" when calling putRoutingEmailDomainRouteIdentityresolution';
3878
+ }
3879
+ // verify the required parameter 'body' is set
3880
+ if (body === undefined || body === null) {
3881
+ throw 'Missing the required parameter "body" when calling putRoutingEmailDomainRouteIdentityresolution';
3882
+ }
3883
+
3884
+ return this.apiClient.callApi(
3885
+ '/api/v2/routing/email/domains/{domainName}/routes/{routeId}/identityresolution',
3886
+ 'PUT',
3887
+ { 'domainName': domainName,'routeId': routeId },
3888
+ { },
3889
+ { },
3890
+ { },
3891
+ body,
3892
+ ['PureCloud OAuth'],
3893
+ ['application/json'],
3894
+ ['application/json']
3895
+ );
3896
+ }
3897
+
3779
3898
  /**
3780
3899
  * Request an activation status (cname + dkim) update of an outbound domain
3781
3900
  *
@@ -3861,6 +3980,37 @@ class RoutingApi {
3861
3980
  );
3862
3981
  }
3863
3982
 
3983
+ /**
3984
+ * Update Queue IdentityResolution Settings.
3985
+ *
3986
+ * @param {String} queueId Queue ID
3987
+ * @param {Object} body
3988
+ * putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3989
+ */
3990
+ putRoutingQueueIdentityresolution(queueId, body) {
3991
+ // verify the required parameter 'queueId' is set
3992
+ if (queueId === undefined || queueId === null) {
3993
+ throw 'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';
3994
+ }
3995
+ // verify the required parameter 'body' is set
3996
+ if (body === undefined || body === null) {
3997
+ throw 'Missing the required parameter "body" when calling putRoutingQueueIdentityresolution';
3998
+ }
3999
+
4000
+ return this.apiClient.callApi(
4001
+ '/api/v2/routing/queues/{queueId}/identityresolution',
4002
+ 'PUT',
4003
+ { 'queueId': queueId },
4004
+ { },
4005
+ { },
4006
+ { },
4007
+ body,
4008
+ ['PureCloud OAuth'],
4009
+ ['application/json'],
4010
+ ['application/json']
4011
+ );
4012
+ }
4013
+
3864
4014
  /**
3865
4015
  * Update an organization's routing settings
3866
4016
  *
@@ -3911,6 +4061,37 @@ class RoutingApi {
3911
4061
  );
3912
4062
  }
3913
4063
 
4064
+ /**
4065
+ * Update an SMS identity resolution settings.
4066
+ *
4067
+ * @param {String} addressId Address ID
4068
+ * @param {Object} body
4069
+ * putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4070
+ */
4071
+ putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
4072
+ // verify the required parameter 'addressId' is set
4073
+ if (addressId === undefined || addressId === null) {
4074
+ throw 'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';
4075
+ }
4076
+ // verify the required parameter 'body' is set
4077
+ if (body === undefined || body === null) {
4078
+ throw 'Missing the required parameter "body" when calling putRoutingSmsIdentityresolutionPhonenumber';
4079
+ }
4080
+
4081
+ return this.apiClient.callApi(
4082
+ '/api/v2/routing/sms/identityresolution/phonenumbers/{addressId}',
4083
+ 'PUT',
4084
+ { 'addressId': addressId },
4085
+ { },
4086
+ { },
4087
+ { },
4088
+ body,
4089
+ ['PureCloud OAuth'],
4090
+ ['application/json'],
4091
+ ['application/json']
4092
+ );
4093
+ }
4094
+
3914
4095
  /**
3915
4096
  * Update the user's Direct Routing Backup settings.
3916
4097
  *
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScreenRecordingApi {
5
5
  /**
6
6
  * ScreenRecording service.
7
7
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
8
- * @version 216.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**