purecloud-platform-client-v2 206.0.0 → 208.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 (90) hide show
  1. package/README.md +100 -3
  2. package/dist/node/purecloud-platform-client-v2.js +979 -173
  3. package/dist/web-amd/purecloud-platform-client-v2.js +979 -173
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +341 -176
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +358 -179
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1646 -606
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +40 -18
  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 +7 -6
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +2 -2
  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 +2 -3
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +3 -2
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +234 -8
  31. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +31 -11
  41. package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -4
  42. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -21
  43. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +48 -1
  57. package/src/purecloud-platform-client-v2/api/OutboundApi.js +101 -1
  58. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RoutingApi.js +12 -12
  64. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SearchApi.js +55 -1
  68. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
  70. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -3
  74. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +55 -1
  76. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsersApi.js +38 -12
  82. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +56 -1
  84. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/configuration.js +81 -0
  90. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "206.0.0",
3
+ "version": "208.0.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -4,7 +4,7 @@ import { default as qs } from 'qs';
4
4
 
5
5
  /**
6
6
  * @module purecloud-platform-client-v2/ApiClient
7
- * @version 206.0.0
7
+ * @version 208.0.0
8
8
  */
9
9
  class ApiClient {
10
10
  /**
@@ -202,6 +202,21 @@ class ApiClient {
202
202
  this.config.setEnvironment(environment);
203
203
  }
204
204
 
205
+ /**
206
+ * @description Sets the gateway used by the session
207
+ * @param {object} gateway - Gateway Configuration interface
208
+ * @param {string} gateway.host - The address of the gateway.
209
+ * @param {string} gateway.protocol - (optional) The protocol to use. It will default to "https" if the parameter is not defined or empty.
210
+ * @param {string} gateway.port - (optional) The port to target. This parameter can be defined if a non default port is used and needs to be specified in the url (value must be greater than 0).
211
+ * @param {string} gateway.path_params_login - (optional) An arbitrary string to be appended to the gateway url path for Login requests.
212
+ * @param {string} gateway.path_params_api - (optional) An arbitrary string to be appended to the gateway url path for API requests.
213
+ * @param {string} gateway.username - (optional) Not used at this stage (for a possible future use).
214
+ * @param {string} gateway.password - (optional) Not used at this stage (for a possible future use).
215
+ */
216
+ setGateway(gateway) {
217
+ this.config.setGateway(gateway);
218
+ }
219
+
205
220
  /**
206
221
  * @description Initiates the implicit grant login flow. Will attempt to load the token from local storage, if enabled.
207
222
  * @param {string} clientId - The client ID of an OAuth Implicit Grant client
@@ -266,6 +281,7 @@ class ApiClient {
266
281
  loginClientCredentialsGrant(clientId, clientSecret) {
267
282
  this.clientId = clientId;
268
283
  var authHeader = Buffer.from(`${clientId}:${clientSecret}`).toString('base64');
284
+ var loginBasePath = this.config.getConfUrl('login', `https://login.${this.config.environment}`);
269
285
 
270
286
  return new Promise((resolve, reject) => {
271
287
  // Block browsers from using client credentials
@@ -278,7 +294,7 @@ class ApiClient {
278
294
  }
279
295
  axios({
280
296
  method: `POST`,
281
- url: `https://login.${this.config.environment}/oauth/token`,
297
+ url: `${loginBasePath}/oauth/token`,
282
298
  headers: headers,
283
299
  data: 'grant_type=client_credentials',
284
300
  httpsAgent: this.proxyAgent
@@ -289,7 +305,7 @@ class ApiClient {
289
305
  'trace',
290
306
  response.status,
291
307
  'POST',
292
- `https://login.${this.config.environment}/oauth/token`,
308
+ `${loginBasePath}/oauth/token`,
293
309
  headers,
294
310
  response.headers,
295
311
  { grant_type: 'client_credentials' },
@@ -299,7 +315,7 @@ class ApiClient {
299
315
  'debug',
300
316
  response.status,
301
317
  'POST',
302
- `https://login.${this.config.environment}/oauth/token`,
318
+ `${loginBasePath}/oauth/token`,
303
319
  headers,
304
320
  undefined,
305
321
  { grant_type: 'client_credentials' },
@@ -323,7 +339,7 @@ class ApiClient {
323
339
  'error',
324
340
  error.response.status,
325
341
  'POST',
326
- `https://login.${this.config.environment}/oauth/token`,
342
+ `${loginBasePath}/oauth/token`,
327
343
  headers,
328
344
  error.response.headers,
329
345
  { grant_type: 'client_credentials' },
@@ -344,6 +360,7 @@ class ApiClient {
344
360
  */
345
361
  loginSaml2BearerGrant(clientId, clientSecret, orgName, assertion) {
346
362
  this.clientId = clientId;
363
+ var loginBasePath = this.config.getConfUrl('login', `https://login.${this.config.environment}`);
347
364
  return new Promise((resolve, reject) => {
348
365
  if (typeof window !== 'undefined') {
349
366
  reject(new Error('The saml2bearer grant is not supported in a browser.'));
@@ -369,7 +386,7 @@ class ApiClient {
369
386
  'trace',
370
387
  response.status,
371
388
  'POST',
372
- `https://login.${this.config.environment}/oauth/token`,
389
+ `${loginBasePath}/oauth/token`,
373
390
  request.headers,
374
391
  response.headers,
375
392
  bodyParam,
@@ -379,7 +396,7 @@ class ApiClient {
379
396
  'debug',
380
397
  response.status,
381
398
  'POST',
382
- `https://login.${this.config.environment}/oauth/token`,
399
+ `${loginBasePath}/oauth/token`,
383
400
  request.headers,
384
401
  undefined,
385
402
  bodyParam,
@@ -403,7 +420,7 @@ class ApiClient {
403
420
  'error',
404
421
  error.response.status,
405
422
  'POST',
406
- `https://login.${this.config.environment}/oauth/token`,
423
+ `${loginBasePath}/oauth/token`,
407
424
  request.headers,
408
425
  error.response.headers,
409
426
  bodyParam,
@@ -424,10 +441,11 @@ class ApiClient {
424
441
  */
425
442
  authorizePKCEGrant(clientId, codeVerifier, authCode, redirectUri) {
426
443
  this.clientId = clientId;
444
+ var loginBasePath = this.config.getConfUrl('login', `https://login.${this.config.environment}`);
427
445
  return new Promise((resolve, reject) => {
428
446
  var request = axios({
429
447
  method: `POST`,
430
- url: `https://login.${this.config.environment}/oauth/token`,
448
+ url: `${loginBasePath}/oauth/token`,
431
449
  headers: {
432
450
  'Content-Type': 'application/x-www-form-urlencoded'
433
451
  },
@@ -454,7 +472,7 @@ class ApiClient {
454
472
  'trace',
455
473
  response.status,
456
474
  'POST',
457
- `https://login.${this.config.environment}/oauth/token`,
475
+ `${loginBasePath}/oauth/token`,
458
476
  request.headers,
459
477
  response.headers,
460
478
  bodyParam,
@@ -464,7 +482,7 @@ class ApiClient {
464
482
  'debug',
465
483
  response.status,
466
484
  'POST',
467
- `https://login.${this.config.environment}/oauth/token`,
485
+ `${loginBasePath}/oauth/token`,
468
486
  request.headers,
469
487
  undefined,
470
488
  bodyParam,
@@ -488,7 +506,7 @@ class ApiClient {
488
506
  'error',
489
507
  error.response.status,
490
508
  'POST',
491
- `https://login.${this.config.environment}/oauth/token`,
509
+ `${loginBasePath}/oauth/token`,
492
510
  request.headers,
493
511
  error.response.headers,
494
512
  bodyParam,
@@ -812,6 +830,8 @@ class ApiClient {
812
830
  * @param {function} reject - Promise reject callback
813
831
  */
814
832
  _handleCodeAuthorizationResponse(request, bodyParam, resolve, reject) {
833
+ var loginBasePath = this.config.getConfUrl('login', `https://login.${this.config.environment}`);
834
+
815
835
  request
816
836
  .then((response) => {
817
837
  // Logging
@@ -819,7 +839,7 @@ class ApiClient {
819
839
  'trace',
820
840
  response.status,
821
841
  'POST',
822
- `https://login.${this.config.environment}/oauth/token`,
842
+ `${loginBasePath}/oauth/token`,
823
843
  request.headers,
824
844
  response.headers,
825
845
  bodyParam,
@@ -829,7 +849,7 @@ class ApiClient {
829
849
  'debug',
830
850
  response.status,
831
851
  'POST',
832
- `https://login.${this.config.environment}/oauth/token`,
852
+ `${loginBasePath}/oauth/token`,
833
853
  request.headers,
834
854
  undefined,
835
855
  bodyParam,
@@ -855,7 +875,7 @@ class ApiClient {
855
875
  'error',
856
876
  error.response.status,
857
877
  'POST',
858
- `https://login.${this.config.environment}/oauth/token`,
878
+ `${loginBasePath}/oauth/token`,
859
879
  request.headers,
860
880
  error.response.headers,
861
881
  bodyParam,
@@ -873,9 +893,10 @@ class ApiClient {
873
893
  * @param {object} data - data to url form encode
874
894
  */
875
895
  _formAuthRequest(encodedData, data) {
896
+ var loginBasePath = this.config.getConfUrl('login', `https://login.${this.config.environment}`);
876
897
  var request = axios({
877
898
  method: `POST`,
878
- url: `https://login.${this.config.environment}/oauth/token`,
899
+ url: `${loginBasePath}/oauth/token`,
879
900
  headers: {
880
901
  'Authorization': 'Basic ' + encodedData,
881
902
  'Content-Type': 'application/x-www-form-urlencoded'
@@ -1064,7 +1085,8 @@ class ApiClient {
1064
1085
  */
1065
1086
  _buildAuthUrl(path, query) {
1066
1087
  if (!query) query = {};
1067
- return Object.keys(query).reduce((url, key) => !query[key] ? url : `${url}&${key}=${query[key]}`, `${this.config.authUrl}/${path}?`);
1088
+ var loginBasePath = this.config.getConfUrl('login', this.config.authUrl);
1089
+ return Object.keys(query).reduce((url, key) => !query[key] ? url : `${url}&${key}=${query[key]}`, `${loginBasePath}/${path}?`);
1068
1090
  }
1069
1091
 
1070
1092
  /**
@@ -1126,7 +1148,7 @@ class ApiClient {
1126
1148
  if (!path.match(/^\//)) {
1127
1149
  path = `/${path}`;
1128
1150
  }
1129
- var url = this.config.basePath + path;
1151
+ var url = this.config.getConfUrl('api', this.config.basePath) + path;
1130
1152
  url = url.replace(/\{([\w-]+)\}/g, (fullMatch, key) => {
1131
1153
  var value;
1132
1154
  if (pathParams.hasOwnProperty(key)) {
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentCopilotApi {
5
5
  /**
6
6
  * AgentCopilot service.
7
7
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -856,6 +856,7 @@ class AnalyticsApi {
856
856
  * @param {Number} opts.pageSize (default to 25)
857
857
  * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
858
858
  * @param {Object} opts.state Only list users of this state
859
+ * @param {Boolean} opts.deletedOnly Only list deleted dashboards that are still recoverable
859
860
  */
860
861
  getAnalyticsReportingDashboardsUsers(opts) {
861
862
  opts = opts || {};
@@ -865,7 +866,7 @@ class AnalyticsApi {
865
866
  '/api/v2/analytics/reporting/dashboards/users',
866
867
  'GET',
867
868
  { },
868
- { 'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'state': opts['state'] },
869
+ { 'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'state': opts['state'],'deletedOnly': opts['deletedOnly'] },
869
870
  { },
870
871
  { },
871
872
  null,
@@ -987,6 +988,7 @@ class AnalyticsApi {
987
988
  * @param {Number} opts.pageSize (default to 50)
988
989
  * @param {Boolean} opts.publicOnly If true, retrieve only public dashboards
989
990
  * @param {Boolean} opts.favoriteOnly If true, retrieve only favorite dashboards
991
+ * @param {Boolean} opts.deletedOnly If true, retrieve only deleted dashboards that are still recoverable
990
992
  * @param {String} opts.name retrieve dashboards that match with given name
991
993
  */
992
994
  getAnalyticsReportingSettingsUserDashboards(userId, opts) {
@@ -1001,7 +1003,7 @@ class AnalyticsApi {
1001
1003
  '/api/v2/analytics/reporting/settings/users/{userId}/dashboards',
1002
1004
  'GET',
1003
1005
  { 'userId': userId },
1004
- { 'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'publicOnly': opts['publicOnly'],'favoriteOnly': opts['favoriteOnly'],'name': opts['name'] },
1006
+ { 'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'publicOnly': opts['publicOnly'],'favoriteOnly': opts['favoriteOnly'],'deletedOnly': opts['deletedOnly'],'name': opts['name'] },
1005
1007
  { },
1006
1008
  { },
1007
1009
  null,
@@ -2091,7 +2093,7 @@ class AnalyticsApi {
2091
2093
  }
2092
2094
 
2093
2095
  /**
2094
- * Bulk delete dashboards owned by other user(s)
2096
+ * Bulk soft delete dashboards owned by other user(s)
2095
2097
  *
2096
2098
  * @param {Array.<String>} body List of userIds
2097
2099
  */
@@ -2141,7 +2143,7 @@ class AnalyticsApi {
2141
2143
  }
2142
2144
 
2143
2145
  /**
2144
- * Bulk remove dashboard configurations
2146
+ * Bulk soft delete dashboard configurations
2145
2147
  *
2146
2148
  * @param {Object} body
2147
2149
  */
@@ -2327,7 +2329,6 @@ class AnalyticsApi {
2327
2329
  * Query for task management aggregates
2328
2330
  *
2329
2331
  * @param {Object} body query
2330
- * postAnalyticsTaskmanagementAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2331
2332
  */
2332
2333
  postAnalyticsTaskmanagementAggregatesQuery(body) {
2333
2334
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1750,7 +1750,7 @@ class ArchitectApi {
1750
1750
  }
1751
1751
 
1752
1752
  /**
1753
- * Create flow version configuration
1753
+ * Get flow version configuration
1754
1754
  *
1755
1755
  * @param {String} flowId Flow ID
1756
1756
  * @param {String} versionId Version ID
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -394,7 +394,6 @@ class ContentManagementApi {
394
394
  * This method requires the download sharing URI obtained in the get document response (downloadSharingUri). Documents may be shared between users in the same workspace. Documents may also be shared between any user by creating a content management share.
395
395
  * @param {String} sharedId Shared ID
396
396
  * @param {Object} opts Optional parameters
397
- * @param {Boolean} opts.redirect Turn on or off redirect (default to true)
398
397
  * @param {Object} opts.disposition Request how the share content will be downloaded: attached as a file or inline. Default is attachment. (default to attachment)
399
398
  * @param {String} opts.contentType The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
400
399
  * @param {Object} opts.expand Expand some document fields
@@ -411,7 +410,7 @@ class ContentManagementApi {
411
410
  '/api/v2/contentmanagement/shared/{sharedId}',
412
411
  'GET',
413
412
  { 'sharedId': sharedId },
414
- { 'redirect': opts['redirect'],'disposition': opts['disposition'],'contentType': opts['contentType'],'expand': opts['expand'] },
413
+ { 'disposition': opts['disposition'],'contentType': opts['contentType'],'expand': opts['expand'] },
415
414
  { },
416
415
  { },
417
416
  null,
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -4698,9 +4698,10 @@ class ConversationsApi {
4698
4698
 
4699
4699
  /**
4700
4700
  * Suggestion feedback.
4701
- *
4701
+ * Google Agent Assist offering within Genesys will no longer be supported
4702
4702
  * @param {String} conversationId Conversation ID
4703
4703
  * @param {Object} body SuggestionFeedback
4704
+ * @deprecated
4704
4705
  */
4705
4706
  postConversationSuggestionsFeedback(conversationId, body) {
4706
4707
  // verify the required parameter 'conversationId' is set
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmailsApi {
5
5
  /**
6
6
  * Emails service.
7
7
  * @module purecloud-platform-client-v2/api/EmailsApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmployeeEngagementApi {
5
5
  /**
6
6
  * EmployeeEngagement service.
7
7
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**