purecloud-platform-client-v2 141.1.0 → 144.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 (75) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +274 -73
  3. package/dist/web-amd/purecloud-platform-client-v2.js +274 -73
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +274 -73
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +274 -73
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +172 -3
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +1 -0
  12. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GamificationApi.js +157 -8
  27. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LearningApi.js +26 -1
  38. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
  57. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -1
  65. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -17,6 +17,7 @@ define(['axios', 'qs'], (function (axios, qs) { 'use strict';
17
17
  eu_west_2: 'euw2.pure.cloud',
18
18
  ap_south_1: 'aps1.pure.cloud',
19
19
  us_east_2: 'use2.us-gov-pure.cloud',
20
+ sa_east_1: 'sae1.pure.cloud',
20
21
  };
21
22
 
22
23
  const logLevels = {
@@ -398,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
398
399
 
399
400
  /**
400
401
  * @module purecloud-platform-client-v2/ApiClient
401
- * @version 141.1.0
402
+ * @version 144.0.0
402
403
  */
403
404
  class ApiClient {
404
405
  /**
@@ -1477,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1477
1478
  /**
1478
1479
  * Alerting service.
1479
1480
  * @module purecloud-platform-client-v2/api/AlertingApi
1480
- * @version 141.1.0
1481
+ * @version 144.0.0
1481
1482
  */
1482
1483
 
1483
1484
  /**
@@ -1791,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1791
1792
  /**
1792
1793
  * Analytics service.
1793
1794
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1794
- * @version 141.1.0
1795
+ * @version 144.0.0
1795
1796
  */
1796
1797
 
1797
1798
  /**
@@ -2973,7 +2974,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2973
2974
  /**
2974
2975
  * Architect service.
2975
2976
  * @module purecloud-platform-client-v2/api/ArchitectApi
2976
- * @version 141.1.0
2977
+ * @version 144.0.0
2977
2978
  */
2978
2979
 
2979
2980
  /**
@@ -6018,7 +6019,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6018
6019
  /**
6019
6020
  * Audit service.
6020
6021
  * @module purecloud-platform-client-v2/api/AuditApi
6021
- * @version 141.1.0
6022
+ * @version 144.0.0
6022
6023
  */
6023
6024
 
6024
6025
  /**
@@ -6189,7 +6190,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6189
6190
  /**
6190
6191
  * Authorization service.
6191
6192
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6192
- * @version 141.1.0
6193
+ * @version 144.0.0
6193
6194
  */
6194
6195
 
6195
6196
  /**
@@ -7372,7 +7373,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7372
7373
  /**
7373
7374
  * Billing service.
7374
7375
  * @module purecloud-platform-client-v2/api/BillingApi
7375
- * @version 141.1.0
7376
+ * @version 144.0.0
7376
7377
  */
7377
7378
 
7378
7379
  /**
@@ -7452,7 +7453,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7452
7453
  /**
7453
7454
  * Chat service.
7454
7455
  * @module purecloud-platform-client-v2/api/ChatApi
7455
- * @version 141.1.0
7456
+ * @version 144.0.0
7456
7457
  */
7457
7458
 
7458
7459
  /**
@@ -7543,7 +7544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7543
7544
  /**
7544
7545
  * Coaching service.
7545
7546
  * @module purecloud-platform-client-v2/api/CoachingApi
7546
- * @version 141.1.0
7547
+ * @version 144.0.0
7547
7548
  */
7548
7549
 
7549
7550
  /**
@@ -8120,7 +8121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8120
8121
  /**
8121
8122
  * ContentManagement service.
8122
8123
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8123
- * @version 141.1.0
8124
+ * @version 144.0.0
8124
8125
  */
8125
8126
 
8126
8127
  /**
@@ -9260,7 +9261,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9260
9261
  /**
9261
9262
  * Conversations service.
9262
9263
  * @module purecloud-platform-client-v2/api/ConversationsApi
9263
- * @version 141.1.0
9264
+ * @version 144.0.0
9264
9265
  */
9265
9266
 
9266
9267
  /**
@@ -14194,7 +14195,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14194
14195
  /**
14195
14196
  * DataExtensions service.
14196
14197
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14197
- * @version 141.1.0
14198
+ * @version 144.0.0
14198
14199
  */
14199
14200
 
14200
14201
  /**
@@ -14280,7 +14281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14280
14281
  /**
14281
14282
  * ExternalContacts service.
14282
14283
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14283
- * @version 141.1.0
14284
+ * @version 144.0.0
14284
14285
  */
14285
14286
 
14286
14287
  /**
@@ -16023,7 +16024,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16023
16024
  /**
16024
16025
  * Fax service.
16025
16026
  * @module purecloud-platform-client-v2/api/FaxApi
16026
- * @version 141.1.0
16027
+ * @version 144.0.0
16027
16028
  */
16028
16029
 
16029
16030
  /**
@@ -16194,7 +16195,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16194
16195
  /**
16195
16196
  * Flows service.
16196
16197
  * @module purecloud-platform-client-v2/api/FlowsApi
16197
- * @version 141.1.0
16198
+ * @version 144.0.0
16198
16199
  */
16199
16200
 
16200
16201
  /**
@@ -16265,7 +16266,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16265
16266
  /**
16266
16267
  * Gamification service.
16267
16268
  * @module purecloud-platform-client-v2/api/GamificationApi
16268
- * @version 141.1.0
16269
+ * @version 144.0.0
16269
16270
  */
16270
16271
 
16271
16272
  /**
@@ -16280,6 +16281,81 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16280
16281
  }
16281
16282
 
16282
16283
 
16284
+ /**
16285
+ * Delete an External Metric Definition
16286
+ *
16287
+ * @param {String} metricId Specifies the External Metric Definition ID
16288
+ */
16289
+ deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
16290
+ // verify the required parameter 'metricId' is set
16291
+ if (metricId === undefined || metricId === null) {
16292
+ throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
16293
+ }
16294
+
16295
+ return this.apiClient.callApi(
16296
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
16297
+ 'DELETE',
16298
+ { 'metricId': metricId },
16299
+ { },
16300
+ { },
16301
+ { },
16302
+ null,
16303
+ ['PureCloud OAuth'],
16304
+ ['application/json'],
16305
+ ['application/json']
16306
+ );
16307
+ }
16308
+
16309
+ /**
16310
+ * Get an External Metric Definition
16311
+ *
16312
+ * @param {String} metricId Specifies the External Metric Definition ID
16313
+ */
16314
+ getEmployeeperformanceExternalmetricsDefinition(metricId) {
16315
+ // verify the required parameter 'metricId' is set
16316
+ if (metricId === undefined || metricId === null) {
16317
+ throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
16318
+ }
16319
+
16320
+ return this.apiClient.callApi(
16321
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
16322
+ 'GET',
16323
+ { 'metricId': metricId },
16324
+ { },
16325
+ { },
16326
+ { },
16327
+ null,
16328
+ ['PureCloud OAuth'],
16329
+ ['application/json'],
16330
+ ['application/json']
16331
+ );
16332
+ }
16333
+
16334
+ /**
16335
+ * Get a list of External Metric Definitions of an organization, sorted by name in ascending order
16336
+ *
16337
+ * @param {Object} opts Optional parameters
16338
+ * @param {Number} opts.pageSize Page size (default to 25)
16339
+ * @param {Number} opts.pageNumber Page number (default to 1)
16340
+ */
16341
+ getEmployeeperformanceExternalmetricsDefinitions(opts) {
16342
+ opts = opts || {};
16343
+
16344
+
16345
+ return this.apiClient.callApi(
16346
+ '/api/v2/employeeperformance/externalmetrics/definitions',
16347
+ 'GET',
16348
+ { },
16349
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
16350
+ { },
16351
+ { },
16352
+ null,
16353
+ ['PureCloud OAuth'],
16354
+ ['application/json'],
16355
+ ['application/json']
16356
+ );
16357
+ }
16358
+
16283
16359
  /**
16284
16360
  * Leaderboard of the requesting user's division or performance profile
16285
16361
  *
@@ -16944,14 +17020,14 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16944
17020
  * @param {String} profileId performanceProfileId
16945
17021
  * @param {String} metricId metricId
16946
17022
  * @param {Object} filterType Filter type for the query request.
16947
- * @param {String} filterId ID for the filter type. For example, division Id
16948
17023
  * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16949
17024
  * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16950
17025
  * @param {Object} opts Optional parameters
17026
+ * @param {String} opts.filterId ID for the filter type. Only required when filterType is Division.
16951
17027
  * @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16952
17028
  * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
16953
17029
  */
16954
- getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, filterId, startWorkday, endWorkday, opts) {
17030
+ getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, startWorkday, endWorkday, opts) {
16955
17031
  opts = opts || {};
16956
17032
 
16957
17033
  // verify the required parameter 'profileId' is set
@@ -16966,10 +17042,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16966
17042
  if (filterType === undefined || filterType === null) {
16967
17043
  throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16968
17044
  }
16969
- // verify the required parameter 'filterId' is set
16970
- if (filterId === undefined || filterId === null) {
16971
- throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16972
- }
16973
17045
  // verify the required parameter 'startWorkday' is set
16974
17046
  if (startWorkday === undefined || startWorkday === null) {
16975
17047
  throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
@@ -16983,7 +17055,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16983
17055
  '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
16984
17056
  'GET',
16985
17057
  { 'profileId': profileId,'metricId': metricId },
16986
- { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
17058
+ { 'filterType': filterType,'filterId': opts['filterId'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
16987
17059
  { },
16988
17060
  { },
16989
17061
  null,
@@ -17489,6 +17561,84 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17489
17561
  );
17490
17562
  }
17491
17563
 
17564
+ /**
17565
+ * Update External Metric Definition
17566
+ *
17567
+ * @param {String} metricId Specifies the metric definition ID
17568
+ * @param {Object} body The External Metric Definition parameters to be updated
17569
+ */
17570
+ patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
17571
+ // verify the required parameter 'metricId' is set
17572
+ if (metricId === undefined || metricId === null) {
17573
+ throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
17574
+ }
17575
+ // verify the required parameter 'body' is set
17576
+ if (body === undefined || body === null) {
17577
+ throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
17578
+ }
17579
+
17580
+ return this.apiClient.callApi(
17581
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
17582
+ 'PATCH',
17583
+ { 'metricId': metricId },
17584
+ { },
17585
+ { },
17586
+ { },
17587
+ body,
17588
+ ['PureCloud OAuth'],
17589
+ ['application/json'],
17590
+ ['application/json']
17591
+ );
17592
+ }
17593
+
17594
+ /**
17595
+ * Write External Metric Data
17596
+ *
17597
+ * @param {Object} opts Optional parameters
17598
+ * @param {Object} opts.body The External Metric Data to be added
17599
+ */
17600
+ postEmployeeperformanceExternalmetricsData(opts) {
17601
+ opts = opts || {};
17602
+
17603
+
17604
+ return this.apiClient.callApi(
17605
+ '/api/v2/employeeperformance/externalmetrics/data',
17606
+ 'POST',
17607
+ { },
17608
+ { },
17609
+ { },
17610
+ { },
17611
+ opts['body'],
17612
+ ['PureCloud OAuth'],
17613
+ ['application/json'],
17614
+ ['application/json']
17615
+ );
17616
+ }
17617
+
17618
+ /**
17619
+ * Create External Metric Definition
17620
+ *
17621
+ * @param {Object} opts Optional parameters
17622
+ * @param {Object} opts.body The External Metric Definition to be created
17623
+ */
17624
+ postEmployeeperformanceExternalmetricsDefinitions(opts) {
17625
+ opts = opts || {};
17626
+
17627
+
17628
+ return this.apiClient.callApi(
17629
+ '/api/v2/employeeperformance/externalmetrics/definitions',
17630
+ 'POST',
17631
+ { },
17632
+ { },
17633
+ { },
17634
+ { },
17635
+ opts['body'],
17636
+ ['PureCloud OAuth'],
17637
+ ['application/json'],
17638
+ ['application/json']
17639
+ );
17640
+ }
17641
+
17492
17642
  /**
17493
17643
  * Creates a gamified metric with a given metric definition and metric objective
17494
17644
  * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
@@ -17847,7 +17997,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17847
17997
  /**
17848
17998
  * GeneralDataProtectionRegulation service.
17849
17999
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17850
- * @version 141.1.0
18000
+ * @version 144.0.0
17851
18001
  */
17852
18002
 
17853
18003
  /**
@@ -17977,7 +18127,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17977
18127
  /**
17978
18128
  * Geolocation service.
17979
18129
  * @module purecloud-platform-client-v2/api/GeolocationApi
17980
- * @version 141.1.0
18130
+ * @version 144.0.0
17981
18131
  */
17982
18132
 
17983
18133
  /**
@@ -18108,7 +18258,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18108
18258
  /**
18109
18259
  * Greetings service.
18110
18260
  * @module purecloud-platform-client-v2/api/GreetingsApi
18111
- * @version 141.1.0
18261
+ * @version 144.0.0
18112
18262
  */
18113
18263
 
18114
18264
  /**
@@ -18563,7 +18713,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18563
18713
  /**
18564
18714
  * Groups service.
18565
18715
  * @module purecloud-platform-client-v2/api/GroupsApi
18566
- * @version 141.1.0
18716
+ * @version 144.0.0
18567
18717
  */
18568
18718
 
18569
18719
  /**
@@ -18968,7 +19118,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18968
19118
  /**
18969
19119
  * IdentityProvider service.
18970
19120
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18971
- * @version 141.1.0
19121
+ * @version 144.0.0
18972
19122
  */
18973
19123
 
18974
19124
  /**
@@ -19724,7 +19874,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19724
19874
  /**
19725
19875
  * Integrations service.
19726
19876
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19727
- * @version 141.1.0
19877
+ * @version 144.0.0
19728
19878
  */
19729
19879
 
19730
19880
  /**
@@ -21401,7 +21551,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21401
21551
  /**
21402
21552
  * Journey service.
21403
21553
  * @module purecloud-platform-client-v2/api/JourneyApi
21404
- * @version 141.1.0
21554
+ * @version 144.0.0
21405
21555
  */
21406
21556
 
21407
21557
  /**
@@ -22112,7 +22262,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22112
22262
  /**
22113
22263
  * Knowledge service.
22114
22264
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22115
- * @version 141.1.0
22265
+ * @version 144.0.0
22116
22266
  */
22117
22267
 
22118
22268
  /**
@@ -23012,7 +23162,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23012
23162
  /**
23013
23163
  * LanguageUnderstanding service.
23014
23164
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
23015
- * @version 141.1.0
23165
+ * @version 144.0.0
23016
23166
  */
23017
23167
 
23018
23168
  /**
@@ -23916,7 +24066,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23916
24066
  /**
23917
24067
  * Languages service.
23918
24068
  * @module purecloud-platform-client-v2/api/LanguagesApi
23919
- * @version 141.1.0
24069
+ * @version 144.0.0
23920
24070
  */
23921
24071
 
23922
24072
  /**
@@ -24184,7 +24334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24184
24334
  /**
24185
24335
  * Learning service.
24186
24336
  * @module purecloud-platform-client-v2/api/LearningApi
24187
- * @version 141.1.0
24337
+ * @version 144.0.0
24188
24338
  */
24189
24339
 
24190
24340
  /**
@@ -24537,6 +24687,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24537
24687
  );
24538
24688
  }
24539
24689
 
24690
+ /**
24691
+ * Get a specific Learning Module cover art using ID
24692
+ *
24693
+ * @param {String} coverArtId Key identifier for the cover art
24694
+ */
24695
+ getLearningModulesCoverartCoverArtId(coverArtId) {
24696
+ // verify the required parameter 'coverArtId' is set
24697
+ if (coverArtId === undefined || coverArtId === null) {
24698
+ throw 'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';
24699
+ }
24700
+
24701
+ return this.apiClient.callApi(
24702
+ '/api/v2/learning/modules/coverart/{coverArtId}',
24703
+ 'GET',
24704
+ { 'coverArtId': coverArtId },
24705
+ { },
24706
+ { },
24707
+ { },
24708
+ null,
24709
+ ['PureCloud OAuth'],
24710
+ ['application/json'],
24711
+ ['application/json']
24712
+ );
24713
+ }
24714
+
24540
24715
  /**
24541
24716
  * Update Learning Assignment
24542
24717
  *
@@ -24919,7 +25094,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24919
25094
  /**
24920
25095
  * License service.
24921
25096
  * @module purecloud-platform-client-v2/api/LicenseApi
24922
- * @version 141.1.0
25097
+ * @version 144.0.0
24923
25098
  */
24924
25099
 
24925
25100
  /**
@@ -25157,7 +25332,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25157
25332
  /**
25158
25333
  * Locations service.
25159
25334
  * @module purecloud-platform-client-v2/api/LocationsApi
25160
- * @version 141.1.0
25335
+ * @version 144.0.0
25161
25336
  */
25162
25337
 
25163
25338
  /**
@@ -25393,7 +25568,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25393
25568
  /**
25394
25569
  * Messaging service.
25395
25570
  * @module purecloud-platform-client-v2/api/MessagingApi
25396
- * @version 141.1.0
25571
+ * @version 144.0.0
25397
25572
  */
25398
25573
 
25399
25574
  /**
@@ -25544,7 +25719,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25544
25719
  /**
25545
25720
  * MobileDevices service.
25546
25721
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
25547
- * @version 141.1.0
25722
+ * @version 144.0.0
25548
25723
  */
25549
25724
 
25550
25725
  /**
@@ -25695,7 +25870,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25695
25870
  /**
25696
25871
  * Notifications service.
25697
25872
  * @module purecloud-platform-client-v2/api/NotificationsApi
25698
- * @version 141.1.0
25873
+ * @version 144.0.0
25699
25874
  */
25700
25875
 
25701
25876
  /**
@@ -25920,7 +26095,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25920
26095
  /**
25921
26096
  * OAuth service.
25922
26097
  * @module purecloud-platform-client-v2/api/OAuthApi
25923
- * @version 141.1.0
26098
+ * @version 144.0.0
25924
26099
  */
25925
26100
 
25926
26101
  /**
@@ -26286,7 +26461,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26286
26461
  /**
26287
26462
  * Objects service.
26288
26463
  * @module purecloud-platform-client-v2/api/ObjectsApi
26289
- * @version 141.1.0
26464
+ * @version 144.0.0
26290
26465
  */
26291
26466
 
26292
26467
  /**
@@ -26557,7 +26732,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26557
26732
  /**
26558
26733
  * Organization service.
26559
26734
  * @module purecloud-platform-client-v2/api/OrganizationApi
26560
- * @version 141.1.0
26735
+ * @version 144.0.0
26561
26736
  */
26562
26737
 
26563
26738
  /**
@@ -26960,7 +27135,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26960
27135
  /**
26961
27136
  * OrganizationAuthorization service.
26962
27137
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26963
- * @version 141.1.0
27138
+ * @version 144.0.0
26964
27139
  */
26965
27140
 
26966
27141
  /**
@@ -27885,7 +28060,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27885
28060
  /**
27886
28061
  * Outbound service.
27887
28062
  * @module purecloud-platform-client-v2/api/OutboundApi
27888
- * @version 141.1.0
28063
+ * @version 144.0.0
27889
28064
  */
27890
28065
 
27891
28066
  /**
@@ -31140,7 +31315,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31140
31315
  /**
31141
31316
  * Presence service.
31142
31317
  * @module purecloud-platform-client-v2/api/PresenceApi
31143
- * @version 141.1.0
31318
+ * @version 144.0.0
31144
31319
  */
31145
31320
 
31146
31321
  /**
@@ -31462,7 +31637,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31462
31637
  /**
31463
31638
  * Quality service.
31464
31639
  * @module purecloud-platform-client-v2/api/QualityApi
31465
- * @version 141.1.0
31640
+ * @version 144.0.0
31466
31641
  */
31467
31642
 
31468
31643
  /**
@@ -33040,7 +33215,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33040
33215
  /**
33041
33216
  * Recording service.
33042
33217
  * @module purecloud-platform-client-v2/api/RecordingApi
33043
- * @version 141.1.0
33218
+ * @version 144.0.0
33044
33219
  */
33045
33220
 
33046
33221
  /**
@@ -34693,7 +34868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34693
34868
  /**
34694
34869
  * ResponseManagement service.
34695
34870
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
34696
- * @version 141.1.0
34871
+ * @version 144.0.0
34697
34872
  */
34698
34873
 
34699
34874
  /**
@@ -35177,7 +35352,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35177
35352
  /**
35178
35353
  * Routing service.
35179
35354
  * @module purecloud-platform-client-v2/api/RoutingApi
35180
- * @version 141.1.0
35355
+ * @version 144.0.0
35181
35356
  */
35182
35357
 
35183
35358
  /**
@@ -38098,7 +38273,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38098
38273
  /**
38099
38274
  * SCIM service.
38100
38275
  * @module purecloud-platform-client-v2/api/SCIMApi
38101
- * @version 141.1.0
38276
+ * @version 144.0.0
38102
38277
  */
38103
38278
 
38104
38279
  /**
@@ -38975,7 +39150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38975
39150
  /**
38976
39151
  * Scripts service.
38977
39152
  * @module purecloud-platform-client-v2/api/ScriptsApi
38978
- * @version 141.1.0
39153
+ * @version 144.0.0
38979
39154
  */
38980
39155
 
38981
39156
  /**
@@ -39394,7 +39569,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39394
39569
  /**
39395
39570
  * Search service.
39396
39571
  * @module purecloud-platform-client-v2/api/SearchApi
39397
- * @version 141.1.0
39572
+ * @version 144.0.0
39398
39573
  */
39399
39574
 
39400
39575
  /**
@@ -39954,7 +40129,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39954
40129
  /**
39955
40130
  * SpeechTextAnalytics service.
39956
40131
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
39957
- * @version 141.1.0
40132
+ * @version 144.0.0
39958
40133
  */
39959
40134
 
39960
40135
  /**
@@ -40179,6 +40354,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40179
40354
  * @param {Object} opts Optional parameters
40180
40355
  * @param {String} opts.nextPage The key for listing the next page
40181
40356
  * @param {Number} opts.pageSize The page size for the listing (default to 20)
40357
+ * @param {Object} opts.state Program state. Defaults to Latest
40182
40358
  */
40183
40359
  getSpeechandtextanalyticsPrograms(opts) {
40184
40360
  opts = opts || {};
@@ -40188,7 +40364,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40188
40364
  '/api/v2/speechandtextanalytics/programs',
40189
40365
  'GET',
40190
40366
  { },
40191
- { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
40367
+ { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'] },
40192
40368
  { },
40193
40369
  { },
40194
40370
  null,
@@ -40807,7 +40983,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40807
40983
  /**
40808
40984
  * Stations service.
40809
40985
  * @module purecloud-platform-client-v2/api/StationsApi
40810
- * @version 141.1.0
40986
+ * @version 144.0.0
40811
40987
  */
40812
40988
 
40813
40989
  /**
@@ -40954,7 +41130,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40954
41130
  /**
40955
41131
  * Suggest service.
40956
41132
  * @module purecloud-platform-client-v2/api/SuggestApi
40957
- * @version 141.1.0
41133
+ * @version 144.0.0
40958
41134
  */
40959
41135
 
40960
41136
  /**
@@ -41093,7 +41269,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41093
41269
  /**
41094
41270
  * Teams service.
41095
41271
  * @module purecloud-platform-client-v2/api/TeamsApi
41096
- * @version 141.1.0
41272
+ * @version 144.0.0
41097
41273
  */
41098
41274
 
41099
41275
  /**
@@ -41272,7 +41448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41272
41448
  /**
41273
41449
  * Telephony service.
41274
41450
  * @module purecloud-platform-client-v2/api/TelephonyApi
41275
- * @version 141.1.0
41451
+ * @version 144.0.0
41276
41452
  */
41277
41453
 
41278
41454
  /**
@@ -41380,7 +41556,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41380
41556
  /**
41381
41557
  * TelephonyProvidersEdge service.
41382
41558
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
41383
- * @version 141.1.0
41559
+ * @version 144.0.0
41384
41560
  */
41385
41561
 
41386
41562
  /**
@@ -45013,7 +45189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45013
45189
  /**
45014
45190
  * Textbots service.
45015
45191
  * @module purecloud-platform-client-v2/api/TextbotsApi
45016
- * @version 141.1.0
45192
+ * @version 144.0.0
45017
45193
  */
45018
45194
 
45019
45195
  /**
@@ -45141,7 +45317,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45141
45317
  /**
45142
45318
  * Tokens service.
45143
45319
  * @module purecloud-platform-client-v2/api/TokensApi
45144
- * @version 141.1.0
45320
+ * @version 144.0.0
45145
45321
  */
45146
45322
 
45147
45323
  /**
@@ -45247,7 +45423,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45247
45423
  /**
45248
45424
  * Uploads service.
45249
45425
  * @module purecloud-platform-client-v2/api/UploadsApi
45250
- * @version 141.1.0
45426
+ * @version 144.0.0
45251
45427
  */
45252
45428
 
45253
45429
  /**
@@ -45317,6 +45493,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45317
45493
  );
45318
45494
  }
45319
45495
 
45496
+ /**
45497
+ * Generates pre-signed URL to upload cover art for learning modules
45498
+ *
45499
+ * @param {Object} body query
45500
+ */
45501
+ postUploadsLearningCoverart(body) {
45502
+ // verify the required parameter 'body' is set
45503
+ if (body === undefined || body === null) {
45504
+ throw 'Missing the required parameter "body" when calling postUploadsLearningCoverart';
45505
+ }
45506
+
45507
+ return this.apiClient.callApi(
45508
+ '/api/v2/uploads/learning/coverart',
45509
+ 'POST',
45510
+ { },
45511
+ { },
45512
+ { },
45513
+ { },
45514
+ body,
45515
+ ['PureCloud OAuth'],
45516
+ ['application/json'],
45517
+ ['application/json']
45518
+ );
45519
+ }
45520
+
45320
45521
  /**
45321
45522
  * Creates presigned url for uploading a public asset image
45322
45523
  *
@@ -45398,7 +45599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45398
45599
  /**
45399
45600
  * Usage service.
45400
45601
  * @module purecloud-platform-client-v2/api/UsageApi
45401
- * @version 141.1.0
45602
+ * @version 144.0.0
45402
45603
  */
45403
45604
 
45404
45605
  /**
@@ -45469,7 +45670,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45469
45670
  /**
45470
45671
  * UserRecordings service.
45471
45672
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
45472
- * @version 141.1.0
45673
+ * @version 144.0.0
45473
45674
  */
45474
45675
 
45475
45676
  /**
@@ -45653,7 +45854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45653
45854
  /**
45654
45855
  * Users service.
45655
45856
  * @module purecloud-platform-client-v2/api/UsersApi
45656
- * @version 141.1.0
45857
+ * @version 144.0.0
45657
45858
  */
45658
45859
 
45659
45860
  /**
@@ -47955,7 +48156,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47955
48156
  /**
47956
48157
  * Utilities service.
47957
48158
  * @module purecloud-platform-client-v2/api/UtilitiesApi
47958
- * @version 141.1.0
48159
+ * @version 144.0.0
47959
48160
  */
47960
48161
 
47961
48162
  /**
@@ -48066,7 +48267,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48066
48267
  /**
48067
48268
  * Voicemail service.
48068
48269
  * @module purecloud-platform-client-v2/api/VoicemailApi
48069
- * @version 141.1.0
48270
+ * @version 144.0.0
48070
48271
  */
48071
48272
 
48072
48273
  /**
@@ -48733,7 +48934,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48733
48934
  /**
48734
48935
  * WebChat service.
48735
48936
  * @module purecloud-platform-client-v2/api/WebChatApi
48736
- * @version 141.1.0
48937
+ * @version 144.0.0
48737
48938
  */
48738
48939
 
48739
48940
  /**
@@ -49277,7 +49478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49277
49478
  /**
49278
49479
  * WebDeployments service.
49279
49480
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
49280
- * @version 141.1.0
49481
+ * @version 144.0.0
49281
49482
  */
49282
49483
 
49283
49484
  /**
@@ -49632,7 +49833,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49632
49833
  /**
49633
49834
  * WebMessaging service.
49634
49835
  * @module purecloud-platform-client-v2/api/WebMessagingApi
49635
- * @version 141.1.0
49836
+ * @version 144.0.0
49636
49837
  */
49637
49838
 
49638
49839
  /**
@@ -49678,7 +49879,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49678
49879
  /**
49679
49880
  * Widgets service.
49680
49881
  * @module purecloud-platform-client-v2/api/WidgetsApi
49681
- * @version 141.1.0
49882
+ * @version 144.0.0
49682
49883
  */
49683
49884
 
49684
49885
  /**
@@ -49824,7 +50025,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49824
50025
  /**
49825
50026
  * WorkforceManagement service.
49826
50027
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
49827
- * @version 141.1.0
50028
+ * @version 144.0.0
49828
50029
  */
49829
50030
 
49830
50031
  /**
@@ -54100,7 +54301,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54100
54301
  * </pre>
54101
54302
  * </p>
54102
54303
  * @module purecloud-platform-client-v2/index
54103
- * @version 141.1.0
54304
+ * @version 144.0.0
54104
54305
  */
54105
54306
  class platformClient {
54106
54307
  constructor() {