purecloud-platform-client-v2 141.0.0 → 143.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 (74) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +453 -65
  3. package/dist/web-amd/purecloud-platform-client-v2.js +453 -65
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +453 -65
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +453 -65
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +435 -201
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +154 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TeamsApi.js +184 -0
  59. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +26 -1
  74. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -2278,7 +2278,7 @@ class Configuration {
2278
2278
 
2279
2279
  /**
2280
2280
  * @module purecloud-platform-client-v2/ApiClient
2281
- * @version 141.0.0
2281
+ * @version 143.0.0
2282
2282
  */
2283
2283
  class ApiClient {
2284
2284
  /**
@@ -3350,7 +3350,7 @@ class AlertingApi {
3350
3350
  /**
3351
3351
  * Alerting service.
3352
3352
  * @module purecloud-platform-client-v2/api/AlertingApi
3353
- * @version 141.0.0
3353
+ * @version 143.0.0
3354
3354
  */
3355
3355
 
3356
3356
  /**
@@ -3664,7 +3664,7 @@ class AnalyticsApi {
3664
3664
  /**
3665
3665
  * Analytics service.
3666
3666
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3667
- * @version 141.0.0
3667
+ * @version 143.0.0
3668
3668
  */
3669
3669
 
3670
3670
  /**
@@ -4846,7 +4846,7 @@ class ArchitectApi {
4846
4846
  /**
4847
4847
  * Architect service.
4848
4848
  * @module purecloud-platform-client-v2/api/ArchitectApi
4849
- * @version 141.0.0
4849
+ * @version 143.0.0
4850
4850
  */
4851
4851
 
4852
4852
  /**
@@ -7891,7 +7891,7 @@ class AuditApi {
7891
7891
  /**
7892
7892
  * Audit service.
7893
7893
  * @module purecloud-platform-client-v2/api/AuditApi
7894
- * @version 141.0.0
7894
+ * @version 143.0.0
7895
7895
  */
7896
7896
 
7897
7897
  /**
@@ -8062,7 +8062,7 @@ class AuthorizationApi {
8062
8062
  /**
8063
8063
  * Authorization service.
8064
8064
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8065
- * @version 141.0.0
8065
+ * @version 143.0.0
8066
8066
  */
8067
8067
 
8068
8068
  /**
@@ -9245,7 +9245,7 @@ class BillingApi {
9245
9245
  /**
9246
9246
  * Billing service.
9247
9247
  * @module purecloud-platform-client-v2/api/BillingApi
9248
- * @version 141.0.0
9248
+ * @version 143.0.0
9249
9249
  */
9250
9250
 
9251
9251
  /**
@@ -9325,7 +9325,7 @@ class ChatApi {
9325
9325
  /**
9326
9326
  * Chat service.
9327
9327
  * @module purecloud-platform-client-v2/api/ChatApi
9328
- * @version 141.0.0
9328
+ * @version 143.0.0
9329
9329
  */
9330
9330
 
9331
9331
  /**
@@ -9416,7 +9416,7 @@ class CoachingApi {
9416
9416
  /**
9417
9417
  * Coaching service.
9418
9418
  * @module purecloud-platform-client-v2/api/CoachingApi
9419
- * @version 141.0.0
9419
+ * @version 143.0.0
9420
9420
  */
9421
9421
 
9422
9422
  /**
@@ -9993,7 +9993,7 @@ class ContentManagementApi {
9993
9993
  /**
9994
9994
  * ContentManagement service.
9995
9995
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9996
- * @version 141.0.0
9996
+ * @version 143.0.0
9997
9997
  */
9998
9998
 
9999
9999
  /**
@@ -11133,7 +11133,7 @@ class ConversationsApi {
11133
11133
  /**
11134
11134
  * Conversations service.
11135
11135
  * @module purecloud-platform-client-v2/api/ConversationsApi
11136
- * @version 141.0.0
11136
+ * @version 143.0.0
11137
11137
  */
11138
11138
 
11139
11139
  /**
@@ -16067,7 +16067,7 @@ class DataExtensionsApi {
16067
16067
  /**
16068
16068
  * DataExtensions service.
16069
16069
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
16070
- * @version 141.0.0
16070
+ * @version 143.0.0
16071
16071
  */
16072
16072
 
16073
16073
  /**
@@ -16153,7 +16153,7 @@ class ExternalContactsApi {
16153
16153
  /**
16154
16154
  * ExternalContacts service.
16155
16155
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
16156
- * @version 141.0.0
16156
+ * @version 143.0.0
16157
16157
  */
16158
16158
 
16159
16159
  /**
@@ -17896,7 +17896,7 @@ class FaxApi {
17896
17896
  /**
17897
17897
  * Fax service.
17898
17898
  * @module purecloud-platform-client-v2/api/FaxApi
17899
- * @version 141.0.0
17899
+ * @version 143.0.0
17900
17900
  */
17901
17901
 
17902
17902
  /**
@@ -18067,7 +18067,7 @@ class FlowsApi {
18067
18067
  /**
18068
18068
  * Flows service.
18069
18069
  * @module purecloud-platform-client-v2/api/FlowsApi
18070
- * @version 141.0.0
18070
+ * @version 143.0.0
18071
18071
  */
18072
18072
 
18073
18073
  /**
@@ -18138,7 +18138,7 @@ class GamificationApi {
18138
18138
  /**
18139
18139
  * Gamification service.
18140
18140
  * @module purecloud-platform-client-v2/api/GamificationApi
18141
- * @version 141.0.0
18141
+ * @version 143.0.0
18142
18142
  */
18143
18143
 
18144
18144
  /**
@@ -18153,6 +18153,81 @@ class GamificationApi {
18153
18153
  }
18154
18154
 
18155
18155
 
18156
+ /**
18157
+ * Delete an External Metric Definition
18158
+ *
18159
+ * @param {String} metricId Specifies the External Metric Definition ID
18160
+ */
18161
+ deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
18162
+ // verify the required parameter 'metricId' is set
18163
+ if (metricId === undefined || metricId === null) {
18164
+ throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
18165
+ }
18166
+
18167
+ return this.apiClient.callApi(
18168
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
18169
+ 'DELETE',
18170
+ { 'metricId': metricId },
18171
+ { },
18172
+ { },
18173
+ { },
18174
+ null,
18175
+ ['PureCloud OAuth'],
18176
+ ['application/json'],
18177
+ ['application/json']
18178
+ );
18179
+ }
18180
+
18181
+ /**
18182
+ * Get an External Metric Definition
18183
+ *
18184
+ * @param {String} metricId Specifies the External Metric Definition ID
18185
+ */
18186
+ getEmployeeperformanceExternalmetricsDefinition(metricId) {
18187
+ // verify the required parameter 'metricId' is set
18188
+ if (metricId === undefined || metricId === null) {
18189
+ throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
18190
+ }
18191
+
18192
+ return this.apiClient.callApi(
18193
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
18194
+ 'GET',
18195
+ { 'metricId': metricId },
18196
+ { },
18197
+ { },
18198
+ { },
18199
+ null,
18200
+ ['PureCloud OAuth'],
18201
+ ['application/json'],
18202
+ ['application/json']
18203
+ );
18204
+ }
18205
+
18206
+ /**
18207
+ * Get a list of External Metric Definitions of an organization, sorted by name in ascending order
18208
+ *
18209
+ * @param {Object} opts Optional parameters
18210
+ * @param {Number} opts.pageSize Page size (default to 25)
18211
+ * @param {Number} opts.pageNumber Page number (default to 1)
18212
+ */
18213
+ getEmployeeperformanceExternalmetricsDefinitions(opts) {
18214
+ opts = opts || {};
18215
+
18216
+
18217
+ return this.apiClient.callApi(
18218
+ '/api/v2/employeeperformance/externalmetrics/definitions',
18219
+ 'GET',
18220
+ { },
18221
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
18222
+ { },
18223
+ { },
18224
+ null,
18225
+ ['PureCloud OAuth'],
18226
+ ['application/json'],
18227
+ ['application/json']
18228
+ );
18229
+ }
18230
+
18156
18231
  /**
18157
18232
  * Leaderboard of the requesting user's division or performance profile
18158
18233
  *
@@ -19362,6 +19437,84 @@ class GamificationApi {
19362
19437
  );
19363
19438
  }
19364
19439
 
19440
+ /**
19441
+ * Update External Metric Definition
19442
+ *
19443
+ * @param {String} metricId Specifies the metric definition ID
19444
+ * @param {Object} body The External Metric Definition parameters to be updated
19445
+ */
19446
+ patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
19447
+ // verify the required parameter 'metricId' is set
19448
+ if (metricId === undefined || metricId === null) {
19449
+ throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
19450
+ }
19451
+ // verify the required parameter 'body' is set
19452
+ if (body === undefined || body === null) {
19453
+ throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
19454
+ }
19455
+
19456
+ return this.apiClient.callApi(
19457
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
19458
+ 'PATCH',
19459
+ { 'metricId': metricId },
19460
+ { },
19461
+ { },
19462
+ { },
19463
+ body,
19464
+ ['PureCloud OAuth'],
19465
+ ['application/json'],
19466
+ ['application/json']
19467
+ );
19468
+ }
19469
+
19470
+ /**
19471
+ * Write External Metric Data
19472
+ *
19473
+ * @param {Object} opts Optional parameters
19474
+ * @param {Object} opts.body The External Metric Data to be added
19475
+ */
19476
+ postEmployeeperformanceExternalmetricsData(opts) {
19477
+ opts = opts || {};
19478
+
19479
+
19480
+ return this.apiClient.callApi(
19481
+ '/api/v2/employeeperformance/externalmetrics/data',
19482
+ 'POST',
19483
+ { },
19484
+ { },
19485
+ { },
19486
+ { },
19487
+ opts['body'],
19488
+ ['PureCloud OAuth'],
19489
+ ['application/json'],
19490
+ ['application/json']
19491
+ );
19492
+ }
19493
+
19494
+ /**
19495
+ * Create External Metric Definition
19496
+ *
19497
+ * @param {Object} opts Optional parameters
19498
+ * @param {Object} opts.body The External Metric Definition to be created
19499
+ */
19500
+ postEmployeeperformanceExternalmetricsDefinitions(opts) {
19501
+ opts = opts || {};
19502
+
19503
+
19504
+ return this.apiClient.callApi(
19505
+ '/api/v2/employeeperformance/externalmetrics/definitions',
19506
+ 'POST',
19507
+ { },
19508
+ { },
19509
+ { },
19510
+ { },
19511
+ opts['body'],
19512
+ ['PureCloud OAuth'],
19513
+ ['application/json'],
19514
+ ['application/json']
19515
+ );
19516
+ }
19517
+
19365
19518
  /**
19366
19519
  * Creates a gamified metric with a given metric definition and metric objective
19367
19520
  * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
@@ -19720,7 +19873,7 @@ class GeneralDataProtectionRegulationApi {
19720
19873
  /**
19721
19874
  * GeneralDataProtectionRegulation service.
19722
19875
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19723
- * @version 141.0.0
19876
+ * @version 143.0.0
19724
19877
  */
19725
19878
 
19726
19879
  /**
@@ -19850,7 +20003,7 @@ class GeolocationApi {
19850
20003
  /**
19851
20004
  * Geolocation service.
19852
20005
  * @module purecloud-platform-client-v2/api/GeolocationApi
19853
- * @version 141.0.0
20006
+ * @version 143.0.0
19854
20007
  */
19855
20008
 
19856
20009
  /**
@@ -19981,7 +20134,7 @@ class GreetingsApi {
19981
20134
  /**
19982
20135
  * Greetings service.
19983
20136
  * @module purecloud-platform-client-v2/api/GreetingsApi
19984
- * @version 141.0.0
20137
+ * @version 143.0.0
19985
20138
  */
19986
20139
 
19987
20140
  /**
@@ -20436,7 +20589,7 @@ class GroupsApi {
20436
20589
  /**
20437
20590
  * Groups service.
20438
20591
  * @module purecloud-platform-client-v2/api/GroupsApi
20439
- * @version 141.0.0
20592
+ * @version 143.0.0
20440
20593
  */
20441
20594
 
20442
20595
  /**
@@ -20841,7 +20994,7 @@ class IdentityProviderApi {
20841
20994
  /**
20842
20995
  * IdentityProvider service.
20843
20996
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20844
- * @version 141.0.0
20997
+ * @version 143.0.0
20845
20998
  */
20846
20999
 
20847
21000
  /**
@@ -21597,7 +21750,7 @@ class IntegrationsApi {
21597
21750
  /**
21598
21751
  * Integrations service.
21599
21752
  * @module purecloud-platform-client-v2/api/IntegrationsApi
21600
- * @version 141.0.0
21753
+ * @version 143.0.0
21601
21754
  */
21602
21755
 
21603
21756
  /**
@@ -23274,7 +23427,7 @@ class JourneyApi {
23274
23427
  /**
23275
23428
  * Journey service.
23276
23429
  * @module purecloud-platform-client-v2/api/JourneyApi
23277
- * @version 141.0.0
23430
+ * @version 143.0.0
23278
23431
  */
23279
23432
 
23280
23433
  /**
@@ -23985,7 +24138,7 @@ class KnowledgeApi {
23985
24138
  /**
23986
24139
  * Knowledge service.
23987
24140
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23988
- * @version 141.0.0
24141
+ * @version 143.0.0
23989
24142
  */
23990
24143
 
23991
24144
  /**
@@ -24885,7 +25038,7 @@ class LanguageUnderstandingApi {
24885
25038
  /**
24886
25039
  * LanguageUnderstanding service.
24887
25040
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24888
- * @version 141.0.0
25041
+ * @version 143.0.0
24889
25042
  */
24890
25043
 
24891
25044
  /**
@@ -25789,7 +25942,7 @@ class LanguagesApi {
25789
25942
  /**
25790
25943
  * Languages service.
25791
25944
  * @module purecloud-platform-client-v2/api/LanguagesApi
25792
- * @version 141.0.0
25945
+ * @version 143.0.0
25793
25946
  */
25794
25947
 
25795
25948
  /**
@@ -26057,7 +26210,7 @@ class LearningApi {
26057
26210
  /**
26058
26211
  * Learning service.
26059
26212
  * @module purecloud-platform-client-v2/api/LearningApi
26060
- * @version 141.0.0
26213
+ * @version 143.0.0
26061
26214
  */
26062
26215
 
26063
26216
  /**
@@ -26792,7 +26945,7 @@ class LicenseApi {
26792
26945
  /**
26793
26946
  * License service.
26794
26947
  * @module purecloud-platform-client-v2/api/LicenseApi
26795
- * @version 141.0.0
26948
+ * @version 143.0.0
26796
26949
  */
26797
26950
 
26798
26951
  /**
@@ -27030,7 +27183,7 @@ class LocationsApi {
27030
27183
  /**
27031
27184
  * Locations service.
27032
27185
  * @module purecloud-platform-client-v2/api/LocationsApi
27033
- * @version 141.0.0
27186
+ * @version 143.0.0
27034
27187
  */
27035
27188
 
27036
27189
  /**
@@ -27266,7 +27419,7 @@ class MessagingApi {
27266
27419
  /**
27267
27420
  * Messaging service.
27268
27421
  * @module purecloud-platform-client-v2/api/MessagingApi
27269
- * @version 141.0.0
27422
+ * @version 143.0.0
27270
27423
  */
27271
27424
 
27272
27425
  /**
@@ -27417,7 +27570,7 @@ class MobileDevicesApi {
27417
27570
  /**
27418
27571
  * MobileDevices service.
27419
27572
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27420
- * @version 141.0.0
27573
+ * @version 143.0.0
27421
27574
  */
27422
27575
 
27423
27576
  /**
@@ -27568,7 +27721,7 @@ class NotificationsApi {
27568
27721
  /**
27569
27722
  * Notifications service.
27570
27723
  * @module purecloud-platform-client-v2/api/NotificationsApi
27571
- * @version 141.0.0
27724
+ * @version 143.0.0
27572
27725
  */
27573
27726
 
27574
27727
  /**
@@ -27793,7 +27946,7 @@ class OAuthApi {
27793
27946
  /**
27794
27947
  * OAuth service.
27795
27948
  * @module purecloud-platform-client-v2/api/OAuthApi
27796
- * @version 141.0.0
27949
+ * @version 143.0.0
27797
27950
  */
27798
27951
 
27799
27952
  /**
@@ -28159,7 +28312,7 @@ class ObjectsApi {
28159
28312
  /**
28160
28313
  * Objects service.
28161
28314
  * @module purecloud-platform-client-v2/api/ObjectsApi
28162
- * @version 141.0.0
28315
+ * @version 143.0.0
28163
28316
  */
28164
28317
 
28165
28318
  /**
@@ -28430,7 +28583,7 @@ class OrganizationApi {
28430
28583
  /**
28431
28584
  * Organization service.
28432
28585
  * @module purecloud-platform-client-v2/api/OrganizationApi
28433
- * @version 141.0.0
28586
+ * @version 143.0.0
28434
28587
  */
28435
28588
 
28436
28589
  /**
@@ -28833,7 +28986,7 @@ class OrganizationAuthorizationApi {
28833
28986
  /**
28834
28987
  * OrganizationAuthorization service.
28835
28988
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28836
- * @version 141.0.0
28989
+ * @version 143.0.0
28837
28990
  */
28838
28991
 
28839
28992
  /**
@@ -29758,7 +29911,7 @@ class OutboundApi {
29758
29911
  /**
29759
29912
  * Outbound service.
29760
29913
  * @module purecloud-platform-client-v2/api/OutboundApi
29761
- * @version 141.0.0
29914
+ * @version 143.0.0
29762
29915
  */
29763
29916
 
29764
29917
  /**
@@ -33013,7 +33166,7 @@ class PresenceApi {
33013
33166
  /**
33014
33167
  * Presence service.
33015
33168
  * @module purecloud-platform-client-v2/api/PresenceApi
33016
- * @version 141.0.0
33169
+ * @version 143.0.0
33017
33170
  */
33018
33171
 
33019
33172
  /**
@@ -33335,7 +33488,7 @@ class QualityApi {
33335
33488
  /**
33336
33489
  * Quality service.
33337
33490
  * @module purecloud-platform-client-v2/api/QualityApi
33338
- * @version 141.0.0
33491
+ * @version 143.0.0
33339
33492
  */
33340
33493
 
33341
33494
  /**
@@ -34913,7 +35066,7 @@ class RecordingApi {
34913
35066
  /**
34914
35067
  * Recording service.
34915
35068
  * @module purecloud-platform-client-v2/api/RecordingApi
34916
- * @version 141.0.0
35069
+ * @version 143.0.0
34917
35070
  */
34918
35071
 
34919
35072
  /**
@@ -36566,7 +36719,7 @@ class ResponseManagementApi {
36566
36719
  /**
36567
36720
  * ResponseManagement service.
36568
36721
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
36569
- * @version 141.0.0
36722
+ * @version 143.0.0
36570
36723
  */
36571
36724
 
36572
36725
  /**
@@ -37050,7 +37203,7 @@ class RoutingApi {
37050
37203
  /**
37051
37204
  * Routing service.
37052
37205
  * @module purecloud-platform-client-v2/api/RoutingApi
37053
- * @version 141.0.0
37206
+ * @version 143.0.0
37054
37207
  */
37055
37208
 
37056
37209
  /**
@@ -39971,7 +40124,7 @@ class SCIMApi {
39971
40124
  /**
39972
40125
  * SCIM service.
39973
40126
  * @module purecloud-platform-client-v2/api/SCIMApi
39974
- * @version 141.0.0
40127
+ * @version 143.0.0
39975
40128
  */
39976
40129
 
39977
40130
  /**
@@ -40848,7 +41001,7 @@ class ScriptsApi {
40848
41001
  /**
40849
41002
  * Scripts service.
40850
41003
  * @module purecloud-platform-client-v2/api/ScriptsApi
40851
- * @version 141.0.0
41004
+ * @version 143.0.0
40852
41005
  */
40853
41006
 
40854
41007
  /**
@@ -41267,7 +41420,7 @@ class SearchApi {
41267
41420
  /**
41268
41421
  * Search service.
41269
41422
  * @module purecloud-platform-client-v2/api/SearchApi
41270
- * @version 141.0.0
41423
+ * @version 143.0.0
41271
41424
  */
41272
41425
 
41273
41426
  /**
@@ -41746,6 +41899,31 @@ class SearchApi {
41746
41899
  );
41747
41900
  }
41748
41901
 
41902
+ /**
41903
+ * Search resources.
41904
+ *
41905
+ * @param {Object} body Search request options
41906
+ */
41907
+ postTeamsSearch(body) {
41908
+ // verify the required parameter 'body' is set
41909
+ if (body === undefined || body === null) {
41910
+ throw 'Missing the required parameter "body" when calling postTeamsSearch';
41911
+ }
41912
+
41913
+ return this.apiClient.callApi(
41914
+ '/api/v2/teams/search',
41915
+ 'POST',
41916
+ { },
41917
+ { },
41918
+ { },
41919
+ { },
41920
+ body,
41921
+ ['PureCloud OAuth'],
41922
+ ['application/json'],
41923
+ ['application/json']
41924
+ );
41925
+ }
41926
+
41749
41927
  /**
41750
41928
  * Search users
41751
41929
  *
@@ -41802,7 +41980,7 @@ class SpeechTextAnalyticsApi {
41802
41980
  /**
41803
41981
  * SpeechTextAnalytics service.
41804
41982
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
41805
- * @version 141.0.0
41983
+ * @version 143.0.0
41806
41984
  */
41807
41985
 
41808
41986
  /**
@@ -42027,6 +42205,7 @@ class SpeechTextAnalyticsApi {
42027
42205
  * @param {Object} opts Optional parameters
42028
42206
  * @param {String} opts.nextPage The key for listing the next page
42029
42207
  * @param {Number} opts.pageSize The page size for the listing (default to 20)
42208
+ * @param {Object} opts.state Program state. Defaults to Latest
42030
42209
  */
42031
42210
  getSpeechandtextanalyticsPrograms(opts) {
42032
42211
  opts = opts || {};
@@ -42036,7 +42215,7 @@ class SpeechTextAnalyticsApi {
42036
42215
  '/api/v2/speechandtextanalytics/programs',
42037
42216
  'GET',
42038
42217
  { },
42039
- { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
42218
+ { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'] },
42040
42219
  { },
42041
42220
  { },
42042
42221
  null,
@@ -42655,7 +42834,7 @@ class StationsApi {
42655
42834
  /**
42656
42835
  * Stations service.
42657
42836
  * @module purecloud-platform-client-v2/api/StationsApi
42658
- * @version 141.0.0
42837
+ * @version 143.0.0
42659
42838
  */
42660
42839
 
42661
42840
  /**
@@ -42802,7 +42981,7 @@ class SuggestApi {
42802
42981
  /**
42803
42982
  * Suggest service.
42804
42983
  * @module purecloud-platform-client-v2/api/SuggestApi
42805
- * @version 141.0.0
42984
+ * @version 143.0.0
42806
42985
  */
42807
42986
 
42808
42987
  /**
@@ -42937,11 +43116,190 @@ class SuggestApi {
42937
43116
 
42938
43117
  }
42939
43118
 
43119
+ class TeamsApi {
43120
+ /**
43121
+ * Teams service.
43122
+ * @module purecloud-platform-client-v2/api/TeamsApi
43123
+ * @version 143.0.0
43124
+ */
43125
+
43126
+ /**
43127
+ * Constructs a new TeamsApi.
43128
+ * @alias module:purecloud-platform-client-v2/api/TeamsApi
43129
+ * @class
43130
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
43131
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
43132
+ */
43133
+ constructor(apiClient) {
43134
+ this.apiClient = apiClient || ApiClient.instance;
43135
+ }
43136
+
43137
+
43138
+ /**
43139
+ * Delete team
43140
+ *
43141
+ * @param {String} teamId Team ID
43142
+ */
43143
+ deleteTeam(teamId) {
43144
+ // verify the required parameter 'teamId' is set
43145
+ if (teamId === undefined || teamId === null) {
43146
+ throw 'Missing the required parameter "teamId" when calling deleteTeam';
43147
+ }
43148
+
43149
+ return this.apiClient.callApi(
43150
+ '/api/v2/teams/{teamId}',
43151
+ 'DELETE',
43152
+ { 'teamId': teamId },
43153
+ { },
43154
+ { },
43155
+ { },
43156
+ null,
43157
+ ['PureCloud OAuth'],
43158
+ ['application/json'],
43159
+ ['application/json']
43160
+ );
43161
+ }
43162
+
43163
+ /**
43164
+ * Get team
43165
+ *
43166
+ * @param {String} teamId Team ID
43167
+ */
43168
+ getTeam(teamId) {
43169
+ // verify the required parameter 'teamId' is set
43170
+ if (teamId === undefined || teamId === null) {
43171
+ throw 'Missing the required parameter "teamId" when calling getTeam';
43172
+ }
43173
+
43174
+ return this.apiClient.callApi(
43175
+ '/api/v2/teams/{teamId}',
43176
+ 'GET',
43177
+ { 'teamId': teamId },
43178
+ { },
43179
+ { },
43180
+ { },
43181
+ null,
43182
+ ['PureCloud OAuth'],
43183
+ ['application/json'],
43184
+ ['application/json']
43185
+ );
43186
+ }
43187
+
43188
+ /**
43189
+ * Get Team listing
43190
+ *
43191
+ * @param {Object} opts Optional parameters
43192
+ * @param {Number} opts.pageSize Page size (default to 25)
43193
+ * @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
43194
+ * @param {String} opts.after The cursor that points to the next item in the complete list of teams
43195
+ * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
43196
+ * @param {Object} opts.expand Expand the name on each user
43197
+ */
43198
+ getTeams(opts) {
43199
+ opts = opts || {};
43200
+
43201
+
43202
+ return this.apiClient.callApi(
43203
+ '/api/v2/teams',
43204
+ 'GET',
43205
+ { },
43206
+ { 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
43207
+ { },
43208
+ { },
43209
+ null,
43210
+ ['PureCloud OAuth'],
43211
+ ['application/json'],
43212
+ ['application/json']
43213
+ );
43214
+ }
43215
+
43216
+ /**
43217
+ * Update team
43218
+ *
43219
+ * @param {String} teamId Team ID
43220
+ * @param {Object} body Team
43221
+ */
43222
+ patchTeam(teamId, body) {
43223
+ // verify the required parameter 'teamId' is set
43224
+ if (teamId === undefined || teamId === null) {
43225
+ throw 'Missing the required parameter "teamId" when calling patchTeam';
43226
+ }
43227
+ // verify the required parameter 'body' is set
43228
+ if (body === undefined || body === null) {
43229
+ throw 'Missing the required parameter "body" when calling patchTeam';
43230
+ }
43231
+
43232
+ return this.apiClient.callApi(
43233
+ '/api/v2/teams/{teamId}',
43234
+ 'PATCH',
43235
+ { 'teamId': teamId },
43236
+ { },
43237
+ { },
43238
+ { },
43239
+ body,
43240
+ ['PureCloud OAuth'],
43241
+ ['application/json'],
43242
+ ['application/json']
43243
+ );
43244
+ }
43245
+
43246
+ /**
43247
+ * Create a team
43248
+ *
43249
+ * @param {Object} body Team
43250
+ */
43251
+ postTeams(body) {
43252
+ // verify the required parameter 'body' is set
43253
+ if (body === undefined || body === null) {
43254
+ throw 'Missing the required parameter "body" when calling postTeams';
43255
+ }
43256
+
43257
+ return this.apiClient.callApi(
43258
+ '/api/v2/teams',
43259
+ 'POST',
43260
+ { },
43261
+ { },
43262
+ { },
43263
+ { },
43264
+ body,
43265
+ ['PureCloud OAuth'],
43266
+ ['application/json'],
43267
+ ['application/json']
43268
+ );
43269
+ }
43270
+
43271
+ /**
43272
+ * Search resources.
43273
+ *
43274
+ * @param {Object} body Search request options
43275
+ */
43276
+ postTeamsSearch(body) {
43277
+ // verify the required parameter 'body' is set
43278
+ if (body === undefined || body === null) {
43279
+ throw 'Missing the required parameter "body" when calling postTeamsSearch';
43280
+ }
43281
+
43282
+ return this.apiClient.callApi(
43283
+ '/api/v2/teams/search',
43284
+ 'POST',
43285
+ { },
43286
+ { },
43287
+ { },
43288
+ { },
43289
+ body,
43290
+ ['PureCloud OAuth'],
43291
+ ['application/json'],
43292
+ ['application/json']
43293
+ );
43294
+ }
43295
+
43296
+ }
43297
+
42940
43298
  class TelephonyApi {
42941
43299
  /**
42942
43300
  * Telephony service.
42943
43301
  * @module purecloud-platform-client-v2/api/TelephonyApi
42944
- * @version 141.0.0
43302
+ * @version 143.0.0
42945
43303
  */
42946
43304
 
42947
43305
  /**
@@ -43049,7 +43407,7 @@ class TelephonyProvidersEdgeApi {
43049
43407
  /**
43050
43408
  * TelephonyProvidersEdge service.
43051
43409
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
43052
- * @version 141.0.0
43410
+ * @version 143.0.0
43053
43411
  */
43054
43412
 
43055
43413
  /**
@@ -46682,7 +47040,7 @@ class TextbotsApi {
46682
47040
  /**
46683
47041
  * Textbots service.
46684
47042
  * @module purecloud-platform-client-v2/api/TextbotsApi
46685
- * @version 141.0.0
47043
+ * @version 143.0.0
46686
47044
  */
46687
47045
 
46688
47046
  /**
@@ -46810,7 +47168,7 @@ class TokensApi {
46810
47168
  /**
46811
47169
  * Tokens service.
46812
47170
  * @module purecloud-platform-client-v2/api/TokensApi
46813
- * @version 141.0.0
47171
+ * @version 143.0.0
46814
47172
  */
46815
47173
 
46816
47174
  /**
@@ -46916,7 +47274,7 @@ class UploadsApi {
46916
47274
  /**
46917
47275
  * Uploads service.
46918
47276
  * @module purecloud-platform-client-v2/api/UploadsApi
46919
- * @version 141.0.0
47277
+ * @version 143.0.0
46920
47278
  */
46921
47279
 
46922
47280
  /**
@@ -47067,7 +47425,7 @@ class UsageApi {
47067
47425
  /**
47068
47426
  * Usage service.
47069
47427
  * @module purecloud-platform-client-v2/api/UsageApi
47070
- * @version 141.0.0
47428
+ * @version 143.0.0
47071
47429
  */
47072
47430
 
47073
47431
  /**
@@ -47138,7 +47496,7 @@ class UserRecordingsApi {
47138
47496
  /**
47139
47497
  * UserRecordings service.
47140
47498
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
47141
- * @version 141.0.0
47499
+ * @version 143.0.0
47142
47500
  */
47143
47501
 
47144
47502
  /**
@@ -47322,7 +47680,7 @@ class UsersApi {
47322
47680
  /**
47323
47681
  * Users service.
47324
47682
  * @module purecloud-platform-client-v2/api/UsersApi
47325
- * @version 141.0.0
47683
+ * @version 143.0.0
47326
47684
  */
47327
47685
 
47328
47686
  /**
@@ -49624,7 +49982,7 @@ class UtilitiesApi {
49624
49982
  /**
49625
49983
  * Utilities service.
49626
49984
  * @module purecloud-platform-client-v2/api/UtilitiesApi
49627
- * @version 141.0.0
49985
+ * @version 143.0.0
49628
49986
  */
49629
49987
 
49630
49988
  /**
@@ -49735,7 +50093,7 @@ class VoicemailApi {
49735
50093
  /**
49736
50094
  * Voicemail service.
49737
50095
  * @module purecloud-platform-client-v2/api/VoicemailApi
49738
- * @version 141.0.0
50096
+ * @version 143.0.0
49739
50097
  */
49740
50098
 
49741
50099
  /**
@@ -50402,7 +50760,7 @@ class WebChatApi {
50402
50760
  /**
50403
50761
  * WebChat service.
50404
50762
  * @module purecloud-platform-client-v2/api/WebChatApi
50405
- * @version 141.0.0
50763
+ * @version 143.0.0
50406
50764
  */
50407
50765
 
50408
50766
  /**
@@ -50946,7 +51304,7 @@ class WebDeploymentsApi {
50946
51304
  /**
50947
51305
  * WebDeployments service.
50948
51306
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
50949
- * @version 141.0.0
51307
+ * @version 143.0.0
50950
51308
  */
50951
51309
 
50952
51310
  /**
@@ -51301,7 +51659,7 @@ class WebMessagingApi {
51301
51659
  /**
51302
51660
  * WebMessaging service.
51303
51661
  * @module purecloud-platform-client-v2/api/WebMessagingApi
51304
- * @version 141.0.0
51662
+ * @version 143.0.0
51305
51663
  */
51306
51664
 
51307
51665
  /**
@@ -51347,7 +51705,7 @@ class WidgetsApi {
51347
51705
  /**
51348
51706
  * Widgets service.
51349
51707
  * @module purecloud-platform-client-v2/api/WidgetsApi
51350
- * @version 141.0.0
51708
+ * @version 143.0.0
51351
51709
  */
51352
51710
 
51353
51711
  /**
@@ -51493,7 +51851,7 @@ class WorkforceManagementApi {
51493
51851
  /**
51494
51852
  * WorkforceManagement service.
51495
51853
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
51496
- * @version 141.0.0
51854
+ * @version 143.0.0
51497
51855
  */
51498
51856
 
51499
51857
  /**
@@ -51913,6 +52271,31 @@ class WorkforceManagementApi {
51913
52271
  );
51914
52272
  }
51915
52273
 
52274
+ /**
52275
+ * Query the status of a historical adherence request operation. Only the user who started the operation can query the status
52276
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
52277
+ * @param {String} jobId jobId
52278
+ */
52279
+ getWorkforcemanagementAdherenceHistoricalJob(jobId) {
52280
+ // verify the required parameter 'jobId' is set
52281
+ if (jobId === undefined || jobId === null) {
52282
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';
52283
+ }
52284
+
52285
+ return this.apiClient.callApi(
52286
+ '/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}',
52287
+ 'GET',
52288
+ { 'jobId': jobId },
52289
+ { },
52290
+ { },
52291
+ { },
52292
+ null,
52293
+ ['PureCloud OAuth'],
52294
+ ['application/json'],
52295
+ ['application/json']
52296
+ );
52297
+ }
52298
+
51916
52299
  /**
51917
52300
  * Get status of the modeling job
51918
52301
  *
@@ -55744,7 +56127,7 @@ class WorkforceManagementApi {
55744
56127
  * </pre>
55745
56128
  * </p>
55746
56129
  * @module purecloud-platform-client-v2/index
55747
- * @version 141.0.0
56130
+ * @version 143.0.0
55748
56131
  */
55749
56132
  class platformClient {
55750
56133
  constructor() {
@@ -55993,6 +56376,11 @@ class platformClient {
55993
56376
  * @property {module:purecloud-platform-client-v2/api/SuggestApi}
55994
56377
  */
55995
56378
  this.SuggestApi = SuggestApi;
56379
+ /**
56380
+ * The TeamsApi service constructor.
56381
+ * @property {module:purecloud-platform-client-v2/api/TeamsApi}
56382
+ */
56383
+ this.TeamsApi = TeamsApi;
55996
56384
  /**
55997
56385
  * The TelephonyApi service constructor.
55998
56386
  * @property {module:purecloud-platform-client-v2/api/TelephonyApi}