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
@@ -7048,6 +7048,7 @@ var PureCloudRegionHosts = {
7048
7048
  eu_west_2: 'euw2.pure.cloud',
7049
7049
  ap_south_1: 'aps1.pure.cloud',
7050
7050
  us_east_2: 'use2.us-gov-pure.cloud',
7051
+ sa_east_1: 'sae1.pure.cloud',
7051
7052
  };
7052
7053
 
7053
7054
  var global$1 = (typeof global !== "undefined" ? global :
@@ -9306,7 +9307,7 @@ class Configuration {
9306
9307
 
9307
9308
  /**
9308
9309
  * @module purecloud-platform-client-v2/ApiClient
9309
- * @version 141.1.0
9310
+ * @version 144.0.0
9310
9311
  */
9311
9312
  class ApiClient {
9312
9313
  /**
@@ -10378,7 +10379,7 @@ class AlertingApi {
10378
10379
  /**
10379
10380
  * Alerting service.
10380
10381
  * @module purecloud-platform-client-v2/api/AlertingApi
10381
- * @version 141.1.0
10382
+ * @version 144.0.0
10382
10383
  */
10383
10384
 
10384
10385
  /**
@@ -10692,7 +10693,7 @@ class AnalyticsApi {
10692
10693
  /**
10693
10694
  * Analytics service.
10694
10695
  * @module purecloud-platform-client-v2/api/AnalyticsApi
10695
- * @version 141.1.0
10696
+ * @version 144.0.0
10696
10697
  */
10697
10698
 
10698
10699
  /**
@@ -11874,7 +11875,7 @@ class ArchitectApi {
11874
11875
  /**
11875
11876
  * Architect service.
11876
11877
  * @module purecloud-platform-client-v2/api/ArchitectApi
11877
- * @version 141.1.0
11878
+ * @version 144.0.0
11878
11879
  */
11879
11880
 
11880
11881
  /**
@@ -14919,7 +14920,7 @@ class AuditApi {
14919
14920
  /**
14920
14921
  * Audit service.
14921
14922
  * @module purecloud-platform-client-v2/api/AuditApi
14922
- * @version 141.1.0
14923
+ * @version 144.0.0
14923
14924
  */
14924
14925
 
14925
14926
  /**
@@ -15090,7 +15091,7 @@ class AuthorizationApi {
15090
15091
  /**
15091
15092
  * Authorization service.
15092
15093
  * @module purecloud-platform-client-v2/api/AuthorizationApi
15093
- * @version 141.1.0
15094
+ * @version 144.0.0
15094
15095
  */
15095
15096
 
15096
15097
  /**
@@ -16273,7 +16274,7 @@ class BillingApi {
16273
16274
  /**
16274
16275
  * Billing service.
16275
16276
  * @module purecloud-platform-client-v2/api/BillingApi
16276
- * @version 141.1.0
16277
+ * @version 144.0.0
16277
16278
  */
16278
16279
 
16279
16280
  /**
@@ -16353,7 +16354,7 @@ class ChatApi {
16353
16354
  /**
16354
16355
  * Chat service.
16355
16356
  * @module purecloud-platform-client-v2/api/ChatApi
16356
- * @version 141.1.0
16357
+ * @version 144.0.0
16357
16358
  */
16358
16359
 
16359
16360
  /**
@@ -16444,7 +16445,7 @@ class CoachingApi {
16444
16445
  /**
16445
16446
  * Coaching service.
16446
16447
  * @module purecloud-platform-client-v2/api/CoachingApi
16447
- * @version 141.1.0
16448
+ * @version 144.0.0
16448
16449
  */
16449
16450
 
16450
16451
  /**
@@ -17021,7 +17022,7 @@ class ContentManagementApi {
17021
17022
  /**
17022
17023
  * ContentManagement service.
17023
17024
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17024
- * @version 141.1.0
17025
+ * @version 144.0.0
17025
17026
  */
17026
17027
 
17027
17028
  /**
@@ -18161,7 +18162,7 @@ class ConversationsApi {
18161
18162
  /**
18162
18163
  * Conversations service.
18163
18164
  * @module purecloud-platform-client-v2/api/ConversationsApi
18164
- * @version 141.1.0
18165
+ * @version 144.0.0
18165
18166
  */
18166
18167
 
18167
18168
  /**
@@ -23095,7 +23096,7 @@ class DataExtensionsApi {
23095
23096
  /**
23096
23097
  * DataExtensions service.
23097
23098
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23098
- * @version 141.1.0
23099
+ * @version 144.0.0
23099
23100
  */
23100
23101
 
23101
23102
  /**
@@ -23181,7 +23182,7 @@ class ExternalContactsApi {
23181
23182
  /**
23182
23183
  * ExternalContacts service.
23183
23184
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23184
- * @version 141.1.0
23185
+ * @version 144.0.0
23185
23186
  */
23186
23187
 
23187
23188
  /**
@@ -24924,7 +24925,7 @@ class FaxApi {
24924
24925
  /**
24925
24926
  * Fax service.
24926
24927
  * @module purecloud-platform-client-v2/api/FaxApi
24927
- * @version 141.1.0
24928
+ * @version 144.0.0
24928
24929
  */
24929
24930
 
24930
24931
  /**
@@ -25095,7 +25096,7 @@ class FlowsApi {
25095
25096
  /**
25096
25097
  * Flows service.
25097
25098
  * @module purecloud-platform-client-v2/api/FlowsApi
25098
- * @version 141.1.0
25099
+ * @version 144.0.0
25099
25100
  */
25100
25101
 
25101
25102
  /**
@@ -25166,7 +25167,7 @@ class GamificationApi {
25166
25167
  /**
25167
25168
  * Gamification service.
25168
25169
  * @module purecloud-platform-client-v2/api/GamificationApi
25169
- * @version 141.1.0
25170
+ * @version 144.0.0
25170
25171
  */
25171
25172
 
25172
25173
  /**
@@ -25181,6 +25182,81 @@ class GamificationApi {
25181
25182
  }
25182
25183
 
25183
25184
 
25185
+ /**
25186
+ * Delete an External Metric Definition
25187
+ *
25188
+ * @param {String} metricId Specifies the External Metric Definition ID
25189
+ */
25190
+ deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
25191
+ // verify the required parameter 'metricId' is set
25192
+ if (metricId === undefined || metricId === null) {
25193
+ throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
25194
+ }
25195
+
25196
+ return this.apiClient.callApi(
25197
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
25198
+ 'DELETE',
25199
+ { 'metricId': metricId },
25200
+ { },
25201
+ { },
25202
+ { },
25203
+ null,
25204
+ ['PureCloud OAuth'],
25205
+ ['application/json'],
25206
+ ['application/json']
25207
+ );
25208
+ }
25209
+
25210
+ /**
25211
+ * Get an External Metric Definition
25212
+ *
25213
+ * @param {String} metricId Specifies the External Metric Definition ID
25214
+ */
25215
+ getEmployeeperformanceExternalmetricsDefinition(metricId) {
25216
+ // verify the required parameter 'metricId' is set
25217
+ if (metricId === undefined || metricId === null) {
25218
+ throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
25219
+ }
25220
+
25221
+ return this.apiClient.callApi(
25222
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
25223
+ 'GET',
25224
+ { 'metricId': metricId },
25225
+ { },
25226
+ { },
25227
+ { },
25228
+ null,
25229
+ ['PureCloud OAuth'],
25230
+ ['application/json'],
25231
+ ['application/json']
25232
+ );
25233
+ }
25234
+
25235
+ /**
25236
+ * Get a list of External Metric Definitions of an organization, sorted by name in ascending order
25237
+ *
25238
+ * @param {Object} opts Optional parameters
25239
+ * @param {Number} opts.pageSize Page size (default to 25)
25240
+ * @param {Number} opts.pageNumber Page number (default to 1)
25241
+ */
25242
+ getEmployeeperformanceExternalmetricsDefinitions(opts) {
25243
+ opts = opts || {};
25244
+
25245
+
25246
+ return this.apiClient.callApi(
25247
+ '/api/v2/employeeperformance/externalmetrics/definitions',
25248
+ 'GET',
25249
+ { },
25250
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
25251
+ { },
25252
+ { },
25253
+ null,
25254
+ ['PureCloud OAuth'],
25255
+ ['application/json'],
25256
+ ['application/json']
25257
+ );
25258
+ }
25259
+
25184
25260
  /**
25185
25261
  * Leaderboard of the requesting user's division or performance profile
25186
25262
  *
@@ -25845,14 +25921,14 @@ class GamificationApi {
25845
25921
  * @param {String} profileId performanceProfileId
25846
25922
  * @param {String} metricId metricId
25847
25923
  * @param {Object} filterType Filter type for the query request.
25848
- * @param {String} filterId ID for the filter type. For example, division Id
25849
25924
  * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25850
25925
  * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25851
25926
  * @param {Object} opts Optional parameters
25927
+ * @param {String} opts.filterId ID for the filter type. Only required when filterType is Division.
25852
25928
  * @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
25853
25929
  * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
25854
25930
  */
25855
- getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, filterId, startWorkday, endWorkday, opts) {
25931
+ getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, startWorkday, endWorkday, opts) {
25856
25932
  opts = opts || {};
25857
25933
 
25858
25934
  // verify the required parameter 'profileId' is set
@@ -25867,10 +25943,6 @@ class GamificationApi {
25867
25943
  if (filterType === undefined || filterType === null) {
25868
25944
  throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25869
25945
  }
25870
- // verify the required parameter 'filterId' is set
25871
- if (filterId === undefined || filterId === null) {
25872
- throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25873
- }
25874
25946
  // verify the required parameter 'startWorkday' is set
25875
25947
  if (startWorkday === undefined || startWorkday === null) {
25876
25948
  throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
@@ -25884,7 +25956,7 @@ class GamificationApi {
25884
25956
  '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
25885
25957
  'GET',
25886
25958
  { 'profileId': profileId,'metricId': metricId },
25887
- { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
25959
+ { 'filterType': filterType,'filterId': opts['filterId'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
25888
25960
  { },
25889
25961
  { },
25890
25962
  null,
@@ -26390,6 +26462,84 @@ class GamificationApi {
26390
26462
  );
26391
26463
  }
26392
26464
 
26465
+ /**
26466
+ * Update External Metric Definition
26467
+ *
26468
+ * @param {String} metricId Specifies the metric definition ID
26469
+ * @param {Object} body The External Metric Definition parameters to be updated
26470
+ */
26471
+ patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
26472
+ // verify the required parameter 'metricId' is set
26473
+ if (metricId === undefined || metricId === null) {
26474
+ throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
26475
+ }
26476
+ // verify the required parameter 'body' is set
26477
+ if (body === undefined || body === null) {
26478
+ throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
26479
+ }
26480
+
26481
+ return this.apiClient.callApi(
26482
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
26483
+ 'PATCH',
26484
+ { 'metricId': metricId },
26485
+ { },
26486
+ { },
26487
+ { },
26488
+ body,
26489
+ ['PureCloud OAuth'],
26490
+ ['application/json'],
26491
+ ['application/json']
26492
+ );
26493
+ }
26494
+
26495
+ /**
26496
+ * Write External Metric Data
26497
+ *
26498
+ * @param {Object} opts Optional parameters
26499
+ * @param {Object} opts.body The External Metric Data to be added
26500
+ */
26501
+ postEmployeeperformanceExternalmetricsData(opts) {
26502
+ opts = opts || {};
26503
+
26504
+
26505
+ return this.apiClient.callApi(
26506
+ '/api/v2/employeeperformance/externalmetrics/data',
26507
+ 'POST',
26508
+ { },
26509
+ { },
26510
+ { },
26511
+ { },
26512
+ opts['body'],
26513
+ ['PureCloud OAuth'],
26514
+ ['application/json'],
26515
+ ['application/json']
26516
+ );
26517
+ }
26518
+
26519
+ /**
26520
+ * Create External Metric Definition
26521
+ *
26522
+ * @param {Object} opts Optional parameters
26523
+ * @param {Object} opts.body The External Metric Definition to be created
26524
+ */
26525
+ postEmployeeperformanceExternalmetricsDefinitions(opts) {
26526
+ opts = opts || {};
26527
+
26528
+
26529
+ return this.apiClient.callApi(
26530
+ '/api/v2/employeeperformance/externalmetrics/definitions',
26531
+ 'POST',
26532
+ { },
26533
+ { },
26534
+ { },
26535
+ { },
26536
+ opts['body'],
26537
+ ['PureCloud OAuth'],
26538
+ ['application/json'],
26539
+ ['application/json']
26540
+ );
26541
+ }
26542
+
26393
26543
  /**
26394
26544
  * Creates a gamified metric with a given metric definition and metric objective
26395
26545
  * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
@@ -26748,7 +26898,7 @@ class GeneralDataProtectionRegulationApi {
26748
26898
  /**
26749
26899
  * GeneralDataProtectionRegulation service.
26750
26900
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
26751
- * @version 141.1.0
26901
+ * @version 144.0.0
26752
26902
  */
26753
26903
 
26754
26904
  /**
@@ -26878,7 +27028,7 @@ class GeolocationApi {
26878
27028
  /**
26879
27029
  * Geolocation service.
26880
27030
  * @module purecloud-platform-client-v2/api/GeolocationApi
26881
- * @version 141.1.0
27031
+ * @version 144.0.0
26882
27032
  */
26883
27033
 
26884
27034
  /**
@@ -27009,7 +27159,7 @@ class GreetingsApi {
27009
27159
  /**
27010
27160
  * Greetings service.
27011
27161
  * @module purecloud-platform-client-v2/api/GreetingsApi
27012
- * @version 141.1.0
27162
+ * @version 144.0.0
27013
27163
  */
27014
27164
 
27015
27165
  /**
@@ -27464,7 +27614,7 @@ class GroupsApi {
27464
27614
  /**
27465
27615
  * Groups service.
27466
27616
  * @module purecloud-platform-client-v2/api/GroupsApi
27467
- * @version 141.1.0
27617
+ * @version 144.0.0
27468
27618
  */
27469
27619
 
27470
27620
  /**
@@ -27869,7 +28019,7 @@ class IdentityProviderApi {
27869
28019
  /**
27870
28020
  * IdentityProvider service.
27871
28021
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
27872
- * @version 141.1.0
28022
+ * @version 144.0.0
27873
28023
  */
27874
28024
 
27875
28025
  /**
@@ -28625,7 +28775,7 @@ class IntegrationsApi {
28625
28775
  /**
28626
28776
  * Integrations service.
28627
28777
  * @module purecloud-platform-client-v2/api/IntegrationsApi
28628
- * @version 141.1.0
28778
+ * @version 144.0.0
28629
28779
  */
28630
28780
 
28631
28781
  /**
@@ -30302,7 +30452,7 @@ class JourneyApi {
30302
30452
  /**
30303
30453
  * Journey service.
30304
30454
  * @module purecloud-platform-client-v2/api/JourneyApi
30305
- * @version 141.1.0
30455
+ * @version 144.0.0
30306
30456
  */
30307
30457
 
30308
30458
  /**
@@ -31013,7 +31163,7 @@ class KnowledgeApi {
31013
31163
  /**
31014
31164
  * Knowledge service.
31015
31165
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31016
- * @version 141.1.0
31166
+ * @version 144.0.0
31017
31167
  */
31018
31168
 
31019
31169
  /**
@@ -31913,7 +32063,7 @@ class LanguageUnderstandingApi {
31913
32063
  /**
31914
32064
  * LanguageUnderstanding service.
31915
32065
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
31916
- * @version 141.1.0
32066
+ * @version 144.0.0
31917
32067
  */
31918
32068
 
31919
32069
  /**
@@ -32817,7 +32967,7 @@ class LanguagesApi {
32817
32967
  /**
32818
32968
  * Languages service.
32819
32969
  * @module purecloud-platform-client-v2/api/LanguagesApi
32820
- * @version 141.1.0
32970
+ * @version 144.0.0
32821
32971
  */
32822
32972
 
32823
32973
  /**
@@ -33085,7 +33235,7 @@ class LearningApi {
33085
33235
  /**
33086
33236
  * Learning service.
33087
33237
  * @module purecloud-platform-client-v2/api/LearningApi
33088
- * @version 141.1.0
33238
+ * @version 144.0.0
33089
33239
  */
33090
33240
 
33091
33241
  /**
@@ -33438,6 +33588,31 @@ class LearningApi {
33438
33588
  );
33439
33589
  }
33440
33590
 
33591
+ /**
33592
+ * Get a specific Learning Module cover art using ID
33593
+ *
33594
+ * @param {String} coverArtId Key identifier for the cover art
33595
+ */
33596
+ getLearningModulesCoverartCoverArtId(coverArtId) {
33597
+ // verify the required parameter 'coverArtId' is set
33598
+ if (coverArtId === undefined || coverArtId === null) {
33599
+ throw 'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';
33600
+ }
33601
+
33602
+ return this.apiClient.callApi(
33603
+ '/api/v2/learning/modules/coverart/{coverArtId}',
33604
+ 'GET',
33605
+ { 'coverArtId': coverArtId },
33606
+ { },
33607
+ { },
33608
+ { },
33609
+ null,
33610
+ ['PureCloud OAuth'],
33611
+ ['application/json'],
33612
+ ['application/json']
33613
+ );
33614
+ }
33615
+
33441
33616
  /**
33442
33617
  * Update Learning Assignment
33443
33618
  *
@@ -33820,7 +33995,7 @@ class LicenseApi {
33820
33995
  /**
33821
33996
  * License service.
33822
33997
  * @module purecloud-platform-client-v2/api/LicenseApi
33823
- * @version 141.1.0
33998
+ * @version 144.0.0
33824
33999
  */
33825
34000
 
33826
34001
  /**
@@ -34058,7 +34233,7 @@ class LocationsApi {
34058
34233
  /**
34059
34234
  * Locations service.
34060
34235
  * @module purecloud-platform-client-v2/api/LocationsApi
34061
- * @version 141.1.0
34236
+ * @version 144.0.0
34062
34237
  */
34063
34238
 
34064
34239
  /**
@@ -34294,7 +34469,7 @@ class MessagingApi {
34294
34469
  /**
34295
34470
  * Messaging service.
34296
34471
  * @module purecloud-platform-client-v2/api/MessagingApi
34297
- * @version 141.1.0
34472
+ * @version 144.0.0
34298
34473
  */
34299
34474
 
34300
34475
  /**
@@ -34445,7 +34620,7 @@ class MobileDevicesApi {
34445
34620
  /**
34446
34621
  * MobileDevices service.
34447
34622
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
34448
- * @version 141.1.0
34623
+ * @version 144.0.0
34449
34624
  */
34450
34625
 
34451
34626
  /**
@@ -34596,7 +34771,7 @@ class NotificationsApi {
34596
34771
  /**
34597
34772
  * Notifications service.
34598
34773
  * @module purecloud-platform-client-v2/api/NotificationsApi
34599
- * @version 141.1.0
34774
+ * @version 144.0.0
34600
34775
  */
34601
34776
 
34602
34777
  /**
@@ -34821,7 +34996,7 @@ class OAuthApi {
34821
34996
  /**
34822
34997
  * OAuth service.
34823
34998
  * @module purecloud-platform-client-v2/api/OAuthApi
34824
- * @version 141.1.0
34999
+ * @version 144.0.0
34825
35000
  */
34826
35001
 
34827
35002
  /**
@@ -35187,7 +35362,7 @@ class ObjectsApi {
35187
35362
  /**
35188
35363
  * Objects service.
35189
35364
  * @module purecloud-platform-client-v2/api/ObjectsApi
35190
- * @version 141.1.0
35365
+ * @version 144.0.0
35191
35366
  */
35192
35367
 
35193
35368
  /**
@@ -35458,7 +35633,7 @@ class OrganizationApi {
35458
35633
  /**
35459
35634
  * Organization service.
35460
35635
  * @module purecloud-platform-client-v2/api/OrganizationApi
35461
- * @version 141.1.0
35636
+ * @version 144.0.0
35462
35637
  */
35463
35638
 
35464
35639
  /**
@@ -35861,7 +36036,7 @@ class OrganizationAuthorizationApi {
35861
36036
  /**
35862
36037
  * OrganizationAuthorization service.
35863
36038
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
35864
- * @version 141.1.0
36039
+ * @version 144.0.0
35865
36040
  */
35866
36041
 
35867
36042
  /**
@@ -36786,7 +36961,7 @@ class OutboundApi {
36786
36961
  /**
36787
36962
  * Outbound service.
36788
36963
  * @module purecloud-platform-client-v2/api/OutboundApi
36789
- * @version 141.1.0
36964
+ * @version 144.0.0
36790
36965
  */
36791
36966
 
36792
36967
  /**
@@ -40041,7 +40216,7 @@ class PresenceApi {
40041
40216
  /**
40042
40217
  * Presence service.
40043
40218
  * @module purecloud-platform-client-v2/api/PresenceApi
40044
- * @version 141.1.0
40219
+ * @version 144.0.0
40045
40220
  */
40046
40221
 
40047
40222
  /**
@@ -40363,7 +40538,7 @@ class QualityApi {
40363
40538
  /**
40364
40539
  * Quality service.
40365
40540
  * @module purecloud-platform-client-v2/api/QualityApi
40366
- * @version 141.1.0
40541
+ * @version 144.0.0
40367
40542
  */
40368
40543
 
40369
40544
  /**
@@ -41941,7 +42116,7 @@ class RecordingApi {
41941
42116
  /**
41942
42117
  * Recording service.
41943
42118
  * @module purecloud-platform-client-v2/api/RecordingApi
41944
- * @version 141.1.0
42119
+ * @version 144.0.0
41945
42120
  */
41946
42121
 
41947
42122
  /**
@@ -43594,7 +43769,7 @@ class ResponseManagementApi {
43594
43769
  /**
43595
43770
  * ResponseManagement service.
43596
43771
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
43597
- * @version 141.1.0
43772
+ * @version 144.0.0
43598
43773
  */
43599
43774
 
43600
43775
  /**
@@ -44078,7 +44253,7 @@ class RoutingApi {
44078
44253
  /**
44079
44254
  * Routing service.
44080
44255
  * @module purecloud-platform-client-v2/api/RoutingApi
44081
- * @version 141.1.0
44256
+ * @version 144.0.0
44082
44257
  */
44083
44258
 
44084
44259
  /**
@@ -46999,7 +47174,7 @@ class SCIMApi {
46999
47174
  /**
47000
47175
  * SCIM service.
47001
47176
  * @module purecloud-platform-client-v2/api/SCIMApi
47002
- * @version 141.1.0
47177
+ * @version 144.0.0
47003
47178
  */
47004
47179
 
47005
47180
  /**
@@ -47876,7 +48051,7 @@ class ScriptsApi {
47876
48051
  /**
47877
48052
  * Scripts service.
47878
48053
  * @module purecloud-platform-client-v2/api/ScriptsApi
47879
- * @version 141.1.0
48054
+ * @version 144.0.0
47880
48055
  */
47881
48056
 
47882
48057
  /**
@@ -48295,7 +48470,7 @@ class SearchApi {
48295
48470
  /**
48296
48471
  * Search service.
48297
48472
  * @module purecloud-platform-client-v2/api/SearchApi
48298
- * @version 141.1.0
48473
+ * @version 144.0.0
48299
48474
  */
48300
48475
 
48301
48476
  /**
@@ -48855,7 +49030,7 @@ class SpeechTextAnalyticsApi {
48855
49030
  /**
48856
49031
  * SpeechTextAnalytics service.
48857
49032
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
48858
- * @version 141.1.0
49033
+ * @version 144.0.0
48859
49034
  */
48860
49035
 
48861
49036
  /**
@@ -49080,6 +49255,7 @@ class SpeechTextAnalyticsApi {
49080
49255
  * @param {Object} opts Optional parameters
49081
49256
  * @param {String} opts.nextPage The key for listing the next page
49082
49257
  * @param {Number} opts.pageSize The page size for the listing (default to 20)
49258
+ * @param {Object} opts.state Program state. Defaults to Latest
49083
49259
  */
49084
49260
  getSpeechandtextanalyticsPrograms(opts) {
49085
49261
  opts = opts || {};
@@ -49089,7 +49265,7 @@ class SpeechTextAnalyticsApi {
49089
49265
  '/api/v2/speechandtextanalytics/programs',
49090
49266
  'GET',
49091
49267
  { },
49092
- { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
49268
+ { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'] },
49093
49269
  { },
49094
49270
  { },
49095
49271
  null,
@@ -49708,7 +49884,7 @@ class StationsApi {
49708
49884
  /**
49709
49885
  * Stations service.
49710
49886
  * @module purecloud-platform-client-v2/api/StationsApi
49711
- * @version 141.1.0
49887
+ * @version 144.0.0
49712
49888
  */
49713
49889
 
49714
49890
  /**
@@ -49855,7 +50031,7 @@ class SuggestApi {
49855
50031
  /**
49856
50032
  * Suggest service.
49857
50033
  * @module purecloud-platform-client-v2/api/SuggestApi
49858
- * @version 141.1.0
50034
+ * @version 144.0.0
49859
50035
  */
49860
50036
 
49861
50037
  /**
@@ -49994,7 +50170,7 @@ class TeamsApi {
49994
50170
  /**
49995
50171
  * Teams service.
49996
50172
  * @module purecloud-platform-client-v2/api/TeamsApi
49997
- * @version 141.1.0
50173
+ * @version 144.0.0
49998
50174
  */
49999
50175
 
50000
50176
  /**
@@ -50173,7 +50349,7 @@ class TelephonyApi {
50173
50349
  /**
50174
50350
  * Telephony service.
50175
50351
  * @module purecloud-platform-client-v2/api/TelephonyApi
50176
- * @version 141.1.0
50352
+ * @version 144.0.0
50177
50353
  */
50178
50354
 
50179
50355
  /**
@@ -50281,7 +50457,7 @@ class TelephonyProvidersEdgeApi {
50281
50457
  /**
50282
50458
  * TelephonyProvidersEdge service.
50283
50459
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
50284
- * @version 141.1.0
50460
+ * @version 144.0.0
50285
50461
  */
50286
50462
 
50287
50463
  /**
@@ -53914,7 +54090,7 @@ class TextbotsApi {
53914
54090
  /**
53915
54091
  * Textbots service.
53916
54092
  * @module purecloud-platform-client-v2/api/TextbotsApi
53917
- * @version 141.1.0
54093
+ * @version 144.0.0
53918
54094
  */
53919
54095
 
53920
54096
  /**
@@ -54042,7 +54218,7 @@ class TokensApi {
54042
54218
  /**
54043
54219
  * Tokens service.
54044
54220
  * @module purecloud-platform-client-v2/api/TokensApi
54045
- * @version 141.1.0
54221
+ * @version 144.0.0
54046
54222
  */
54047
54223
 
54048
54224
  /**
@@ -54148,7 +54324,7 @@ class UploadsApi {
54148
54324
  /**
54149
54325
  * Uploads service.
54150
54326
  * @module purecloud-platform-client-v2/api/UploadsApi
54151
- * @version 141.1.0
54327
+ * @version 144.0.0
54152
54328
  */
54153
54329
 
54154
54330
  /**
@@ -54218,6 +54394,31 @@ class UploadsApi {
54218
54394
  );
54219
54395
  }
54220
54396
 
54397
+ /**
54398
+ * Generates pre-signed URL to upload cover art for learning modules
54399
+ *
54400
+ * @param {Object} body query
54401
+ */
54402
+ postUploadsLearningCoverart(body) {
54403
+ // verify the required parameter 'body' is set
54404
+ if (body === undefined || body === null) {
54405
+ throw 'Missing the required parameter "body" when calling postUploadsLearningCoverart';
54406
+ }
54407
+
54408
+ return this.apiClient.callApi(
54409
+ '/api/v2/uploads/learning/coverart',
54410
+ 'POST',
54411
+ { },
54412
+ { },
54413
+ { },
54414
+ { },
54415
+ body,
54416
+ ['PureCloud OAuth'],
54417
+ ['application/json'],
54418
+ ['application/json']
54419
+ );
54420
+ }
54421
+
54221
54422
  /**
54222
54423
  * Creates presigned url for uploading a public asset image
54223
54424
  *
@@ -54299,7 +54500,7 @@ class UsageApi {
54299
54500
  /**
54300
54501
  * Usage service.
54301
54502
  * @module purecloud-platform-client-v2/api/UsageApi
54302
- * @version 141.1.0
54503
+ * @version 144.0.0
54303
54504
  */
54304
54505
 
54305
54506
  /**
@@ -54370,7 +54571,7 @@ class UserRecordingsApi {
54370
54571
  /**
54371
54572
  * UserRecordings service.
54372
54573
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
54373
- * @version 141.1.0
54574
+ * @version 144.0.0
54374
54575
  */
54375
54576
 
54376
54577
  /**
@@ -54554,7 +54755,7 @@ class UsersApi {
54554
54755
  /**
54555
54756
  * Users service.
54556
54757
  * @module purecloud-platform-client-v2/api/UsersApi
54557
- * @version 141.1.0
54758
+ * @version 144.0.0
54558
54759
  */
54559
54760
 
54560
54761
  /**
@@ -56856,7 +57057,7 @@ class UtilitiesApi {
56856
57057
  /**
56857
57058
  * Utilities service.
56858
57059
  * @module purecloud-platform-client-v2/api/UtilitiesApi
56859
- * @version 141.1.0
57060
+ * @version 144.0.0
56860
57061
  */
56861
57062
 
56862
57063
  /**
@@ -56967,7 +57168,7 @@ class VoicemailApi {
56967
57168
  /**
56968
57169
  * Voicemail service.
56969
57170
  * @module purecloud-platform-client-v2/api/VoicemailApi
56970
- * @version 141.1.0
57171
+ * @version 144.0.0
56971
57172
  */
56972
57173
 
56973
57174
  /**
@@ -57634,7 +57835,7 @@ class WebChatApi {
57634
57835
  /**
57635
57836
  * WebChat service.
57636
57837
  * @module purecloud-platform-client-v2/api/WebChatApi
57637
- * @version 141.1.0
57838
+ * @version 144.0.0
57638
57839
  */
57639
57840
 
57640
57841
  /**
@@ -58178,7 +58379,7 @@ class WebDeploymentsApi {
58178
58379
  /**
58179
58380
  * WebDeployments service.
58180
58381
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
58181
- * @version 141.1.0
58382
+ * @version 144.0.0
58182
58383
  */
58183
58384
 
58184
58385
  /**
@@ -58533,7 +58734,7 @@ class WebMessagingApi {
58533
58734
  /**
58534
58735
  * WebMessaging service.
58535
58736
  * @module purecloud-platform-client-v2/api/WebMessagingApi
58536
- * @version 141.1.0
58737
+ * @version 144.0.0
58537
58738
  */
58538
58739
 
58539
58740
  /**
@@ -58579,7 +58780,7 @@ class WidgetsApi {
58579
58780
  /**
58580
58781
  * Widgets service.
58581
58782
  * @module purecloud-platform-client-v2/api/WidgetsApi
58582
- * @version 141.1.0
58783
+ * @version 144.0.0
58583
58784
  */
58584
58785
 
58585
58786
  /**
@@ -58725,7 +58926,7 @@ class WorkforceManagementApi {
58725
58926
  /**
58726
58927
  * WorkforceManagement service.
58727
58928
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
58728
- * @version 141.1.0
58929
+ * @version 144.0.0
58729
58930
  */
58730
58931
 
58731
58932
  /**
@@ -63001,7 +63202,7 @@ class WorkforceManagementApi {
63001
63202
  * </pre>
63002
63203
  * </p>
63003
63204
  * @module purecloud-platform-client-v2/index
63004
- * @version 141.1.0
63205
+ * @version 144.0.0
63005
63206
  */
63006
63207
  class platformClient {
63007
63208
  constructor() {