purecloud-platform-client-v2 199.0.0 → 201.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 (87) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1565 -120
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1565 -120
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +476 -127
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +592 -159
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +862 -244
  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/AgentUIApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -2
  16. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +21 -1
  39. package/src/purecloud-platform-client-v2/api/JourneyApi.js +10 -3
  40. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LearningApi.js +4 -4
  44. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +68 -1
  54. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
  60. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RoutingApi.js +146 -1
  62. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +36 -31
  71. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsersApi.js +149 -4
  80. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1080 -26
  87. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 199.0.0
8
+ * @version 201.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -80,6 +80,51 @@ class UsersApi {
80
80
  );
81
81
  }
82
82
 
83
+ /**
84
+ * Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
85
+ *
86
+ */
87
+ deleteRoutingDirectroutingbackupSettingsMe() {
88
+
89
+ return this.apiClient.callApi(
90
+ '/api/v2/routing/directroutingbackup/settings/me',
91
+ 'DELETE',
92
+ { },
93
+ { },
94
+ { },
95
+ { },
96
+ null,
97
+ ['PureCloud OAuth'],
98
+ ['application/json'],
99
+ ['application/json']
100
+ );
101
+ }
102
+
103
+ /**
104
+ * Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
105
+ *
106
+ * @param {String} userId User ID
107
+ */
108
+ deleteRoutingUserDirectroutingbackupSettings(userId) {
109
+ // verify the required parameter 'userId' is set
110
+ if (userId === undefined || userId === null) {
111
+ throw 'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';
112
+ }
113
+
114
+ return this.apiClient.callApi(
115
+ '/api/v2/routing/users/{userId}/directroutingbackup/settings',
116
+ 'DELETE',
117
+ { 'userId': userId },
118
+ { },
119
+ { },
120
+ { },
121
+ null,
122
+ ['PureCloud OAuth'],
123
+ ['application/json'],
124
+ ['application/json']
125
+ );
126
+ }
127
+
83
128
  /**
84
129
  * Delete the user's max utilization settings and revert to the organization-wide default.
85
130
  *
@@ -607,6 +652,51 @@ class UsersApi {
607
652
  );
608
653
  }
609
654
 
655
+ /**
656
+ * Get the user's Direct Routing Backup settings.
657
+ *
658
+ */
659
+ getRoutingDirectroutingbackupSettingsMe() {
660
+
661
+ return this.apiClient.callApi(
662
+ '/api/v2/routing/directroutingbackup/settings/me',
663
+ 'GET',
664
+ { },
665
+ { },
666
+ { },
667
+ { },
668
+ null,
669
+ ['PureCloud OAuth'],
670
+ ['application/json'],
671
+ ['application/json']
672
+ );
673
+ }
674
+
675
+ /**
676
+ * Get the user's Direct Routing Backup settings.
677
+ *
678
+ * @param {String} userId User ID
679
+ */
680
+ getRoutingUserDirectroutingbackupSettings(userId) {
681
+ // verify the required parameter 'userId' is set
682
+ if (userId === undefined || userId === null) {
683
+ throw 'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';
684
+ }
685
+
686
+ return this.apiClient.callApi(
687
+ '/api/v2/routing/users/{userId}/directroutingbackup/settings',
688
+ 'GET',
689
+ { 'userId': userId },
690
+ { },
691
+ { },
692
+ { },
693
+ null,
694
+ ['PureCloud OAuth'],
695
+ ['application/json'],
696
+ ['application/json']
697
+ );
698
+ }
699
+
610
700
  /**
611
701
  * Get the user's max utilization settings. If not configured, the organization-wide default is returned.
612
702
  *
@@ -1243,7 +1333,7 @@ class UsersApi {
1243
1333
  * @param {Number} opts.pageSize Page size (default to 25)
1244
1334
  * @param {Number} opts.pageNumber Page number (default to 1)
1245
1335
  * @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
1246
- * @param {Array.<String>} opts.types Specifies the activity types.
1336
+ * @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
1247
1337
  * @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
1248
1338
  * @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
1249
1339
  */
@@ -1277,7 +1367,7 @@ class UsersApi {
1277
1367
  * @param {Number} opts.pageSize Page size (default to 25)
1278
1368
  * @param {Number} opts.pageNumber Page number (default to 1)
1279
1369
  * @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
1280
- * @param {Array.<String>} opts.types Specifies the activity types.
1370
+ * @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
1281
1371
  * @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
1282
1372
  * @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
1283
1373
  */
@@ -1303,7 +1393,7 @@ class UsersApi {
1303
1393
  * Get a Development Activity
1304
1394
  * 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.
1305
1395
  * @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
1306
- * @param {Object} type Specifies the activity type.
1396
+ * @param {Object} type Specifies the activity type. Informational, AssessedContent and Assessment are deprecated
1307
1397
  */
1308
1398
  getUsersDevelopmentActivity(activityId, type) {
1309
1399
  // verify the required parameter 'activityId' is set
@@ -2287,6 +2377,61 @@ class UsersApi {
2287
2377
  );
2288
2378
  }
2289
2379
 
2380
+ /**
2381
+ * Update the user's Direct Routing Backup settings.
2382
+ *
2383
+ * @param {Object} body directRoutingBackup
2384
+ */
2385
+ putRoutingDirectroutingbackupSettingsMe(body) {
2386
+ // verify the required parameter 'body' is set
2387
+ if (body === undefined || body === null) {
2388
+ throw 'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';
2389
+ }
2390
+
2391
+ return this.apiClient.callApi(
2392
+ '/api/v2/routing/directroutingbackup/settings/me',
2393
+ 'PUT',
2394
+ { },
2395
+ { },
2396
+ { },
2397
+ { },
2398
+ body,
2399
+ ['PureCloud OAuth'],
2400
+ ['application/json'],
2401
+ ['application/json']
2402
+ );
2403
+ }
2404
+
2405
+ /**
2406
+ * Update the user's Direct Routing Backup settings.
2407
+ *
2408
+ * @param {String} userId User ID
2409
+ * @param {Object} body directRoutingBackup
2410
+ */
2411
+ putRoutingUserDirectroutingbackupSettings(userId, body) {
2412
+ // verify the required parameter 'userId' is set
2413
+ if (userId === undefined || userId === null) {
2414
+ throw 'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';
2415
+ }
2416
+ // verify the required parameter 'body' is set
2417
+ if (body === undefined || body === null) {
2418
+ throw 'Missing the required parameter "body" when calling putRoutingUserDirectroutingbackupSettings';
2419
+ }
2420
+
2421
+ return this.apiClient.callApi(
2422
+ '/api/v2/routing/users/{userId}/directroutingbackup/settings',
2423
+ 'PUT',
2424
+ { 'userId': userId },
2425
+ { },
2426
+ { },
2427
+ { },
2428
+ body,
2429
+ ['PureCloud OAuth'],
2430
+ ['application/json'],
2431
+ ['application/json']
2432
+ );
2433
+ }
2434
+
2290
2435
  /**
2291
2436
  * Update the user's max utilization settings. Include only those media types requiring custom configuration.
2292
2437
  *
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 199.0.0
8
+ * @version 201.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 199.0.0
8
+ * @version 201.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 199.0.0
8
+ * @version 201.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 199.0.0
8
+ * @version 201.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 199.0.0
8
+ * @version 201.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 199.0.0
8
+ * @version 201.0.0
9
9
  */
10
10
 
11
11
  /**