purecloud-platform-client-v2 161.0.1 → 163.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 (78) hide show
  1. package/README.md +13 -14
  2. package/dist/node/purecloud-platform-client-v2.js +164 -94
  3. package/dist/web-amd/purecloud-platform-client-v2.js +164 -94
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +164 -94
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +479 -6655
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +38 -8
  9. package/package.json +2 -3
  10. package/src/purecloud-platform-client-v2/ApiClient.js +12 -17
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +74 -4
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +9 -4
  56. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -397,11 +397,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
397
397
  }
398
398
  }
399
399
 
400
- const { HttpsProxyAgent } = require('hpagent');
401
-
402
400
  /**
403
401
  * @module purecloud-platform-client-v2/ApiClient
404
- * @version 161.0.1
402
+ * @version 163.0.0
405
403
  */
406
404
  class ApiClient {
407
405
  /**
@@ -673,18 +671,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
673
671
  const headers = {
674
672
  'Authorization': `Basic ${authHeader}`
675
673
  };
676
- let httpsAgent;
677
- if (this.proxy !== undefined){
678
- httpsAgent = new HttpsProxyAgent({
679
- proxy : `${this.proxy.protocol}://${this.proxy.host}:${this.proxy.port}`
680
- });
681
- }
682
674
  axios__default["default"]({
683
675
  method: `POST`,
684
676
  url: `https://login.${this.config.environment}/oauth/token`,
685
677
  headers: headers,
686
678
  data: 'grant_type=client_credentials',
687
- httpsAgent: httpsAgent
679
+ httpsAgent: this.proxyAgent
688
680
  })
689
681
  .then((response) => {
690
682
  // Logging
@@ -1361,6 +1353,14 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1361
1353
  });
1362
1354
  }
1363
1355
 
1356
+ /**
1357
+ * @description Sets the proxy agent axios will use for requests
1358
+ * @param {any} agent - The proxy agent
1359
+ */
1360
+ setProxyAgent(agent) {
1361
+ this.proxyAgent = agent;
1362
+ }
1363
+
1364
1364
  /**
1365
1365
  * Invokes the REST service using the supplied settings and parameters.
1366
1366
  * @param {String} path The base URL to invoke.
@@ -1381,16 +1381,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1381
1381
  sendRequest(this);
1382
1382
  function sendRequest(that) {
1383
1383
  var url = that.buildUrl(path, pathParams);
1384
- let httpsAgent;
1385
- if (that.proxy !== undefined){
1386
- httpsAgent = new HttpsProxyAgent({
1387
- proxy : `${that.proxy.protocol}://${that.proxy.host}:${that.proxy.port}`
1388
- });
1389
- }
1390
1384
  var request = {
1391
1385
  method: httpMethod,
1392
- url: url,
1393
- httpsAgent: httpsAgent,
1386
+ url: url,
1387
+ httpsAgent: that.proxyAgent,
1394
1388
  timeout: that.timeout,
1395
1389
  params: that.serialize(queryParams)
1396
1390
  };
@@ -1491,7 +1485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1491
1485
  /**
1492
1486
  * Alerting service.
1493
1487
  * @module purecloud-platform-client-v2/api/AlertingApi
1494
- * @version 161.0.1
1488
+ * @version 163.0.0
1495
1489
  */
1496
1490
 
1497
1491
  /**
@@ -1805,7 +1799,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1805
1799
  /**
1806
1800
  * Analytics service.
1807
1801
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1808
- * @version 161.0.1
1802
+ * @version 163.0.0
1809
1803
  */
1810
1804
 
1811
1805
  /**
@@ -1897,7 +1891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1897
1891
 
1898
1892
  /**
1899
1893
  * Get Reporting Turns.
1900
- *
1894
+ * Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list.
1901
1895
  * @param {String} botFlowId ID of the bot flow.
1902
1896
  * @param {Object} opts Optional parameters
1903
1897
  * @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
@@ -3059,7 +3053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3059
3053
  /**
3060
3054
  * Architect service.
3061
3055
  * @module purecloud-platform-client-v2/api/ArchitectApi
3062
- * @version 161.0.1
3056
+ * @version 163.0.0
3063
3057
  */
3064
3058
 
3065
3059
  /**
@@ -6107,7 +6101,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6107
6101
  /**
6108
6102
  * Audit service.
6109
6103
  * @module purecloud-platform-client-v2/api/AuditApi
6110
- * @version 161.0.1
6104
+ * @version 163.0.0
6111
6105
  */
6112
6106
 
6113
6107
  /**
@@ -6278,7 +6272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6278
6272
  /**
6279
6273
  * Authorization service.
6280
6274
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6281
- * @version 161.0.1
6275
+ * @version 163.0.0
6282
6276
  */
6283
6277
 
6284
6278
  /**
@@ -6659,6 +6653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6659
6653
  * Get the organization role specified by its ID.
6660
6654
  * @param {String} roleId Role ID
6661
6655
  * @param {Object} opts Optional parameters
6656
+ * @param {Object} opts.userCount Fetch the count of users who have this role granted in at least one division (default to true)
6662
6657
  * @param {Array.<String>} opts.expand Which fields, if any, to expand. unusedPermissions returns the permissions not used for the role
6663
6658
  */
6664
6659
  getAuthorizationRole(roleId, opts) {
@@ -6673,7 +6668,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6673
6668
  '/api/v2/authorization/roles/{roleId}',
6674
6669
  'GET',
6675
6670
  { 'roleId': roleId },
6676
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
6671
+ { 'userCount': opts['userCount'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
6677
6672
  { },
6678
6673
  { },
6679
6674
  null,
@@ -7506,7 +7501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7506
7501
  /**
7507
7502
  * Billing service.
7508
7503
  * @module purecloud-platform-client-v2/api/BillingApi
7509
- * @version 161.0.1
7504
+ * @version 163.0.0
7510
7505
  */
7511
7506
 
7512
7507
  /**
@@ -7586,7 +7581,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7586
7581
  /**
7587
7582
  * Chat service.
7588
7583
  * @module purecloud-platform-client-v2/api/ChatApi
7589
- * @version 161.0.1
7584
+ * @version 163.0.0
7590
7585
  */
7591
7586
 
7592
7587
  /**
@@ -7603,7 +7598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7603
7598
 
7604
7599
  /**
7605
7600
  * Get Chat Settings.
7606
- *
7601
+ * This route is deprecated, please use /chats/settings instead
7607
7602
  */
7608
7603
  getChatSettings() {
7609
7604
 
@@ -7622,8 +7617,28 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7622
7617
  }
7623
7618
 
7624
7619
  /**
7625
- * Patch Chat Settings.
7620
+ * Get Chat Settings.
7626
7621
  *
7622
+ */
7623
+ getChatsSettings() {
7624
+
7625
+ return this.apiClient.callApi(
7626
+ '/api/v2/chats/settings',
7627
+ 'GET',
7628
+ { },
7629
+ { },
7630
+ { },
7631
+ { },
7632
+ null,
7633
+ ['PureCloud OAuth'],
7634
+ ['application/json'],
7635
+ ['application/json']
7636
+ );
7637
+ }
7638
+
7639
+ /**
7640
+ * Patch Chat Settings.
7641
+ * This route is deprecated, please use /chats/settings instead
7627
7642
  * @param {Object} body Chat
7628
7643
  */
7629
7644
  patchChatSettings(body) {
@@ -7647,10 +7662,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7647
7662
  }
7648
7663
 
7649
7664
  /**
7650
- * Update Chat Settings.
7665
+ * Patch Chat Settings.
7651
7666
  *
7652
7667
  * @param {Object} body Chat
7653
7668
  */
7669
+ patchChatsSettings(body) {
7670
+ // verify the required parameter 'body' is set
7671
+ if (body === undefined || body === null) {
7672
+ throw 'Missing the required parameter "body" when calling patchChatsSettings';
7673
+ }
7674
+
7675
+ return this.apiClient.callApi(
7676
+ '/api/v2/chats/settings',
7677
+ 'PATCH',
7678
+ { },
7679
+ { },
7680
+ { },
7681
+ { },
7682
+ body,
7683
+ ['PureCloud OAuth'],
7684
+ ['application/json'],
7685
+ ['application/json']
7686
+ );
7687
+ }
7688
+
7689
+ /**
7690
+ * Update Chat Settings.
7691
+ * This route is deprecated, please use /chats/settings instead
7692
+ * @param {Object} body Chat
7693
+ */
7654
7694
  putChatSettings(body) {
7655
7695
  // verify the required parameter 'body' is set
7656
7696
  if (body === undefined || body === null) {
@@ -7671,13 +7711,38 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7671
7711
  );
7672
7712
  }
7673
7713
 
7714
+ /**
7715
+ * Update Chat Settings.
7716
+ *
7717
+ * @param {Object} body Chat
7718
+ */
7719
+ putChatsSettings(body) {
7720
+ // verify the required parameter 'body' is set
7721
+ if (body === undefined || body === null) {
7722
+ throw 'Missing the required parameter "body" when calling putChatsSettings';
7723
+ }
7724
+
7725
+ return this.apiClient.callApi(
7726
+ '/api/v2/chats/settings',
7727
+ 'PUT',
7728
+ { },
7729
+ { },
7730
+ { },
7731
+ { },
7732
+ body,
7733
+ ['PureCloud OAuth'],
7734
+ ['application/json'],
7735
+ ['application/json']
7736
+ );
7737
+ }
7738
+
7674
7739
  }
7675
7740
 
7676
7741
  class CoachingApi {
7677
7742
  /**
7678
7743
  * Coaching service.
7679
7744
  * @module purecloud-platform-client-v2/api/CoachingApi
7680
- * @version 161.0.1
7745
+ * @version 163.0.0
7681
7746
  */
7682
7747
 
7683
7748
  /**
@@ -8254,7 +8319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8254
8319
  /**
8255
8320
  * ContentManagement service.
8256
8321
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8257
- * @version 161.0.1
8322
+ * @version 163.0.0
8258
8323
  */
8259
8324
 
8260
8325
  /**
@@ -9394,7 +9459,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9394
9459
  /**
9395
9460
  * Conversations service.
9396
9461
  * @module purecloud-platform-client-v2/api/ConversationsApi
9397
- * @version 161.0.1
9462
+ * @version 163.0.0
9398
9463
  */
9399
9464
 
9400
9465
  /**
@@ -15414,7 +15479,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15414
15479
  /**
15415
15480
  * DataExtensions service.
15416
15481
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15417
- * @version 161.0.1
15482
+ * @version 163.0.0
15418
15483
  */
15419
15484
 
15420
15485
  /**
@@ -15500,7 +15565,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15500
15565
  /**
15501
15566
  * Downloads service.
15502
15567
  * @module purecloud-platform-client-v2/api/DownloadsApi
15503
- * @version 161.0.1
15568
+ * @version 163.0.0
15504
15569
  */
15505
15570
 
15506
15571
  /**
@@ -15552,7 +15617,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15552
15617
  /**
15553
15618
  * Events service.
15554
15619
  * @module purecloud-platform-client-v2/api/EventsApi
15555
- * @version 161.0.1
15620
+ * @version 163.0.0
15556
15621
  */
15557
15622
 
15558
15623
  /**
@@ -15648,7 +15713,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15648
15713
  /**
15649
15714
  * ExternalContacts service.
15650
15715
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15651
- * @version 161.0.1
15716
+ * @version 163.0.0
15652
15717
  */
15653
15718
 
15654
15719
  /**
@@ -17606,7 +17671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17606
17671
  /**
17607
17672
  * Fax service.
17608
17673
  * @module purecloud-platform-client-v2/api/FaxApi
17609
- * @version 161.0.1
17674
+ * @version 163.0.0
17610
17675
  */
17611
17676
 
17612
17677
  /**
@@ -17777,7 +17842,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17777
17842
  /**
17778
17843
  * Flows service.
17779
17844
  * @module purecloud-platform-client-v2/api/FlowsApi
17780
- * @version 161.0.1
17845
+ * @version 163.0.0
17781
17846
  */
17782
17847
 
17783
17848
  /**
@@ -17848,7 +17913,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17848
17913
  /**
17849
17914
  * Gamification service.
17850
17915
  * @module purecloud-platform-client-v2/api/GamificationApi
17851
- * @version 161.0.1
17916
+ * @version 163.0.0
17852
17917
  */
17853
17918
 
17854
17919
  /**
@@ -19465,7 +19530,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19465
19530
  /**
19466
19531
  * GeneralDataProtectionRegulation service.
19467
19532
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19468
- * @version 161.0.1
19533
+ * @version 163.0.0
19469
19534
  */
19470
19535
 
19471
19536
  /**
@@ -19595,7 +19660,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19595
19660
  /**
19596
19661
  * Geolocation service.
19597
19662
  * @module purecloud-platform-client-v2/api/GeolocationApi
19598
- * @version 161.0.1
19663
+ * @version 163.0.0
19599
19664
  */
19600
19665
 
19601
19666
  /**
@@ -19726,7 +19791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19726
19791
  /**
19727
19792
  * Greetings service.
19728
19793
  * @module purecloud-platform-client-v2/api/GreetingsApi
19729
- * @version 161.0.1
19794
+ * @version 163.0.0
19730
19795
  */
19731
19796
 
19732
19797
  /**
@@ -20181,7 +20246,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20181
20246
  /**
20182
20247
  * Groups service.
20183
20248
  * @module purecloud-platform-client-v2/api/GroupsApi
20184
- * @version 161.0.1
20249
+ * @version 163.0.0
20185
20250
  */
20186
20251
 
20187
20252
  /**
@@ -20587,7 +20652,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20587
20652
  /**
20588
20653
  * IdentityProvider service.
20589
20654
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20590
- * @version 161.0.1
20655
+ * @version 163.0.0
20591
20656
  */
20592
20657
 
20593
20658
  /**
@@ -21343,7 +21408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21343
21408
  /**
21344
21409
  * InfrastructureAsCode service.
21345
21410
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
21346
- * @version 161.0.1
21411
+ * @version 163.0.0
21347
21412
  */
21348
21413
 
21349
21414
  /**
@@ -21445,7 +21510,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21445
21510
  /**
21446
21511
  * Integrations service.
21447
21512
  * @module purecloud-platform-client-v2/api/IntegrationsApi
21448
- * @version 161.0.1
21513
+ * @version 163.0.0
21449
21514
  */
21450
21515
 
21451
21516
  /**
@@ -23045,7 +23110,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23045
23110
  /**
23046
23111
  * Journey service.
23047
23112
  * @module purecloud-platform-client-v2/api/JourneyApi
23048
- * @version 161.0.1
23113
+ * @version 163.0.0
23049
23114
  */
23050
23115
 
23051
23116
  /**
@@ -23925,7 +23990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23925
23990
  /**
23926
23991
  * Knowledge service.
23927
23992
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23928
- * @version 161.0.1
23993
+ * @version 163.0.0
23929
23994
  */
23930
23995
 
23931
23996
  /**
@@ -26357,7 +26422,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26357
26422
  /**
26358
26423
  * LanguageUnderstanding service.
26359
26424
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
26360
- * @version 161.0.1
26425
+ * @version 163.0.0
26361
26426
  */
26362
26427
 
26363
26428
  /**
@@ -27370,7 +27435,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27370
27435
  /**
27371
27436
  * Languages service.
27372
27437
  * @module purecloud-platform-client-v2/api/LanguagesApi
27373
- * @version 161.0.1
27438
+ * @version 163.0.0
27374
27439
  */
27375
27440
 
27376
27441
  /**
@@ -27588,7 +27653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27588
27653
  /**
27589
27654
  * Learning service.
27590
27655
  * @module purecloud-platform-client-v2/api/LearningApi
27591
- * @version 161.0.1
27656
+ * @version 163.0.0
27592
27657
  */
27593
27658
 
27594
27659
  /**
@@ -28403,7 +28468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28403
28468
  /**
28404
28469
  * License service.
28405
28470
  * @module purecloud-platform-client-v2/api/LicenseApi
28406
- * @version 161.0.1
28471
+ * @version 163.0.0
28407
28472
  */
28408
28473
 
28409
28474
  /**
@@ -28641,7 +28706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28641
28706
  /**
28642
28707
  * Locations service.
28643
28708
  * @module purecloud-platform-client-v2/api/LocationsApi
28644
- * @version 161.0.1
28709
+ * @version 163.0.0
28645
28710
  */
28646
28711
 
28647
28712
  /**
@@ -28877,7 +28942,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28877
28942
  /**
28878
28943
  * Messaging service.
28879
28944
  * @module purecloud-platform-client-v2/api/MessagingApi
28880
- * @version 161.0.1
28945
+ * @version 163.0.0
28881
28946
  */
28882
28947
 
28883
28948
  /**
@@ -29028,7 +29093,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29028
29093
  /**
29029
29094
  * MobileDevices service.
29030
29095
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29031
- * @version 161.0.1
29096
+ * @version 163.0.0
29032
29097
  */
29033
29098
 
29034
29099
  /**
@@ -29179,7 +29244,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29179
29244
  /**
29180
29245
  * Notifications service.
29181
29246
  * @module purecloud-platform-client-v2/api/NotificationsApi
29182
- * @version 161.0.1
29247
+ * @version 163.0.0
29183
29248
  */
29184
29249
 
29185
29250
  /**
@@ -29412,7 +29477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29412
29477
  /**
29413
29478
  * OAuth service.
29414
29479
  * @module purecloud-platform-client-v2/api/OAuthApi
29415
- * @version 161.0.1
29480
+ * @version 163.0.0
29416
29481
  */
29417
29482
 
29418
29483
  /**
@@ -29778,7 +29843,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29778
29843
  /**
29779
29844
  * Objects service.
29780
29845
  * @module purecloud-platform-client-v2/api/ObjectsApi
29781
- * @version 161.0.1
29846
+ * @version 163.0.0
29782
29847
  */
29783
29848
 
29784
29849
  /**
@@ -30049,7 +30114,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30049
30114
  /**
30050
30115
  * Organization service.
30051
30116
  * @module purecloud-platform-client-v2/api/OrganizationApi
30052
- * @version 161.0.1
30117
+ * @version 163.0.0
30053
30118
  */
30054
30119
 
30055
30120
  /**
@@ -30452,7 +30517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30452
30517
  /**
30453
30518
  * OrganizationAuthorization service.
30454
30519
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
30455
- * @version 161.0.1
30520
+ * @version 163.0.0
30456
30521
  */
30457
30522
 
30458
30523
  /**
@@ -31747,7 +31812,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31747
31812
  /**
31748
31813
  * Outbound service.
31749
31814
  * @module purecloud-platform-client-v2/api/OutboundApi
31750
- * @version 161.0.1
31815
+ * @version 163.0.0
31751
31816
  */
31752
31817
 
31753
31818
  /**
@@ -35343,7 +35408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35343
35408
  /**
35344
35409
  * Presence service.
35345
35410
  * @module purecloud-platform-client-v2/api/PresenceApi
35346
- * @version 161.0.1
35411
+ * @version 163.0.0
35347
35412
  */
35348
35413
 
35349
35414
  /**
@@ -35894,7 +35959,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35894
35959
  /**
35895
35960
  * ProcessAutomation service.
35896
35961
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
35897
- * @version 161.0.1
35962
+ * @version 163.0.0
35898
35963
  */
35899
35964
 
35900
35965
  /**
@@ -36133,7 +36198,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36133
36198
  /**
36134
36199
  * Quality service.
36135
36200
  * @module purecloud-platform-client-v2/api/QualityApi
36136
- * @version 161.0.1
36201
+ * @version 163.0.0
36137
36202
  */
36138
36203
 
36139
36204
  /**
@@ -37712,7 +37777,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37712
37777
  /**
37713
37778
  * Recording service.
37714
37779
  * @module purecloud-platform-client-v2/api/RecordingApi
37715
- * @version 161.0.1
37780
+ * @version 163.0.0
37716
37781
  */
37717
37782
 
37718
37783
  /**
@@ -39349,7 +39414,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39349
39414
  /**
39350
39415
  * ResponseManagement service.
39351
39416
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39352
- * @version 161.0.1
39417
+ * @version 163.0.0
39353
39418
  */
39354
39419
 
39355
39420
  /**
@@ -39833,7 +39898,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39833
39898
  /**
39834
39899
  * Routing service.
39835
39900
  * @module purecloud-platform-client-v2/api/RoutingApi
39836
- * @version 161.0.1
39901
+ * @version 163.0.0
39837
39902
  */
39838
39903
 
39839
39904
  /**
@@ -40587,6 +40652,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40587
40652
  * @param {Number} opts.pageSize Page size (default to 25)
40588
40653
  * @param {Number} opts.pageNumber Page number (default to 1)
40589
40654
  * @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
40655
+ * @param {String} opts.filter Optional search filter
40590
40656
  */
40591
40657
  getRoutingEmailDomains(opts) {
40592
40658
  opts = opts || {};
@@ -40596,7 +40662,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40596
40662
  '/api/v2/routing/email/domains',
40597
40663
  'GET',
40598
40664
  { },
40599
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'excludeStatus': opts['excludeStatus'] },
40665
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'excludeStatus': opts['excludeStatus'],'filter': opts['filter'] },
40600
40666
  { },
40601
40667
  { },
40602
40668
  null,
@@ -40684,14 +40750,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40684
40750
  /**
40685
40751
  * Get outbound domains
40686
40752
  *
40753
+ * @param {Object} opts Optional parameters
40754
+ * @param {String} opts.filter Optional search filter
40687
40755
  */
40688
- getRoutingEmailOutboundDomains() {
40756
+ getRoutingEmailOutboundDomains(opts) {
40757
+ opts = opts || {};
40758
+
40689
40759
 
40690
40760
  return this.apiClient.callApi(
40691
40761
  '/api/v2/routing/email/outbound/domains',
40692
40762
  'GET',
40693
40763
  { },
40694
- { },
40764
+ { 'filter': opts['filter'] },
40695
40765
  { },
40696
40766
  { },
40697
40767
  null,
@@ -43334,7 +43404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43334
43404
  /**
43335
43405
  * SCIM service.
43336
43406
  * @module purecloud-platform-client-v2/api/SCIMApi
43337
- * @version 161.0.1
43407
+ * @version 163.0.0
43338
43408
  */
43339
43409
 
43340
43410
  /**
@@ -44211,7 +44281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44211
44281
  /**
44212
44282
  * Scripts service.
44213
44283
  * @module purecloud-platform-client-v2/api/ScriptsApi
44214
- * @version 161.0.1
44284
+ * @version 163.0.0
44215
44285
  */
44216
44286
 
44217
44287
  /**
@@ -44630,7 +44700,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44630
44700
  /**
44631
44701
  * Search service.
44632
44702
  * @module purecloud-platform-client-v2/api/SearchApi
44633
- * @version 161.0.1
44703
+ * @version 163.0.0
44634
44704
  */
44635
44705
 
44636
44706
  /**
@@ -45240,7 +45310,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45240
45310
  /**
45241
45311
  * SpeechTextAnalytics service.
45242
45312
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
45243
- * @version 161.0.1
45313
+ * @version 163.0.0
45244
45314
  */
45245
45315
 
45246
45316
  /**
@@ -46169,7 +46239,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46169
46239
  /**
46170
46240
  * Stations service.
46171
46241
  * @module purecloud-platform-client-v2/api/StationsApi
46172
- * @version 161.0.1
46242
+ * @version 163.0.0
46173
46243
  */
46174
46244
 
46175
46245
  /**
@@ -46316,7 +46386,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46316
46386
  /**
46317
46387
  * Suggest service.
46318
46388
  * @module purecloud-platform-client-v2/api/SuggestApi
46319
- * @version 161.0.1
46389
+ * @version 163.0.0
46320
46390
  */
46321
46391
 
46322
46392
  /**
@@ -46455,7 +46525,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46455
46525
  /**
46456
46526
  * Teams service.
46457
46527
  * @module purecloud-platform-client-v2/api/TeamsApi
46458
- * @version 161.0.1
46528
+ * @version 163.0.0
46459
46529
  */
46460
46530
 
46461
46531
  /**
@@ -46726,7 +46796,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46726
46796
  /**
46727
46797
  * Telephony service.
46728
46798
  * @module purecloud-platform-client-v2/api/TelephonyApi
46729
- * @version 161.0.1
46799
+ * @version 163.0.0
46730
46800
  */
46731
46801
 
46732
46802
  /**
@@ -46854,7 +46924,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46854
46924
  /**
46855
46925
  * TelephonyProvidersEdge service.
46856
46926
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
46857
- * @version 161.0.1
46927
+ * @version 163.0.0
46858
46928
  */
46859
46929
 
46860
46930
  /**
@@ -50463,7 +50533,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50463
50533
  /**
50464
50534
  * Textbots service.
50465
50535
  * @module purecloud-platform-client-v2/api/TextbotsApi
50466
- * @version 161.0.1
50536
+ * @version 163.0.0
50467
50537
  */
50468
50538
 
50469
50539
  /**
@@ -50591,7 +50661,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50591
50661
  /**
50592
50662
  * Tokens service.
50593
50663
  * @module purecloud-platform-client-v2/api/TokensApi
50594
- * @version 161.0.1
50664
+ * @version 163.0.0
50595
50665
  */
50596
50666
 
50597
50667
  /**
@@ -50697,7 +50767,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50697
50767
  /**
50698
50768
  * Uploads service.
50699
50769
  * @module purecloud-platform-client-v2/api/UploadsApi
50700
- * @version 161.0.1
50770
+ * @version 163.0.0
50701
50771
  */
50702
50772
 
50703
50773
  /**
@@ -50873,7 +50943,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50873
50943
  /**
50874
50944
  * Usage service.
50875
50945
  * @module purecloud-platform-client-v2/api/UsageApi
50876
- * @version 161.0.1
50946
+ * @version 163.0.0
50877
50947
  */
50878
50948
 
50879
50949
  /**
@@ -50944,7 +51014,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50944
51014
  /**
50945
51015
  * UserRecordings service.
50946
51016
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
50947
- * @version 161.0.1
51017
+ * @version 163.0.0
50948
51018
  */
50949
51019
 
50950
51020
  /**
@@ -51129,7 +51199,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51129
51199
  /**
51130
51200
  * Users service.
51131
51201
  * @module purecloud-platform-client-v2/api/UsersApi
51132
- * @version 161.0.1
51202
+ * @version 163.0.0
51133
51203
  */
51134
51204
 
51135
51205
  /**
@@ -53517,7 +53587,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53517
53587
  /**
53518
53588
  * Utilities service.
53519
53589
  * @module purecloud-platform-client-v2/api/UtilitiesApi
53520
- * @version 161.0.1
53590
+ * @version 163.0.0
53521
53591
  */
53522
53592
 
53523
53593
  /**
@@ -53628,7 +53698,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53628
53698
  /**
53629
53699
  * Voicemail service.
53630
53700
  * @module purecloud-platform-client-v2/api/VoicemailApi
53631
- * @version 161.0.1
53701
+ * @version 163.0.0
53632
53702
  */
53633
53703
 
53634
53704
  /**
@@ -54295,7 +54365,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54295
54365
  /**
54296
54366
  * WebChat service.
54297
54367
  * @module purecloud-platform-client-v2/api/WebChatApi
54298
- * @version 161.0.1
54368
+ * @version 163.0.0
54299
54369
  */
54300
54370
 
54301
54371
  /**
@@ -54839,7 +54909,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54839
54909
  /**
54840
54910
  * WebDeployments service.
54841
54911
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
54842
- * @version 161.0.1
54912
+ * @version 163.0.0
54843
54913
  */
54844
54914
 
54845
54915
  /**
@@ -55361,7 +55431,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55361
55431
  /**
55362
55432
  * WebMessaging service.
55363
55433
  * @module purecloud-platform-client-v2/api/WebMessagingApi
55364
- * @version 161.0.1
55434
+ * @version 163.0.0
55365
55435
  */
55366
55436
 
55367
55437
  /**
@@ -55407,7 +55477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55407
55477
  /**
55408
55478
  * Widgets service.
55409
55479
  * @module purecloud-platform-client-v2/api/WidgetsApi
55410
- * @version 161.0.1
55480
+ * @version 163.0.0
55411
55481
  */
55412
55482
 
55413
55483
  /**
@@ -55553,7 +55623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55553
55623
  /**
55554
55624
  * WorkforceManagement service.
55555
55625
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
55556
- * @version 161.0.1
55626
+ * @version 163.0.0
55557
55627
  */
55558
55628
 
55559
55629
  /**
@@ -60297,7 +60367,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60297
60367
  * </pre>
60298
60368
  * </p>
60299
60369
  * @module purecloud-platform-client-v2/index
60300
- * @version 161.0.1
60370
+ * @version 163.0.0
60301
60371
  */
60302
60372
  class platformClient {
60303
60373
  constructor() {