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
@@ -401,7 +401,7 @@ class Configuration {
401
401
 
402
402
  /**
403
403
  * @module purecloud-platform-client-v2/ApiClient
404
- * @version 141.0.0
404
+ * @version 143.0.0
405
405
  */
406
406
  class ApiClient {
407
407
  /**
@@ -1480,7 +1480,7 @@ class AlertingApi {
1480
1480
  /**
1481
1481
  * Alerting service.
1482
1482
  * @module purecloud-platform-client-v2/api/AlertingApi
1483
- * @version 141.0.0
1483
+ * @version 143.0.0
1484
1484
  */
1485
1485
 
1486
1486
  /**
@@ -1794,7 +1794,7 @@ class AnalyticsApi {
1794
1794
  /**
1795
1795
  * Analytics service.
1796
1796
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1797
- * @version 141.0.0
1797
+ * @version 143.0.0
1798
1798
  */
1799
1799
 
1800
1800
  /**
@@ -2976,7 +2976,7 @@ class ArchitectApi {
2976
2976
  /**
2977
2977
  * Architect service.
2978
2978
  * @module purecloud-platform-client-v2/api/ArchitectApi
2979
- * @version 141.0.0
2979
+ * @version 143.0.0
2980
2980
  */
2981
2981
 
2982
2982
  /**
@@ -6021,7 +6021,7 @@ class AuditApi {
6021
6021
  /**
6022
6022
  * Audit service.
6023
6023
  * @module purecloud-platform-client-v2/api/AuditApi
6024
- * @version 141.0.0
6024
+ * @version 143.0.0
6025
6025
  */
6026
6026
 
6027
6027
  /**
@@ -6192,7 +6192,7 @@ class AuthorizationApi {
6192
6192
  /**
6193
6193
  * Authorization service.
6194
6194
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6195
- * @version 141.0.0
6195
+ * @version 143.0.0
6196
6196
  */
6197
6197
 
6198
6198
  /**
@@ -7375,7 +7375,7 @@ class BillingApi {
7375
7375
  /**
7376
7376
  * Billing service.
7377
7377
  * @module purecloud-platform-client-v2/api/BillingApi
7378
- * @version 141.0.0
7378
+ * @version 143.0.0
7379
7379
  */
7380
7380
 
7381
7381
  /**
@@ -7455,7 +7455,7 @@ class ChatApi {
7455
7455
  /**
7456
7456
  * Chat service.
7457
7457
  * @module purecloud-platform-client-v2/api/ChatApi
7458
- * @version 141.0.0
7458
+ * @version 143.0.0
7459
7459
  */
7460
7460
 
7461
7461
  /**
@@ -7546,7 +7546,7 @@ class CoachingApi {
7546
7546
  /**
7547
7547
  * Coaching service.
7548
7548
  * @module purecloud-platform-client-v2/api/CoachingApi
7549
- * @version 141.0.0
7549
+ * @version 143.0.0
7550
7550
  */
7551
7551
 
7552
7552
  /**
@@ -8123,7 +8123,7 @@ class ContentManagementApi {
8123
8123
  /**
8124
8124
  * ContentManagement service.
8125
8125
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8126
- * @version 141.0.0
8126
+ * @version 143.0.0
8127
8127
  */
8128
8128
 
8129
8129
  /**
@@ -9263,7 +9263,7 @@ class ConversationsApi {
9263
9263
  /**
9264
9264
  * Conversations service.
9265
9265
  * @module purecloud-platform-client-v2/api/ConversationsApi
9266
- * @version 141.0.0
9266
+ * @version 143.0.0
9267
9267
  */
9268
9268
 
9269
9269
  /**
@@ -14197,7 +14197,7 @@ class DataExtensionsApi {
14197
14197
  /**
14198
14198
  * DataExtensions service.
14199
14199
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14200
- * @version 141.0.0
14200
+ * @version 143.0.0
14201
14201
  */
14202
14202
 
14203
14203
  /**
@@ -14283,7 +14283,7 @@ class ExternalContactsApi {
14283
14283
  /**
14284
14284
  * ExternalContacts service.
14285
14285
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14286
- * @version 141.0.0
14286
+ * @version 143.0.0
14287
14287
  */
14288
14288
 
14289
14289
  /**
@@ -16026,7 +16026,7 @@ class FaxApi {
16026
16026
  /**
16027
16027
  * Fax service.
16028
16028
  * @module purecloud-platform-client-v2/api/FaxApi
16029
- * @version 141.0.0
16029
+ * @version 143.0.0
16030
16030
  */
16031
16031
 
16032
16032
  /**
@@ -16197,7 +16197,7 @@ class FlowsApi {
16197
16197
  /**
16198
16198
  * Flows service.
16199
16199
  * @module purecloud-platform-client-v2/api/FlowsApi
16200
- * @version 141.0.0
16200
+ * @version 143.0.0
16201
16201
  */
16202
16202
 
16203
16203
  /**
@@ -16268,7 +16268,7 @@ class GamificationApi {
16268
16268
  /**
16269
16269
  * Gamification service.
16270
16270
  * @module purecloud-platform-client-v2/api/GamificationApi
16271
- * @version 141.0.0
16271
+ * @version 143.0.0
16272
16272
  */
16273
16273
 
16274
16274
  /**
@@ -16283,6 +16283,81 @@ class GamificationApi {
16283
16283
  }
16284
16284
 
16285
16285
 
16286
+ /**
16287
+ * Delete an External Metric Definition
16288
+ *
16289
+ * @param {String} metricId Specifies the External Metric Definition ID
16290
+ */
16291
+ deleteEmployeeperformanceExternalmetricsDefinition(metricId) {
16292
+ // verify the required parameter 'metricId' is set
16293
+ if (metricId === undefined || metricId === null) {
16294
+ throw 'Missing the required parameter "metricId" when calling deleteEmployeeperformanceExternalmetricsDefinition';
16295
+ }
16296
+
16297
+ return this.apiClient.callApi(
16298
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
16299
+ 'DELETE',
16300
+ { 'metricId': metricId },
16301
+ { },
16302
+ { },
16303
+ { },
16304
+ null,
16305
+ ['PureCloud OAuth'],
16306
+ ['application/json'],
16307
+ ['application/json']
16308
+ );
16309
+ }
16310
+
16311
+ /**
16312
+ * Get an External Metric Definition
16313
+ *
16314
+ * @param {String} metricId Specifies the External Metric Definition ID
16315
+ */
16316
+ getEmployeeperformanceExternalmetricsDefinition(metricId) {
16317
+ // verify the required parameter 'metricId' is set
16318
+ if (metricId === undefined || metricId === null) {
16319
+ throw 'Missing the required parameter "metricId" when calling getEmployeeperformanceExternalmetricsDefinition';
16320
+ }
16321
+
16322
+ return this.apiClient.callApi(
16323
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
16324
+ 'GET',
16325
+ { 'metricId': metricId },
16326
+ { },
16327
+ { },
16328
+ { },
16329
+ null,
16330
+ ['PureCloud OAuth'],
16331
+ ['application/json'],
16332
+ ['application/json']
16333
+ );
16334
+ }
16335
+
16336
+ /**
16337
+ * Get a list of External Metric Definitions of an organization, sorted by name in ascending order
16338
+ *
16339
+ * @param {Object} opts Optional parameters
16340
+ * @param {Number} opts.pageSize Page size (default to 25)
16341
+ * @param {Number} opts.pageNumber Page number (default to 1)
16342
+ */
16343
+ getEmployeeperformanceExternalmetricsDefinitions(opts) {
16344
+ opts = opts || {};
16345
+
16346
+
16347
+ return this.apiClient.callApi(
16348
+ '/api/v2/employeeperformance/externalmetrics/definitions',
16349
+ 'GET',
16350
+ { },
16351
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
16352
+ { },
16353
+ { },
16354
+ null,
16355
+ ['PureCloud OAuth'],
16356
+ ['application/json'],
16357
+ ['application/json']
16358
+ );
16359
+ }
16360
+
16286
16361
  /**
16287
16362
  * Leaderboard of the requesting user's division or performance profile
16288
16363
  *
@@ -17492,6 +17567,84 @@ class GamificationApi {
17492
17567
  );
17493
17568
  }
17494
17569
 
17570
+ /**
17571
+ * Update External Metric Definition
17572
+ *
17573
+ * @param {String} metricId Specifies the metric definition ID
17574
+ * @param {Object} body The External Metric Definition parameters to be updated
17575
+ */
17576
+ patchEmployeeperformanceExternalmetricsDefinition(metricId, body) {
17577
+ // verify the required parameter 'metricId' is set
17578
+ if (metricId === undefined || metricId === null) {
17579
+ throw 'Missing the required parameter "metricId" when calling patchEmployeeperformanceExternalmetricsDefinition';
17580
+ }
17581
+ // verify the required parameter 'body' is set
17582
+ if (body === undefined || body === null) {
17583
+ throw 'Missing the required parameter "body" when calling patchEmployeeperformanceExternalmetricsDefinition';
17584
+ }
17585
+
17586
+ return this.apiClient.callApi(
17587
+ '/api/v2/employeeperformance/externalmetrics/definitions/{metricId}',
17588
+ 'PATCH',
17589
+ { 'metricId': metricId },
17590
+ { },
17591
+ { },
17592
+ { },
17593
+ body,
17594
+ ['PureCloud OAuth'],
17595
+ ['application/json'],
17596
+ ['application/json']
17597
+ );
17598
+ }
17599
+
17600
+ /**
17601
+ * Write External Metric Data
17602
+ *
17603
+ * @param {Object} opts Optional parameters
17604
+ * @param {Object} opts.body The External Metric Data to be added
17605
+ */
17606
+ postEmployeeperformanceExternalmetricsData(opts) {
17607
+ opts = opts || {};
17608
+
17609
+
17610
+ return this.apiClient.callApi(
17611
+ '/api/v2/employeeperformance/externalmetrics/data',
17612
+ 'POST',
17613
+ { },
17614
+ { },
17615
+ { },
17616
+ { },
17617
+ opts['body'],
17618
+ ['PureCloud OAuth'],
17619
+ ['application/json'],
17620
+ ['application/json']
17621
+ );
17622
+ }
17623
+
17624
+ /**
17625
+ * Create External Metric Definition
17626
+ *
17627
+ * @param {Object} opts Optional parameters
17628
+ * @param {Object} opts.body The External Metric Definition to be created
17629
+ */
17630
+ postEmployeeperformanceExternalmetricsDefinitions(opts) {
17631
+ opts = opts || {};
17632
+
17633
+
17634
+ return this.apiClient.callApi(
17635
+ '/api/v2/employeeperformance/externalmetrics/definitions',
17636
+ 'POST',
17637
+ { },
17638
+ { },
17639
+ { },
17640
+ { },
17641
+ opts['body'],
17642
+ ['PureCloud OAuth'],
17643
+ ['application/json'],
17644
+ ['application/json']
17645
+ );
17646
+ }
17647
+
17495
17648
  /**
17496
17649
  * Creates a gamified metric with a given metric definition and metric objective
17497
17650
  * This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
@@ -17850,7 +18003,7 @@ class GeneralDataProtectionRegulationApi {
17850
18003
  /**
17851
18004
  * GeneralDataProtectionRegulation service.
17852
18005
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17853
- * @version 141.0.0
18006
+ * @version 143.0.0
17854
18007
  */
17855
18008
 
17856
18009
  /**
@@ -17980,7 +18133,7 @@ class GeolocationApi {
17980
18133
  /**
17981
18134
  * Geolocation service.
17982
18135
  * @module purecloud-platform-client-v2/api/GeolocationApi
17983
- * @version 141.0.0
18136
+ * @version 143.0.0
17984
18137
  */
17985
18138
 
17986
18139
  /**
@@ -18111,7 +18264,7 @@ class GreetingsApi {
18111
18264
  /**
18112
18265
  * Greetings service.
18113
18266
  * @module purecloud-platform-client-v2/api/GreetingsApi
18114
- * @version 141.0.0
18267
+ * @version 143.0.0
18115
18268
  */
18116
18269
 
18117
18270
  /**
@@ -18566,7 +18719,7 @@ class GroupsApi {
18566
18719
  /**
18567
18720
  * Groups service.
18568
18721
  * @module purecloud-platform-client-v2/api/GroupsApi
18569
- * @version 141.0.0
18722
+ * @version 143.0.0
18570
18723
  */
18571
18724
 
18572
18725
  /**
@@ -18971,7 +19124,7 @@ class IdentityProviderApi {
18971
19124
  /**
18972
19125
  * IdentityProvider service.
18973
19126
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18974
- * @version 141.0.0
19127
+ * @version 143.0.0
18975
19128
  */
18976
19129
 
18977
19130
  /**
@@ -19727,7 +19880,7 @@ class IntegrationsApi {
19727
19880
  /**
19728
19881
  * Integrations service.
19729
19882
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19730
- * @version 141.0.0
19883
+ * @version 143.0.0
19731
19884
  */
19732
19885
 
19733
19886
  /**
@@ -21404,7 +21557,7 @@ class JourneyApi {
21404
21557
  /**
21405
21558
  * Journey service.
21406
21559
  * @module purecloud-platform-client-v2/api/JourneyApi
21407
- * @version 141.0.0
21560
+ * @version 143.0.0
21408
21561
  */
21409
21562
 
21410
21563
  /**
@@ -22115,7 +22268,7 @@ class KnowledgeApi {
22115
22268
  /**
22116
22269
  * Knowledge service.
22117
22270
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22118
- * @version 141.0.0
22271
+ * @version 143.0.0
22119
22272
  */
22120
22273
 
22121
22274
  /**
@@ -23015,7 +23168,7 @@ class LanguageUnderstandingApi {
23015
23168
  /**
23016
23169
  * LanguageUnderstanding service.
23017
23170
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
23018
- * @version 141.0.0
23171
+ * @version 143.0.0
23019
23172
  */
23020
23173
 
23021
23174
  /**
@@ -23919,7 +24072,7 @@ class LanguagesApi {
23919
24072
  /**
23920
24073
  * Languages service.
23921
24074
  * @module purecloud-platform-client-v2/api/LanguagesApi
23922
- * @version 141.0.0
24075
+ * @version 143.0.0
23923
24076
  */
23924
24077
 
23925
24078
  /**
@@ -24187,7 +24340,7 @@ class LearningApi {
24187
24340
  /**
24188
24341
  * Learning service.
24189
24342
  * @module purecloud-platform-client-v2/api/LearningApi
24190
- * @version 141.0.0
24343
+ * @version 143.0.0
24191
24344
  */
24192
24345
 
24193
24346
  /**
@@ -24922,7 +25075,7 @@ class LicenseApi {
24922
25075
  /**
24923
25076
  * License service.
24924
25077
  * @module purecloud-platform-client-v2/api/LicenseApi
24925
- * @version 141.0.0
25078
+ * @version 143.0.0
24926
25079
  */
24927
25080
 
24928
25081
  /**
@@ -25160,7 +25313,7 @@ class LocationsApi {
25160
25313
  /**
25161
25314
  * Locations service.
25162
25315
  * @module purecloud-platform-client-v2/api/LocationsApi
25163
- * @version 141.0.0
25316
+ * @version 143.0.0
25164
25317
  */
25165
25318
 
25166
25319
  /**
@@ -25396,7 +25549,7 @@ class MessagingApi {
25396
25549
  /**
25397
25550
  * Messaging service.
25398
25551
  * @module purecloud-platform-client-v2/api/MessagingApi
25399
- * @version 141.0.0
25552
+ * @version 143.0.0
25400
25553
  */
25401
25554
 
25402
25555
  /**
@@ -25547,7 +25700,7 @@ class MobileDevicesApi {
25547
25700
  /**
25548
25701
  * MobileDevices service.
25549
25702
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
25550
- * @version 141.0.0
25703
+ * @version 143.0.0
25551
25704
  */
25552
25705
 
25553
25706
  /**
@@ -25698,7 +25851,7 @@ class NotificationsApi {
25698
25851
  /**
25699
25852
  * Notifications service.
25700
25853
  * @module purecloud-platform-client-v2/api/NotificationsApi
25701
- * @version 141.0.0
25854
+ * @version 143.0.0
25702
25855
  */
25703
25856
 
25704
25857
  /**
@@ -25923,7 +26076,7 @@ class OAuthApi {
25923
26076
  /**
25924
26077
  * OAuth service.
25925
26078
  * @module purecloud-platform-client-v2/api/OAuthApi
25926
- * @version 141.0.0
26079
+ * @version 143.0.0
25927
26080
  */
25928
26081
 
25929
26082
  /**
@@ -26289,7 +26442,7 @@ class ObjectsApi {
26289
26442
  /**
26290
26443
  * Objects service.
26291
26444
  * @module purecloud-platform-client-v2/api/ObjectsApi
26292
- * @version 141.0.0
26445
+ * @version 143.0.0
26293
26446
  */
26294
26447
 
26295
26448
  /**
@@ -26560,7 +26713,7 @@ class OrganizationApi {
26560
26713
  /**
26561
26714
  * Organization service.
26562
26715
  * @module purecloud-platform-client-v2/api/OrganizationApi
26563
- * @version 141.0.0
26716
+ * @version 143.0.0
26564
26717
  */
26565
26718
 
26566
26719
  /**
@@ -26963,7 +27116,7 @@ class OrganizationAuthorizationApi {
26963
27116
  /**
26964
27117
  * OrganizationAuthorization service.
26965
27118
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26966
- * @version 141.0.0
27119
+ * @version 143.0.0
26967
27120
  */
26968
27121
 
26969
27122
  /**
@@ -27888,7 +28041,7 @@ class OutboundApi {
27888
28041
  /**
27889
28042
  * Outbound service.
27890
28043
  * @module purecloud-platform-client-v2/api/OutboundApi
27891
- * @version 141.0.0
28044
+ * @version 143.0.0
27892
28045
  */
27893
28046
 
27894
28047
  /**
@@ -31143,7 +31296,7 @@ class PresenceApi {
31143
31296
  /**
31144
31297
  * Presence service.
31145
31298
  * @module purecloud-platform-client-v2/api/PresenceApi
31146
- * @version 141.0.0
31299
+ * @version 143.0.0
31147
31300
  */
31148
31301
 
31149
31302
  /**
@@ -31465,7 +31618,7 @@ class QualityApi {
31465
31618
  /**
31466
31619
  * Quality service.
31467
31620
  * @module purecloud-platform-client-v2/api/QualityApi
31468
- * @version 141.0.0
31621
+ * @version 143.0.0
31469
31622
  */
31470
31623
 
31471
31624
  /**
@@ -33043,7 +33196,7 @@ class RecordingApi {
33043
33196
  /**
33044
33197
  * Recording service.
33045
33198
  * @module purecloud-platform-client-v2/api/RecordingApi
33046
- * @version 141.0.0
33199
+ * @version 143.0.0
33047
33200
  */
33048
33201
 
33049
33202
  /**
@@ -34696,7 +34849,7 @@ class ResponseManagementApi {
34696
34849
  /**
34697
34850
  * ResponseManagement service.
34698
34851
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
34699
- * @version 141.0.0
34852
+ * @version 143.0.0
34700
34853
  */
34701
34854
 
34702
34855
  /**
@@ -35180,7 +35333,7 @@ class RoutingApi {
35180
35333
  /**
35181
35334
  * Routing service.
35182
35335
  * @module purecloud-platform-client-v2/api/RoutingApi
35183
- * @version 141.0.0
35336
+ * @version 143.0.0
35184
35337
  */
35185
35338
 
35186
35339
  /**
@@ -38101,7 +38254,7 @@ class SCIMApi {
38101
38254
  /**
38102
38255
  * SCIM service.
38103
38256
  * @module purecloud-platform-client-v2/api/SCIMApi
38104
- * @version 141.0.0
38257
+ * @version 143.0.0
38105
38258
  */
38106
38259
 
38107
38260
  /**
@@ -38978,7 +39131,7 @@ class ScriptsApi {
38978
39131
  /**
38979
39132
  * Scripts service.
38980
39133
  * @module purecloud-platform-client-v2/api/ScriptsApi
38981
- * @version 141.0.0
39134
+ * @version 143.0.0
38982
39135
  */
38983
39136
 
38984
39137
  /**
@@ -39397,7 +39550,7 @@ class SearchApi {
39397
39550
  /**
39398
39551
  * Search service.
39399
39552
  * @module purecloud-platform-client-v2/api/SearchApi
39400
- * @version 141.0.0
39553
+ * @version 143.0.0
39401
39554
  */
39402
39555
 
39403
39556
  /**
@@ -39876,6 +40029,31 @@ class SearchApi {
39876
40029
  );
39877
40030
  }
39878
40031
 
40032
+ /**
40033
+ * Search resources.
40034
+ *
40035
+ * @param {Object} body Search request options
40036
+ */
40037
+ postTeamsSearch(body) {
40038
+ // verify the required parameter 'body' is set
40039
+ if (body === undefined || body === null) {
40040
+ throw 'Missing the required parameter "body" when calling postTeamsSearch';
40041
+ }
40042
+
40043
+ return this.apiClient.callApi(
40044
+ '/api/v2/teams/search',
40045
+ 'POST',
40046
+ { },
40047
+ { },
40048
+ { },
40049
+ { },
40050
+ body,
40051
+ ['PureCloud OAuth'],
40052
+ ['application/json'],
40053
+ ['application/json']
40054
+ );
40055
+ }
40056
+
39879
40057
  /**
39880
40058
  * Search users
39881
40059
  *
@@ -39932,7 +40110,7 @@ class SpeechTextAnalyticsApi {
39932
40110
  /**
39933
40111
  * SpeechTextAnalytics service.
39934
40112
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
39935
- * @version 141.0.0
40113
+ * @version 143.0.0
39936
40114
  */
39937
40115
 
39938
40116
  /**
@@ -40157,6 +40335,7 @@ class SpeechTextAnalyticsApi {
40157
40335
  * @param {Object} opts Optional parameters
40158
40336
  * @param {String} opts.nextPage The key for listing the next page
40159
40337
  * @param {Number} opts.pageSize The page size for the listing (default to 20)
40338
+ * @param {Object} opts.state Program state. Defaults to Latest
40160
40339
  */
40161
40340
  getSpeechandtextanalyticsPrograms(opts) {
40162
40341
  opts = opts || {};
@@ -40166,7 +40345,7 @@ class SpeechTextAnalyticsApi {
40166
40345
  '/api/v2/speechandtextanalytics/programs',
40167
40346
  'GET',
40168
40347
  { },
40169
- { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
40348
+ { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'] },
40170
40349
  { },
40171
40350
  { },
40172
40351
  null,
@@ -40785,7 +40964,7 @@ class StationsApi {
40785
40964
  /**
40786
40965
  * Stations service.
40787
40966
  * @module purecloud-platform-client-v2/api/StationsApi
40788
- * @version 141.0.0
40967
+ * @version 143.0.0
40789
40968
  */
40790
40969
 
40791
40970
  /**
@@ -40932,7 +41111,7 @@ class SuggestApi {
40932
41111
  /**
40933
41112
  * Suggest service.
40934
41113
  * @module purecloud-platform-client-v2/api/SuggestApi
40935
- * @version 141.0.0
41114
+ * @version 143.0.0
40936
41115
  */
40937
41116
 
40938
41117
  /**
@@ -41067,11 +41246,190 @@ class SuggestApi {
41067
41246
 
41068
41247
  }
41069
41248
 
41249
+ class TeamsApi {
41250
+ /**
41251
+ * Teams service.
41252
+ * @module purecloud-platform-client-v2/api/TeamsApi
41253
+ * @version 143.0.0
41254
+ */
41255
+
41256
+ /**
41257
+ * Constructs a new TeamsApi.
41258
+ * @alias module:purecloud-platform-client-v2/api/TeamsApi
41259
+ * @class
41260
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
41261
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
41262
+ */
41263
+ constructor(apiClient) {
41264
+ this.apiClient = apiClient || ApiClient.instance;
41265
+ }
41266
+
41267
+
41268
+ /**
41269
+ * Delete team
41270
+ *
41271
+ * @param {String} teamId Team ID
41272
+ */
41273
+ deleteTeam(teamId) {
41274
+ // verify the required parameter 'teamId' is set
41275
+ if (teamId === undefined || teamId === null) {
41276
+ throw 'Missing the required parameter "teamId" when calling deleteTeam';
41277
+ }
41278
+
41279
+ return this.apiClient.callApi(
41280
+ '/api/v2/teams/{teamId}',
41281
+ 'DELETE',
41282
+ { 'teamId': teamId },
41283
+ { },
41284
+ { },
41285
+ { },
41286
+ null,
41287
+ ['PureCloud OAuth'],
41288
+ ['application/json'],
41289
+ ['application/json']
41290
+ );
41291
+ }
41292
+
41293
+ /**
41294
+ * Get team
41295
+ *
41296
+ * @param {String} teamId Team ID
41297
+ */
41298
+ getTeam(teamId) {
41299
+ // verify the required parameter 'teamId' is set
41300
+ if (teamId === undefined || teamId === null) {
41301
+ throw 'Missing the required parameter "teamId" when calling getTeam';
41302
+ }
41303
+
41304
+ return this.apiClient.callApi(
41305
+ '/api/v2/teams/{teamId}',
41306
+ 'GET',
41307
+ { 'teamId': teamId },
41308
+ { },
41309
+ { },
41310
+ { },
41311
+ null,
41312
+ ['PureCloud OAuth'],
41313
+ ['application/json'],
41314
+ ['application/json']
41315
+ );
41316
+ }
41317
+
41318
+ /**
41319
+ * Get Team listing
41320
+ *
41321
+ * @param {Object} opts Optional parameters
41322
+ * @param {Number} opts.pageSize Page size (default to 25)
41323
+ * @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
41324
+ * @param {String} opts.after The cursor that points to the next item in the complete list of teams
41325
+ * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
41326
+ * @param {Object} opts.expand Expand the name on each user
41327
+ */
41328
+ getTeams(opts) {
41329
+ opts = opts || {};
41330
+
41331
+
41332
+ return this.apiClient.callApi(
41333
+ '/api/v2/teams',
41334
+ 'GET',
41335
+ { },
41336
+ { 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
41337
+ { },
41338
+ { },
41339
+ null,
41340
+ ['PureCloud OAuth'],
41341
+ ['application/json'],
41342
+ ['application/json']
41343
+ );
41344
+ }
41345
+
41346
+ /**
41347
+ * Update team
41348
+ *
41349
+ * @param {String} teamId Team ID
41350
+ * @param {Object} body Team
41351
+ */
41352
+ patchTeam(teamId, body) {
41353
+ // verify the required parameter 'teamId' is set
41354
+ if (teamId === undefined || teamId === null) {
41355
+ throw 'Missing the required parameter "teamId" when calling patchTeam';
41356
+ }
41357
+ // verify the required parameter 'body' is set
41358
+ if (body === undefined || body === null) {
41359
+ throw 'Missing the required parameter "body" when calling patchTeam';
41360
+ }
41361
+
41362
+ return this.apiClient.callApi(
41363
+ '/api/v2/teams/{teamId}',
41364
+ 'PATCH',
41365
+ { 'teamId': teamId },
41366
+ { },
41367
+ { },
41368
+ { },
41369
+ body,
41370
+ ['PureCloud OAuth'],
41371
+ ['application/json'],
41372
+ ['application/json']
41373
+ );
41374
+ }
41375
+
41376
+ /**
41377
+ * Create a team
41378
+ *
41379
+ * @param {Object} body Team
41380
+ */
41381
+ postTeams(body) {
41382
+ // verify the required parameter 'body' is set
41383
+ if (body === undefined || body === null) {
41384
+ throw 'Missing the required parameter "body" when calling postTeams';
41385
+ }
41386
+
41387
+ return this.apiClient.callApi(
41388
+ '/api/v2/teams',
41389
+ 'POST',
41390
+ { },
41391
+ { },
41392
+ { },
41393
+ { },
41394
+ body,
41395
+ ['PureCloud OAuth'],
41396
+ ['application/json'],
41397
+ ['application/json']
41398
+ );
41399
+ }
41400
+
41401
+ /**
41402
+ * Search resources.
41403
+ *
41404
+ * @param {Object} body Search request options
41405
+ */
41406
+ postTeamsSearch(body) {
41407
+ // verify the required parameter 'body' is set
41408
+ if (body === undefined || body === null) {
41409
+ throw 'Missing the required parameter "body" when calling postTeamsSearch';
41410
+ }
41411
+
41412
+ return this.apiClient.callApi(
41413
+ '/api/v2/teams/search',
41414
+ 'POST',
41415
+ { },
41416
+ { },
41417
+ { },
41418
+ { },
41419
+ body,
41420
+ ['PureCloud OAuth'],
41421
+ ['application/json'],
41422
+ ['application/json']
41423
+ );
41424
+ }
41425
+
41426
+ }
41427
+
41070
41428
  class TelephonyApi {
41071
41429
  /**
41072
41430
  * Telephony service.
41073
41431
  * @module purecloud-platform-client-v2/api/TelephonyApi
41074
- * @version 141.0.0
41432
+ * @version 143.0.0
41075
41433
  */
41076
41434
 
41077
41435
  /**
@@ -41179,7 +41537,7 @@ class TelephonyProvidersEdgeApi {
41179
41537
  /**
41180
41538
  * TelephonyProvidersEdge service.
41181
41539
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
41182
- * @version 141.0.0
41540
+ * @version 143.0.0
41183
41541
  */
41184
41542
 
41185
41543
  /**
@@ -44812,7 +45170,7 @@ class TextbotsApi {
44812
45170
  /**
44813
45171
  * Textbots service.
44814
45172
  * @module purecloud-platform-client-v2/api/TextbotsApi
44815
- * @version 141.0.0
45173
+ * @version 143.0.0
44816
45174
  */
44817
45175
 
44818
45176
  /**
@@ -44940,7 +45298,7 @@ class TokensApi {
44940
45298
  /**
44941
45299
  * Tokens service.
44942
45300
  * @module purecloud-platform-client-v2/api/TokensApi
44943
- * @version 141.0.0
45301
+ * @version 143.0.0
44944
45302
  */
44945
45303
 
44946
45304
  /**
@@ -45046,7 +45404,7 @@ class UploadsApi {
45046
45404
  /**
45047
45405
  * Uploads service.
45048
45406
  * @module purecloud-platform-client-v2/api/UploadsApi
45049
- * @version 141.0.0
45407
+ * @version 143.0.0
45050
45408
  */
45051
45409
 
45052
45410
  /**
@@ -45197,7 +45555,7 @@ class UsageApi {
45197
45555
  /**
45198
45556
  * Usage service.
45199
45557
  * @module purecloud-platform-client-v2/api/UsageApi
45200
- * @version 141.0.0
45558
+ * @version 143.0.0
45201
45559
  */
45202
45560
 
45203
45561
  /**
@@ -45268,7 +45626,7 @@ class UserRecordingsApi {
45268
45626
  /**
45269
45627
  * UserRecordings service.
45270
45628
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
45271
- * @version 141.0.0
45629
+ * @version 143.0.0
45272
45630
  */
45273
45631
 
45274
45632
  /**
@@ -45452,7 +45810,7 @@ class UsersApi {
45452
45810
  /**
45453
45811
  * Users service.
45454
45812
  * @module purecloud-platform-client-v2/api/UsersApi
45455
- * @version 141.0.0
45813
+ * @version 143.0.0
45456
45814
  */
45457
45815
 
45458
45816
  /**
@@ -47754,7 +48112,7 @@ class UtilitiesApi {
47754
48112
  /**
47755
48113
  * Utilities service.
47756
48114
  * @module purecloud-platform-client-v2/api/UtilitiesApi
47757
- * @version 141.0.0
48115
+ * @version 143.0.0
47758
48116
  */
47759
48117
 
47760
48118
  /**
@@ -47865,7 +48223,7 @@ class VoicemailApi {
47865
48223
  /**
47866
48224
  * Voicemail service.
47867
48225
  * @module purecloud-platform-client-v2/api/VoicemailApi
47868
- * @version 141.0.0
48226
+ * @version 143.0.0
47869
48227
  */
47870
48228
 
47871
48229
  /**
@@ -48532,7 +48890,7 @@ class WebChatApi {
48532
48890
  /**
48533
48891
  * WebChat service.
48534
48892
  * @module purecloud-platform-client-v2/api/WebChatApi
48535
- * @version 141.0.0
48893
+ * @version 143.0.0
48536
48894
  */
48537
48895
 
48538
48896
  /**
@@ -49076,7 +49434,7 @@ class WebDeploymentsApi {
49076
49434
  /**
49077
49435
  * WebDeployments service.
49078
49436
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
49079
- * @version 141.0.0
49437
+ * @version 143.0.0
49080
49438
  */
49081
49439
 
49082
49440
  /**
@@ -49431,7 +49789,7 @@ class WebMessagingApi {
49431
49789
  /**
49432
49790
  * WebMessaging service.
49433
49791
  * @module purecloud-platform-client-v2/api/WebMessagingApi
49434
- * @version 141.0.0
49792
+ * @version 143.0.0
49435
49793
  */
49436
49794
 
49437
49795
  /**
@@ -49477,7 +49835,7 @@ class WidgetsApi {
49477
49835
  /**
49478
49836
  * Widgets service.
49479
49837
  * @module purecloud-platform-client-v2/api/WidgetsApi
49480
- * @version 141.0.0
49838
+ * @version 143.0.0
49481
49839
  */
49482
49840
 
49483
49841
  /**
@@ -49623,7 +49981,7 @@ class WorkforceManagementApi {
49623
49981
  /**
49624
49982
  * WorkforceManagement service.
49625
49983
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
49626
- * @version 141.0.0
49984
+ * @version 143.0.0
49627
49985
  */
49628
49986
 
49629
49987
  /**
@@ -50043,6 +50401,31 @@ class WorkforceManagementApi {
50043
50401
  );
50044
50402
  }
50045
50403
 
50404
+ /**
50405
+ * Query the status of a historical adherence request operation. Only the user who started the operation can query the status
50406
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
50407
+ * @param {String} jobId jobId
50408
+ */
50409
+ getWorkforcemanagementAdherenceHistoricalJob(jobId) {
50410
+ // verify the required parameter 'jobId' is set
50411
+ if (jobId === undefined || jobId === null) {
50412
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';
50413
+ }
50414
+
50415
+ return this.apiClient.callApi(
50416
+ '/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}',
50417
+ 'GET',
50418
+ { 'jobId': jobId },
50419
+ { },
50420
+ { },
50421
+ { },
50422
+ null,
50423
+ ['PureCloud OAuth'],
50424
+ ['application/json'],
50425
+ ['application/json']
50426
+ );
50427
+ }
50428
+
50046
50429
  /**
50047
50430
  * Get status of the modeling job
50048
50431
  *
@@ -53874,7 +54257,7 @@ class WorkforceManagementApi {
53874
54257
  * </pre>
53875
54258
  * </p>
53876
54259
  * @module purecloud-platform-client-v2/index
53877
- * @version 141.0.0
54260
+ * @version 143.0.0
53878
54261
  */
53879
54262
  class platformClient {
53880
54263
  constructor() {
@@ -54123,6 +54506,11 @@ class platformClient {
54123
54506
  * @property {module:purecloud-platform-client-v2/api/SuggestApi}
54124
54507
  */
54125
54508
  this.SuggestApi = SuggestApi;
54509
+ /**
54510
+ * The TeamsApi service constructor.
54511
+ * @property {module:purecloud-platform-client-v2/api/TeamsApi}
54512
+ */
54513
+ this.TeamsApi = TeamsApi;
54126
54514
  /**
54127
54515
  * The TelephonyApi service constructor.
54128
54516
  * @property {module:purecloud-platform-client-v2/api/TelephonyApi}