purecloud-platform-client-v2 146.0.0 → 147.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 +338 -69
  3. package/dist/web-amd/purecloud-platform-client-v2.js +338 -69
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +338 -69
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +338 -69
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +448 -233
  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 +46 -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 +1 -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 +3 -2
  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 +135 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +31 -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 +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  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 +1 -1
  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 +31 -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 +30 -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 +1 -1
  74. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -402,7 +402,7 @@ class Configuration {
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 146.0.0
405
+ * @version 147.0.0
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1481,7 +1481,7 @@ class AlertingApi {
1481
1481
  /**
1482
1482
  * Alerting service.
1483
1483
  * @module purecloud-platform-client-v2/api/AlertingApi
1484
- * @version 146.0.0
1484
+ * @version 147.0.0
1485
1485
  */
1486
1486
 
1487
1487
  /**
@@ -1795,7 +1795,7 @@ class AnalyticsApi {
1795
1795
  /**
1796
1796
  * Analytics service.
1797
1797
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1798
- * @version 146.0.0
1798
+ * @version 147.0.0
1799
1799
  */
1800
1800
 
1801
1801
  /**
@@ -2041,6 +2041,26 @@ class AnalyticsApi {
2041
2041
  );
2042
2042
  }
2043
2043
 
2044
+ /**
2045
+ * Get analytics data retention setting
2046
+ *
2047
+ */
2048
+ getAnalyticsDataretentionSettings() {
2049
+
2050
+ return this.apiClient.callApi(
2051
+ '/api/v2/analytics/dataretention/settings',
2052
+ 'GET',
2053
+ { },
2054
+ { },
2055
+ { },
2056
+ { },
2057
+ null,
2058
+ ['PureCloud OAuth'],
2059
+ ['application/json'],
2060
+ ['application/json']
2061
+ );
2062
+ }
2063
+
2044
2064
  /**
2045
2065
  * Get all view export requests for a user
2046
2066
  *
@@ -2941,6 +2961,31 @@ class AnalyticsApi {
2941
2961
  );
2942
2962
  }
2943
2963
 
2964
+ /**
2965
+ * Update analytics data retention setting
2966
+ *
2967
+ * @param {Object} body retentionDays
2968
+ */
2969
+ putAnalyticsDataretentionSettings(body) {
2970
+ // verify the required parameter 'body' is set
2971
+ if (body === undefined || body === null) {
2972
+ throw 'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';
2973
+ }
2974
+
2975
+ return this.apiClient.callApi(
2976
+ '/api/v2/analytics/dataretention/settings',
2977
+ 'PUT',
2978
+ { },
2979
+ { },
2980
+ { },
2981
+ { },
2982
+ body,
2983
+ ['PureCloud OAuth'],
2984
+ ['application/json'],
2985
+ ['application/json']
2986
+ );
2987
+ }
2988
+
2944
2989
  /**
2945
2990
  * Update a scheduled report job.
2946
2991
  *
@@ -2977,7 +3022,7 @@ class ArchitectApi {
2977
3022
  /**
2978
3023
  * Architect service.
2979
3024
  * @module purecloud-platform-client-v2/api/ArchitectApi
2980
- * @version 146.0.0
3025
+ * @version 147.0.0
2981
3026
  */
2982
3027
 
2983
3028
  /**
@@ -6023,7 +6068,7 @@ class AuditApi {
6023
6068
  /**
6024
6069
  * Audit service.
6025
6070
  * @module purecloud-platform-client-v2/api/AuditApi
6026
- * @version 146.0.0
6071
+ * @version 147.0.0
6027
6072
  */
6028
6073
 
6029
6074
  /**
@@ -6194,7 +6239,7 @@ class AuthorizationApi {
6194
6239
  /**
6195
6240
  * Authorization service.
6196
6241
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6197
- * @version 146.0.0
6242
+ * @version 147.0.0
6198
6243
  */
6199
6244
 
6200
6245
  /**
@@ -7377,7 +7422,7 @@ class BillingApi {
7377
7422
  /**
7378
7423
  * Billing service.
7379
7424
  * @module purecloud-platform-client-v2/api/BillingApi
7380
- * @version 146.0.0
7425
+ * @version 147.0.0
7381
7426
  */
7382
7427
 
7383
7428
  /**
@@ -7457,7 +7502,7 @@ class ChatApi {
7457
7502
  /**
7458
7503
  * Chat service.
7459
7504
  * @module purecloud-platform-client-v2/api/ChatApi
7460
- * @version 146.0.0
7505
+ * @version 147.0.0
7461
7506
  */
7462
7507
 
7463
7508
  /**
@@ -7548,7 +7593,7 @@ class CoachingApi {
7548
7593
  /**
7549
7594
  * Coaching service.
7550
7595
  * @module purecloud-platform-client-v2/api/CoachingApi
7551
- * @version 146.0.0
7596
+ * @version 147.0.0
7552
7597
  */
7553
7598
 
7554
7599
  /**
@@ -8125,7 +8170,7 @@ class ContentManagementApi {
8125
8170
  /**
8126
8171
  * ContentManagement service.
8127
8172
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8128
- * @version 146.0.0
8173
+ * @version 147.0.0
8129
8174
  */
8130
8175
 
8131
8176
  /**
@@ -9265,7 +9310,7 @@ class ConversationsApi {
9265
9310
  /**
9266
9311
  * Conversations service.
9267
9312
  * @module purecloud-platform-client-v2/api/ConversationsApi
9268
- * @version 146.0.0
9313
+ * @version 147.0.0
9269
9314
  */
9270
9315
 
9271
9316
  /**
@@ -14409,7 +14454,7 @@ class DataExtensionsApi {
14409
14454
  /**
14410
14455
  * DataExtensions service.
14411
14456
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14412
- * @version 146.0.0
14457
+ * @version 147.0.0
14413
14458
  */
14414
14459
 
14415
14460
  /**
@@ -14495,7 +14540,7 @@ class ExternalContactsApi {
14495
14540
  /**
14496
14541
  * ExternalContacts service.
14497
14542
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14498
- * @version 146.0.0
14543
+ * @version 147.0.0
14499
14544
  */
14500
14545
 
14501
14546
  /**
@@ -16238,7 +16283,7 @@ class FaxApi {
16238
16283
  /**
16239
16284
  * Fax service.
16240
16285
  * @module purecloud-platform-client-v2/api/FaxApi
16241
- * @version 146.0.0
16286
+ * @version 147.0.0
16242
16287
  */
16243
16288
 
16244
16289
  /**
@@ -16409,7 +16454,7 @@ class FlowsApi {
16409
16454
  /**
16410
16455
  * Flows service.
16411
16456
  * @module purecloud-platform-client-v2/api/FlowsApi
16412
- * @version 146.0.0
16457
+ * @version 147.0.0
16413
16458
  */
16414
16459
 
16415
16460
  /**
@@ -16480,7 +16525,7 @@ class GamificationApi {
16480
16525
  /**
16481
16526
  * Gamification service.
16482
16527
  * @module purecloud-platform-client-v2/api/GamificationApi
16483
- * @version 146.0.0
16528
+ * @version 147.0.0
16484
16529
  */
16485
16530
 
16486
16531
  /**
@@ -18211,7 +18256,7 @@ class GeneralDataProtectionRegulationApi {
18211
18256
  /**
18212
18257
  * GeneralDataProtectionRegulation service.
18213
18258
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18214
- * @version 146.0.0
18259
+ * @version 147.0.0
18215
18260
  */
18216
18261
 
18217
18262
  /**
@@ -18341,7 +18386,7 @@ class GeolocationApi {
18341
18386
  /**
18342
18387
  * Geolocation service.
18343
18388
  * @module purecloud-platform-client-v2/api/GeolocationApi
18344
- * @version 146.0.0
18389
+ * @version 147.0.0
18345
18390
  */
18346
18391
 
18347
18392
  /**
@@ -18472,7 +18517,7 @@ class GreetingsApi {
18472
18517
  /**
18473
18518
  * Greetings service.
18474
18519
  * @module purecloud-platform-client-v2/api/GreetingsApi
18475
- * @version 146.0.0
18520
+ * @version 147.0.0
18476
18521
  */
18477
18522
 
18478
18523
  /**
@@ -18927,7 +18972,7 @@ class GroupsApi {
18927
18972
  /**
18928
18973
  * Groups service.
18929
18974
  * @module purecloud-platform-client-v2/api/GroupsApi
18930
- * @version 146.0.0
18975
+ * @version 147.0.0
18931
18976
  */
18932
18977
 
18933
18978
  /**
@@ -19332,7 +19377,7 @@ class IdentityProviderApi {
19332
19377
  /**
19333
19378
  * IdentityProvider service.
19334
19379
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19335
- * @version 146.0.0
19380
+ * @version 147.0.0
19336
19381
  */
19337
19382
 
19338
19383
  /**
@@ -20088,7 +20133,7 @@ class IntegrationsApi {
20088
20133
  /**
20089
20134
  * Integrations service.
20090
20135
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20091
- * @version 146.0.0
20136
+ * @version 147.0.0
20092
20137
  */
20093
20138
 
20094
20139
  /**
@@ -21765,7 +21810,7 @@ class JourneyApi {
21765
21810
  /**
21766
21811
  * Journey service.
21767
21812
  * @module purecloud-platform-client-v2/api/JourneyApi
21768
- * @version 146.0.0
21813
+ * @version 147.0.0
21769
21814
  */
21770
21815
 
21771
21816
  /**
@@ -22476,7 +22521,7 @@ class KnowledgeApi {
22476
22521
  /**
22477
22522
  * Knowledge service.
22478
22523
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22479
- * @version 146.0.0
22524
+ * @version 147.0.0
22480
22525
  */
22481
22526
 
22482
22527
  /**
@@ -23273,6 +23318,7 @@ class KnowledgeApi {
23273
23318
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
23274
23319
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
23275
23320
  * @param {String} opts.interval Retrieves the documents modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
23321
+ * @param {Array.<String>} opts.documentId Retrieves the specified documents, comma separated values expected.
23276
23322
  * @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
23277
23323
  * @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
23278
23324
  * @param {Boolean} opts.includeDrafts If includeDrafts is true, Documents in the draft state are also returned in the response.
@@ -23291,7 +23337,7 @@ class KnowledgeApi {
23291
23337
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents',
23292
23338
  'GET',
23293
23339
  { 'knowledgeBaseId': knowledgeBaseId },
23294
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'interval': opts['interval'],'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'includeDrafts': opts['includeDrafts'],'labelIds': this.apiClient.buildCollectionParam(opts['labelIds'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
23340
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'interval': opts['interval'],'documentId': this.apiClient.buildCollectionParam(opts['documentId'], 'multi'),'categoryId': this.apiClient.buildCollectionParam(opts['categoryId'], 'multi'),'includeSubcategories': opts['includeSubcategories'],'includeDrafts': opts['includeDrafts'],'labelIds': this.apiClient.buildCollectionParam(opts['labelIds'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
23295
23341
  { },
23296
23342
  { },
23297
23343
  null,
@@ -24908,7 +24954,7 @@ class LanguageUnderstandingApi {
24908
24954
  /**
24909
24955
  * LanguageUnderstanding service.
24910
24956
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24911
- * @version 146.0.0
24957
+ * @version 147.0.0
24912
24958
  */
24913
24959
 
24914
24960
  /**
@@ -25812,7 +25858,7 @@ class LanguagesApi {
25812
25858
  /**
25813
25859
  * Languages service.
25814
25860
  * @module purecloud-platform-client-v2/api/LanguagesApi
25815
- * @version 146.0.0
25861
+ * @version 147.0.0
25816
25862
  */
25817
25863
 
25818
25864
  /**
@@ -26080,7 +26126,7 @@ class LearningApi {
26080
26126
  /**
26081
26127
  * Learning service.
26082
26128
  * @module purecloud-platform-client-v2/api/LearningApi
26083
- * @version 146.0.0
26129
+ * @version 147.0.0
26084
26130
  */
26085
26131
 
26086
26132
  /**
@@ -26840,7 +26886,7 @@ class LicenseApi {
26840
26886
  /**
26841
26887
  * License service.
26842
26888
  * @module purecloud-platform-client-v2/api/LicenseApi
26843
- * @version 146.0.0
26889
+ * @version 147.0.0
26844
26890
  */
26845
26891
 
26846
26892
  /**
@@ -27078,7 +27124,7 @@ class LocationsApi {
27078
27124
  /**
27079
27125
  * Locations service.
27080
27126
  * @module purecloud-platform-client-v2/api/LocationsApi
27081
- * @version 146.0.0
27127
+ * @version 147.0.0
27082
27128
  */
27083
27129
 
27084
27130
  /**
@@ -27314,7 +27360,7 @@ class MessagingApi {
27314
27360
  /**
27315
27361
  * Messaging service.
27316
27362
  * @module purecloud-platform-client-v2/api/MessagingApi
27317
- * @version 146.0.0
27363
+ * @version 147.0.0
27318
27364
  */
27319
27365
 
27320
27366
  /**
@@ -27465,7 +27511,7 @@ class MobileDevicesApi {
27465
27511
  /**
27466
27512
  * MobileDevices service.
27467
27513
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27468
- * @version 146.0.0
27514
+ * @version 147.0.0
27469
27515
  */
27470
27516
 
27471
27517
  /**
@@ -27616,7 +27662,7 @@ class NotificationsApi {
27616
27662
  /**
27617
27663
  * Notifications service.
27618
27664
  * @module purecloud-platform-client-v2/api/NotificationsApi
27619
- * @version 146.0.0
27665
+ * @version 147.0.0
27620
27666
  */
27621
27667
 
27622
27668
  /**
@@ -27841,7 +27887,7 @@ class OAuthApi {
27841
27887
  /**
27842
27888
  * OAuth service.
27843
27889
  * @module purecloud-platform-client-v2/api/OAuthApi
27844
- * @version 146.0.0
27890
+ * @version 147.0.0
27845
27891
  */
27846
27892
 
27847
27893
  /**
@@ -28207,7 +28253,7 @@ class ObjectsApi {
28207
28253
  /**
28208
28254
  * Objects service.
28209
28255
  * @module purecloud-platform-client-v2/api/ObjectsApi
28210
- * @version 146.0.0
28256
+ * @version 147.0.0
28211
28257
  */
28212
28258
 
28213
28259
  /**
@@ -28478,7 +28524,7 @@ class OrganizationApi {
28478
28524
  /**
28479
28525
  * Organization service.
28480
28526
  * @module purecloud-platform-client-v2/api/OrganizationApi
28481
- * @version 146.0.0
28527
+ * @version 147.0.0
28482
28528
  */
28483
28529
 
28484
28530
  /**
@@ -28881,7 +28927,7 @@ class OrganizationAuthorizationApi {
28881
28927
  /**
28882
28928
  * OrganizationAuthorization service.
28883
28929
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28884
- * @version 146.0.0
28930
+ * @version 147.0.0
28885
28931
  */
28886
28932
 
28887
28933
  /**
@@ -29806,7 +29852,7 @@ class OutboundApi {
29806
29852
  /**
29807
29853
  * Outbound service.
29808
29854
  * @module purecloud-platform-client-v2/api/OutboundApi
29809
- * @version 146.0.0
29855
+ * @version 147.0.0
29810
29856
  */
29811
29857
 
29812
29858
  /**
@@ -30106,6 +30152,31 @@ class OutboundApi {
30106
30152
  );
30107
30153
  }
30108
30154
 
30155
+ /**
30156
+ * Delete an Outbound Digital Rule Set
30157
+ *
30158
+ * @param {String} digitalRuleSetId The Digital Rule Set ID
30159
+ */
30160
+ deleteOutboundDigitalruleset(digitalRuleSetId) {
30161
+ // verify the required parameter 'digitalRuleSetId' is set
30162
+ if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
30163
+ throw 'Missing the required parameter "digitalRuleSetId" when calling deleteOutboundDigitalruleset';
30164
+ }
30165
+
30166
+ return this.apiClient.callApi(
30167
+ '/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
30168
+ 'DELETE',
30169
+ { 'digitalRuleSetId': digitalRuleSetId },
30170
+ { },
30171
+ { },
30172
+ { },
30173
+ null,
30174
+ ['PureCloud OAuth'],
30175
+ ['application/json'],
30176
+ ['application/json']
30177
+ );
30178
+ }
30179
+
30109
30180
  /**
30110
30181
  * Delete dialer DNC list
30111
30182
  *
@@ -31143,6 +31214,60 @@ class OutboundApi {
31143
31214
  );
31144
31215
  }
31145
31216
 
31217
+ /**
31218
+ * Get an Outbound Digital Rule Set
31219
+ *
31220
+ * @param {String} digitalRuleSetId The Digital Rule Set ID
31221
+ */
31222
+ getOutboundDigitalruleset(digitalRuleSetId) {
31223
+ // verify the required parameter 'digitalRuleSetId' is set
31224
+ if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
31225
+ throw 'Missing the required parameter "digitalRuleSetId" when calling getOutboundDigitalruleset';
31226
+ }
31227
+
31228
+ return this.apiClient.callApi(
31229
+ '/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
31230
+ 'GET',
31231
+ { 'digitalRuleSetId': digitalRuleSetId },
31232
+ { },
31233
+ { },
31234
+ { },
31235
+ null,
31236
+ ['PureCloud OAuth'],
31237
+ ['application/json'],
31238
+ ['application/json']
31239
+ );
31240
+ }
31241
+
31242
+ /**
31243
+ * Query a list of Outbound Digital Rule Sets
31244
+ *
31245
+ * @param {Object} opts Optional parameters
31246
+ * @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
31247
+ * @param {Number} opts.pageNumber Page number (default to 1)
31248
+ * @param {Object} opts.sortBy The field to sort by (default to name)
31249
+ * @param {Object} opts.sortOrder The direction to sort (default to ascending)
31250
+ * @param {String} opts.name Name
31251
+ * @param {Array.<String>} opts.id A list of digital rule set ids to bulk fetch
31252
+ */
31253
+ getOutboundDigitalrulesets(opts) {
31254
+ opts = opts || {};
31255
+
31256
+
31257
+ return this.apiClient.callApi(
31258
+ '/api/v2/outbound/digitalrulesets',
31259
+ 'GET',
31260
+ { },
31261
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
31262
+ { },
31263
+ { },
31264
+ null,
31265
+ ['PureCloud OAuth'],
31266
+ ['application/json'],
31267
+ ['application/json']
31268
+ );
31269
+ }
31270
+
31146
31271
  /**
31147
31272
  * Get dialer DNC list
31148
31273
  *
@@ -32326,6 +32451,31 @@ class OutboundApi {
32326
32451
  );
32327
32452
  }
32328
32453
 
32454
+ /**
32455
+ * Create an Outbound Digital Rule Set
32456
+ *
32457
+ * @param {Object} body Digital Rule Set
32458
+ */
32459
+ postOutboundDigitalrulesets(body) {
32460
+ // verify the required parameter 'body' is set
32461
+ if (body === undefined || body === null) {
32462
+ throw 'Missing the required parameter "body" when calling postOutboundDigitalrulesets';
32463
+ }
32464
+
32465
+ return this.apiClient.callApi(
32466
+ '/api/v2/outbound/digitalrulesets',
32467
+ 'POST',
32468
+ { },
32469
+ { },
32470
+ { },
32471
+ { },
32472
+ body,
32473
+ ['PureCloud OAuth'],
32474
+ ['application/json'],
32475
+ ['application/json']
32476
+ );
32477
+ }
32478
+
32329
32479
  /**
32330
32480
  * Initiate the export of a dnc list.
32331
32481
  * Returns 200 if received OK.
@@ -32790,6 +32940,36 @@ class OutboundApi {
32790
32940
  );
32791
32941
  }
32792
32942
 
32943
+ /**
32944
+ * Update an Outbound Digital Rule Set
32945
+ *
32946
+ * @param {String} digitalRuleSetId The Digital Rule Set ID
32947
+ * @param {Object} body Digital Rule Set
32948
+ */
32949
+ putOutboundDigitalruleset(digitalRuleSetId, body) {
32950
+ // verify the required parameter 'digitalRuleSetId' is set
32951
+ if (digitalRuleSetId === undefined || digitalRuleSetId === null) {
32952
+ throw 'Missing the required parameter "digitalRuleSetId" when calling putOutboundDigitalruleset';
32953
+ }
32954
+ // verify the required parameter 'body' is set
32955
+ if (body === undefined || body === null) {
32956
+ throw 'Missing the required parameter "body" when calling putOutboundDigitalruleset';
32957
+ }
32958
+
32959
+ return this.apiClient.callApi(
32960
+ '/api/v2/outbound/digitalrulesets/{digitalRuleSetId}',
32961
+ 'PUT',
32962
+ { 'digitalRuleSetId': digitalRuleSetId },
32963
+ { },
32964
+ { },
32965
+ { },
32966
+ body,
32967
+ ['PureCloud OAuth'],
32968
+ ['application/json'],
32969
+ ['application/json']
32970
+ );
32971
+ }
32972
+
32793
32973
  /**
32794
32974
  * Update dialer DNC list
32795
32975
  *
@@ -33061,7 +33241,7 @@ class PresenceApi {
33061
33241
  /**
33062
33242
  * Presence service.
33063
33243
  * @module purecloud-platform-client-v2/api/PresenceApi
33064
- * @version 146.0.0
33244
+ * @version 147.0.0
33065
33245
  */
33066
33246
 
33067
33247
  /**
@@ -33383,7 +33563,7 @@ class QualityApi {
33383
33563
  /**
33384
33564
  * Quality service.
33385
33565
  * @module purecloud-platform-client-v2/api/QualityApi
33386
- * @version 146.0.0
33566
+ * @version 147.0.0
33387
33567
  */
33388
33568
 
33389
33569
  /**
@@ -33893,7 +34073,7 @@ class QualityApi {
33893
34073
  * @param {String} opts.sortBy variable name requested to sort by
33894
34074
  * @param {String} opts.nextPage next page token
33895
34075
  * @param {String} opts.previousPage Previous page token
33896
- * @param {String} opts.expand Expand
34076
+ * @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
33897
34077
  * @param {String} opts.name Name
33898
34078
  * @param {String} opts.sortOrder Order to sort results, either asc or desc
33899
34079
  */
@@ -33980,7 +34160,7 @@ class QualityApi {
33980
34160
  * @param {String} opts.sortBy variable name requested to sort by
33981
34161
  * @param {String} opts.nextPage next page token
33982
34162
  * @param {String} opts.previousPage Previous page token
33983
- * @param {String} opts.expand Expand
34163
+ * @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
33984
34164
  * @param {String} opts.name Name
33985
34165
  * @param {String} opts.sortOrder Order to sort results, either asc or desc
33986
34166
  */
@@ -34091,7 +34271,7 @@ class QualityApi {
34091
34271
  * @param {String} opts.sortBy variable name requested to sort by
34092
34272
  * @param {String} opts.nextPage next page token
34093
34273
  * @param {String} opts.previousPage Previous page token
34094
- * @param {String} opts.expand Expand
34274
+ * @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
34095
34275
  * @param {String} opts.name Name
34096
34276
  * @param {String} opts.sortOrder Order to sort results, either asc or desc
34097
34277
  */
@@ -34961,7 +35141,7 @@ class RecordingApi {
34961
35141
  /**
34962
35142
  * Recording service.
34963
35143
  * @module purecloud-platform-client-v2/api/RecordingApi
34964
- * @version 146.0.0
35144
+ * @version 147.0.0
34965
35145
  */
34966
35146
 
34967
35147
  /**
@@ -35835,6 +36015,36 @@ class RecordingApi {
35835
36015
  );
35836
36016
  }
35837
36017
 
36018
+ /**
36019
+ * Query for recording retention data
36020
+ *
36021
+ * @param {Number} retentionThresholdDays Fetch retention data for recordings retained for more days than the provided value.
36022
+ * @param {Object} opts Optional parameters
36023
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
36024
+ * @param {Number} opts.pageSize Page size. Maximum is 500. (default to 25)
36025
+ */
36026
+ getRecordingsRetentionQuery(retentionThresholdDays, opts) {
36027
+ opts = opts || {};
36028
+
36029
+ // verify the required parameter 'retentionThresholdDays' is set
36030
+ if (retentionThresholdDays === undefined || retentionThresholdDays === null) {
36031
+ throw 'Missing the required parameter "retentionThresholdDays" when calling getRecordingsRetentionQuery';
36032
+ }
36033
+
36034
+ return this.apiClient.callApi(
36035
+ '/api/v2/recordings/retention/query',
36036
+ 'GET',
36037
+ { },
36038
+ { 'retentionThresholdDays': retentionThresholdDays,'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
36039
+ { },
36040
+ { },
36041
+ null,
36042
+ ['PureCloud OAuth'],
36043
+ ['application/json'],
36044
+ ['application/json']
36045
+ );
36046
+ }
36047
+
35838
36048
  /**
35839
36049
  * Retrieves a paged listing of screen recording sessions
35840
36050
  *
@@ -36614,7 +36824,7 @@ class ResponseManagementApi {
36614
36824
  /**
36615
36825
  * ResponseManagement service.
36616
36826
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
36617
- * @version 146.0.0
36827
+ * @version 147.0.0
36618
36828
  */
36619
36829
 
36620
36830
  /**
@@ -37098,7 +37308,7 @@ class RoutingApi {
37098
37308
  /**
37099
37309
  * Routing service.
37100
37310
  * @module purecloud-platform-client-v2/api/RoutingApi
37101
- * @version 146.0.0
37311
+ * @version 147.0.0
37102
37312
  */
37103
37313
 
37104
37314
  /**
@@ -40039,7 +40249,7 @@ class SCIMApi {
40039
40249
  /**
40040
40250
  * SCIM service.
40041
40251
  * @module purecloud-platform-client-v2/api/SCIMApi
40042
- * @version 146.0.0
40252
+ * @version 147.0.0
40043
40253
  */
40044
40254
 
40045
40255
  /**
@@ -40916,7 +41126,7 @@ class ScriptsApi {
40916
41126
  /**
40917
41127
  * Scripts service.
40918
41128
  * @module purecloud-platform-client-v2/api/ScriptsApi
40919
- * @version 146.0.0
41129
+ * @version 147.0.0
40920
41130
  */
40921
41131
 
40922
41132
  /**
@@ -41335,7 +41545,7 @@ class SearchApi {
41335
41545
  /**
41336
41546
  * Search service.
41337
41547
  * @module purecloud-platform-client-v2/api/SearchApi
41338
- * @version 146.0.0
41548
+ * @version 147.0.0
41339
41549
  */
41340
41550
 
41341
41551
  /**
@@ -41895,7 +42105,7 @@ class SpeechTextAnalyticsApi {
41895
42105
  /**
41896
42106
  * SpeechTextAnalytics service.
41897
42107
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
41898
- * @version 146.0.0
42108
+ * @version 147.0.0
41899
42109
  */
41900
42110
 
41901
42111
  /**
@@ -42749,7 +42959,7 @@ class StationsApi {
42749
42959
  /**
42750
42960
  * Stations service.
42751
42961
  * @module purecloud-platform-client-v2/api/StationsApi
42752
- * @version 146.0.0
42962
+ * @version 147.0.0
42753
42963
  */
42754
42964
 
42755
42965
  /**
@@ -42896,7 +43106,7 @@ class SuggestApi {
42896
43106
  /**
42897
43107
  * Suggest service.
42898
43108
  * @module purecloud-platform-client-v2/api/SuggestApi
42899
- * @version 146.0.0
43109
+ * @version 147.0.0
42900
43110
  */
42901
43111
 
42902
43112
  /**
@@ -43035,7 +43245,7 @@ class TeamsApi {
43035
43245
  /**
43036
43246
  * Teams service.
43037
43247
  * @module purecloud-platform-client-v2/api/TeamsApi
43038
- * @version 146.0.0
43248
+ * @version 147.0.0
43039
43249
  */
43040
43250
 
43041
43251
  /**
@@ -43214,7 +43424,7 @@ class TelephonyApi {
43214
43424
  /**
43215
43425
  * Telephony service.
43216
43426
  * @module purecloud-platform-client-v2/api/TelephonyApi
43217
- * @version 146.0.0
43427
+ * @version 147.0.0
43218
43428
  */
43219
43429
 
43220
43430
  /**
@@ -43322,7 +43532,7 @@ class TelephonyProvidersEdgeApi {
43322
43532
  /**
43323
43533
  * TelephonyProvidersEdge service.
43324
43534
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
43325
- * @version 146.0.0
43535
+ * @version 147.0.0
43326
43536
  */
43327
43537
 
43328
43538
  /**
@@ -46955,7 +47165,7 @@ class TextbotsApi {
46955
47165
  /**
46956
47166
  * Textbots service.
46957
47167
  * @module purecloud-platform-client-v2/api/TextbotsApi
46958
- * @version 146.0.0
47168
+ * @version 147.0.0
46959
47169
  */
46960
47170
 
46961
47171
  /**
@@ -47083,7 +47293,7 @@ class TokensApi {
47083
47293
  /**
47084
47294
  * Tokens service.
47085
47295
  * @module purecloud-platform-client-v2/api/TokensApi
47086
- * @version 146.0.0
47296
+ * @version 147.0.0
47087
47297
  */
47088
47298
 
47089
47299
  /**
@@ -47189,7 +47399,7 @@ class UploadsApi {
47189
47399
  /**
47190
47400
  * Uploads service.
47191
47401
  * @module purecloud-platform-client-v2/api/UploadsApi
47192
- * @version 146.0.0
47402
+ * @version 147.0.0
47193
47403
  */
47194
47404
 
47195
47405
  /**
@@ -47365,7 +47575,7 @@ class UsageApi {
47365
47575
  /**
47366
47576
  * Usage service.
47367
47577
  * @module purecloud-platform-client-v2/api/UsageApi
47368
- * @version 146.0.0
47578
+ * @version 147.0.0
47369
47579
  */
47370
47580
 
47371
47581
  /**
@@ -47436,7 +47646,7 @@ class UserRecordingsApi {
47436
47646
  /**
47437
47647
  * UserRecordings service.
47438
47648
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
47439
- * @version 146.0.0
47649
+ * @version 147.0.0
47440
47650
  */
47441
47651
 
47442
47652
  /**
@@ -47620,7 +47830,7 @@ class UsersApi {
47620
47830
  /**
47621
47831
  * Users service.
47622
47832
  * @module purecloud-platform-client-v2/api/UsersApi
47623
- * @version 146.0.0
47833
+ * @version 147.0.0
47624
47834
  */
47625
47835
 
47626
47836
  /**
@@ -49362,6 +49572,36 @@ class UsersApi {
49362
49572
  );
49363
49573
  }
49364
49574
 
49575
+ /**
49576
+ * Create mapping between external identifier and user. Limit 100 per entity.
49577
+ * Authority Name and External key are case sensitive.
49578
+ * @param {String} userId User ID
49579
+ * @param {Object} body
49580
+ */
49581
+ postUserExternalid(userId, body) {
49582
+ // verify the required parameter 'userId' is set
49583
+ if (userId === undefined || userId === null) {
49584
+ throw 'Missing the required parameter "userId" when calling postUserExternalid';
49585
+ }
49586
+ // verify the required parameter 'body' is set
49587
+ if (body === undefined || body === null) {
49588
+ throw 'Missing the required parameter "body" when calling postUserExternalid';
49589
+ }
49590
+
49591
+ return this.apiClient.callApi(
49592
+ '/api/v2/users/{userId}/externalid',
49593
+ 'POST',
49594
+ { 'userId': userId },
49595
+ { },
49596
+ { },
49597
+ { },
49598
+ body,
49599
+ ['PureCloud OAuth'],
49600
+ ['application/json'],
49601
+ ['application/json']
49602
+ );
49603
+ }
49604
+
49365
49605
  /**
49366
49606
  * Send an activation email to the user
49367
49607
  *
@@ -49922,7 +50162,7 @@ class UtilitiesApi {
49922
50162
  /**
49923
50163
  * Utilities service.
49924
50164
  * @module purecloud-platform-client-v2/api/UtilitiesApi
49925
- * @version 146.0.0
50165
+ * @version 147.0.0
49926
50166
  */
49927
50167
 
49928
50168
  /**
@@ -50033,7 +50273,7 @@ class VoicemailApi {
50033
50273
  /**
50034
50274
  * Voicemail service.
50035
50275
  * @module purecloud-platform-client-v2/api/VoicemailApi
50036
- * @version 146.0.0
50276
+ * @version 147.0.0
50037
50277
  */
50038
50278
 
50039
50279
  /**
@@ -50700,7 +50940,7 @@ class WebChatApi {
50700
50940
  /**
50701
50941
  * WebChat service.
50702
50942
  * @module purecloud-platform-client-v2/api/WebChatApi
50703
- * @version 146.0.0
50943
+ * @version 147.0.0
50704
50944
  */
50705
50945
 
50706
50946
  /**
@@ -51244,7 +51484,7 @@ class WebDeploymentsApi {
51244
51484
  /**
51245
51485
  * WebDeployments service.
51246
51486
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
51247
- * @version 146.0.0
51487
+ * @version 147.0.0
51248
51488
  */
51249
51489
 
51250
51490
  /**
@@ -51438,6 +51678,35 @@ class WebDeploymentsApi {
51438
51678
  );
51439
51679
  }
51440
51680
 
51681
+ /**
51682
+ * Get active configuration for a given deployment
51683
+ *
51684
+ * @param {String} deploymentId The deployment ID
51685
+ * @param {Object} opts Optional parameters
51686
+ * @param {String} opts.type Get active configuration on a deployment
51687
+ */
51688
+ getWebdeploymentsDeploymentConfigurations(deploymentId, opts) {
51689
+ opts = opts || {};
51690
+
51691
+ // verify the required parameter 'deploymentId' is set
51692
+ if (deploymentId === undefined || deploymentId === null) {
51693
+ throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';
51694
+ }
51695
+
51696
+ return this.apiClient.callApi(
51697
+ '/api/v2/webdeployments/deployments/{deploymentId}/configurations',
51698
+ 'GET',
51699
+ { 'deploymentId': deploymentId },
51700
+ { 'type': opts['type'] },
51701
+ { },
51702
+ { },
51703
+ null,
51704
+ ['PureCloud OAuth'],
51705
+ ['application/json'],
51706
+ ['application/json']
51707
+ );
51708
+ }
51709
+
51441
51710
  /**
51442
51711
  * Get deployments
51443
51712
  *
@@ -51599,7 +51868,7 @@ class WebMessagingApi {
51599
51868
  /**
51600
51869
  * WebMessaging service.
51601
51870
  * @module purecloud-platform-client-v2/api/WebMessagingApi
51602
- * @version 146.0.0
51871
+ * @version 147.0.0
51603
51872
  */
51604
51873
 
51605
51874
  /**
@@ -51645,7 +51914,7 @@ class WidgetsApi {
51645
51914
  /**
51646
51915
  * Widgets service.
51647
51916
  * @module purecloud-platform-client-v2/api/WidgetsApi
51648
- * @version 146.0.0
51917
+ * @version 147.0.0
51649
51918
  */
51650
51919
 
51651
51920
  /**
@@ -51791,7 +52060,7 @@ class WorkforceManagementApi {
51791
52060
  /**
51792
52061
  * WorkforceManagement service.
51793
52062
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
51794
- * @version 146.0.0
52063
+ * @version 147.0.0
51795
52064
  */
51796
52065
 
51797
52066
  /**
@@ -56067,7 +56336,7 @@ class WorkforceManagementApi {
56067
56336
  * </pre>
56068
56337
  * </p>
56069
56338
  * @module purecloud-platform-client-v2/index
56070
- * @version 146.0.0
56339
+ * @version 147.0.0
56071
56340
  */
56072
56341
  class platformClient {
56073
56342
  constructor() {