purecloud-platform-client-v2 96.0.0 → 99.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 (67) hide show
  1. package/README.md +3 -2
  2. package/dist/node/purecloud-platform-client-v2.js +263 -68
  3. package/dist/web-amd/purecloud-platform-client-v2.js +263 -68
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +263 -68
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +265 -71
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +541 -386
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  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 +4 -2
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +8 -5
  32. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/QualityApi.js +3 -2
  45. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
  48. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/UsersApi.js +2 -2
  62. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +190 -2
  67. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -128,9 +128,7 @@ function fromByteArray (uint8) {
128
128
 
129
129
  // go through the array every three bytes, we'll deal with trailing stuff later
130
130
  for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
131
- parts.push(encodeChunk(
132
- uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)
133
- ))
131
+ parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
134
132
  }
135
133
 
136
134
  // pad the end with zeros, but make sure to not forget the extra bytes
@@ -1936,6 +1934,7 @@ function numberIsNaN (obj) {
1936
1934
 
1937
1935
  }).call(this)}).call(this,require("buffer").Buffer)
1938
1936
  },{"base64-js":2,"buffer":3,"ieee754":4}],4:[function(require,module,exports){
1937
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
1939
1938
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
1940
1939
  var e, m
1941
1940
  var eLen = (nBytes * 8) - mLen - 1
@@ -6053,7 +6052,7 @@ function isSlowBuffer (obj) {
6053
6052
 
6054
6053
  /**
6055
6054
  * @module purecloud-platform-client-v2/ApiClient
6056
- * @version 96.0.0
6055
+ * @version 99.0.0
6057
6056
  */
6058
6057
  class ApiClient {
6059
6058
  /**
@@ -6809,7 +6808,7 @@ class ApiClient {
6809
6808
 
6810
6809
  // set header parameters
6811
6810
  request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
6812
- //request.set({ 'purecloud-sdk': '96.0.0' });
6811
+ //request.set({ 'purecloud-sdk': '99.0.0' });
6813
6812
 
6814
6813
  // set request timeout
6815
6814
  request.timeout(this.timeout);
@@ -6934,7 +6933,7 @@ class AlertingApi {
6934
6933
  /**
6935
6934
  * Alerting service.
6936
6935
  * @module purecloud-platform-client-v2/api/AlertingApi
6937
- * @version 96.0.0
6936
+ * @version 99.0.0
6938
6937
  */
6939
6938
 
6940
6939
  /**
@@ -7248,7 +7247,7 @@ class AnalyticsApi {
7248
7247
  /**
7249
7248
  * Analytics service.
7250
7249
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7251
- * @version 96.0.0
7250
+ * @version 99.0.0
7252
7251
  */
7253
7252
 
7254
7253
  /**
@@ -8328,7 +8327,7 @@ class ArchitectApi {
8328
8327
  /**
8329
8328
  * Architect service.
8330
8329
  * @module purecloud-platform-client-v2/api/ArchitectApi
8331
- * @version 96.0.0
8330
+ * @version 99.0.0
8332
8331
  */
8333
8332
 
8334
8333
  /**
@@ -11166,7 +11165,7 @@ class AuditApi {
11166
11165
  /**
11167
11166
  * Audit service.
11168
11167
  * @module purecloud-platform-client-v2/api/AuditApi
11169
- * @version 96.0.0
11168
+ * @version 99.0.0
11170
11169
  */
11171
11170
 
11172
11171
  /**
@@ -11337,7 +11336,7 @@ class AuthorizationApi {
11337
11336
  /**
11338
11337
  * Authorization service.
11339
11338
  * @module purecloud-platform-client-v2/api/AuthorizationApi
11340
- * @version 96.0.0
11339
+ * @version 99.0.0
11341
11340
  */
11342
11341
 
11343
11342
  /**
@@ -11672,6 +11671,8 @@ class AuthorizationApi {
11672
11671
  * @param {Object} opts Optional parameters
11673
11672
  * @param {Number} opts.pageSize Page size (default to 25)
11674
11673
  * @param {Number} opts.pageNumber Page number (default to 1)
11674
+ * @param {Object} opts.queryType Query filter type
11675
+ * @param {String} opts.query Comma-separated list of permissions or domains to query
11675
11676
  */
11676
11677
  getAuthorizationPermissions(opts) {
11677
11678
  opts = opts || {};
@@ -11681,7 +11682,7 @@ class AuthorizationApi {
11681
11682
  '/api/v2/authorization/permissions',
11682
11683
  'GET',
11683
11684
  { },
11684
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
11685
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'queryType': opts['queryType'],'query': opts['query'] },
11685
11686
  { },
11686
11687
  { },
11687
11688
  null,
@@ -12454,7 +12455,7 @@ class BillingApi {
12454
12455
  /**
12455
12456
  * Billing service.
12456
12457
  * @module purecloud-platform-client-v2/api/BillingApi
12457
- * @version 96.0.0
12458
+ * @version 99.0.0
12458
12459
  */
12459
12460
 
12460
12461
  /**
@@ -12534,7 +12535,7 @@ class CoachingApi {
12534
12535
  /**
12535
12536
  * Coaching service.
12536
12537
  * @module purecloud-platform-client-v2/api/CoachingApi
12537
- * @version 96.0.0
12538
+ * @version 99.0.0
12538
12539
  */
12539
12540
 
12540
12541
  /**
@@ -13054,7 +13055,7 @@ class ContentManagementApi {
13054
13055
  /**
13055
13056
  * ContentManagement service.
13056
13057
  * @module purecloud-platform-client-v2/api/ContentManagementApi
13057
- * @version 96.0.0
13058
+ * @version 99.0.0
13058
13059
  */
13059
13060
 
13060
13061
  /**
@@ -14194,7 +14195,7 @@ class ConversationsApi {
14194
14195
  /**
14195
14196
  * Conversations service.
14196
14197
  * @module purecloud-platform-client-v2/api/ConversationsApi
14197
- * @version 96.0.0
14198
+ * @version 99.0.0
14198
14199
  */
14199
14200
 
14200
14201
  /**
@@ -18252,7 +18253,7 @@ class DataExtensionsApi {
18252
18253
  /**
18253
18254
  * DataExtensions service.
18254
18255
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
18255
- * @version 96.0.0
18256
+ * @version 99.0.0
18256
18257
  */
18257
18258
 
18258
18259
  /**
@@ -18338,7 +18339,7 @@ class ExternalContactsApi {
18338
18339
  /**
18339
18340
  * ExternalContacts service.
18340
18341
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
18341
- * @version 96.0.0
18342
+ * @version 99.0.0
18342
18343
  */
18343
18344
 
18344
18345
  /**
@@ -19681,7 +19682,7 @@ class FaxApi {
19681
19682
  /**
19682
19683
  * Fax service.
19683
19684
  * @module purecloud-platform-client-v2/api/FaxApi
19684
- * @version 96.0.0
19685
+ * @version 99.0.0
19685
19686
  */
19686
19687
 
19687
19688
  /**
@@ -19852,7 +19853,7 @@ class FlowsApi {
19852
19853
  /**
19853
19854
  * Flows service.
19854
19855
  * @module purecloud-platform-client-v2/api/FlowsApi
19855
- * @version 96.0.0
19856
+ * @version 99.0.0
19856
19857
  */
19857
19858
 
19858
19859
  /**
@@ -19923,7 +19924,7 @@ class GeneralDataProtectionRegulationApi {
19923
19924
  /**
19924
19925
  * GeneralDataProtectionRegulation service.
19925
19926
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19926
- * @version 96.0.0
19927
+ * @version 99.0.0
19927
19928
  */
19928
19929
 
19929
19930
  /**
@@ -20053,7 +20054,7 @@ class GeolocationApi {
20053
20054
  /**
20054
20055
  * Geolocation service.
20055
20056
  * @module purecloud-platform-client-v2/api/GeolocationApi
20056
- * @version 96.0.0
20057
+ * @version 99.0.0
20057
20058
  */
20058
20059
 
20059
20060
  /**
@@ -20184,7 +20185,7 @@ class GreetingsApi {
20184
20185
  /**
20185
20186
  * Greetings service.
20186
20187
  * @module purecloud-platform-client-v2/api/GreetingsApi
20187
- * @version 96.0.0
20188
+ * @version 99.0.0
20188
20189
  */
20189
20190
 
20190
20191
  /**
@@ -20639,7 +20640,7 @@ class GroupsApi {
20639
20640
  /**
20640
20641
  * Groups service.
20641
20642
  * @module purecloud-platform-client-v2/api/GroupsApi
20642
- * @version 96.0.0
20643
+ * @version 99.0.0
20643
20644
  */
20644
20645
 
20645
20646
  /**
@@ -21044,7 +21045,7 @@ class IdentityProviderApi {
21044
21045
  /**
21045
21046
  * IdentityProvider service.
21046
21047
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21047
- * @version 96.0.0
21048
+ * @version 99.0.0
21048
21049
  */
21049
21050
 
21050
21051
  /**
@@ -21800,7 +21801,7 @@ class IntegrationsApi {
21800
21801
  /**
21801
21802
  * Integrations service.
21802
21803
  * @module purecloud-platform-client-v2/api/IntegrationsApi
21803
- * @version 96.0.0
21804
+ * @version 99.0.0
21804
21805
  */
21805
21806
 
21806
21807
  /**
@@ -23292,7 +23293,7 @@ class JourneyApi {
23292
23293
  /**
23293
23294
  * Journey service.
23294
23295
  * @module purecloud-platform-client-v2/api/JourneyApi
23295
- * @version 96.0.0
23296
+ * @version 99.0.0
23296
23297
  */
23297
23298
 
23298
23299
  /**
@@ -23417,7 +23418,7 @@ class KnowledgeApi {
23417
23418
  /**
23418
23419
  * Knowledge service.
23419
23420
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23420
- * @version 96.0.0
23421
+ * @version 99.0.0
23421
23422
  */
23422
23423
 
23423
23424
  /**
@@ -23562,6 +23563,7 @@ class KnowledgeApi {
23562
23563
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
23563
23564
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
23564
23565
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
23566
+ * @param {String} opts.name Filter to return the categories that starts with the given category name.
23565
23567
  */
23566
23568
  getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
23567
23569
  opts = opts || {};
@@ -23579,7 +23581,7 @@ class KnowledgeApi {
23579
23581
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
23580
23582
  'GET',
23581
23583
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
23582
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
23584
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
23583
23585
  { },
23584
23586
  { },
23585
23587
  null,
@@ -23670,6 +23672,7 @@ class KnowledgeApi {
23670
23672
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
23671
23673
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
23672
23674
  * @param {String} opts.categories Filter by categories ids, comma separated values expected.
23675
+ * @param {String} opts.title Filter by document title.
23673
23676
  */
23674
23677
  getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
23675
23678
  opts = opts || {};
@@ -23687,7 +23690,7 @@ class KnowledgeApi {
23687
23690
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
23688
23691
  'GET',
23689
23692
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
23690
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'] },
23693
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'] },
23691
23694
  { },
23692
23695
  { },
23693
23696
  null,
@@ -23733,7 +23736,7 @@ class KnowledgeApi {
23733
23736
  }
23734
23737
 
23735
23738
  /**
23736
- * Get All trainings information for a knowledgebase
23739
+ * Get all trainings information for a knowledgebase
23737
23740
  *
23738
23741
  * @param {String} knowledgeBaseId Knowledge base ID
23739
23742
  * @param {Object} languageCode Language code, format: iso2-LOCALE
@@ -23742,6 +23745,7 @@ class KnowledgeApi {
23742
23745
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
23743
23746
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
23744
23747
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
23748
+ * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
23745
23749
  */
23746
23750
  getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
23747
23751
  opts = opts || {};
@@ -23759,7 +23763,7 @@ class KnowledgeApi {
23759
23763
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
23760
23764
  'GET',
23761
23765
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
23762
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
23766
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
23763
23767
  { },
23764
23768
  { },
23765
23769
  null,
@@ -24137,7 +24141,7 @@ class LanguageUnderstandingApi {
24137
24141
  /**
24138
24142
  * LanguageUnderstanding service.
24139
24143
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24140
- * @version 96.0.0
24144
+ * @version 99.0.0
24141
24145
  */
24142
24146
 
24143
24147
  /**
@@ -24703,7 +24707,7 @@ class LanguagesApi {
24703
24707
  /**
24704
24708
  * Languages service.
24705
24709
  * @module purecloud-platform-client-v2/api/LanguagesApi
24706
- * @version 96.0.0
24710
+ * @version 99.0.0
24707
24711
  */
24708
24712
 
24709
24713
  /**
@@ -24971,7 +24975,7 @@ class LicenseApi {
24971
24975
  /**
24972
24976
  * License service.
24973
24977
  * @module purecloud-platform-client-v2/api/LicenseApi
24974
- * @version 96.0.0
24978
+ * @version 99.0.0
24975
24979
  */
24976
24980
 
24977
24981
  /**
@@ -25209,7 +25213,7 @@ class LocationsApi {
25209
25213
  /**
25210
25214
  * Locations service.
25211
25215
  * @module purecloud-platform-client-v2/api/LocationsApi
25212
- * @version 96.0.0
25216
+ * @version 99.0.0
25213
25217
  */
25214
25218
 
25215
25219
  /**
@@ -25445,7 +25449,7 @@ class MobileDevicesApi {
25445
25449
  /**
25446
25450
  * MobileDevices service.
25447
25451
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
25448
- * @version 96.0.0
25452
+ * @version 99.0.0
25449
25453
  */
25450
25454
 
25451
25455
  /**
@@ -25596,7 +25600,7 @@ class NotificationsApi {
25596
25600
  /**
25597
25601
  * Notifications service.
25598
25602
  * @module purecloud-platform-client-v2/api/NotificationsApi
25599
- * @version 96.0.0
25603
+ * @version 99.0.0
25600
25604
  */
25601
25605
 
25602
25606
  /**
@@ -25795,7 +25799,7 @@ class OAuthApi {
25795
25799
  /**
25796
25800
  * OAuth service.
25797
25801
  * @module purecloud-platform-client-v2/api/OAuthApi
25798
- * @version 96.0.0
25802
+ * @version 99.0.0
25799
25803
  */
25800
25804
 
25801
25805
  /**
@@ -26153,7 +26157,7 @@ class ObjectsApi {
26153
26157
  /**
26154
26158
  * Objects service.
26155
26159
  * @module purecloud-platform-client-v2/api/ObjectsApi
26156
- * @version 96.0.0
26160
+ * @version 99.0.0
26157
26161
  */
26158
26162
 
26159
26163
  /**
@@ -26394,7 +26398,7 @@ class OrganizationApi {
26394
26398
  /**
26395
26399
  * Organization service.
26396
26400
  * @module purecloud-platform-client-v2/api/OrganizationApi
26397
- * @version 96.0.0
26401
+ * @version 99.0.0
26398
26402
  */
26399
26403
 
26400
26404
  /**
@@ -26649,7 +26653,7 @@ class OrganizationAuthorizationApi {
26649
26653
  /**
26650
26654
  * OrganizationAuthorization service.
26651
26655
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26652
- * @version 96.0.0
26656
+ * @version 99.0.0
26653
26657
  */
26654
26658
 
26655
26659
  /**
@@ -27359,7 +27363,7 @@ class OutboundApi {
27359
27363
  /**
27360
27364
  * Outbound service.
27361
27365
  * @module purecloud-platform-client-v2/api/OutboundApi
27362
- * @version 96.0.0
27366
+ * @version 99.0.0
27363
27367
  */
27364
27368
 
27365
27369
  /**
@@ -30333,7 +30337,7 @@ class PresenceApi {
30333
30337
  /**
30334
30338
  * Presence service.
30335
30339
  * @module purecloud-platform-client-v2/api/PresenceApi
30336
- * @version 96.0.0
30340
+ * @version 99.0.0
30337
30341
  */
30338
30342
 
30339
30343
  /**
@@ -30680,7 +30684,7 @@ class QualityApi {
30680
30684
  /**
30681
30685
  * Quality service.
30682
30686
  * @module purecloud-platform-client-v2/api/QualityApi
30683
- * @version 96.0.0
30687
+ * @version 99.0.0
30684
30688
  */
30685
30689
 
30686
30690
  /**
@@ -31274,6 +31278,7 @@ class QualityApi {
31274
31278
  * @param {Object} opts Optional parameters
31275
31279
  * @param {Number} opts.pageSize Page size (default to 25)
31276
31280
  * @param {Number} opts.pageNumber Page number (default to 1)
31281
+ * @param {String} opts.sortOrder Sort order (default to asc)
31277
31282
  */
31278
31283
  getQualityFormsEvaluationVersions(formId, opts) {
31279
31284
  opts = opts || {};
@@ -31287,7 +31292,7 @@ class QualityApi {
31287
31292
  '/api/v2/quality/forms/evaluations/{formId}/versions',
31288
31293
  'GET',
31289
31294
  { 'formId': formId },
31290
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
31295
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
31291
31296
  { },
31292
31297
  { },
31293
31298
  null,
@@ -32377,7 +32382,7 @@ class RecordingApi {
32377
32382
  /**
32378
32383
  * Recording service.
32379
32384
  * @module purecloud-platform-client-v2/api/RecordingApi
32380
- * @version 96.0.0
32385
+ * @version 99.0.0
32381
32386
  */
32382
32387
 
32383
32388
  /**
@@ -33623,7 +33628,7 @@ class ResponseManagementApi {
33623
33628
  /**
33624
33629
  * ResponseManagement service.
33625
33630
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33626
- * @version 96.0.0
33631
+ * @version 99.0.0
33627
33632
  */
33628
33633
 
33629
33634
  /**
@@ -33948,7 +33953,7 @@ class RoutingApi {
33948
33953
  /**
33949
33954
  * Routing service.
33950
33955
  * @module purecloud-platform-client-v2/api/RoutingApi
33951
- * @version 96.0.0
33956
+ * @version 99.0.0
33952
33957
  */
33953
33958
 
33954
33959
  /**
@@ -35134,6 +35139,7 @@ class RoutingApi {
35134
35139
  * @param {Number} opts.pageSize Page size (default to 25)
35135
35140
  * @param {Number} opts.pageNumber Page number (default to 1)
35136
35141
  * @param {Object} opts.sortBy Sort by (default to name)
35142
+ * @param {Object} opts.sortOrder Sort order (default to ascending)
35137
35143
  * @param {String} opts.name Name
35138
35144
  */
35139
35145
  getRoutingWrapupcodes(opts) {
@@ -35144,7 +35150,7 @@ class RoutingApi {
35144
35150
  '/api/v2/routing/wrapupcodes',
35145
35151
  'GET',
35146
35152
  { },
35147
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'name': opts['name'] },
35153
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
35148
35154
  { },
35149
35155
  { },
35150
35156
  null,
@@ -36246,7 +36252,7 @@ class SCIMApi {
36246
36252
  /**
36247
36253
  * SCIM service.
36248
36254
  * @module purecloud-platform-client-v2/api/SCIMApi
36249
- * @version 96.0.0
36255
+ * @version 99.0.0
36250
36256
  */
36251
36257
 
36252
36258
  /**
@@ -37231,7 +37237,7 @@ class ScriptsApi {
37231
37237
  /**
37232
37238
  * Scripts service.
37233
37239
  * @module purecloud-platform-client-v2/api/ScriptsApi
37234
- * @version 96.0.0
37240
+ * @version 99.0.0
37235
37241
  */
37236
37242
 
37237
37243
  /**
@@ -37584,7 +37590,7 @@ class SearchApi {
37584
37590
  /**
37585
37591
  * Search service.
37586
37592
  * @module purecloud-platform-client-v2/api/SearchApi
37587
- * @version 96.0.0
37593
+ * @version 99.0.0
37588
37594
  */
37589
37595
 
37590
37596
  /**
@@ -38094,7 +38100,7 @@ class SpeechTextAnalyticsApi {
38094
38100
  /**
38095
38101
  * SpeechTextAnalytics service.
38096
38102
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38097
- * @version 96.0.0
38103
+ * @version 99.0.0
38098
38104
  */
38099
38105
 
38100
38106
  /**
@@ -38170,7 +38176,7 @@ class StationsApi {
38170
38176
  /**
38171
38177
  * Stations service.
38172
38178
  * @module purecloud-platform-client-v2/api/StationsApi
38173
- * @version 96.0.0
38179
+ * @version 99.0.0
38174
38180
  */
38175
38181
 
38176
38182
  /**
@@ -38317,7 +38323,7 @@ class SuggestApi {
38317
38323
  /**
38318
38324
  * Suggest service.
38319
38325
  * @module purecloud-platform-client-v2/api/SuggestApi
38320
- * @version 96.0.0
38326
+ * @version 99.0.0
38321
38327
  */
38322
38328
 
38323
38329
  /**
@@ -38456,7 +38462,7 @@ class TelephonyApi {
38456
38462
  /**
38457
38463
  * Telephony service.
38458
38464
  * @module purecloud-platform-client-v2/api/TelephonyApi
38459
- * @version 96.0.0
38465
+ * @version 99.0.0
38460
38466
  */
38461
38467
 
38462
38468
  /**
@@ -38564,7 +38570,7 @@ class TelephonyProvidersEdgeApi {
38564
38570
  /**
38565
38571
  * TelephonyProvidersEdge service.
38566
38572
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
38567
- * @version 96.0.0
38573
+ * @version 99.0.0
38568
38574
  */
38569
38575
 
38570
38576
  /**
@@ -42141,7 +42147,7 @@ class TextbotsApi {
42141
42147
  /**
42142
42148
  * Textbots service.
42143
42149
  * @module purecloud-platform-client-v2/api/TextbotsApi
42144
- * @version 96.0.0
42150
+ * @version 99.0.0
42145
42151
  */
42146
42152
 
42147
42153
  /**
@@ -42187,7 +42193,7 @@ class TokensApi {
42187
42193
  /**
42188
42194
  * Tokens service.
42189
42195
  * @module purecloud-platform-client-v2/api/TokensApi
42190
- * @version 96.0.0
42196
+ * @version 99.0.0
42191
42197
  */
42192
42198
 
42193
42199
  /**
@@ -42273,7 +42279,7 @@ class UploadsApi {
42273
42279
  /**
42274
42280
  * Uploads service.
42275
42281
  * @module purecloud-platform-client-v2/api/UploadsApi
42276
- * @version 96.0.0
42282
+ * @version 99.0.0
42277
42283
  */
42278
42284
 
42279
42285
  /**
@@ -42319,7 +42325,7 @@ class UsageApi {
42319
42325
  /**
42320
42326
  * Usage service.
42321
42327
  * @module purecloud-platform-client-v2/api/UsageApi
42322
- * @version 96.0.0
42328
+ * @version 99.0.0
42323
42329
  */
42324
42330
 
42325
42331
  /**
@@ -42390,7 +42396,7 @@ class UserRecordingsApi {
42390
42396
  /**
42391
42397
  * UserRecordings service.
42392
42398
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
42393
- * @version 96.0.0
42399
+ * @version 99.0.0
42394
42400
  */
42395
42401
 
42396
42402
  /**
@@ -42574,7 +42580,7 @@ class UsersApi {
42574
42580
  /**
42575
42581
  * Users service.
42576
42582
  * @module purecloud-platform-client-v2/api/UsersApi
42577
- * @version 96.0.0
42583
+ * @version 99.0.0
42578
42584
  */
42579
42585
 
42580
42586
  /**
@@ -43687,7 +43693,7 @@ class UsersApi {
43687
43693
 
43688
43694
  /**
43689
43695
  * Get a Development Activity
43690
- *
43696
+ * Permission not required if you are the attendee, creator or facilitator of the coaching appointment or you are the assigned user of the learning assignment.
43691
43697
  * @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
43692
43698
  * @param {Object} type Specifies the activity type.
43693
43699
  */
@@ -44787,7 +44793,7 @@ class UtilitiesApi {
44787
44793
  /**
44788
44794
  * Utilities service.
44789
44795
  * @module purecloud-platform-client-v2/api/UtilitiesApi
44790
- * @version 96.0.0
44796
+ * @version 99.0.0
44791
44797
  */
44792
44798
 
44793
44799
  /**
@@ -44898,7 +44904,7 @@ class VoicemailApi {
44898
44904
  /**
44899
44905
  * Voicemail service.
44900
44906
  * @module purecloud-platform-client-v2/api/VoicemailApi
44901
- * @version 96.0.0
44907
+ * @version 99.0.0
44902
44908
  */
44903
44909
 
44904
44910
  /**
@@ -45535,7 +45541,7 @@ class WebChatApi {
45535
45541
  /**
45536
45542
  * WebChat service.
45537
45543
  * @module purecloud-platform-client-v2/api/WebChatApi
45538
- * @version 96.0.0
45544
+ * @version 99.0.0
45539
45545
  */
45540
45546
 
45541
45547
  /**
@@ -46079,7 +46085,7 @@ class WidgetsApi {
46079
46085
  /**
46080
46086
  * Widgets service.
46081
46087
  * @module purecloud-platform-client-v2/api/WidgetsApi
46082
- * @version 96.0.0
46088
+ * @version 99.0.0
46083
46089
  */
46084
46090
 
46085
46091
  /**
@@ -46225,7 +46231,7 @@ class WorkforceManagementApi {
46225
46231
  /**
46226
46232
  * WorkforceManagement service.
46227
46233
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
46228
- * @version 96.0.0
46234
+ * @version 99.0.0
46229
46235
  */
46230
46236
 
46231
46237
  /**
@@ -46510,6 +46516,36 @@ class WorkforceManagementApi {
46510
46516
  );
46511
46517
  }
46512
46518
 
46519
+ /**
46520
+ * Delete a work plan rotation
46521
+ *
46522
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
46523
+ * @param {String} workPlanRotationId The ID of the work plan rotation to be deleted
46524
+ */
46525
+ deleteWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
46526
+ // verify the required parameter 'managementUnitId' is set
46527
+ if (managementUnitId === undefined || managementUnitId === null) {
46528
+ throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
46529
+ }
46530
+ // verify the required parameter 'workPlanRotationId' is set
46531
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
46532
+ throw 'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
46533
+ }
46534
+
46535
+ return this.apiClient.callApi(
46536
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
46537
+ 'DELETE',
46538
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
46539
+ { },
46540
+ { },
46541
+ { },
46542
+ null,
46543
+ ['PureCloud OAuth'],
46544
+ ['application/json'],
46545
+ ['application/json']
46546
+ );
46547
+ }
46548
+
46513
46549
  /**
46514
46550
  * Get a list of UserScheduleAdherence records for the requested users
46515
46551
  *
@@ -47716,6 +47752,65 @@ class WorkforceManagementApi {
47716
47752
  );
47717
47753
  }
47718
47754
 
47755
+ /**
47756
+ * Get a work plan rotation
47757
+ *
47758
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
47759
+ * @param {String} workPlanRotationId The ID of the work plan rotation to fetch
47760
+ */
47761
+ getWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
47762
+ // verify the required parameter 'managementUnitId' is set
47763
+ if (managementUnitId === undefined || managementUnitId === null) {
47764
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
47765
+ }
47766
+ // verify the required parameter 'workPlanRotationId' is set
47767
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
47768
+ throw 'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
47769
+ }
47770
+
47771
+ return this.apiClient.callApi(
47772
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
47773
+ 'GET',
47774
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
47775
+ { },
47776
+ { },
47777
+ { },
47778
+ null,
47779
+ ['PureCloud OAuth'],
47780
+ ['application/json'],
47781
+ ['application/json']
47782
+ );
47783
+ }
47784
+
47785
+ /**
47786
+ * Get work plan rotations
47787
+ *
47788
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
47789
+ * @param {Object} opts Optional parameters
47790
+ * @param {Array.<String>} opts.expand
47791
+ */
47792
+ getWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
47793
+ opts = opts || {};
47794
+
47795
+ // verify the required parameter 'managementUnitId' is set
47796
+ if (managementUnitId === undefined || managementUnitId === null) {
47797
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';
47798
+ }
47799
+
47800
+ return this.apiClient.callApi(
47801
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
47802
+ 'GET',
47803
+ { 'managementUnitId': managementUnitId },
47804
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
47805
+ { },
47806
+ { },
47807
+ null,
47808
+ ['PureCloud OAuth'],
47809
+ ['application/json'],
47810
+ ['application/json']
47811
+ );
47812
+ }
47813
+
47719
47814
  /**
47720
47815
  * Get work plans
47721
47816
  *
@@ -48191,6 +48286,7 @@ class WorkforceManagementApi {
48191
48286
  * @param {String} workPlanId The ID of the work plan to update
48192
48287
  * @param {Object} opts Optional parameters
48193
48288
  * @param {Object} opts.body body
48289
+ * @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
48194
48290
  */
48195
48291
  patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
48196
48292
  opts = opts || {};
@@ -48208,6 +48304,40 @@ class WorkforceManagementApi {
48208
48304
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
48209
48305
  'PATCH',
48210
48306
  { 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
48307
+ { 'validationMode': opts['validationMode'] },
48308
+ { },
48309
+ { },
48310
+ opts['body'],
48311
+ ['PureCloud OAuth'],
48312
+ ['application/json'],
48313
+ ['application/json']
48314
+ );
48315
+ }
48316
+
48317
+ /**
48318
+ * Update a work plan rotation
48319
+ *
48320
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
48321
+ * @param {String} workPlanRotationId The ID of the work plan rotation to update
48322
+ * @param {Object} opts Optional parameters
48323
+ * @param {Object} opts.body body
48324
+ */
48325
+ patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, opts) {
48326
+ opts = opts || {};
48327
+
48328
+ // verify the required parameter 'managementUnitId' is set
48329
+ if (managementUnitId === undefined || managementUnitId === null) {
48330
+ throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
48331
+ }
48332
+ // verify the required parameter 'workPlanRotationId' is set
48333
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
48334
+ throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
48335
+ }
48336
+
48337
+ return this.apiClient.callApi(
48338
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
48339
+ 'PATCH',
48340
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
48211
48341
  { },
48212
48342
  { },
48213
48343
  { },
@@ -49139,12 +49269,76 @@ class WorkforceManagementApi {
49139
49269
  );
49140
49270
  }
49141
49271
 
49272
+ /**
49273
+ * Create a copy of work plan rotation
49274
+ *
49275
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
49276
+ * @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
49277
+ * @param {Object} opts Optional parameters
49278
+ * @param {Object} opts.body body
49279
+ */
49280
+ postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, opts) {
49281
+ opts = opts || {};
49282
+
49283
+ // verify the required parameter 'managementUnitId' is set
49284
+ if (managementUnitId === undefined || managementUnitId === null) {
49285
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
49286
+ }
49287
+ // verify the required parameter 'workPlanRotationId' is set
49288
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
49289
+ throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
49290
+ }
49291
+
49292
+ return this.apiClient.callApi(
49293
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
49294
+ 'POST',
49295
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
49296
+ { },
49297
+ { },
49298
+ { },
49299
+ opts['body'],
49300
+ ['PureCloud OAuth'],
49301
+ ['application/json'],
49302
+ ['application/json']
49303
+ );
49304
+ }
49305
+
49306
+ /**
49307
+ * Create a new work plan rotation
49308
+ *
49309
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
49310
+ * @param {Object} opts Optional parameters
49311
+ * @param {Object} opts.body body
49312
+ */
49313
+ postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
49314
+ opts = opts || {};
49315
+
49316
+ // verify the required parameter 'managementUnitId' is set
49317
+ if (managementUnitId === undefined || managementUnitId === null) {
49318
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
49319
+ }
49320
+
49321
+ return this.apiClient.callApi(
49322
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
49323
+ 'POST',
49324
+ { 'managementUnitId': managementUnitId },
49325
+ { },
49326
+ { },
49327
+ { },
49328
+ opts['body'],
49329
+ ['PureCloud OAuth'],
49330
+ ['application/json'],
49331
+ ['application/json']
49332
+ );
49333
+ }
49334
+
49142
49335
  /**
49143
49336
  * Create a new work plan
49144
49337
  *
49145
49338
  * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
49146
49339
  * @param {Object} opts Optional parameters
49147
49340
  * @param {Object} opts.body body
49341
+ * @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
49148
49342
  */
49149
49343
  postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
49150
49344
  opts = opts || {};
@@ -49158,7 +49352,7 @@ class WorkforceManagementApi {
49158
49352
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
49159
49353
  'POST',
49160
49354
  { 'managementUnitId': managementUnitId },
49161
- { },
49355
+ { 'validationMode': opts['validationMode'] },
49162
49356
  { },
49163
49357
  { },
49164
49358
  opts['body'],
@@ -49295,7 +49489,7 @@ class WorkforceManagementApi {
49295
49489
  * </pre>
49296
49490
  * </p>
49297
49491
  * @module purecloud-platform-client-v2/index
49298
- * @version 96.0.0
49492
+ * @version 99.0.0
49299
49493
  */
49300
49494
  class platformClient {
49301
49495
  constructor() {