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
@@ -20,6 +20,7 @@ var PureCloudRegionHosts = {
20
20
  eu_west_2: 'euw2.pure.cloud',
21
21
  ap_south_1: 'aps1.pure.cloud',
22
22
  us_east_2: 'use2.us-gov-pure.cloud',
23
+ sa_east_1: 'sae1.pure.cloud',
23
24
  };
24
25
 
25
26
  var global$1 = (typeof global !== "undefined" ? global :
@@ -2278,7 +2279,7 @@ class Configuration {
2278
2279
 
2279
2280
  /**
2280
2281
  * @module purecloud-platform-client-v2/ApiClient
2281
- * @version 141.1.0
2282
+ * @version 144.0.0
2282
2283
  */
2283
2284
  class ApiClient {
2284
2285
  /**
@@ -3350,7 +3351,7 @@ class AlertingApi {
3350
3351
  /**
3351
3352
  * Alerting service.
3352
3353
  * @module purecloud-platform-client-v2/api/AlertingApi
3353
- * @version 141.1.0
3354
+ * @version 144.0.0
3354
3355
  */
3355
3356
 
3356
3357
  /**
@@ -3664,7 +3665,7 @@ class AnalyticsApi {
3664
3665
  /**
3665
3666
  * Analytics service.
3666
3667
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3667
- * @version 141.1.0
3668
+ * @version 144.0.0
3668
3669
  */
3669
3670
 
3670
3671
  /**
@@ -4846,7 +4847,7 @@ class ArchitectApi {
4846
4847
  /**
4847
4848
  * Architect service.
4848
4849
  * @module purecloud-platform-client-v2/api/ArchitectApi
4849
- * @version 141.1.0
4850
+ * @version 144.0.0
4850
4851
  */
4851
4852
 
4852
4853
  /**
@@ -7891,7 +7892,7 @@ class AuditApi {
7891
7892
  /**
7892
7893
  * Audit service.
7893
7894
  * @module purecloud-platform-client-v2/api/AuditApi
7894
- * @version 141.1.0
7895
+ * @version 144.0.0
7895
7896
  */
7896
7897
 
7897
7898
  /**
@@ -8062,7 +8063,7 @@ class AuthorizationApi {
8062
8063
  /**
8063
8064
  * Authorization service.
8064
8065
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8065
- * @version 141.1.0
8066
+ * @version 144.0.0
8066
8067
  */
8067
8068
 
8068
8069
  /**
@@ -9245,7 +9246,7 @@ class BillingApi {
9245
9246
  /**
9246
9247
  * Billing service.
9247
9248
  * @module purecloud-platform-client-v2/api/BillingApi
9248
- * @version 141.1.0
9249
+ * @version 144.0.0
9249
9250
  */
9250
9251
 
9251
9252
  /**
@@ -9325,7 +9326,7 @@ class ChatApi {
9325
9326
  /**
9326
9327
  * Chat service.
9327
9328
  * @module purecloud-platform-client-v2/api/ChatApi
9328
- * @version 141.1.0
9329
+ * @version 144.0.0
9329
9330
  */
9330
9331
 
9331
9332
  /**
@@ -9416,7 +9417,7 @@ class CoachingApi {
9416
9417
  /**
9417
9418
  * Coaching service.
9418
9419
  * @module purecloud-platform-client-v2/api/CoachingApi
9419
- * @version 141.1.0
9420
+ * @version 144.0.0
9420
9421
  */
9421
9422
 
9422
9423
  /**
@@ -9993,7 +9994,7 @@ class ContentManagementApi {
9993
9994
  /**
9994
9995
  * ContentManagement service.
9995
9996
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9996
- * @version 141.1.0
9997
+ * @version 144.0.0
9997
9998
  */
9998
9999
 
9999
10000
  /**
@@ -11133,7 +11134,7 @@ class ConversationsApi {
11133
11134
  /**
11134
11135
  * Conversations service.
11135
11136
  * @module purecloud-platform-client-v2/api/ConversationsApi
11136
- * @version 141.1.0
11137
+ * @version 144.0.0
11137
11138
  */
11138
11139
 
11139
11140
  /**
@@ -16067,7 +16068,7 @@ class DataExtensionsApi {
16067
16068
  /**
16068
16069
  * DataExtensions service.
16069
16070
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
16070
- * @version 141.1.0
16071
+ * @version 144.0.0
16071
16072
  */
16072
16073
 
16073
16074
  /**
@@ -16153,7 +16154,7 @@ class ExternalContactsApi {
16153
16154
  /**
16154
16155
  * ExternalContacts service.
16155
16156
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
16156
- * @version 141.1.0
16157
+ * @version 144.0.0
16157
16158
  */
16158
16159
 
16159
16160
  /**
@@ -17896,7 +17897,7 @@ class FaxApi {
17896
17897
  /**
17897
17898
  * Fax service.
17898
17899
  * @module purecloud-platform-client-v2/api/FaxApi
17899
- * @version 141.1.0
17900
+ * @version 144.0.0
17900
17901
  */
17901
17902
 
17902
17903
  /**
@@ -18067,7 +18068,7 @@ class FlowsApi {
18067
18068
  /**
18068
18069
  * Flows service.
18069
18070
  * @module purecloud-platform-client-v2/api/FlowsApi
18070
- * @version 141.1.0
18071
+ * @version 144.0.0
18071
18072
  */
18072
18073
 
18073
18074
  /**
@@ -18138,7 +18139,7 @@ class GamificationApi {
18138
18139
  /**
18139
18140
  * Gamification service.
18140
18141
  * @module purecloud-platform-client-v2/api/GamificationApi
18141
- * @version 141.1.0
18142
+ * @version 144.0.0
18142
18143
  */
18143
18144
 
18144
18145
  /**
@@ -18153,6 +18154,81 @@ class GamificationApi {
18153
18154
  }
18154
18155
 
18155
18156
 
18157
+ /**
18158
+ * Delete an External Metric Definition
18159
+ *
18160
+ * @param {String} metricId Specifies the External Metric Definition ID
18161
+ */
18162
+ deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
18163
+ // verify the required parameter 'metricId' is set
18164
+ if (metricId === undefined || metricId === null) {
18165
+ throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
18166
+ }
18167
+
18168
+ return this.apiClient.callApi(
18169
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
18170
+ 'DELETE',
18171
+ { 'metricId': metricId },
18172
+ { },
18173
+ { },
18174
+ { },
18175
+ null,
18176
+ ['PureCloud OAuth'],
18177
+ ['application/json'],
18178
+ ['application/json']
18179
+ );
18180
+ }
18181
+
18182
+ /**
18183
+ * Get an External Metric Definition
18184
+ *
18185
+ * @param {String} metricId Specifies the External Metric Definition ID
18186
+ */
18187
+ getEmployeeperformanceExternalmetricsDefinition(metricId) {
18188
+ // verify the required parameter 'metricId' is set
18189
+ if (metricId === undefined || metricId === null) {
18190
+ throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
18191
+ }
18192
+
18193
+ return this.apiClient.callApi(
18194
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
18195
+ 'GET',
18196
+ { 'metricId': metricId },
18197
+ { },
18198
+ { },
18199
+ { },
18200
+ null,
18201
+ ['PureCloud OAuth'],
18202
+ ['application/json'],
18203
+ ['application/json']
18204
+ );
18205
+ }
18206
+
18207
+ /**
18208
+ * Get a list of External Metric Definitions of an organization, sorted by name in ascending order
18209
+ *
18210
+ * @param {Object} opts Optional parameters
18211
+ * @param {Number} opts.pageSize Page size (default to 25)
18212
+ * @param {Number} opts.pageNumber Page number (default to 1)
18213
+ */
18214
+ getEmployeeperformanceExternalmetricsDefinitions(opts) {
18215
+ opts = opts || {};
18216
+
18217
+
18218
+ return this.apiClient.callApi(
18219
+ '/api/v2/employeeperformance/externalmetrics/definitions',
18220
+ 'GET',
18221
+ { },
18222
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
18223
+ { },
18224
+ { },
18225
+ null,
18226
+ ['PureCloud OAuth'],
18227
+ ['application/json'],
18228
+ ['application/json']
18229
+ );
18230
+ }
18231
+
18156
18232
  /**
18157
18233
  * Leaderboard of the requesting user's division or performance profile
18158
18234
  *
@@ -18817,14 +18893,14 @@ class GamificationApi {
18817
18893
  * @param {String} profileId performanceProfileId
18818
18894
  * @param {String} metricId metricId
18819
18895
  * @param {Object} filterType Filter type for the query request.
18820
- * @param {String} filterId ID for the filter type. For example, division Id
18821
18896
  * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
18822
18897
  * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
18823
18898
  * @param {Object} opts Optional parameters
18899
+ * @param {String} opts.filterId ID for the filter type. Only required when filterType is Division.
18824
18900
  * @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
18825
18901
  * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
18826
18902
  */
18827
- getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, filterId, startWorkday, endWorkday, opts) {
18903
+ getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, startWorkday, endWorkday, opts) {
18828
18904
  opts = opts || {};
18829
18905
 
18830
18906
  // verify the required parameter 'profileId' is set
@@ -18839,10 +18915,6 @@ class GamificationApi {
18839
18915
  if (filterType === undefined || filterType === null) {
18840
18916
  throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
18841
18917
  }
18842
- // verify the required parameter 'filterId' is set
18843
- if (filterId === undefined || filterId === null) {
18844
- throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
18845
- }
18846
18918
  // verify the required parameter 'startWorkday' is set
18847
18919
  if (startWorkday === undefined || startWorkday === null) {
18848
18920
  throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
@@ -18856,7 +18928,7 @@ class GamificationApi {
18856
18928
  '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
18857
18929
  'GET',
18858
18930
  { 'profileId': profileId,'metricId': metricId },
18859
- { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
18931
+ { 'filterType': filterType,'filterId': opts['filterId'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
18860
18932
  { },
18861
18933
  { },
18862
18934
  null,
@@ -19362,6 +19434,84 @@ class GamificationApi {
19362
19434
  );
19363
19435
  }
19364
19436
 
19437
+ /**
19438
+ * Update External Metric Definition
19439
+ *
19440
+ * @param {String} metricId Specifies the metric definition ID
19441
+ * @param {Object} body The External Metric Definition parameters to be updated
19442
+ */
19443
+ patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
19444
+ // verify the required parameter 'metricId' is set
19445
+ if (metricId === undefined || metricId === null) {
19446
+ throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
19447
+ }
19448
+ // verify the required parameter 'body' is set
19449
+ if (body === undefined || body === null) {
19450
+ throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
19451
+ }
19452
+
19453
+ return this.apiClient.callApi(
19454
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
19455
+ 'PATCH',
19456
+ { 'metricId': metricId },
19457
+ { },
19458
+ { },
19459
+ { },
19460
+ body,
19461
+ ['PureCloud OAuth'],
19462
+ ['application/json'],
19463
+ ['application/json']
19464
+ );
19465
+ }
19466
+
19467
+ /**
19468
+ * Write External Metric Data
19469
+ *
19470
+ * @param {Object} opts Optional parameters
19471
+ * @param {Object} opts.body The External Metric Data to be added
19472
+ */
19473
+ postEmployeeperformanceExternalmetricsData(opts) {
19474
+ opts = opts || {};
19475
+
19476
+
19477
+ return this.apiClient.callApi(
19478
+ '/api/v2/employeeperformance/externalmetrics/data',
19479
+ 'POST',
19480
+ { },
19481
+ { },
19482
+ { },
19483
+ { },
19484
+ opts['body'],
19485
+ ['PureCloud OAuth'],
19486
+ ['application/json'],
19487
+ ['application/json']
19488
+ );
19489
+ }
19490
+
19491
+ /**
19492
+ * Create External Metric Definition
19493
+ *
19494
+ * @param {Object} opts Optional parameters
19495
+ * @param {Object} opts.body The External Metric Definition to be created
19496
+ */
19497
+ postEmployeeperformanceExternalmetricsDefinitions(opts) {
19498
+ opts = opts || {};
19499
+
19500
+
19501
+ return this.apiClient.callApi(
19502
+ '/api/v2/employeeperformance/externalmetrics/definitions',
19503
+ 'POST',
19504
+ { },
19505
+ { },
19506
+ { },
19507
+ { },
19508
+ opts['body'],
19509
+ ['PureCloud OAuth'],
19510
+ ['application/json'],
19511
+ ['application/json']
19512
+ );
19513
+ }
19514
+
19365
19515
  /**
19366
19516
  * Creates a gamified metric with a given metric definition and metric objective
19367
19517
  * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
@@ -19720,7 +19870,7 @@ class GeneralDataProtectionRegulationApi {
19720
19870
  /**
19721
19871
  * GeneralDataProtectionRegulation service.
19722
19872
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19723
- * @version 141.1.0
19873
+ * @version 144.0.0
19724
19874
  */
19725
19875
 
19726
19876
  /**
@@ -19850,7 +20000,7 @@ class GeolocationApi {
19850
20000
  /**
19851
20001
  * Geolocation service.
19852
20002
  * @module purecloud-platform-client-v2/api/GeolocationApi
19853
- * @version 141.1.0
20003
+ * @version 144.0.0
19854
20004
  */
19855
20005
 
19856
20006
  /**
@@ -19981,7 +20131,7 @@ class GreetingsApi {
19981
20131
  /**
19982
20132
  * Greetings service.
19983
20133
  * @module purecloud-platform-client-v2/api/GreetingsApi
19984
- * @version 141.1.0
20134
+ * @version 144.0.0
19985
20135
  */
19986
20136
 
19987
20137
  /**
@@ -20436,7 +20586,7 @@ class GroupsApi {
20436
20586
  /**
20437
20587
  * Groups service.
20438
20588
  * @module purecloud-platform-client-v2/api/GroupsApi
20439
- * @version 141.1.0
20589
+ * @version 144.0.0
20440
20590
  */
20441
20591
 
20442
20592
  /**
@@ -20841,7 +20991,7 @@ class IdentityProviderApi {
20841
20991
  /**
20842
20992
  * IdentityProvider service.
20843
20993
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20844
- * @version 141.1.0
20994
+ * @version 144.0.0
20845
20995
  */
20846
20996
 
20847
20997
  /**
@@ -21597,7 +21747,7 @@ class IntegrationsApi {
21597
21747
  /**
21598
21748
  * Integrations service.
21599
21749
  * @module purecloud-platform-client-v2/api/IntegrationsApi
21600
- * @version 141.1.0
21750
+ * @version 144.0.0
21601
21751
  */
21602
21752
 
21603
21753
  /**
@@ -23274,7 +23424,7 @@ class JourneyApi {
23274
23424
  /**
23275
23425
  * Journey service.
23276
23426
  * @module purecloud-platform-client-v2/api/JourneyApi
23277
- * @version 141.1.0
23427
+ * @version 144.0.0
23278
23428
  */
23279
23429
 
23280
23430
  /**
@@ -23985,7 +24135,7 @@ class KnowledgeApi {
23985
24135
  /**
23986
24136
  * Knowledge service.
23987
24137
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23988
- * @version 141.1.0
24138
+ * @version 144.0.0
23989
24139
  */
23990
24140
 
23991
24141
  /**
@@ -24885,7 +25035,7 @@ class LanguageUnderstandingApi {
24885
25035
  /**
24886
25036
  * LanguageUnderstanding service.
24887
25037
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24888
- * @version 141.1.0
25038
+ * @version 144.0.0
24889
25039
  */
24890
25040
 
24891
25041
  /**
@@ -25789,7 +25939,7 @@ class LanguagesApi {
25789
25939
  /**
25790
25940
  * Languages service.
25791
25941
  * @module purecloud-platform-client-v2/api/LanguagesApi
25792
- * @version 141.1.0
25942
+ * @version 144.0.0
25793
25943
  */
25794
25944
 
25795
25945
  /**
@@ -26057,7 +26207,7 @@ class LearningApi {
26057
26207
  /**
26058
26208
  * Learning service.
26059
26209
  * @module purecloud-platform-client-v2/api/LearningApi
26060
- * @version 141.1.0
26210
+ * @version 144.0.0
26061
26211
  */
26062
26212
 
26063
26213
  /**
@@ -26410,6 +26560,31 @@ class LearningApi {
26410
26560
  );
26411
26561
  }
26412
26562
 
26563
+ /**
26564
+ * Get a specific Learning Module cover art using ID
26565
+ *
26566
+ * @param {String} coverArtId Key identifier for the cover art
26567
+ */
26568
+ getLearningModulesCoverartCoverArtId(coverArtId) {
26569
+ // verify the required parameter 'coverArtId' is set
26570
+ if (coverArtId === undefined || coverArtId === null) {
26571
+ throw 'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';
26572
+ }
26573
+
26574
+ return this.apiClient.callApi(
26575
+ '/api/v2/learning/modules/coverart/{coverArtId}',
26576
+ 'GET',
26577
+ { 'coverArtId': coverArtId },
26578
+ { },
26579
+ { },
26580
+ { },
26581
+ null,
26582
+ ['PureCloud OAuth'],
26583
+ ['application/json'],
26584
+ ['application/json']
26585
+ );
26586
+ }
26587
+
26413
26588
  /**
26414
26589
  * Update Learning Assignment
26415
26590
  *
@@ -26792,7 +26967,7 @@ class LicenseApi {
26792
26967
  /**
26793
26968
  * License service.
26794
26969
  * @module purecloud-platform-client-v2/api/LicenseApi
26795
- * @version 141.1.0
26970
+ * @version 144.0.0
26796
26971
  */
26797
26972
 
26798
26973
  /**
@@ -27030,7 +27205,7 @@ class LocationsApi {
27030
27205
  /**
27031
27206
  * Locations service.
27032
27207
  * @module purecloud-platform-client-v2/api/LocationsApi
27033
- * @version 141.1.0
27208
+ * @version 144.0.0
27034
27209
  */
27035
27210
 
27036
27211
  /**
@@ -27266,7 +27441,7 @@ class MessagingApi {
27266
27441
  /**
27267
27442
  * Messaging service.
27268
27443
  * @module purecloud-platform-client-v2/api/MessagingApi
27269
- * @version 141.1.0
27444
+ * @version 144.0.0
27270
27445
  */
27271
27446
 
27272
27447
  /**
@@ -27417,7 +27592,7 @@ class MobileDevicesApi {
27417
27592
  /**
27418
27593
  * MobileDevices service.
27419
27594
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27420
- * @version 141.1.0
27595
+ * @version 144.0.0
27421
27596
  */
27422
27597
 
27423
27598
  /**
@@ -27568,7 +27743,7 @@ class NotificationsApi {
27568
27743
  /**
27569
27744
  * Notifications service.
27570
27745
  * @module purecloud-platform-client-v2/api/NotificationsApi
27571
- * @version 141.1.0
27746
+ * @version 144.0.0
27572
27747
  */
27573
27748
 
27574
27749
  /**
@@ -27793,7 +27968,7 @@ class OAuthApi {
27793
27968
  /**
27794
27969
  * OAuth service.
27795
27970
  * @module purecloud-platform-client-v2/api/OAuthApi
27796
- * @version 141.1.0
27971
+ * @version 144.0.0
27797
27972
  */
27798
27973
 
27799
27974
  /**
@@ -28159,7 +28334,7 @@ class ObjectsApi {
28159
28334
  /**
28160
28335
  * Objects service.
28161
28336
  * @module purecloud-platform-client-v2/api/ObjectsApi
28162
- * @version 141.1.0
28337
+ * @version 144.0.0
28163
28338
  */
28164
28339
 
28165
28340
  /**
@@ -28430,7 +28605,7 @@ class OrganizationApi {
28430
28605
  /**
28431
28606
  * Organization service.
28432
28607
  * @module purecloud-platform-client-v2/api/OrganizationApi
28433
- * @version 141.1.0
28608
+ * @version 144.0.0
28434
28609
  */
28435
28610
 
28436
28611
  /**
@@ -28833,7 +29008,7 @@ class OrganizationAuthorizationApi {
28833
29008
  /**
28834
29009
  * OrganizationAuthorization service.
28835
29010
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28836
- * @version 141.1.0
29011
+ * @version 144.0.0
28837
29012
  */
28838
29013
 
28839
29014
  /**
@@ -29758,7 +29933,7 @@ class OutboundApi {
29758
29933
  /**
29759
29934
  * Outbound service.
29760
29935
  * @module purecloud-platform-client-v2/api/OutboundApi
29761
- * @version 141.1.0
29936
+ * @version 144.0.0
29762
29937
  */
29763
29938
 
29764
29939
  /**
@@ -33013,7 +33188,7 @@ class PresenceApi {
33013
33188
  /**
33014
33189
  * Presence service.
33015
33190
  * @module purecloud-platform-client-v2/api/PresenceApi
33016
- * @version 141.1.0
33191
+ * @version 144.0.0
33017
33192
  */
33018
33193
 
33019
33194
  /**
@@ -33335,7 +33510,7 @@ class QualityApi {
33335
33510
  /**
33336
33511
  * Quality service.
33337
33512
  * @module purecloud-platform-client-v2/api/QualityApi
33338
- * @version 141.1.0
33513
+ * @version 144.0.0
33339
33514
  */
33340
33515
 
33341
33516
  /**
@@ -34913,7 +35088,7 @@ class RecordingApi {
34913
35088
  /**
34914
35089
  * Recording service.
34915
35090
  * @module purecloud-platform-client-v2/api/RecordingApi
34916
- * @version 141.1.0
35091
+ * @version 144.0.0
34917
35092
  */
34918
35093
 
34919
35094
  /**
@@ -36566,7 +36741,7 @@ class ResponseManagementApi {
36566
36741
  /**
36567
36742
  * ResponseManagement service.
36568
36743
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
36569
- * @version 141.1.0
36744
+ * @version 144.0.0
36570
36745
  */
36571
36746
 
36572
36747
  /**
@@ -37050,7 +37225,7 @@ class RoutingApi {
37050
37225
  /**
37051
37226
  * Routing service.
37052
37227
  * @module purecloud-platform-client-v2/api/RoutingApi
37053
- * @version 141.1.0
37228
+ * @version 144.0.0
37054
37229
  */
37055
37230
 
37056
37231
  /**
@@ -39971,7 +40146,7 @@ class SCIMApi {
39971
40146
  /**
39972
40147
  * SCIM service.
39973
40148
  * @module purecloud-platform-client-v2/api/SCIMApi
39974
- * @version 141.1.0
40149
+ * @version 144.0.0
39975
40150
  */
39976
40151
 
39977
40152
  /**
@@ -40848,7 +41023,7 @@ class ScriptsApi {
40848
41023
  /**
40849
41024
  * Scripts service.
40850
41025
  * @module purecloud-platform-client-v2/api/ScriptsApi
40851
- * @version 141.1.0
41026
+ * @version 144.0.0
40852
41027
  */
40853
41028
 
40854
41029
  /**
@@ -41267,7 +41442,7 @@ class SearchApi {
41267
41442
  /**
41268
41443
  * Search service.
41269
41444
  * @module purecloud-platform-client-v2/api/SearchApi
41270
- * @version 141.1.0
41445
+ * @version 144.0.0
41271
41446
  */
41272
41447
 
41273
41448
  /**
@@ -41827,7 +42002,7 @@ class SpeechTextAnalyticsApi {
41827
42002
  /**
41828
42003
  * SpeechTextAnalytics service.
41829
42004
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
41830
- * @version 141.1.0
42005
+ * @version 144.0.0
41831
42006
  */
41832
42007
 
41833
42008
  /**
@@ -42052,6 +42227,7 @@ class SpeechTextAnalyticsApi {
42052
42227
  * @param {Object} opts Optional parameters
42053
42228
  * @param {String} opts.nextPage The key for listing the next page
42054
42229
  * @param {Number} opts.pageSize The page size for the listing (default to 20)
42230
+ * @param {Object} opts.state Program state. Defaults to Latest
42055
42231
  */
42056
42232
  getSpeechandtextanalyticsPrograms(opts) {
42057
42233
  opts = opts || {};
@@ -42061,7 +42237,7 @@ class SpeechTextAnalyticsApi {
42061
42237
  '/api/v2/speechandtextanalytics/programs',
42062
42238
  'GET',
42063
42239
  { },
42064
- { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
42240
+ { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'] },
42065
42241
  { },
42066
42242
  { },
42067
42243
  null,
@@ -42680,7 +42856,7 @@ class StationsApi {
42680
42856
  /**
42681
42857
  * Stations service.
42682
42858
  * @module purecloud-platform-client-v2/api/StationsApi
42683
- * @version 141.1.0
42859
+ * @version 144.0.0
42684
42860
  */
42685
42861
 
42686
42862
  /**
@@ -42827,7 +43003,7 @@ class SuggestApi {
42827
43003
  /**
42828
43004
  * Suggest service.
42829
43005
  * @module purecloud-platform-client-v2/api/SuggestApi
42830
- * @version 141.1.0
43006
+ * @version 144.0.0
42831
43007
  */
42832
43008
 
42833
43009
  /**
@@ -42966,7 +43142,7 @@ class TeamsApi {
42966
43142
  /**
42967
43143
  * Teams service.
42968
43144
  * @module purecloud-platform-client-v2/api/TeamsApi
42969
- * @version 141.1.0
43145
+ * @version 144.0.0
42970
43146
  */
42971
43147
 
42972
43148
  /**
@@ -43145,7 +43321,7 @@ class TelephonyApi {
43145
43321
  /**
43146
43322
  * Telephony service.
43147
43323
  * @module purecloud-platform-client-v2/api/TelephonyApi
43148
- * @version 141.1.0
43324
+ * @version 144.0.0
43149
43325
  */
43150
43326
 
43151
43327
  /**
@@ -43253,7 +43429,7 @@ class TelephonyProvidersEdgeApi {
43253
43429
  /**
43254
43430
  * TelephonyProvidersEdge service.
43255
43431
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
43256
- * @version 141.1.0
43432
+ * @version 144.0.0
43257
43433
  */
43258
43434
 
43259
43435
  /**
@@ -46886,7 +47062,7 @@ class TextbotsApi {
46886
47062
  /**
46887
47063
  * Textbots service.
46888
47064
  * @module purecloud-platform-client-v2/api/TextbotsApi
46889
- * @version 141.1.0
47065
+ * @version 144.0.0
46890
47066
  */
46891
47067
 
46892
47068
  /**
@@ -47014,7 +47190,7 @@ class TokensApi {
47014
47190
  /**
47015
47191
  * Tokens service.
47016
47192
  * @module purecloud-platform-client-v2/api/TokensApi
47017
- * @version 141.1.0
47193
+ * @version 144.0.0
47018
47194
  */
47019
47195
 
47020
47196
  /**
@@ -47120,7 +47296,7 @@ class UploadsApi {
47120
47296
  /**
47121
47297
  * Uploads service.
47122
47298
  * @module purecloud-platform-client-v2/api/UploadsApi
47123
- * @version 141.1.0
47299
+ * @version 144.0.0
47124
47300
  */
47125
47301
 
47126
47302
  /**
@@ -47190,6 +47366,31 @@ class UploadsApi {
47190
47366
  );
47191
47367
  }
47192
47368
 
47369
+ /**
47370
+ * Generates pre-signed URL to upload cover art for learning modules
47371
+ *
47372
+ * @param {Object} body query
47373
+ */
47374
+ postUploadsLearningCoverart(body) {
47375
+ // verify the required parameter 'body' is set
47376
+ if (body === undefined || body === null) {
47377
+ throw 'Missing the required parameter "body" when calling postUploadsLearningCoverart';
47378
+ }
47379
+
47380
+ return this.apiClient.callApi(
47381
+ '/api/v2/uploads/learning/coverart',
47382
+ 'POST',
47383
+ { },
47384
+ { },
47385
+ { },
47386
+ { },
47387
+ body,
47388
+ ['PureCloud OAuth'],
47389
+ ['application/json'],
47390
+ ['application/json']
47391
+ );
47392
+ }
47393
+
47193
47394
  /**
47194
47395
  * Creates presigned url for uploading a public asset image
47195
47396
  *
@@ -47271,7 +47472,7 @@ class UsageApi {
47271
47472
  /**
47272
47473
  * Usage service.
47273
47474
  * @module purecloud-platform-client-v2/api/UsageApi
47274
- * @version 141.1.0
47475
+ * @version 144.0.0
47275
47476
  */
47276
47477
 
47277
47478
  /**
@@ -47342,7 +47543,7 @@ class UserRecordingsApi {
47342
47543
  /**
47343
47544
  * UserRecordings service.
47344
47545
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
47345
- * @version 141.1.0
47546
+ * @version 144.0.0
47346
47547
  */
47347
47548
 
47348
47549
  /**
@@ -47526,7 +47727,7 @@ class UsersApi {
47526
47727
  /**
47527
47728
  * Users service.
47528
47729
  * @module purecloud-platform-client-v2/api/UsersApi
47529
- * @version 141.1.0
47730
+ * @version 144.0.0
47530
47731
  */
47531
47732
 
47532
47733
  /**
@@ -49828,7 +50029,7 @@ class UtilitiesApi {
49828
50029
  /**
49829
50030
  * Utilities service.
49830
50031
  * @module purecloud-platform-client-v2/api/UtilitiesApi
49831
- * @version 141.1.0
50032
+ * @version 144.0.0
49832
50033
  */
49833
50034
 
49834
50035
  /**
@@ -49939,7 +50140,7 @@ class VoicemailApi {
49939
50140
  /**
49940
50141
  * Voicemail service.
49941
50142
  * @module purecloud-platform-client-v2/api/VoicemailApi
49942
- * @version 141.1.0
50143
+ * @version 144.0.0
49943
50144
  */
49944
50145
 
49945
50146
  /**
@@ -50606,7 +50807,7 @@ class WebChatApi {
50606
50807
  /**
50607
50808
  * WebChat service.
50608
50809
  * @module purecloud-platform-client-v2/api/WebChatApi
50609
- * @version 141.1.0
50810
+ * @version 144.0.0
50610
50811
  */
50611
50812
 
50612
50813
  /**
@@ -51150,7 +51351,7 @@ class WebDeploymentsApi {
51150
51351
  /**
51151
51352
  * WebDeployments service.
51152
51353
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
51153
- * @version 141.1.0
51354
+ * @version 144.0.0
51154
51355
  */
51155
51356
 
51156
51357
  /**
@@ -51505,7 +51706,7 @@ class WebMessagingApi {
51505
51706
  /**
51506
51707
  * WebMessaging service.
51507
51708
  * @module purecloud-platform-client-v2/api/WebMessagingApi
51508
- * @version 141.1.0
51709
+ * @version 144.0.0
51509
51710
  */
51510
51711
 
51511
51712
  /**
@@ -51551,7 +51752,7 @@ class WidgetsApi {
51551
51752
  /**
51552
51753
  * Widgets service.
51553
51754
  * @module purecloud-platform-client-v2/api/WidgetsApi
51554
- * @version 141.1.0
51755
+ * @version 144.0.0
51555
51756
  */
51556
51757
 
51557
51758
  /**
@@ -51697,7 +51898,7 @@ class WorkforceManagementApi {
51697
51898
  /**
51698
51899
  * WorkforceManagement service.
51699
51900
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
51700
- * @version 141.1.0
51901
+ * @version 144.0.0
51701
51902
  */
51702
51903
 
51703
51904
  /**
@@ -55973,7 +56174,7 @@ class WorkforceManagementApi {
55973
56174
  * </pre>
55974
56175
  * </p>
55975
56176
  * @module purecloud-platform-client-v2/index
55976
- * @version 141.1.0
56177
+ * @version 144.0.0
55977
56178
  */
55978
56179
  class platformClient {
55979
56180
  constructor() {