purecloud-platform-client-v2 159.0.0 → 160.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 +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +534 -177
  3. package/dist/web-amd/purecloud-platform-client-v2.js +534 -177
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +534 -177
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +7000 -430
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +371 -168
  9. package/package.json +3 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +16 -4
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  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 +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  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 +26 -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 +107 -0
  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 +55 -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 +13 -5
  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 +60 -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 -101
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +38 -3
  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 +26 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +76 -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 +32 -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 +26 -1
  78. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -397,9 +397,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
397
397
  }
398
398
  }
399
399
 
400
+ const { HttpsProxyAgent } = require('hpagent');
401
+
400
402
  /**
401
403
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 159.0.0
404
+ * @version 160.0.0
403
405
  */
404
406
  class ApiClient {
405
407
  /**
@@ -668,16 +670,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
668
670
  reject(new Error('The client credentials grant is not supported in a browser.'));
669
671
  return;
670
672
  }
671
-
672
673
  const headers = {
673
674
  'Authorization': `Basic ${authHeader}`
674
675
  };
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
+ }
675
682
  axios__default["default"]({
676
683
  method: `POST`,
677
684
  url: `https://login.${this.config.environment}/oauth/token`,
678
685
  headers: headers,
679
686
  data: 'grant_type=client_credentials',
680
- proxy: this.proxy
687
+ httpsAgent: httpsAgent
681
688
  })
682
689
  .then((response) => {
683
690
  // Logging
@@ -1374,10 +1381,16 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1374
1381
  sendRequest(this);
1375
1382
  function sendRequest(that) {
1376
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
+ }
1377
1390
  var request = {
1378
1391
  method: httpMethod,
1379
1392
  url: url,
1380
- proxy: that.proxy,
1393
+ httpsAgent: httpsAgent,
1381
1394
  timeout: that.timeout,
1382
1395
  params: that.serialize(queryParams)
1383
1396
  };
@@ -1478,7 +1491,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1478
1491
  /**
1479
1492
  * Alerting service.
1480
1493
  * @module purecloud-platform-client-v2/api/AlertingApi
1481
- * @version 159.0.0
1494
+ * @version 160.0.0
1482
1495
  */
1483
1496
 
1484
1497
  /**
@@ -1792,7 +1805,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1792
1805
  /**
1793
1806
  * Analytics service.
1794
1807
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1795
- * @version 159.0.0
1808
+ * @version 160.0.0
1796
1809
  */
1797
1810
 
1798
1811
  /**
@@ -3046,7 +3059,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3046
3059
  /**
3047
3060
  * Architect service.
3048
3061
  * @module purecloud-platform-client-v2/api/ArchitectApi
3049
- * @version 159.0.0
3062
+ * @version 160.0.0
3050
3063
  */
3051
3064
 
3052
3065
  /**
@@ -6094,7 +6107,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6094
6107
  /**
6095
6108
  * Audit service.
6096
6109
  * @module purecloud-platform-client-v2/api/AuditApi
6097
- * @version 159.0.0
6110
+ * @version 160.0.0
6098
6111
  */
6099
6112
 
6100
6113
  /**
@@ -6265,7 +6278,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6265
6278
  /**
6266
6279
  * Authorization service.
6267
6280
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6268
- * @version 159.0.0
6281
+ * @version 160.0.0
6269
6282
  */
6270
6283
 
6271
6284
  /**
@@ -7493,7 +7506,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7493
7506
  /**
7494
7507
  * Billing service.
7495
7508
  * @module purecloud-platform-client-v2/api/BillingApi
7496
- * @version 159.0.0
7509
+ * @version 160.0.0
7497
7510
  */
7498
7511
 
7499
7512
  /**
@@ -7573,7 +7586,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7573
7586
  /**
7574
7587
  * Chat service.
7575
7588
  * @module purecloud-platform-client-v2/api/ChatApi
7576
- * @version 159.0.0
7589
+ * @version 160.0.0
7577
7590
  */
7578
7591
 
7579
7592
  /**
@@ -7664,7 +7677,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7664
7677
  /**
7665
7678
  * Coaching service.
7666
7679
  * @module purecloud-platform-client-v2/api/CoachingApi
7667
- * @version 159.0.0
7680
+ * @version 160.0.0
7668
7681
  */
7669
7682
 
7670
7683
  /**
@@ -8241,7 +8254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8241
8254
  /**
8242
8255
  * ContentManagement service.
8243
8256
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8244
- * @version 159.0.0
8257
+ * @version 160.0.0
8245
8258
  */
8246
8259
 
8247
8260
  /**
@@ -9381,7 +9394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9381
9394
  /**
9382
9395
  * Conversations service.
9383
9396
  * @module purecloud-platform-client-v2/api/ConversationsApi
9384
- * @version 159.0.0
9397
+ * @version 160.0.0
9385
9398
  */
9386
9399
 
9387
9400
  /**
@@ -14083,6 +14096,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14083
14096
  );
14084
14097
  }
14085
14098
 
14099
+ /**
14100
+ * Search conversations
14101
+ *
14102
+ * @param {Object} body Search request options
14103
+ */
14104
+ postConversationsParticipantsAttributesSearch(body) {
14105
+ // verify the required parameter 'body' is set
14106
+ if (body === undefined || body === null) {
14107
+ throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
14108
+ }
14109
+
14110
+ return this.apiClient.callApi(
14111
+ '/api/v2/conversations/participants/attributes/search',
14112
+ 'POST',
14113
+ { },
14114
+ { },
14115
+ { },
14116
+ { },
14117
+ body,
14118
+ ['PureCloud OAuth'],
14119
+ ['application/json'],
14120
+ ['application/json']
14121
+ );
14122
+ }
14123
+
14086
14124
  /**
14087
14125
  * Set flagged reason on conversation participant to indicate bad conversation quality.
14088
14126
  *
@@ -14629,7 +14667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14629
14667
  /**
14630
14668
  * DataExtensions service.
14631
14669
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14632
- * @version 159.0.0
14670
+ * @version 160.0.0
14633
14671
  */
14634
14672
 
14635
14673
  /**
@@ -14715,7 +14753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14715
14753
  /**
14716
14754
  * Downloads service.
14717
14755
  * @module purecloud-platform-client-v2/api/DownloadsApi
14718
- * @version 159.0.0
14756
+ * @version 160.0.0
14719
14757
  */
14720
14758
 
14721
14759
  /**
@@ -14767,7 +14805,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14767
14805
  /**
14768
14806
  * Events service.
14769
14807
  * @module purecloud-platform-client-v2/api/EventsApi
14770
- * @version 159.0.0
14808
+ * @version 160.0.0
14771
14809
  */
14772
14810
 
14773
14811
  /**
@@ -14863,7 +14901,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14863
14901
  /**
14864
14902
  * ExternalContacts service.
14865
14903
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14866
- * @version 159.0.0
14904
+ * @version 160.0.0
14867
14905
  */
14868
14906
 
14869
14907
  /**
@@ -16821,7 +16859,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16821
16859
  /**
16822
16860
  * Fax service.
16823
16861
  * @module purecloud-platform-client-v2/api/FaxApi
16824
- * @version 159.0.0
16862
+ * @version 160.0.0
16825
16863
  */
16826
16864
 
16827
16865
  /**
@@ -16992,7 +17030,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16992
17030
  /**
16993
17031
  * Flows service.
16994
17032
  * @module purecloud-platform-client-v2/api/FlowsApi
16995
- * @version 159.0.0
17033
+ * @version 160.0.0
16996
17034
  */
16997
17035
 
16998
17036
  /**
@@ -17063,7 +17101,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17063
17101
  /**
17064
17102
  * Gamification service.
17065
17103
  * @module purecloud-platform-client-v2/api/GamificationApi
17066
- * @version 159.0.0
17104
+ * @version 160.0.0
17067
17105
  */
17068
17106
 
17069
17107
  /**
@@ -18680,7 +18718,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18680
18718
  /**
18681
18719
  * GeneralDataProtectionRegulation service.
18682
18720
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18683
- * @version 159.0.0
18721
+ * @version 160.0.0
18684
18722
  */
18685
18723
 
18686
18724
  /**
@@ -18810,7 +18848,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18810
18848
  /**
18811
18849
  * Geolocation service.
18812
18850
  * @module purecloud-platform-client-v2/api/GeolocationApi
18813
- * @version 159.0.0
18851
+ * @version 160.0.0
18814
18852
  */
18815
18853
 
18816
18854
  /**
@@ -18941,7 +18979,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18941
18979
  /**
18942
18980
  * Greetings service.
18943
18981
  * @module purecloud-platform-client-v2/api/GreetingsApi
18944
- * @version 159.0.0
18982
+ * @version 160.0.0
18945
18983
  */
18946
18984
 
18947
18985
  /**
@@ -19396,7 +19434,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19396
19434
  /**
19397
19435
  * Groups service.
19398
19436
  * @module purecloud-platform-client-v2/api/GroupsApi
19399
- * @version 159.0.0
19437
+ * @version 160.0.0
19400
19438
  */
19401
19439
 
19402
19440
  /**
@@ -19802,7 +19840,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19802
19840
  /**
19803
19841
  * IdentityProvider service.
19804
19842
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19805
- * @version 159.0.0
19843
+ * @version 160.0.0
19806
19844
  */
19807
19845
 
19808
19846
  /**
@@ -20554,11 +20592,113 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20554
20592
 
20555
20593
  }
20556
20594
 
20595
+ class InfrastructureAsCodeApi {
20596
+ /**
20597
+ * InfrastructureAsCode service.
20598
+ * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
20599
+ * @version 160.0.0
20600
+ */
20601
+
20602
+ /**
20603
+ * Constructs a new InfrastructureAsCodeApi.
20604
+ * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
20605
+ * @class
20606
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
20607
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
20608
+ */
20609
+ constructor(apiClient) {
20610
+ this.apiClient = apiClient || ApiClient.instance;
20611
+ }
20612
+
20613
+
20614
+ /**
20615
+ * Get job status and results
20616
+ * Get the execution status of a submitted job, optionally including results and error details.
20617
+ * @param {String} jobId Job ID
20618
+ * @param {Object} opts Optional parameters
20619
+ * @param {Boolean} opts.details Include details of execution, including job results or error information (default to false)
20620
+ */
20621
+ getInfrastructureascodeJob(jobId, opts) {
20622
+ opts = opts || {};
20623
+
20624
+ // verify the required parameter 'jobId' is set
20625
+ if (jobId === undefined || jobId === null) {
20626
+ throw 'Missing the required parameter "jobId" when calling getInfrastructureascodeJob';
20627
+ }
20628
+
20629
+ return this.apiClient.callApi(
20630
+ '/api/v2/infrastructureascode/jobs/{jobId}',
20631
+ 'GET',
20632
+ { 'jobId': jobId },
20633
+ { 'details': opts['details'] },
20634
+ { },
20635
+ { },
20636
+ null,
20637
+ ['PureCloud OAuth'],
20638
+ ['application/json'],
20639
+ ['application/json']
20640
+ );
20641
+ }
20642
+
20643
+ /**
20644
+ * Get job history
20645
+ * Get a history of submitted jobs, optionally including error messages.
20646
+ * @param {Object} opts Optional parameters
20647
+ * @param {Number} opts.maxResults Number of jobs to show (default to 1)
20648
+ * @param {Boolean} opts.includeErrors Include error messages (default to false)
20649
+ * @param {Object} opts.sortBy Sort by (default to id)
20650
+ * @param {Object} opts.sortOrder Sort order (default to asc)
20651
+ */
20652
+ getInfrastructureascodeJobs(opts) {
20653
+ opts = opts || {};
20654
+
20655
+
20656
+ return this.apiClient.callApi(
20657
+ '/api/v2/infrastructureascode/jobs',
20658
+ 'GET',
20659
+ { },
20660
+ { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
20661
+ { },
20662
+ { },
20663
+ null,
20664
+ ['PureCloud OAuth'],
20665
+ ['application/json'],
20666
+ ['application/json']
20667
+ );
20668
+ }
20669
+
20670
+ /**
20671
+ * Create a Job
20672
+ * Create and submit a job for remote execution or see job planning results.
20673
+ * @param {Object} body
20674
+ */
20675
+ postInfrastructureascodeJobs(body) {
20676
+ // verify the required parameter 'body' is set
20677
+ if (body === undefined || body === null) {
20678
+ throw 'Missing the required parameter "body" when calling postInfrastructureascodeJobs';
20679
+ }
20680
+
20681
+ return this.apiClient.callApi(
20682
+ '/api/v2/infrastructureascode/jobs',
20683
+ 'POST',
20684
+ { },
20685
+ { },
20686
+ { },
20687
+ { },
20688
+ body,
20689
+ ['PureCloud OAuth'],
20690
+ ['application/json'],
20691
+ ['application/json']
20692
+ );
20693
+ }
20694
+
20695
+ }
20696
+
20557
20697
  class IntegrationsApi {
20558
20698
  /**
20559
20699
  * Integrations service.
20560
20700
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20561
- * @version 159.0.0
20701
+ * @version 160.0.0
20562
20702
  */
20563
20703
 
20564
20704
  /**
@@ -22158,7 +22298,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22158
22298
  /**
22159
22299
  * Journey service.
22160
22300
  * @module purecloud-platform-client-v2/api/JourneyApi
22161
- * @version 159.0.0
22301
+ * @version 160.0.0
22162
22302
  */
22163
22303
 
22164
22304
  /**
@@ -23038,7 +23178,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23038
23178
  /**
23039
23179
  * Knowledge service.
23040
23180
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23041
- * @version 159.0.0
23181
+ * @version 160.0.0
23042
23182
  */
23043
23183
 
23044
23184
  /**
@@ -25470,7 +25610,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25470
25610
  /**
25471
25611
  * LanguageUnderstanding service.
25472
25612
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
25473
- * @version 159.0.0
25613
+ * @version 160.0.0
25474
25614
  */
25475
25615
 
25476
25616
  /**
@@ -26483,7 +26623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26483
26623
  /**
26484
26624
  * Languages service.
26485
26625
  * @module purecloud-platform-client-v2/api/LanguagesApi
26486
- * @version 159.0.0
26626
+ * @version 160.0.0
26487
26627
  */
26488
26628
 
26489
26629
  /**
@@ -26701,7 +26841,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26701
26841
  /**
26702
26842
  * Learning service.
26703
26843
  * @module purecloud-platform-client-v2/api/LearningApi
26704
- * @version 159.0.0
26844
+ * @version 160.0.0
26705
26845
  */
26706
26846
 
26707
26847
  /**
@@ -27109,6 +27249,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27109
27249
  );
27110
27250
  }
27111
27251
 
27252
+ /**
27253
+ * Reschedule Learning Assignment
27254
+ *
27255
+ * @param {String} assignmentId The ID of Learning Assignment
27256
+ * @param {Object} opts Optional parameters
27257
+ * @param {Object} opts.body The Learning assignment reschedule model
27258
+ */
27259
+ patchLearningAssignmentReschedule(assignmentId, opts) {
27260
+ opts = opts || {};
27261
+
27262
+ // verify the required parameter 'assignmentId' is set
27263
+ if (assignmentId === undefined || assignmentId === null) {
27264
+ throw 'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';
27265
+ }
27266
+
27267
+ return this.apiClient.callApi(
27268
+ '/api/v2/learning/assignments/{assignmentId}/reschedule',
27269
+ 'PATCH',
27270
+ { 'assignmentId': assignmentId },
27271
+ { },
27272
+ { },
27273
+ { },
27274
+ opts['body'],
27275
+ ['PureCloud OAuth'],
27276
+ ['application/json'],
27277
+ ['application/json']
27278
+ );
27279
+ }
27280
+
27112
27281
  /**
27113
27282
  * Score learning assessment for preview
27114
27283
  *
@@ -27396,6 +27565,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27396
27565
  );
27397
27566
  }
27398
27567
 
27568
+ /**
27569
+ * Get list of possible slots where a learning activity can be scheduled.
27570
+ *
27571
+ * @param {Object} body The slot search request
27572
+ */
27573
+ postLearningScheduleslotsQuery(body) {
27574
+ // verify the required parameter 'body' is set
27575
+ if (body === undefined || body === null) {
27576
+ throw 'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';
27577
+ }
27578
+
27579
+ return this.apiClient.callApi(
27580
+ '/api/v2/learning/scheduleslots/query',
27581
+ 'POST',
27582
+ { },
27583
+ { },
27584
+ { },
27585
+ { },
27586
+ body,
27587
+ ['PureCloud OAuth'],
27588
+ ['application/json'],
27589
+ ['application/json']
27590
+ );
27591
+ }
27592
+
27399
27593
  /**
27400
27594
  * Update a learning module
27401
27595
  * This will update the name, description, completion time in days and inform steps for a learning module
@@ -27462,7 +27656,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27462
27656
  /**
27463
27657
  * License service.
27464
27658
  * @module purecloud-platform-client-v2/api/LicenseApi
27465
- * @version 159.0.0
27659
+ * @version 160.0.0
27466
27660
  */
27467
27661
 
27468
27662
  /**
@@ -27700,7 +27894,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27700
27894
  /**
27701
27895
  * Locations service.
27702
27896
  * @module purecloud-platform-client-v2/api/LocationsApi
27703
- * @version 159.0.0
27897
+ * @version 160.0.0
27704
27898
  */
27705
27899
 
27706
27900
  /**
@@ -27936,7 +28130,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27936
28130
  /**
27937
28131
  * Messaging service.
27938
28132
  * @module purecloud-platform-client-v2/api/MessagingApi
27939
- * @version 159.0.0
28133
+ * @version 160.0.0
27940
28134
  */
27941
28135
 
27942
28136
  /**
@@ -28087,7 +28281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28087
28281
  /**
28088
28282
  * MobileDevices service.
28089
28283
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
28090
- * @version 159.0.0
28284
+ * @version 160.0.0
28091
28285
  */
28092
28286
 
28093
28287
  /**
@@ -28238,7 +28432,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28238
28432
  /**
28239
28433
  * Notifications service.
28240
28434
  * @module purecloud-platform-client-v2/api/NotificationsApi
28241
- * @version 159.0.0
28435
+ * @version 160.0.0
28242
28436
  */
28243
28437
 
28244
28438
  /**
@@ -28382,8 +28576,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28382
28576
  *
28383
28577
  * @param {String} channelId Channel ID
28384
28578
  * @param {Array.<Object>} body Body
28579
+ * @param {Object} opts Optional parameters
28580
+ * @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
28385
28581
  */
28386
- postNotificationsChannelSubscriptions(channelId, body) {
28582
+ postNotificationsChannelSubscriptions(channelId, body, opts) {
28583
+ opts = opts || {};
28584
+
28387
28585
  // verify the required parameter 'channelId' is set
28388
28586
  if (channelId === undefined || channelId === null) {
28389
28587
  throw 'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';
@@ -28397,7 +28595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28397
28595
  '/api/v2/notifications/channels/{channelId}/subscriptions',
28398
28596
  'POST',
28399
28597
  { 'channelId': channelId },
28400
- { },
28598
+ { 'ignoreErrors': opts['ignoreErrors'] },
28401
28599
  { },
28402
28600
  { },
28403
28601
  body,
@@ -28432,8 +28630,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28432
28630
  *
28433
28631
  * @param {String} channelId Channel ID
28434
28632
  * @param {Array.<Object>} body Body
28633
+ * @param {Object} opts Optional parameters
28634
+ * @param {Boolean} opts.ignoreErrors Optionally prevent throwing of errors for failed permissions checks. (default to false)
28435
28635
  */
28436
- putNotificationsChannelSubscriptions(channelId, body) {
28636
+ putNotificationsChannelSubscriptions(channelId, body, opts) {
28637
+ opts = opts || {};
28638
+
28437
28639
  // verify the required parameter 'channelId' is set
28438
28640
  if (channelId === undefined || channelId === null) {
28439
28641
  throw 'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';
@@ -28447,7 +28649,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28447
28649
  '/api/v2/notifications/channels/{channelId}/subscriptions',
28448
28650
  'PUT',
28449
28651
  { 'channelId': channelId },
28450
- { },
28652
+ { 'ignoreErrors': opts['ignoreErrors'] },
28451
28653
  { },
28452
28654
  { },
28453
28655
  body,
@@ -28463,7 +28665,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28463
28665
  /**
28464
28666
  * OAuth service.
28465
28667
  * @module purecloud-platform-client-v2/api/OAuthApi
28466
- * @version 159.0.0
28668
+ * @version 160.0.0
28467
28669
  */
28468
28670
 
28469
28671
  /**
@@ -28829,7 +29031,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28829
29031
  /**
28830
29032
  * Objects service.
28831
29033
  * @module purecloud-platform-client-v2/api/ObjectsApi
28832
- * @version 159.0.0
29034
+ * @version 160.0.0
28833
29035
  */
28834
29036
 
28835
29037
  /**
@@ -29100,7 +29302,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29100
29302
  /**
29101
29303
  * Organization service.
29102
29304
  * @module purecloud-platform-client-v2/api/OrganizationApi
29103
- * @version 159.0.0
29305
+ * @version 160.0.0
29104
29306
  */
29105
29307
 
29106
29308
  /**
@@ -29503,7 +29705,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29503
29705
  /**
29504
29706
  * OrganizationAuthorization service.
29505
29707
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
29506
- * @version 159.0.0
29708
+ * @version 160.0.0
29507
29709
  */
29508
29710
 
29509
29711
  /**
@@ -30798,7 +31000,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30798
31000
  /**
30799
31001
  * Outbound service.
30800
31002
  * @module purecloud-platform-client-v2/api/OutboundApi
30801
- * @version 159.0.0
31003
+ * @version 160.0.0
30802
31004
  */
30803
31005
 
30804
31006
  /**
@@ -31148,6 +31350,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31148
31350
  );
31149
31351
  }
31150
31352
 
31353
+ /**
31354
+ * Deletes all or expired custom exclusion column entries from a DNC list.
31355
+ * This operation is only for Internal DNC lists of custom exclusion column entries
31356
+ * @param {String} dncListId DncList ID
31357
+ * @param {Object} opts Optional parameters
31358
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
31359
+ */
31360
+ deleteOutboundDnclistCustomexclusioncolumns(dncListId, opts) {
31361
+ opts = opts || {};
31362
+
31363
+ // verify the required parameter 'dncListId' is set
31364
+ if (dncListId === undefined || dncListId === null) {
31365
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistCustomexclusioncolumns';
31366
+ }
31367
+
31368
+ return this.apiClient.callApi(
31369
+ '/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
31370
+ 'DELETE',
31371
+ { 'dncListId': dncListId },
31372
+ { 'expiredOnly': opts['expiredOnly'] },
31373
+ { },
31374
+ { },
31375
+ null,
31376
+ ['PureCloud OAuth'],
31377
+ ['application/json'],
31378
+ ['application/json']
31379
+ );
31380
+ }
31381
+
31151
31382
  /**
31152
31383
  * Deletes all or expired email addresses from a DNC list.
31153
31384
  * This operation is Only for Internal DNC lists of email addresses
@@ -32976,6 +33207,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32976
33207
  );
32977
33208
  }
32978
33209
 
33210
+ /**
33211
+ * Add entries to or delete entries from a DNC list.
33212
+ * Only Internal DNC lists may be deleted from
33213
+ * @param {String} dncListId DncList ID
33214
+ * @param {Object} body DNC Custom exclusion column entries
33215
+ */
33216
+ patchOutboundDnclistCustomexclusioncolumns(dncListId, body) {
33217
+ // verify the required parameter 'dncListId' is set
33218
+ if (dncListId === undefined || dncListId === null) {
33219
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistCustomexclusioncolumns';
33220
+ }
33221
+ // verify the required parameter 'body' is set
33222
+ if (body === undefined || body === null) {
33223
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistCustomexclusioncolumns';
33224
+ }
33225
+
33226
+ return this.apiClient.callApi(
33227
+ '/api/v2/outbound/dnclists/{dncListId}/customexclusioncolumns',
33228
+ 'PATCH',
33229
+ { 'dncListId': dncListId },
33230
+ { },
33231
+ { },
33232
+ { },
33233
+ body,
33234
+ ['PureCloud OAuth'],
33235
+ ['application/json'],
33236
+ ['application/json']
33237
+ );
33238
+ }
33239
+
32979
33240
  /**
32980
33241
  * Add emails to or Delete emails from a DNC list.
32981
33242
  * Only Internal DNC lists may be added to or deleted from
@@ -34335,7 +34596,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34335
34596
  /**
34336
34597
  * Presence service.
34337
34598
  * @module purecloud-platform-client-v2/api/PresenceApi
34338
- * @version 159.0.0
34599
+ * @version 160.0.0
34339
34600
  */
34340
34601
 
34341
34602
  /**
@@ -34841,7 +35102,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34841
35102
  /**
34842
35103
  * ProcessAutomation service.
34843
35104
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
34844
- * @version 159.0.0
35105
+ * @version 160.0.0
34845
35106
  */
34846
35107
 
34847
35108
  /**
@@ -35080,7 +35341,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35080
35341
  /**
35081
35342
  * Quality service.
35082
35343
  * @module purecloud-platform-client-v2/api/QualityApi
35083
- * @version 159.0.0
35344
+ * @version 160.0.0
35084
35345
  */
35085
35346
 
35086
35347
  /**
@@ -36659,7 +36920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36659
36920
  /**
36660
36921
  * Recording service.
36661
36922
  * @module purecloud-platform-client-v2/api/RecordingApi
36662
- * @version 159.0.0
36923
+ * @version 160.0.0
36663
36924
  */
36664
36925
 
36665
36926
  /**
@@ -37360,51 +37621,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37360
37621
  );
37361
37622
  }
37362
37623
 
37363
- /**
37364
- * Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
37365
- *
37366
- * @param {String} settingsId Settings Id
37367
- */
37368
- getRecordingLocalkeysSetting(settingsId) {
37369
- // verify the required parameter 'settingsId' is set
37370
- if (settingsId === undefined || settingsId === null) {
37371
- throw 'Missing the required parameter "settingsId" when calling getRecordingLocalkeysSetting';
37372
- }
37373
-
37374
- return this.apiClient.callApi(
37375
- '/api/v2/recording/localkeys/settings/{settingsId}',
37376
- 'GET',
37377
- { 'settingsId': settingsId },
37378
- { },
37379
- { },
37380
- { },
37381
- null,
37382
- ['PureCloud OAuth'],
37383
- ['application/json'],
37384
- ['application/json']
37385
- );
37386
- }
37387
-
37388
- /**
37389
- * gets a list local key settings data. Replaced by API recording/keyconfigurations
37390
- *
37391
- */
37392
- getRecordingLocalkeysSettings() {
37393
-
37394
- return this.apiClient.callApi(
37395
- '/api/v2/recording/localkeys/settings',
37396
- 'GET',
37397
- { },
37398
- { },
37399
- { },
37400
- { },
37401
- null,
37402
- ['PureCloud OAuth'],
37403
- ['application/json'],
37404
- ['application/json']
37405
- );
37406
- }
37407
-
37408
37624
  /**
37409
37625
  * Gets media retention policy list with query options to filter on name and enabled.
37410
37626
  * for a less verbose response, add summary=true to this endpoint
@@ -37887,31 +38103,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37887
38103
  );
37888
38104
  }
37889
38105
 
37890
- /**
37891
- * create settings for local key creation. Replaced by API recording/keyconfigurations
37892
- *
37893
- * @param {Object} body Local Encryption Configuration
37894
- */
37895
- postRecordingLocalkeysSettings(body) {
37896
- // verify the required parameter 'body' is set
37897
- if (body === undefined || body === null) {
37898
- throw 'Missing the required parameter "body" when calling postRecordingLocalkeysSettings';
37899
- }
37900
-
37901
- return this.apiClient.callApi(
37902
- '/api/v2/recording/localkeys/settings',
37903
- 'POST',
37904
- { },
37905
- { },
37906
- { },
37907
- { },
37908
- body,
37909
- ['PureCloud OAuth'],
37910
- ['application/json'],
37911
- ['application/json']
37912
- );
37913
- }
37914
-
37915
38106
  /**
37916
38107
  * Create media retention policy
37917
38108
  * Policy does not work retroactively
@@ -38255,36 +38446,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38255
38446
  );
38256
38447
  }
38257
38448
 
38258
- /**
38259
- * Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
38260
- *
38261
- * @param {String} settingsId Settings Id
38262
- * @param {Object} body Local Encryption metadata
38263
- */
38264
- putRecordingLocalkeysSetting(settingsId, body) {
38265
- // verify the required parameter 'settingsId' is set
38266
- if (settingsId === undefined || settingsId === null) {
38267
- throw 'Missing the required parameter "settingsId" when calling putRecordingLocalkeysSetting';
38268
- }
38269
- // verify the required parameter 'body' is set
38270
- if (body === undefined || body === null) {
38271
- throw 'Missing the required parameter "body" when calling putRecordingLocalkeysSetting';
38272
- }
38273
-
38274
- return this.apiClient.callApi(
38275
- '/api/v2/recording/localkeys/settings/{settingsId}',
38276
- 'PUT',
38277
- { 'settingsId': settingsId },
38278
- { },
38279
- { },
38280
- { },
38281
- body,
38282
- ['PureCloud OAuth'],
38283
- ['application/json'],
38284
- ['application/json']
38285
- );
38286
- }
38287
-
38288
38449
  /**
38289
38450
  * Update a media retention policy
38290
38451
  * Policy does not work retroactively
@@ -38396,7 +38557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38396
38557
  /**
38397
38558
  * ResponseManagement service.
38398
38559
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
38399
- * @version 159.0.0
38560
+ * @version 160.0.0
38400
38561
  */
38401
38562
 
38402
38563
  /**
@@ -38880,7 +39041,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38880
39041
  /**
38881
39042
  * Routing service.
38882
39043
  * @module purecloud-platform-client-v2/api/RoutingApi
38883
- * @version 159.0.0
39044
+ * @version 160.0.0
38884
39045
  */
38885
39046
 
38886
39047
  /**
@@ -40683,8 +40844,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40683
40844
  * Get a phone number provisioned for SMS.
40684
40845
  *
40685
40846
  * @param {String} addressId Address ID
40847
+ * @param {Object} opts Optional parameters
40848
+ * @param {Object} opts.expand Expand response with additional information
40686
40849
  */
40687
- getRoutingSmsPhonenumber(addressId) {
40850
+ getRoutingSmsPhonenumber(addressId, opts) {
40851
+ opts = opts || {};
40852
+
40688
40853
  // verify the required parameter 'addressId' is set
40689
40854
  if (addressId === undefined || addressId === null) {
40690
40855
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
@@ -40694,7 +40859,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40694
40859
  '/api/v2/routing/sms/phonenumbers/{addressId}',
40695
40860
  'GET',
40696
40861
  { 'addressId': addressId },
40697
- { },
40862
+ { 'expand': opts['expand'] },
40698
40863
  { },
40699
40864
  { },
40700
40865
  null,
@@ -40928,6 +41093,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40928
41093
  );
40929
41094
  }
40930
41095
 
41096
+ /**
41097
+ * Get skill groups for a user
41098
+ *
41099
+ * @param {String} userId User ID
41100
+ * @param {Object} opts Optional parameters
41101
+ * @param {Number} opts.pageSize Page size (default to 25)
41102
+ * @param {String} opts.after The cursor that points to the next page
41103
+ * @param {String} opts.before The cursor that points to the previous page
41104
+ */
41105
+ getUserSkillgroups(userId, opts) {
41106
+ opts = opts || {};
41107
+
41108
+ // verify the required parameter 'userId' is set
41109
+ if (userId === undefined || userId === null) {
41110
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
41111
+ }
41112
+
41113
+ return this.apiClient.callApi(
41114
+ '/api/v2/users/{userId}/skillgroups',
41115
+ 'GET',
41116
+ { 'userId': userId },
41117
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
41118
+ { },
41119
+ { },
41120
+ null,
41121
+ ['PureCloud OAuth'],
41122
+ ['application/json'],
41123
+ ['application/json']
41124
+ );
41125
+ }
41126
+
40931
41127
  /**
40932
41128
  * Update attributes of an in-queue conversation
40933
41129
  * Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
@@ -42345,7 +42541,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42345
42541
  /**
42346
42542
  * SCIM service.
42347
42543
  * @module purecloud-platform-client-v2/api/SCIMApi
42348
- * @version 159.0.0
42544
+ * @version 160.0.0
42349
42545
  */
42350
42546
 
42351
42547
  /**
@@ -43222,7 +43418,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43222
43418
  /**
43223
43419
  * Scripts service.
43224
43420
  * @module purecloud-platform-client-v2/api/ScriptsApi
43225
- * @version 159.0.0
43421
+ * @version 160.0.0
43226
43422
  */
43227
43423
 
43228
43424
  /**
@@ -43641,7 +43837,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43641
43837
  /**
43642
43838
  * Search service.
43643
43839
  * @module purecloud-platform-client-v2/api/SearchApi
43644
- * @version 159.0.0
43840
+ * @version 160.0.0
43645
43841
  */
43646
43842
 
43647
43843
  /**
@@ -43908,6 +44104,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43908
44104
  );
43909
44105
  }
43910
44106
 
44107
+ /**
44108
+ * Search conversations
44109
+ *
44110
+ * @param {Object} body Search request options
44111
+ */
44112
+ postConversationsParticipantsAttributesSearch(body) {
44113
+ // verify the required parameter 'body' is set
44114
+ if (body === undefined || body === null) {
44115
+ throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
44116
+ }
44117
+
44118
+ return this.apiClient.callApi(
44119
+ '/api/v2/conversations/participants/attributes/search',
44120
+ 'POST',
44121
+ { },
44122
+ { },
44123
+ { },
44124
+ { },
44125
+ body,
44126
+ ['PureCloud OAuth'],
44127
+ ['application/json'],
44128
+ ['application/json']
44129
+ );
44130
+ }
44131
+
43911
44132
  /**
43912
44133
  * Search gkn documentation
43913
44134
  *
@@ -44226,7 +44447,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44226
44447
  /**
44227
44448
  * SpeechTextAnalytics service.
44228
44449
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
44229
- * @version 159.0.0
44450
+ * @version 160.0.0
44230
44451
  */
44231
44452
 
44232
44453
  /**
@@ -44445,6 +44666,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44445
44666
  );
44446
44667
  }
44447
44668
 
44669
+ /**
44670
+ * Get transcription engine settings of a program
44671
+ *
44672
+ * @param {String} programId The id of the program
44673
+ */
44674
+ getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
44675
+ // verify the required parameter 'programId' is set
44676
+ if (programId === undefined || programId === null) {
44677
+ throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
44678
+ }
44679
+
44680
+ return this.apiClient.callApi(
44681
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
44682
+ 'GET',
44683
+ { 'programId': programId },
44684
+ { },
44685
+ { },
44686
+ { },
44687
+ null,
44688
+ ['PureCloud OAuth'],
44689
+ ['application/json'],
44690
+ ['application/json']
44691
+ );
44692
+ }
44693
+
44448
44694
  /**
44449
44695
  * Get the list of Speech and Text Analytics programs
44450
44696
  *
@@ -44546,6 +44792,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44546
44792
  );
44547
44793
  }
44548
44794
 
44795
+ /**
44796
+ * Get supported dialects for each transcription engine
44797
+ *
44798
+ */
44799
+ getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
44800
+
44801
+ return this.apiClient.callApi(
44802
+ '/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
44803
+ 'GET',
44804
+ { },
44805
+ { },
44806
+ { },
44807
+ { },
44808
+ null,
44809
+ ['PureCloud OAuth'],
44810
+ ['application/json'],
44811
+ ['application/json']
44812
+ );
44813
+ }
44814
+
44549
44815
  /**
44550
44816
  * Get the list of Speech and Text Analytics unpublished programs
44551
44817
  *
@@ -45019,6 +45285,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45019
45285
  );
45020
45286
  }
45021
45287
 
45288
+ /**
45289
+ * Update transcription engine settings of a program
45290
+ *
45291
+ * @param {String} programId The id of the program
45292
+ * @param {Object} body Program transcription engine setting
45293
+ */
45294
+ putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
45295
+ // verify the required parameter 'programId' is set
45296
+ if (programId === undefined || programId === null) {
45297
+ throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
45298
+ }
45299
+ // verify the required parameter 'body' is set
45300
+ if (body === undefined || body === null) {
45301
+ throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
45302
+ }
45303
+
45304
+ return this.apiClient.callApi(
45305
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
45306
+ 'PUT',
45307
+ { 'programId': programId },
45308
+ { },
45309
+ { },
45310
+ { },
45311
+ body,
45312
+ ['PureCloud OAuth'],
45313
+ ['application/json'],
45314
+ ['application/json']
45315
+ );
45316
+ }
45317
+
45022
45318
  /**
45023
45319
  * Update Speech And Text Analytics Settings
45024
45320
  *
@@ -45080,7 +45376,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45080
45376
  /**
45081
45377
  * Stations service.
45082
45378
  * @module purecloud-platform-client-v2/api/StationsApi
45083
- * @version 159.0.0
45379
+ * @version 160.0.0
45084
45380
  */
45085
45381
 
45086
45382
  /**
@@ -45227,7 +45523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45227
45523
  /**
45228
45524
  * Suggest service.
45229
45525
  * @module purecloud-platform-client-v2/api/SuggestApi
45230
- * @version 159.0.0
45526
+ * @version 160.0.0
45231
45527
  */
45232
45528
 
45233
45529
  /**
@@ -45366,7 +45662,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45366
45662
  /**
45367
45663
  * Teams service.
45368
45664
  * @module purecloud-platform-client-v2/api/TeamsApi
45369
- * @version 159.0.0
45665
+ * @version 160.0.0
45370
45666
  */
45371
45667
 
45372
45668
  /**
@@ -45637,7 +45933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45637
45933
  /**
45638
45934
  * Telephony service.
45639
45935
  * @module purecloud-platform-client-v2/api/TelephonyApi
45640
- * @version 159.0.0
45936
+ * @version 160.0.0
45641
45937
  */
45642
45938
 
45643
45939
  /**
@@ -45765,7 +46061,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45765
46061
  /**
45766
46062
  * TelephonyProvidersEdge service.
45767
46063
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
45768
- * @version 159.0.0
46064
+ * @version 160.0.0
45769
46065
  */
45770
46066
 
45771
46067
  /**
@@ -49399,7 +49695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49399
49695
  /**
49400
49696
  * Textbots service.
49401
49697
  * @module purecloud-platform-client-v2/api/TextbotsApi
49402
- * @version 159.0.0
49698
+ * @version 160.0.0
49403
49699
  */
49404
49700
 
49405
49701
  /**
@@ -49527,7 +49823,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49527
49823
  /**
49528
49824
  * Tokens service.
49529
49825
  * @module purecloud-platform-client-v2/api/TokensApi
49530
- * @version 159.0.0
49826
+ * @version 160.0.0
49531
49827
  */
49532
49828
 
49533
49829
  /**
@@ -49633,7 +49929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49633
49929
  /**
49634
49930
  * Uploads service.
49635
49931
  * @module purecloud-platform-client-v2/api/UploadsApi
49636
- * @version 159.0.0
49932
+ * @version 160.0.0
49637
49933
  */
49638
49934
 
49639
49935
  /**
@@ -49809,7 +50105,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49809
50105
  /**
49810
50106
  * Usage service.
49811
50107
  * @module purecloud-platform-client-v2/api/UsageApi
49812
- * @version 159.0.0
50108
+ * @version 160.0.0
49813
50109
  */
49814
50110
 
49815
50111
  /**
@@ -49880,7 +50176,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49880
50176
  /**
49881
50177
  * UserRecordings service.
49882
50178
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
49883
- * @version 159.0.0
50179
+ * @version 160.0.0
49884
50180
  */
49885
50181
 
49886
50182
  /**
@@ -50065,7 +50361,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50065
50361
  /**
50066
50362
  * Users service.
50067
50363
  * @module purecloud-platform-client-v2/api/UsersApi
50068
- * @version 159.0.0
50364
+ * @version 160.0.0
50069
50365
  */
50070
50366
 
50071
50367
  /**
@@ -50994,6 +51290,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50994
51290
  );
50995
51291
  }
50996
51292
 
51293
+ /**
51294
+ * Get skill groups for a user
51295
+ *
51296
+ * @param {String} userId User ID
51297
+ * @param {Object} opts Optional parameters
51298
+ * @param {Number} opts.pageSize Page size (default to 25)
51299
+ * @param {String} opts.after The cursor that points to the next page
51300
+ * @param {String} opts.before The cursor that points to the previous page
51301
+ */
51302
+ getUserSkillgroups(userId, opts) {
51303
+ opts = opts || {};
51304
+
51305
+ // verify the required parameter 'userId' is set
51306
+ if (userId === undefined || userId === null) {
51307
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
51308
+ }
51309
+
51310
+ return this.apiClient.callApi(
51311
+ '/api/v2/users/{userId}/skillgroups',
51312
+ 'GET',
51313
+ { 'userId': userId },
51314
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
51315
+ { },
51316
+ { },
51317
+ null,
51318
+ ['PureCloud OAuth'],
51319
+ ['application/json'],
51320
+ ['application/json']
51321
+ );
51322
+ }
51323
+
50997
51324
  /**
50998
51325
  * Get user state information.
50999
51326
  *
@@ -52422,7 +52749,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52422
52749
  /**
52423
52750
  * Utilities service.
52424
52751
  * @module purecloud-platform-client-v2/api/UtilitiesApi
52425
- * @version 159.0.0
52752
+ * @version 160.0.0
52426
52753
  */
52427
52754
 
52428
52755
  /**
@@ -52533,7 +52860,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52533
52860
  /**
52534
52861
  * Voicemail service.
52535
52862
  * @module purecloud-platform-client-v2/api/VoicemailApi
52536
- * @version 159.0.0
52863
+ * @version 160.0.0
52537
52864
  */
52538
52865
 
52539
52866
  /**
@@ -53200,7 +53527,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53200
53527
  /**
53201
53528
  * WebChat service.
53202
53529
  * @module purecloud-platform-client-v2/api/WebChatApi
53203
- * @version 159.0.0
53530
+ * @version 160.0.0
53204
53531
  */
53205
53532
 
53206
53533
  /**
@@ -53744,7 +54071,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53744
54071
  /**
53745
54072
  * WebDeployments service.
53746
54073
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
53747
- * @version 159.0.0
54074
+ * @version 160.0.0
53748
54075
  */
53749
54076
 
53750
54077
  /**
@@ -54266,7 +54593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54266
54593
  /**
54267
54594
  * WebMessaging service.
54268
54595
  * @module purecloud-platform-client-v2/api/WebMessagingApi
54269
- * @version 159.0.0
54596
+ * @version 160.0.0
54270
54597
  */
54271
54598
 
54272
54599
  /**
@@ -54312,7 +54639,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54312
54639
  /**
54313
54640
  * Widgets service.
54314
54641
  * @module purecloud-platform-client-v2/api/WidgetsApi
54315
- * @version 159.0.0
54642
+ * @version 160.0.0
54316
54643
  */
54317
54644
 
54318
54645
  /**
@@ -54458,7 +54785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54458
54785
  /**
54459
54786
  * WorkforceManagement service.
54460
54787
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
54461
- * @version 159.0.0
54788
+ * @version 160.0.0
54462
54789
  */
54463
54790
 
54464
54791
  /**
@@ -57493,6 +57820,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57493
57820
  );
57494
57821
  }
57495
57822
 
57823
+ /**
57824
+ * Get agent possible work shifts for requested time frame
57825
+ *
57826
+ * @param {Object} body body
57827
+ */
57828
+ postWorkforcemanagementAgentsMePossibleworkshifts(body) {
57829
+ // verify the required parameter 'body' is set
57830
+ if (body === undefined || body === null) {
57831
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';
57832
+ }
57833
+
57834
+ return this.apiClient.callApi(
57835
+ '/api/v2/workforcemanagement/agents/me/possibleworkshifts',
57836
+ 'POST',
57837
+ { },
57838
+ { },
57839
+ { },
57840
+ { },
57841
+ body,
57842
+ ['PureCloud OAuth'],
57843
+ ['application/json'],
57844
+ ['application/json']
57845
+ );
57846
+ }
57847
+
57496
57848
  /**
57497
57849
  * Get published schedule for the current user
57498
57850
  *
@@ -59177,7 +59529,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59177
59529
  * </pre>
59178
59530
  * </p>
59179
59531
  * @module purecloud-platform-client-v2/index
59180
- * @version 159.0.0
59532
+ * @version 160.0.0
59181
59533
  */
59182
59534
  class platformClient {
59183
59535
  constructor() {
@@ -59301,6 +59653,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59301
59653
  * @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
59302
59654
  */
59303
59655
  this.IdentityProviderApi = IdentityProviderApi;
59656
+ /**
59657
+ * The InfrastructureAsCodeApi service constructor.
59658
+ * @property {module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi}
59659
+ */
59660
+ this.InfrastructureAsCodeApi = InfrastructureAsCodeApi;
59304
59661
  /**
59305
59662
  * The IntegrationsApi service constructor.
59306
59663
  * @property {module:purecloud-platform-client-v2/api/IntegrationsApi}