purecloud-platform-client-v2 180.0.0 → 182.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 (83) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +475 -160
  3. package/dist/web-amd/purecloud-platform-client-v2.js +475 -160
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +7323 -59790
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +26569 -65181
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +420 -234
  9. package/package.json +8 -5
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -74
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +59 -3
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +73 -2
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +71 -0
  50. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/PresenceApi.js +9 -4
  54. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  56. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +86 -1
  70. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsersApi.js +92 -2
  76. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +17 -7
  83. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -0,0 +1,71 @@
1
+ import ApiClient from '../ApiClient.js';
2
+
3
+
4
+ class OperationalEventsApi {
5
+ /**
6
+ * OperationalEvents service.
7
+ * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
+ * @version 182.0.0
9
+ */
10
+
11
+ /**
12
+ * Constructs a new OperationalEventsApi.
13
+ * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
14
+ * @class
15
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
16
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
17
+ */
18
+ constructor(apiClient) {
19
+ this.apiClient = apiClient || ApiClient.instance;
20
+ }
21
+
22
+
23
+ /**
24
+ * Get an operational event definition by its id
25
+ *
26
+ * @param {String} eventDefinitionId EventDefinition id
27
+ */
28
+ getUsageEventsDefinition(eventDefinitionId) {
29
+ // verify the required parameter 'eventDefinitionId' is set
30
+ if (eventDefinitionId === undefined || eventDefinitionId === null) {
31
+ throw 'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';
32
+ }
33
+
34
+ return this.apiClient.callApi(
35
+ '/api/v2/usage/events/definitions/{eventDefinitionId}',
36
+ 'GET',
37
+ { 'eventDefinitionId': eventDefinitionId },
38
+ { },
39
+ { },
40
+ { },
41
+ null,
42
+ ['PureCloud OAuth'],
43
+ ['application/json'],
44
+ ['application/json']
45
+ );
46
+ }
47
+
48
+ /**
49
+ * Get all operational event definitions
50
+ *
51
+ */
52
+ getUsageEventsDefinitions() {
53
+
54
+ return this.apiClient.callApi(
55
+ '/api/v2/usage/events/definitions',
56
+ 'GET',
57
+ { },
58
+ { },
59
+ { },
60
+ { },
61
+ null,
62
+ ['PureCloud OAuth'],
63
+ ['application/json'],
64
+ ['application/json']
65
+ );
66
+ }
67
+
68
+ }
69
+
70
+
71
+ export default OperationalEventsApi;
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -100,9 +100,13 @@ class PresenceApi {
100
100
  * Get a Presence Definition
101
101
  *
102
102
  * @param {String} definitionId Presence Definition ID
103
+ * @param {Object} opts Optional parameters
104
+ * @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
103
105
  * getPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
104
106
  */
105
- getPresenceDefinition0(definitionId) {
107
+ getPresenceDefinition0(definitionId, opts) {
108
+ opts = opts || {};
109
+
106
110
  // verify the required parameter 'definitionId' is set
107
111
  if (definitionId === undefined || definitionId === null) {
108
112
  throw 'Missing the required parameter "definitionId" when calling getPresenceDefinition0';
@@ -112,7 +116,7 @@ class PresenceApi {
112
116
  '/api/v2/presence/definitions/{definitionId}',
113
117
  'GET',
114
118
  { 'definitionId': definitionId },
115
- { },
119
+ { 'localeCode': opts['localeCode'] },
116
120
  { },
117
121
  { },
118
122
  null,
@@ -128,6 +132,7 @@ class PresenceApi {
128
132
  * @param {Object} opts Optional parameters
129
133
  * @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
130
134
  * @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
135
+ * @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
131
136
  * getPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
132
137
  */
133
138
  getPresenceDefinitions0(opts) {
@@ -138,7 +143,7 @@ class PresenceApi {
138
143
  '/api/v2/presence/definitions',
139
144
  'GET',
140
145
  { },
141
- { 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
146
+ { 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'localeCode': opts['localeCode'] },
142
147
  { },
143
148
  { },
144
149
  null,
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -714,7 +714,7 @@ class QualityApi {
714
714
 
715
715
  /**
716
716
  * Get the list of evaluation forms
717
- *
717
+ * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
718
718
  * @param {Object} opts Optional parameters
719
719
  * @param {Number} opts.pageSize The total page size requested (default to 25)
720
720
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1929,6 +1929,31 @@ class TelephonyProvidersEdgeApi {
1929
1929
  );
1930
1930
  }
1931
1931
 
1932
+ /**
1933
+ * Get site connections for a site.
1934
+ *
1935
+ * @param {String} siteId Site ID
1936
+ */
1937
+ getTelephonyProvidersEdgesSiteSiteconnections(siteId) {
1938
+ // verify the required parameter 'siteId' is set
1939
+ if (siteId === undefined || siteId === null) {
1940
+ throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteSiteconnections';
1941
+ }
1942
+
1943
+ return this.apiClient.callApi(
1944
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
1945
+ 'GET',
1946
+ { 'siteId': siteId },
1947
+ { },
1948
+ { },
1949
+ { },
1950
+ null,
1951
+ ['PureCloud OAuth'],
1952
+ ['application/json'],
1953
+ ['application/json']
1954
+ );
1955
+ }
1956
+
1932
1957
  /**
1933
1958
  * Get the list of Sites.
1934
1959
  *
@@ -2225,6 +2250,36 @@ class TelephonyProvidersEdgeApi {
2225
2250
  );
2226
2251
  }
2227
2252
 
2253
+ /**
2254
+ * Disable site connections for a site.
2255
+ *
2256
+ * @param {String} siteId Site ID
2257
+ * @param {Object} body Site
2258
+ */
2259
+ patchTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
2260
+ // verify the required parameter 'siteId' is set
2261
+ if (siteId === undefined || siteId === null) {
2262
+ throw 'Missing the required parameter "siteId" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
2263
+ }
2264
+ // verify the required parameter 'body' is set
2265
+ if (body === undefined || body === null) {
2266
+ throw 'Missing the required parameter "body" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
2267
+ }
2268
+
2269
+ return this.apiClient.callApi(
2270
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
2271
+ 'PATCH',
2272
+ { 'siteId': siteId },
2273
+ { },
2274
+ { },
2275
+ { },
2276
+ body,
2277
+ ['PureCloud OAuth'],
2278
+ ['application/json'],
2279
+ ['application/json']
2280
+ );
2281
+ }
2282
+
2228
2283
  /**
2229
2284
  * Nslookup request command to collect networking-related information from an Edge for a target IP or host.
2230
2285
  *
@@ -3258,6 +3313,36 @@ class TelephonyProvidersEdgeApi {
3258
3313
  );
3259
3314
  }
3260
3315
 
3316
+ /**
3317
+ * Update site connections for a site.
3318
+ *
3319
+ * @param {String} siteId Site ID
3320
+ * @param {Object} body Site
3321
+ */
3322
+ putTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
3323
+ // verify the required parameter 'siteId' is set
3324
+ if (siteId === undefined || siteId === null) {
3325
+ throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteSiteconnections';
3326
+ }
3327
+ // verify the required parameter 'body' is set
3328
+ if (body === undefined || body === null) {
3329
+ throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteSiteconnections';
3330
+ }
3331
+
3332
+ return this.apiClient.callApi(
3333
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
3334
+ 'PUT',
3335
+ { 'siteId': siteId },
3336
+ { },
3337
+ { },
3338
+ { },
3339
+ body,
3340
+ ['PureCloud OAuth'],
3341
+ ['application/json'],
3342
+ ['application/json']
3343
+ );
3344
+ }
3345
+
3261
3346
  /**
3262
3347
  * Update a Trunk Base Settings object by ID
3263
3348
  *
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -240,6 +240,36 @@ class UsersApi {
240
240
  );
241
241
  }
242
242
 
243
+ /**
244
+ * Delete a verifier
245
+ *
246
+ * @param {String} userId User ID
247
+ * @param {String} verifierId Verifier ID
248
+ */
249
+ deleteUserVerifier(userId, verifierId) {
250
+ // verify the required parameter 'userId' is set
251
+ if (userId === undefined || userId === null) {
252
+ throw 'Missing the required parameter "userId" when calling deleteUserVerifier';
253
+ }
254
+ // verify the required parameter 'verifierId' is set
255
+ if (verifierId === undefined || verifierId === null) {
256
+ throw 'Missing the required parameter "verifierId" when calling deleteUserVerifier';
257
+ }
258
+
259
+ return this.apiClient.callApi(
260
+ '/api/v2/users/{userId}/verifiers/{verifierId}',
261
+ 'DELETE',
262
+ { 'userId': userId,'verifierId': verifierId },
263
+ { },
264
+ { },
265
+ { },
266
+ null,
267
+ ['PureCloud OAuth'],
268
+ ['application/json'],
269
+ ['application/json']
270
+ );
271
+ }
272
+
243
273
  /**
244
274
  * Get status for async query for user aggregates
245
275
  *
@@ -1136,6 +1166,31 @@ class UsersApi {
1136
1166
  );
1137
1167
  }
1138
1168
 
1169
+ /**
1170
+ * Get a list of verifiers
1171
+ *
1172
+ * @param {String} userId User ID
1173
+ */
1174
+ getUserVerifiers(userId) {
1175
+ // verify the required parameter 'userId' is set
1176
+ if (userId === undefined || userId === null) {
1177
+ throw 'Missing the required parameter "userId" when calling getUserVerifiers';
1178
+ }
1179
+
1180
+ return this.apiClient.callApi(
1181
+ '/api/v2/users/{userId}/verifiers',
1182
+ 'GET',
1183
+ { 'userId': userId },
1184
+ { },
1185
+ { },
1186
+ { },
1187
+ null,
1188
+ ['PureCloud OAuth'],
1189
+ ['application/json'],
1190
+ ['application/json']
1191
+ );
1192
+ }
1193
+
1139
1194
  /**
1140
1195
  * Get the list of available users.
1141
1196
  *
@@ -1581,7 +1636,7 @@ class UsersApi {
1581
1636
  }
1582
1637
 
1583
1638
  /**
1584
- * Update bulk acd autoanswer on users
1639
+ * Update bulk acd autoanswer on users. Max 50 users can be updated at a time.
1585
1640
  *
1586
1641
  * @param {Array.<Object>} body Users
1587
1642
  */
@@ -2560,6 +2615,41 @@ class UsersApi {
2560
2615
  );
2561
2616
  }
2562
2617
 
2618
+ /**
2619
+ * Update a verifier
2620
+ *
2621
+ * @param {String} userId User ID
2622
+ * @param {String} verifierId Verifier ID
2623
+ * @param {Object} body Verifier Update
2624
+ */
2625
+ putUserVerifier(userId, verifierId, body) {
2626
+ // verify the required parameter 'userId' is set
2627
+ if (userId === undefined || userId === null) {
2628
+ throw 'Missing the required parameter "userId" when calling putUserVerifier';
2629
+ }
2630
+ // verify the required parameter 'verifierId' is set
2631
+ if (verifierId === undefined || verifierId === null) {
2632
+ throw 'Missing the required parameter "verifierId" when calling putUserVerifier';
2633
+ }
2634
+ // verify the required parameter 'body' is set
2635
+ if (body === undefined || body === null) {
2636
+ throw 'Missing the required parameter "body" when calling putUserVerifier';
2637
+ }
2638
+
2639
+ return this.apiClient.callApi(
2640
+ '/api/v2/users/{userId}/verifiers/{verifierId}',
2641
+ 'PUT',
2642
+ { 'userId': userId,'verifierId': verifierId },
2643
+ { },
2644
+ { },
2645
+ { },
2646
+ body,
2647
+ ['PureCloud OAuth'],
2648
+ ['application/json'],
2649
+ ['application/json']
2650
+ );
2651
+ }
2652
+
2563
2653
  }
2564
2654
 
2565
2655
 
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 180.0.0
8
+ * @version 182.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 180.0.0
8
+ * @version 182.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 180.0.0
8
+ * @version 182.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 180.0.0
8
+ * @version 182.0.0
9
9
  */
10
10
 
11
11
  /**