purecloud-platform-client-v2 213.1.0 → 215.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.
- package/README.md +31 -3
- package/dist/node/purecloud-platform-client-v2.js +446 -118
- package/dist/web-amd/purecloud-platform-client-v2.js +446 -118
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +213 -149
- package/dist/web-cjs/purecloud-platform-client-v2.js +223 -156
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +369 -229
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/AbstractHttpClient.js +29 -0
- package/src/purecloud-platform-client-v2/ApiClient.js +21 -1
- package/src/purecloud-platform-client-v2/DefaultHttpClient.js +41 -0
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +45 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -6
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -31
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +107 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -2
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +125 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -49,6 +49,35 @@ class AbstractHttpClient {
|
|
|
49
49
|
request(httpRequestOptions) {
|
|
50
50
|
throw new Error("method must be implemented");
|
|
51
51
|
}
|
|
52
|
+
|
|
53
|
+
enableHooks() {
|
|
54
|
+
throw new Error("method must be implemented");
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Set a PreHook function that modifies the request config before execution.
|
|
59
|
+
* @param {(config: object) => object | Promise<object> | void} hookFunction
|
|
60
|
+
*/
|
|
61
|
+
setPreHook(hookFunction) {
|
|
62
|
+
if (typeof hookFunction !== "function" || hookFunction.length !== 1) {
|
|
63
|
+
throw new Error("preHook must be a function that accepts (config)");
|
|
64
|
+
}
|
|
65
|
+
this.preHook = hookFunction;
|
|
66
|
+
this.enableHooks();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Set a PostHook function that processes the response or error after execution.
|
|
71
|
+
* @param {(response: object | null, error: Error | null) => object | Promise<object> | void} hookFunction
|
|
72
|
+
*/
|
|
73
|
+
setPostHook(hookFunction) {
|
|
74
|
+
if (typeof hookFunction !== "function" || hookFunction.length !== 1) {
|
|
75
|
+
throw new Error("postHook must be a function that accepts (response)");
|
|
76
|
+
}
|
|
77
|
+
this.postHook = hookFunction;
|
|
78
|
+
this.enableHooks();
|
|
79
|
+
}
|
|
80
|
+
|
|
52
81
|
}
|
|
53
82
|
|
|
54
83
|
class HttpRequestOptions {
|
|
@@ -127,6 +156,47 @@ class DefaultHttpClient extends AbstractHttpClient{
|
|
|
127
156
|
this._axiosInstance = axios__default["default"].create({});
|
|
128
157
|
}
|
|
129
158
|
|
|
159
|
+
|
|
160
|
+
enableHooks() {
|
|
161
|
+
if (this.preHook && typeof this.preHook === 'function') {
|
|
162
|
+
|
|
163
|
+
if (this.requestInterceptorId !== undefined) {
|
|
164
|
+
axios__default["default"].interceptors.request.eject(this.requestInterceptorId);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
this.requestInterceptorId = this._axiosInstance.interceptors.request.use(
|
|
168
|
+
async (config) => {
|
|
169
|
+
config = await this.preHook(config); // Call the custom pre-hook
|
|
170
|
+
return config
|
|
171
|
+
},
|
|
172
|
+
(error) => {
|
|
173
|
+
// Handle errors before the request is sent
|
|
174
|
+
console.error('Request Pre-Hook Error:', error.message);
|
|
175
|
+
return Promise.reject(error);
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (this.postHook && typeof this.postHook === 'function') {
|
|
181
|
+
// Response interceptor (for post-hooks)
|
|
182
|
+
if (this.responseInterceptorId !== undefined) {
|
|
183
|
+
axios__default["default"].interceptors.response.eject(this.responseInterceptorId);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
this.responseInterceptorId = this._axiosInstance.interceptors.response.use(
|
|
187
|
+
async (response) => {
|
|
188
|
+
response = await this.postHook(response); // Call the custom post-hook
|
|
189
|
+
return response
|
|
190
|
+
},
|
|
191
|
+
async (error) => {
|
|
192
|
+
console.error('Post-Hook: Response Error', error.message);
|
|
193
|
+
// Optionally call post-hook in case of errors
|
|
194
|
+
return Promise.reject(error);
|
|
195
|
+
}
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
130
200
|
request(httpRequestOptions) {
|
|
131
201
|
if(!(httpRequestOptions instanceof HttpRequestOptions)) {
|
|
132
202
|
throw new Error(`httpRequestOptions must be instance of HttpRequestOptions `);
|
|
@@ -620,7 +690,7 @@ class Configuration {
|
|
|
620
690
|
|
|
621
691
|
/**
|
|
622
692
|
* @module purecloud-platform-client-v2/ApiClient
|
|
623
|
-
* @version
|
|
693
|
+
* @version 215.0.0
|
|
624
694
|
*/
|
|
625
695
|
class ApiClient {
|
|
626
696
|
/**
|
|
@@ -875,6 +945,24 @@ class ApiClient {
|
|
|
875
945
|
}
|
|
876
946
|
}
|
|
877
947
|
|
|
948
|
+
/**
|
|
949
|
+
* @description Sets preHook functions for the httpClient
|
|
950
|
+
* @param {string} preHook - method definition for prehook
|
|
951
|
+
*/
|
|
952
|
+
setPreHook(preHook) {
|
|
953
|
+
const httpClient = this.getHttpClient();
|
|
954
|
+
httpClient.setPreHook(preHook);
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* @description Sets postHook functions for the httpClient
|
|
959
|
+
* @param {string} postHook - method definition for posthook
|
|
960
|
+
*/
|
|
961
|
+
setPostHook(postHook) {
|
|
962
|
+
const httpClient = this.getHttpClient();
|
|
963
|
+
httpClient.setPostHook(postHook);
|
|
964
|
+
}
|
|
965
|
+
|
|
878
966
|
/**
|
|
879
967
|
* @description Sets the certificate content if MTLS authentication is needed
|
|
880
968
|
* @param {string} certContent - content for certs
|
|
@@ -906,6 +994,8 @@ class ApiClient {
|
|
|
906
994
|
}
|
|
907
995
|
}
|
|
908
996
|
|
|
997
|
+
|
|
998
|
+
|
|
909
999
|
/**
|
|
910
1000
|
* @description Sets the gateway used by the session
|
|
911
1001
|
* @param {object} gateway - Gateway Configuration interface
|
|
@@ -2144,7 +2234,7 @@ class AgentAssistantsApi {
|
|
|
2144
2234
|
/**
|
|
2145
2235
|
* AgentAssistants service.
|
|
2146
2236
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2147
|
-
* @version
|
|
2237
|
+
* @version 215.0.0
|
|
2148
2238
|
*/
|
|
2149
2239
|
|
|
2150
2240
|
/**
|
|
@@ -2520,7 +2610,7 @@ class AgentCopilotApi {
|
|
|
2520
2610
|
/**
|
|
2521
2611
|
* AgentCopilot service.
|
|
2522
2612
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2523
|
-
* @version
|
|
2613
|
+
* @version 215.0.0
|
|
2524
2614
|
*/
|
|
2525
2615
|
|
|
2526
2616
|
/**
|
|
@@ -2596,7 +2686,7 @@ class AgentUIApi {
|
|
|
2596
2686
|
/**
|
|
2597
2687
|
* AgentUI service.
|
|
2598
2688
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
2599
|
-
* @version
|
|
2689
|
+
* @version 215.0.0
|
|
2600
2690
|
*/
|
|
2601
2691
|
|
|
2602
2692
|
/**
|
|
@@ -2727,7 +2817,7 @@ class AlertingApi {
|
|
|
2727
2817
|
/**
|
|
2728
2818
|
* Alerting service.
|
|
2729
2819
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
2730
|
-
* @version
|
|
2820
|
+
* @version 215.0.0
|
|
2731
2821
|
*/
|
|
2732
2822
|
|
|
2733
2823
|
/**
|
|
@@ -2767,6 +2857,26 @@ class AlertingApi {
|
|
|
2767
2857
|
);
|
|
2768
2858
|
}
|
|
2769
2859
|
|
|
2860
|
+
/**
|
|
2861
|
+
* Delete all alerts for the user
|
|
2862
|
+
*
|
|
2863
|
+
*/
|
|
2864
|
+
deleteAlertingAlertsAll() {
|
|
2865
|
+
|
|
2866
|
+
return this.apiClient.callApi(
|
|
2867
|
+
'/api/v2/alerting/alerts/all',
|
|
2868
|
+
'DELETE',
|
|
2869
|
+
{ },
|
|
2870
|
+
{ },
|
|
2871
|
+
{ },
|
|
2872
|
+
{ },
|
|
2873
|
+
null,
|
|
2874
|
+
['PureCloud OAuth'],
|
|
2875
|
+
['application/json'],
|
|
2876
|
+
['application/json']
|
|
2877
|
+
);
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2770
2880
|
/**
|
|
2771
2881
|
* Delete an interaction stats alert
|
|
2772
2882
|
* Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
|
|
@@ -3075,6 +3185,30 @@ class AlertingApi {
|
|
|
3075
3185
|
);
|
|
3076
3186
|
}
|
|
3077
3187
|
|
|
3188
|
+
/**
|
|
3189
|
+
* Updates all alerts
|
|
3190
|
+
*
|
|
3191
|
+
* @param {Object} opts Optional parameters
|
|
3192
|
+
* @param {Object} opts.body
|
|
3193
|
+
*/
|
|
3194
|
+
patchAlertingAlertsAll(opts) {
|
|
3195
|
+
opts = opts || {};
|
|
3196
|
+
|
|
3197
|
+
|
|
3198
|
+
return this.apiClient.callApi(
|
|
3199
|
+
'/api/v2/alerting/alerts/all',
|
|
3200
|
+
'PATCH',
|
|
3201
|
+
{ },
|
|
3202
|
+
{ },
|
|
3203
|
+
{ },
|
|
3204
|
+
{ },
|
|
3205
|
+
opts['body'],
|
|
3206
|
+
['PureCloud OAuth'],
|
|
3207
|
+
['application/json'],
|
|
3208
|
+
['application/json']
|
|
3209
|
+
);
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3078
3212
|
/**
|
|
3079
3213
|
* Bulk alert updates
|
|
3080
3214
|
*
|
|
@@ -3388,7 +3522,7 @@ class AnalyticsApi {
|
|
|
3388
3522
|
/**
|
|
3389
3523
|
* Analytics service.
|
|
3390
3524
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3391
|
-
* @version
|
|
3525
|
+
* @version 215.0.0
|
|
3392
3526
|
*/
|
|
3393
3527
|
|
|
3394
3528
|
/**
|
|
@@ -6213,7 +6347,7 @@ class ArchitectApi {
|
|
|
6213
6347
|
/**
|
|
6214
6348
|
* Architect service.
|
|
6215
6349
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
6216
|
-
* @version
|
|
6350
|
+
* @version 215.0.0
|
|
6217
6351
|
*/
|
|
6218
6352
|
|
|
6219
6353
|
/**
|
|
@@ -10335,7 +10469,7 @@ class AuditApi {
|
|
|
10335
10469
|
/**
|
|
10336
10470
|
* Audit service.
|
|
10337
10471
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
10338
|
-
* @version
|
|
10472
|
+
* @version 215.0.0
|
|
10339
10473
|
*/
|
|
10340
10474
|
|
|
10341
10475
|
/**
|
|
@@ -10536,7 +10670,7 @@ class AuthorizationApi {
|
|
|
10536
10670
|
/**
|
|
10537
10671
|
* Authorization service.
|
|
10538
10672
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
10539
|
-
* @version
|
|
10673
|
+
* @version 215.0.0
|
|
10540
10674
|
*/
|
|
10541
10675
|
|
|
10542
10676
|
/**
|
|
@@ -11819,7 +11953,7 @@ class BillingApi {
|
|
|
11819
11953
|
/**
|
|
11820
11954
|
* Billing service.
|
|
11821
11955
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
11822
|
-
* @version
|
|
11956
|
+
* @version 215.0.0
|
|
11823
11957
|
*/
|
|
11824
11958
|
|
|
11825
11959
|
/**
|
|
@@ -11899,7 +12033,7 @@ class CarrierServicesApi {
|
|
|
11899
12033
|
/**
|
|
11900
12034
|
* CarrierServices service.
|
|
11901
12035
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
11902
|
-
* @version
|
|
12036
|
+
* @version 215.0.0
|
|
11903
12037
|
*/
|
|
11904
12038
|
|
|
11905
12039
|
/**
|
|
@@ -11969,7 +12103,7 @@ class ChatApi {
|
|
|
11969
12103
|
/**
|
|
11970
12104
|
* Chat service.
|
|
11971
12105
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
11972
|
-
* @version
|
|
12106
|
+
* @version 215.0.0
|
|
11973
12107
|
*/
|
|
11974
12108
|
|
|
11975
12109
|
/**
|
|
@@ -12905,7 +13039,7 @@ class CoachingApi {
|
|
|
12905
13039
|
/**
|
|
12906
13040
|
* Coaching service.
|
|
12907
13041
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
12908
|
-
* @version
|
|
13042
|
+
* @version 215.0.0
|
|
12909
13043
|
*/
|
|
12910
13044
|
|
|
12911
13045
|
/**
|
|
@@ -13482,7 +13616,7 @@ class ContentManagementApi {
|
|
|
13482
13616
|
/**
|
|
13483
13617
|
* ContentManagement service.
|
|
13484
13618
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
13485
|
-
* @version
|
|
13619
|
+
* @version 215.0.0
|
|
13486
13620
|
*/
|
|
13487
13621
|
|
|
13488
13622
|
/**
|
|
@@ -14563,7 +14697,7 @@ class ConversationsApi {
|
|
|
14563
14697
|
/**
|
|
14564
14698
|
* Conversations service.
|
|
14565
14699
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
14566
|
-
* @version
|
|
14700
|
+
* @version 215.0.0
|
|
14567
14701
|
*/
|
|
14568
14702
|
|
|
14569
14703
|
/**
|
|
@@ -21725,7 +21859,7 @@ class DataExtensionsApi {
|
|
|
21725
21859
|
/**
|
|
21726
21860
|
* DataExtensions service.
|
|
21727
21861
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
21728
|
-
* @version
|
|
21862
|
+
* @version 215.0.0
|
|
21729
21863
|
*/
|
|
21730
21864
|
|
|
21731
21865
|
/**
|
|
@@ -21811,7 +21945,7 @@ class DataPrivacyApi {
|
|
|
21811
21945
|
/**
|
|
21812
21946
|
* DataPrivacy service.
|
|
21813
21947
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
21814
|
-
* @version
|
|
21948
|
+
* @version 215.0.0
|
|
21815
21949
|
*/
|
|
21816
21950
|
|
|
21817
21951
|
/**
|
|
@@ -21981,7 +22115,7 @@ class DownloadsApi {
|
|
|
21981
22115
|
/**
|
|
21982
22116
|
* Downloads service.
|
|
21983
22117
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
21984
|
-
* @version
|
|
22118
|
+
* @version 215.0.0
|
|
21985
22119
|
*/
|
|
21986
22120
|
|
|
21987
22121
|
/**
|
|
@@ -22033,7 +22167,7 @@ class EmailsApi {
|
|
|
22033
22167
|
/**
|
|
22034
22168
|
* Emails service.
|
|
22035
22169
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
22036
|
-
* @version
|
|
22170
|
+
* @version 215.0.0
|
|
22037
22171
|
*/
|
|
22038
22172
|
|
|
22039
22173
|
/**
|
|
@@ -22098,7 +22232,7 @@ class EmployeeEngagementApi {
|
|
|
22098
22232
|
/**
|
|
22099
22233
|
* EmployeeEngagement service.
|
|
22100
22234
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
22101
|
-
* @version
|
|
22235
|
+
* @version 215.0.0
|
|
22102
22236
|
*/
|
|
22103
22237
|
|
|
22104
22238
|
/**
|
|
@@ -22249,7 +22383,7 @@ class EventsApi {
|
|
|
22249
22383
|
/**
|
|
22250
22384
|
* Events service.
|
|
22251
22385
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
22252
|
-
* @version
|
|
22386
|
+
* @version 215.0.0
|
|
22253
22387
|
*/
|
|
22254
22388
|
|
|
22255
22389
|
/**
|
|
@@ -22345,7 +22479,7 @@ class ExternalContactsApi {
|
|
|
22345
22479
|
/**
|
|
22346
22480
|
* ExternalContacts service.
|
|
22347
22481
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
22348
|
-
* @version
|
|
22482
|
+
* @version 215.0.0
|
|
22349
22483
|
*/
|
|
22350
22484
|
|
|
22351
22485
|
/**
|
|
@@ -24910,7 +25044,7 @@ class FaxApi {
|
|
|
24910
25044
|
/**
|
|
24911
25045
|
* Fax service.
|
|
24912
25046
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
24913
|
-
* @version
|
|
25047
|
+
* @version 215.0.0
|
|
24914
25048
|
*/
|
|
24915
25049
|
|
|
24916
25050
|
/**
|
|
@@ -25125,7 +25259,7 @@ class FlowsApi {
|
|
|
25125
25259
|
/**
|
|
25126
25260
|
* Flows service.
|
|
25127
25261
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25128
|
-
* @version
|
|
25262
|
+
* @version 215.0.0
|
|
25129
25263
|
*/
|
|
25130
25264
|
|
|
25131
25265
|
/**
|
|
@@ -25308,7 +25442,7 @@ class GamificationApi {
|
|
|
25308
25442
|
/**
|
|
25309
25443
|
* Gamification service.
|
|
25310
25444
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25311
|
-
* @version
|
|
25445
|
+
* @version 215.0.0
|
|
25312
25446
|
*/
|
|
25313
25447
|
|
|
25314
25448
|
/**
|
|
@@ -27450,7 +27584,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27450
27584
|
/**
|
|
27451
27585
|
* GeneralDataProtectionRegulation service.
|
|
27452
27586
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27453
|
-
* @version
|
|
27587
|
+
* @version 215.0.0
|
|
27454
27588
|
*/
|
|
27455
27589
|
|
|
27456
27590
|
/**
|
|
@@ -27580,7 +27714,7 @@ class GeolocationApi {
|
|
|
27580
27714
|
/**
|
|
27581
27715
|
* Geolocation service.
|
|
27582
27716
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27583
|
-
* @version
|
|
27717
|
+
* @version 215.0.0
|
|
27584
27718
|
*/
|
|
27585
27719
|
|
|
27586
27720
|
/**
|
|
@@ -27711,7 +27845,7 @@ class GreetingsApi {
|
|
|
27711
27845
|
/**
|
|
27712
27846
|
* Greetings service.
|
|
27713
27847
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27714
|
-
* @version
|
|
27848
|
+
* @version 215.0.0
|
|
27715
27849
|
*/
|
|
27716
27850
|
|
|
27717
27851
|
/**
|
|
@@ -28166,7 +28300,7 @@ class GroupsApi {
|
|
|
28166
28300
|
/**
|
|
28167
28301
|
* Groups service.
|
|
28168
28302
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
28169
|
-
* @version
|
|
28303
|
+
* @version 215.0.0
|
|
28170
28304
|
*/
|
|
28171
28305
|
|
|
28172
28306
|
/**
|
|
@@ -28685,7 +28819,7 @@ class IdentityProviderApi {
|
|
|
28685
28819
|
/**
|
|
28686
28820
|
* IdentityProvider service.
|
|
28687
28821
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28688
|
-
* @version
|
|
28822
|
+
* @version 215.0.0
|
|
28689
28823
|
*/
|
|
28690
28824
|
|
|
28691
28825
|
/**
|
|
@@ -29546,7 +29680,7 @@ class InfrastructureAsCodeApi {
|
|
|
29546
29680
|
/**
|
|
29547
29681
|
* InfrastructureAsCode service.
|
|
29548
29682
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
29549
|
-
* @version
|
|
29683
|
+
* @version 215.0.0
|
|
29550
29684
|
*/
|
|
29551
29685
|
|
|
29552
29686
|
/**
|
|
@@ -29713,7 +29847,7 @@ class IntegrationsApi {
|
|
|
29713
29847
|
/**
|
|
29714
29848
|
* Integrations service.
|
|
29715
29849
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29716
|
-
* @version
|
|
29850
|
+
* @version 215.0.0
|
|
29717
29851
|
*/
|
|
29718
29852
|
|
|
29719
29853
|
/**
|
|
@@ -29980,7 +30114,6 @@ class IntegrationsApi {
|
|
|
29980
30114
|
* Get draft function settings for Action
|
|
29981
30115
|
*
|
|
29982
30116
|
* @param {String} actionId actionId
|
|
29983
|
-
* getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
29984
30117
|
*/
|
|
29985
30118
|
getIntegrationsActionDraftFunction(actionId) {
|
|
29986
30119
|
// verify the required parameter 'actionId' is set
|
|
@@ -30095,7 +30228,6 @@ class IntegrationsApi {
|
|
|
30095
30228
|
* Get published function settings for Action
|
|
30096
30229
|
*
|
|
30097
30230
|
* @param {String} actionId actionId
|
|
30098
|
-
* getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
30099
30231
|
*/
|
|
30100
30232
|
getIntegrationsActionFunction(actionId) {
|
|
30101
30233
|
// verify the required parameter 'actionId' is set
|
|
@@ -30327,7 +30459,6 @@ class IntegrationsApi {
|
|
|
30327
30459
|
/**
|
|
30328
30460
|
* Get action function settings for Action
|
|
30329
30461
|
*
|
|
30330
|
-
* getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
30331
30462
|
*/
|
|
30332
30463
|
getIntegrationsActionsFunctionsRuntimes() {
|
|
30333
30464
|
|
|
@@ -31617,7 +31748,6 @@ class IntegrationsApi {
|
|
|
31617
31748
|
*
|
|
31618
31749
|
* @param {String} actionId actionId
|
|
31619
31750
|
* @param {Object} body Input used to request URL upload.
|
|
31620
|
-
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31621
31751
|
*/
|
|
31622
31752
|
postIntegrationsActionDraftFunctionUpload(actionId, body) {
|
|
31623
31753
|
// verify the required parameter 'actionId' is set
|
|
@@ -31979,7 +32109,6 @@ class IntegrationsApi {
|
|
|
31979
32109
|
*
|
|
31980
32110
|
* @param {String} actionId actionId
|
|
31981
32111
|
* @param {Object} body Input used to update function settings.
|
|
31982
|
-
* putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31983
32112
|
*/
|
|
31984
32113
|
putIntegrationsActionDraftFunction(actionId, body) {
|
|
31985
32114
|
// verify the required parameter 'actionId' is set
|
|
@@ -32155,7 +32284,7 @@ class JourneyApi {
|
|
|
32155
32284
|
/**
|
|
32156
32285
|
* Journey service.
|
|
32157
32286
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
32158
|
-
* @version
|
|
32287
|
+
* @version 215.0.0
|
|
32159
32288
|
*/
|
|
32160
32289
|
|
|
32161
32290
|
/**
|
|
@@ -34120,7 +34249,7 @@ class KnowledgeApi {
|
|
|
34120
34249
|
/**
|
|
34121
34250
|
* Knowledge service.
|
|
34122
34251
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
34123
|
-
* @version
|
|
34252
|
+
* @version 215.0.0
|
|
34124
34253
|
*/
|
|
34125
34254
|
|
|
34126
34255
|
/**
|
|
@@ -37996,7 +38125,7 @@ class LanguageUnderstandingApi {
|
|
|
37996
38125
|
/**
|
|
37997
38126
|
* LanguageUnderstanding service.
|
|
37998
38127
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
37999
|
-
* @version
|
|
38128
|
+
* @version 215.0.0
|
|
38000
38129
|
*/
|
|
38001
38130
|
|
|
38002
38131
|
/**
|
|
@@ -39029,7 +39158,7 @@ class LanguagesApi {
|
|
|
39029
39158
|
/**
|
|
39030
39159
|
* Languages service.
|
|
39031
39160
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
39032
|
-
* @version
|
|
39161
|
+
* @version 215.0.0
|
|
39033
39162
|
*/
|
|
39034
39163
|
|
|
39035
39164
|
/**
|
|
@@ -39251,7 +39380,7 @@ class LearningApi {
|
|
|
39251
39380
|
/**
|
|
39252
39381
|
* Learning service.
|
|
39253
39382
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
39254
|
-
* @version
|
|
39383
|
+
* @version 215.0.0
|
|
39255
39384
|
*/
|
|
39256
39385
|
|
|
39257
39386
|
/**
|
|
@@ -40280,7 +40409,7 @@ class LicenseApi {
|
|
|
40280
40409
|
/**
|
|
40281
40410
|
* License service.
|
|
40282
40411
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
40283
|
-
* @version
|
|
40412
|
+
* @version 215.0.0
|
|
40284
40413
|
*/
|
|
40285
40414
|
|
|
40286
40415
|
/**
|
|
@@ -40518,7 +40647,7 @@ class LocationsApi {
|
|
|
40518
40647
|
/**
|
|
40519
40648
|
* Locations service.
|
|
40520
40649
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
40521
|
-
* @version
|
|
40650
|
+
* @version 215.0.0
|
|
40522
40651
|
*/
|
|
40523
40652
|
|
|
40524
40653
|
/**
|
|
@@ -40754,7 +40883,7 @@ class LogCaptureApi {
|
|
|
40754
40883
|
/**
|
|
40755
40884
|
* LogCapture service.
|
|
40756
40885
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
40757
|
-
* @version
|
|
40886
|
+
* @version 215.0.0
|
|
40758
40887
|
*/
|
|
40759
40888
|
|
|
40760
40889
|
/**
|
|
@@ -40954,7 +41083,7 @@ class MessagingApi {
|
|
|
40954
41083
|
/**
|
|
40955
41084
|
* Messaging service.
|
|
40956
41085
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
40957
|
-
* @version
|
|
41086
|
+
* @version 215.0.0
|
|
40958
41087
|
*/
|
|
40959
41088
|
|
|
40960
41089
|
/**
|
|
@@ -41313,7 +41442,7 @@ class MobileDevicesApi {
|
|
|
41313
41442
|
/**
|
|
41314
41443
|
* MobileDevices service.
|
|
41315
41444
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
41316
|
-
* @version
|
|
41445
|
+
* @version 215.0.0
|
|
41317
41446
|
*/
|
|
41318
41447
|
|
|
41319
41448
|
/**
|
|
@@ -41464,7 +41593,7 @@ class NotificationsApi {
|
|
|
41464
41593
|
/**
|
|
41465
41594
|
* Notifications service.
|
|
41466
41595
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
41467
|
-
* @version
|
|
41596
|
+
* @version 215.0.0
|
|
41468
41597
|
*/
|
|
41469
41598
|
|
|
41470
41599
|
/**
|
|
@@ -41697,7 +41826,7 @@ class OAuthApi {
|
|
|
41697
41826
|
/**
|
|
41698
41827
|
* OAuth service.
|
|
41699
41828
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
41700
|
-
* @version
|
|
41829
|
+
* @version 215.0.0
|
|
41701
41830
|
*/
|
|
41702
41831
|
|
|
41703
41832
|
/**
|
|
@@ -42063,7 +42192,7 @@ class ObjectsApi {
|
|
|
42063
42192
|
/**
|
|
42064
42193
|
* Objects service.
|
|
42065
42194
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
42066
|
-
* @version
|
|
42195
|
+
* @version 215.0.0
|
|
42067
42196
|
*/
|
|
42068
42197
|
|
|
42069
42198
|
/**
|
|
@@ -42333,7 +42462,7 @@ class OperationalEventsApi {
|
|
|
42333
42462
|
/**
|
|
42334
42463
|
* OperationalEvents service.
|
|
42335
42464
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
42336
|
-
* @version
|
|
42465
|
+
* @version 215.0.0
|
|
42337
42466
|
*/
|
|
42338
42467
|
|
|
42339
42468
|
/**
|
|
@@ -42450,7 +42579,7 @@ class OrganizationApi {
|
|
|
42450
42579
|
/**
|
|
42451
42580
|
* Organization service.
|
|
42452
42581
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
42453
|
-
* @version
|
|
42582
|
+
* @version 215.0.0
|
|
42454
42583
|
*/
|
|
42455
42584
|
|
|
42456
42585
|
/**
|
|
@@ -42992,7 +43121,7 @@ class OrganizationAuthorizationApi {
|
|
|
42992
43121
|
/**
|
|
42993
43122
|
* OrganizationAuthorization service.
|
|
42994
43123
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
42995
|
-
* @version
|
|
43124
|
+
* @version 215.0.0
|
|
42996
43125
|
*/
|
|
42997
43126
|
|
|
42998
43127
|
/**
|
|
@@ -44386,7 +44515,7 @@ class OutboundApi {
|
|
|
44386
44515
|
/**
|
|
44387
44516
|
* Outbound service.
|
|
44388
44517
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
44389
|
-
* @version
|
|
44518
|
+
* @version 215.0.0
|
|
44390
44519
|
*/
|
|
44391
44520
|
|
|
44392
44521
|
/**
|
|
@@ -48937,7 +49066,7 @@ class PresenceApi {
|
|
|
48937
49066
|
/**
|
|
48938
49067
|
* Presence service.
|
|
48939
49068
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
48940
|
-
* @version
|
|
49069
|
+
* @version 215.0.0
|
|
48941
49070
|
*/
|
|
48942
49071
|
|
|
48943
49072
|
/**
|
|
@@ -49681,7 +49810,7 @@ class ProcessAutomationApi {
|
|
|
49681
49810
|
/**
|
|
49682
49811
|
* ProcessAutomation service.
|
|
49683
49812
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
49684
|
-
* @version
|
|
49813
|
+
* @version 215.0.0
|
|
49685
49814
|
*/
|
|
49686
49815
|
|
|
49687
49816
|
/**
|
|
@@ -49920,7 +50049,7 @@ class QualityApi {
|
|
|
49920
50049
|
/**
|
|
49921
50050
|
* Quality service.
|
|
49922
50051
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
49923
|
-
* @version
|
|
50052
|
+
* @version 215.0.0
|
|
49924
50053
|
*/
|
|
49925
50054
|
|
|
49926
50055
|
/**
|
|
@@ -51708,7 +51837,7 @@ class RecordingApi {
|
|
|
51708
51837
|
/**
|
|
51709
51838
|
* Recording service.
|
|
51710
51839
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
51711
|
-
* @version
|
|
51840
|
+
* @version 215.0.0
|
|
51712
51841
|
*/
|
|
51713
51842
|
|
|
51714
51843
|
/**
|
|
@@ -53367,7 +53496,7 @@ class ResponseManagementApi {
|
|
|
53367
53496
|
/**
|
|
53368
53497
|
* ResponseManagement service.
|
|
53369
53498
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
53370
|
-
* @version
|
|
53499
|
+
* @version 215.0.0
|
|
53371
53500
|
*/
|
|
53372
53501
|
|
|
53373
53502
|
/**
|
|
@@ -53877,7 +54006,7 @@ class RoutingApi {
|
|
|
53877
54006
|
/**
|
|
53878
54007
|
* Routing service.
|
|
53879
54008
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
53880
|
-
* @version
|
|
54009
|
+
* @version 215.0.0
|
|
53881
54010
|
*/
|
|
53882
54011
|
|
|
53883
54012
|
/**
|
|
@@ -57783,36 +57912,6 @@ class RoutingApi {
|
|
|
57783
57912
|
);
|
|
57784
57913
|
}
|
|
57785
57914
|
|
|
57786
|
-
/**
|
|
57787
|
-
* Update a phone number provisioned for SMS.
|
|
57788
|
-
*
|
|
57789
|
-
* @param {String} phoneNumberId phone number
|
|
57790
|
-
* @param {Object} body SmsPhoneNumber
|
|
57791
|
-
*/
|
|
57792
|
-
putRoutingSmsPhonenumber(phoneNumberId, body) {
|
|
57793
|
-
// verify the required parameter 'phoneNumberId' is set
|
|
57794
|
-
if (phoneNumberId === undefined || phoneNumberId === null) {
|
|
57795
|
-
throw 'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';
|
|
57796
|
-
}
|
|
57797
|
-
// verify the required parameter 'body' is set
|
|
57798
|
-
if (body === undefined || body === null) {
|
|
57799
|
-
throw 'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';
|
|
57800
|
-
}
|
|
57801
|
-
|
|
57802
|
-
return this.apiClient.callApi(
|
|
57803
|
-
'/api/v2/routing/sms/phonenumbers/{phoneNumberId}',
|
|
57804
|
-
'PUT',
|
|
57805
|
-
{ 'phoneNumberId': phoneNumberId },
|
|
57806
|
-
{ },
|
|
57807
|
-
{ },
|
|
57808
|
-
{ },
|
|
57809
|
-
body,
|
|
57810
|
-
['PureCloud OAuth'],
|
|
57811
|
-
['application/json'],
|
|
57812
|
-
['application/json']
|
|
57813
|
-
);
|
|
57814
|
-
}
|
|
57815
|
-
|
|
57816
57915
|
/**
|
|
57817
57916
|
* Update the user's Direct Routing Backup settings.
|
|
57818
57917
|
*
|
|
@@ -58029,7 +58128,7 @@ class SCIMApi {
|
|
|
58029
58128
|
/**
|
|
58030
58129
|
* SCIM service.
|
|
58031
58130
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
58032
|
-
* @version
|
|
58131
|
+
* @version 215.0.0
|
|
58033
58132
|
*/
|
|
58034
58133
|
|
|
58035
58134
|
/**
|
|
@@ -58906,7 +59005,7 @@ class ScreenRecordingApi {
|
|
|
58906
59005
|
/**
|
|
58907
59006
|
* ScreenRecording service.
|
|
58908
59007
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
58909
|
-
* @version
|
|
59008
|
+
* @version 215.0.0
|
|
58910
59009
|
*/
|
|
58911
59010
|
|
|
58912
59011
|
/**
|
|
@@ -58951,7 +59050,7 @@ class ScriptsApi {
|
|
|
58951
59050
|
/**
|
|
58952
59051
|
* Scripts service.
|
|
58953
59052
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
58954
|
-
* @version
|
|
59053
|
+
* @version 215.0.0
|
|
58955
59054
|
*/
|
|
58956
59055
|
|
|
58957
59056
|
/**
|
|
@@ -59395,7 +59494,7 @@ class SearchApi {
|
|
|
59395
59494
|
/**
|
|
59396
59495
|
* Search service.
|
|
59397
59496
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
59398
|
-
* @version
|
|
59497
|
+
* @version 215.0.0
|
|
59399
59498
|
*/
|
|
59400
59499
|
|
|
59401
59500
|
/**
|
|
@@ -60138,7 +60237,7 @@ class SettingsApi {
|
|
|
60138
60237
|
/**
|
|
60139
60238
|
* Settings service.
|
|
60140
60239
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
60141
|
-
* @version
|
|
60240
|
+
* @version 215.0.0
|
|
60142
60241
|
*/
|
|
60143
60242
|
|
|
60144
60243
|
/**
|
|
@@ -60358,7 +60457,7 @@ class SocialMediaApi {
|
|
|
60358
60457
|
/**
|
|
60359
60458
|
* SocialMedia service.
|
|
60360
60459
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
60361
|
-
* @version
|
|
60460
|
+
* @version 215.0.0
|
|
60362
60461
|
*/
|
|
60363
60462
|
|
|
60364
60463
|
/**
|
|
@@ -61263,7 +61362,7 @@ class SpeechTextAnalyticsApi {
|
|
|
61263
61362
|
/**
|
|
61264
61363
|
* SpeechTextAnalytics service.
|
|
61265
61364
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
61266
|
-
* @version
|
|
61365
|
+
* @version 215.0.0
|
|
61267
61366
|
*/
|
|
61268
61367
|
|
|
61269
61368
|
/**
|
|
@@ -61596,6 +61695,31 @@ class SpeechTextAnalyticsApi {
|
|
|
61596
61695
|
);
|
|
61597
61696
|
}
|
|
61598
61697
|
|
|
61698
|
+
/**
|
|
61699
|
+
* Get conversation summaries by conversation id.
|
|
61700
|
+
*
|
|
61701
|
+
* @param {String} conversationId The conversation ID of the summaries
|
|
61702
|
+
*/
|
|
61703
|
+
getSpeechandtextanalyticsConversationSummaries(conversationId) {
|
|
61704
|
+
// verify the required parameter 'conversationId' is set
|
|
61705
|
+
if (conversationId === undefined || conversationId === null) {
|
|
61706
|
+
throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSummaries';
|
|
61707
|
+
}
|
|
61708
|
+
|
|
61709
|
+
return this.apiClient.callApi(
|
|
61710
|
+
'/api/v2/speechandtextanalytics/conversations/{conversationId}/summaries',
|
|
61711
|
+
'GET',
|
|
61712
|
+
{ 'conversationId': conversationId },
|
|
61713
|
+
{ },
|
|
61714
|
+
{ },
|
|
61715
|
+
{ },
|
|
61716
|
+
null,
|
|
61717
|
+
['PureCloud OAuth'],
|
|
61718
|
+
['application/json'],
|
|
61719
|
+
['application/json']
|
|
61720
|
+
);
|
|
61721
|
+
}
|
|
61722
|
+
|
|
61599
61723
|
/**
|
|
61600
61724
|
* Get the list of Speech and Text Analytics dictionary feedbacks
|
|
61601
61725
|
*
|
|
@@ -61697,6 +61821,31 @@ class SpeechTextAnalyticsApi {
|
|
|
61697
61821
|
);
|
|
61698
61822
|
}
|
|
61699
61823
|
|
|
61824
|
+
/**
|
|
61825
|
+
* Get AI Insights settings of a program
|
|
61826
|
+
*
|
|
61827
|
+
* @param {String} programId The id of the program
|
|
61828
|
+
*/
|
|
61829
|
+
getSpeechandtextanalyticsProgramSettingsInsights(programId) {
|
|
61830
|
+
// verify the required parameter 'programId' is set
|
|
61831
|
+
if (programId === undefined || programId === null) {
|
|
61832
|
+
throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsInsights';
|
|
61833
|
+
}
|
|
61834
|
+
|
|
61835
|
+
return this.apiClient.callApi(
|
|
61836
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/settings/insights',
|
|
61837
|
+
'GET',
|
|
61838
|
+
{ 'programId': programId },
|
|
61839
|
+
{ },
|
|
61840
|
+
{ },
|
|
61841
|
+
{ },
|
|
61842
|
+
null,
|
|
61843
|
+
['PureCloud OAuth'],
|
|
61844
|
+
['application/json'],
|
|
61845
|
+
['application/json']
|
|
61846
|
+
);
|
|
61847
|
+
}
|
|
61848
|
+
|
|
61700
61849
|
/**
|
|
61701
61850
|
* Get transcription engine settings of a program
|
|
61702
61851
|
*
|
|
@@ -61823,6 +61972,32 @@ class SpeechTextAnalyticsApi {
|
|
|
61823
61972
|
);
|
|
61824
61973
|
}
|
|
61825
61974
|
|
|
61975
|
+
/**
|
|
61976
|
+
* Get the list of program AI Insights settings for the organization
|
|
61977
|
+
*
|
|
61978
|
+
* @param {Object} opts Optional parameters
|
|
61979
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 100. (default to 100)
|
|
61980
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
61981
|
+
* @param {Array.<String>} opts.programIds Comma separated Program IDs to filter by. Maximum of 50 IDs allowed.
|
|
61982
|
+
*/
|
|
61983
|
+
getSpeechandtextanalyticsProgramsSettingsInsights(opts) {
|
|
61984
|
+
opts = opts || {};
|
|
61985
|
+
|
|
61986
|
+
|
|
61987
|
+
return this.apiClient.callApi(
|
|
61988
|
+
'/api/v2/speechandtextanalytics/programs/settings/insights',
|
|
61989
|
+
'GET',
|
|
61990
|
+
{ },
|
|
61991
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'programIds': this.apiClient.buildCollectionParam(opts['programIds'], 'multi') },
|
|
61992
|
+
{ },
|
|
61993
|
+
{ },
|
|
61994
|
+
null,
|
|
61995
|
+
['PureCloud OAuth'],
|
|
61996
|
+
['application/json'],
|
|
61997
|
+
['application/json']
|
|
61998
|
+
);
|
|
61999
|
+
}
|
|
62000
|
+
|
|
61826
62001
|
/**
|
|
61827
62002
|
* Get supported dialects for each transcription engine
|
|
61828
62003
|
*
|
|
@@ -62507,6 +62682,36 @@ class SpeechTextAnalyticsApi {
|
|
|
62507
62682
|
);
|
|
62508
62683
|
}
|
|
62509
62684
|
|
|
62685
|
+
/**
|
|
62686
|
+
* Update AI Insights settings of a program
|
|
62687
|
+
*
|
|
62688
|
+
* @param {String} programId The id of the program
|
|
62689
|
+
* @param {Object} body Program AI Insights setting
|
|
62690
|
+
*/
|
|
62691
|
+
putSpeechandtextanalyticsProgramSettingsInsights(programId, body) {
|
|
62692
|
+
// verify the required parameter 'programId' is set
|
|
62693
|
+
if (programId === undefined || programId === null) {
|
|
62694
|
+
throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramSettingsInsights';
|
|
62695
|
+
}
|
|
62696
|
+
// verify the required parameter 'body' is set
|
|
62697
|
+
if (body === undefined || body === null) {
|
|
62698
|
+
throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramSettingsInsights';
|
|
62699
|
+
}
|
|
62700
|
+
|
|
62701
|
+
return this.apiClient.callApi(
|
|
62702
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/settings/insights',
|
|
62703
|
+
'PUT',
|
|
62704
|
+
{ 'programId': programId },
|
|
62705
|
+
{ },
|
|
62706
|
+
{ },
|
|
62707
|
+
{ },
|
|
62708
|
+
body,
|
|
62709
|
+
['PureCloud OAuth'],
|
|
62710
|
+
['application/json'],
|
|
62711
|
+
['application/json']
|
|
62712
|
+
);
|
|
62713
|
+
}
|
|
62714
|
+
|
|
62510
62715
|
/**
|
|
62511
62716
|
* Update transcription engine settings of a program
|
|
62512
62717
|
*
|
|
@@ -62598,7 +62803,7 @@ class StationsApi {
|
|
|
62598
62803
|
/**
|
|
62599
62804
|
* Stations service.
|
|
62600
62805
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
62601
|
-
* @version
|
|
62806
|
+
* @version 215.0.0
|
|
62602
62807
|
*/
|
|
62603
62808
|
|
|
62604
62809
|
/**
|
|
@@ -62700,7 +62905,7 @@ class SuggestApi {
|
|
|
62700
62905
|
/**
|
|
62701
62906
|
* Suggest service.
|
|
62702
62907
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
62703
|
-
* @version
|
|
62908
|
+
* @version 215.0.0
|
|
62704
62909
|
*/
|
|
62705
62910
|
|
|
62706
62911
|
/**
|
|
@@ -62839,7 +63044,7 @@ class TaskManagementApi {
|
|
|
62839
63044
|
/**
|
|
62840
63045
|
* TaskManagement service.
|
|
62841
63046
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
62842
|
-
* @version
|
|
63047
|
+
* @version 215.0.0
|
|
62843
63048
|
*/
|
|
62844
63049
|
|
|
62845
63050
|
/**
|
|
@@ -64945,7 +65150,7 @@ class TeamsApi {
|
|
|
64945
65150
|
/**
|
|
64946
65151
|
* Teams service.
|
|
64947
65152
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
64948
|
-
* @version
|
|
65153
|
+
* @version 215.0.0
|
|
64949
65154
|
*/
|
|
64950
65155
|
|
|
64951
65156
|
/**
|
|
@@ -65250,7 +65455,7 @@ class TelephonyApi {
|
|
|
65250
65455
|
/**
|
|
65251
65456
|
* Telephony service.
|
|
65252
65457
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
65253
|
-
* @version
|
|
65458
|
+
* @version 215.0.0
|
|
65254
65459
|
*/
|
|
65255
65460
|
|
|
65256
65461
|
/**
|
|
@@ -65432,7 +65637,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
65432
65637
|
/**
|
|
65433
65638
|
* TelephonyProvidersEdge service.
|
|
65434
65639
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
65435
|
-
* @version
|
|
65640
|
+
* @version 215.0.0
|
|
65436
65641
|
*/
|
|
65437
65642
|
|
|
65438
65643
|
/**
|
|
@@ -68883,7 +69088,7 @@ class TextbotsApi {
|
|
|
68883
69088
|
/**
|
|
68884
69089
|
* Textbots service.
|
|
68885
69090
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
68886
|
-
* @version
|
|
69091
|
+
* @version 215.0.0
|
|
68887
69092
|
*/
|
|
68888
69093
|
|
|
68889
69094
|
/**
|
|
@@ -69011,7 +69216,7 @@ class TokensApi {
|
|
|
69011
69216
|
/**
|
|
69012
69217
|
* Tokens service.
|
|
69013
69218
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
69014
|
-
* @version
|
|
69219
|
+
* @version 215.0.0
|
|
69015
69220
|
*/
|
|
69016
69221
|
|
|
69017
69222
|
/**
|
|
@@ -69165,7 +69370,7 @@ class UploadsApi {
|
|
|
69165
69370
|
/**
|
|
69166
69371
|
* Uploads service.
|
|
69167
69372
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
69168
|
-
* @version
|
|
69373
|
+
* @version 215.0.0
|
|
69169
69374
|
*/
|
|
69170
69375
|
|
|
69171
69376
|
/**
|
|
@@ -69216,7 +69421,6 @@ class UploadsApi {
|
|
|
69216
69421
|
*
|
|
69217
69422
|
* @param {String} actionId actionId
|
|
69218
69423
|
* @param {Object} body Input used to request URL upload.
|
|
69219
|
-
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
69220
69424
|
*/
|
|
69221
69425
|
postIntegrationsActionDraftFunctionUpload(actionId, body) {
|
|
69222
69426
|
// verify the required parameter 'actionId' is set
|
|
@@ -69434,7 +69638,7 @@ class UsageApi {
|
|
|
69434
69638
|
/**
|
|
69435
69639
|
* Usage service.
|
|
69436
69640
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
69437
|
-
* @version
|
|
69641
|
+
* @version 215.0.0
|
|
69438
69642
|
*/
|
|
69439
69643
|
|
|
69440
69644
|
/**
|
|
@@ -69649,7 +69853,7 @@ class UserRecordingsApi {
|
|
|
69649
69853
|
/**
|
|
69650
69854
|
* UserRecordings service.
|
|
69651
69855
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
69652
|
-
* @version
|
|
69856
|
+
* @version 215.0.0
|
|
69653
69857
|
*/
|
|
69654
69858
|
|
|
69655
69859
|
/**
|
|
@@ -69864,7 +70068,7 @@ class UsersApi {
|
|
|
69864
70068
|
/**
|
|
69865
70069
|
* Users service.
|
|
69866
70070
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
69867
|
-
* @version
|
|
70071
|
+
* @version 215.0.0
|
|
69868
70072
|
*/
|
|
69869
70073
|
|
|
69870
70074
|
/**
|
|
@@ -70034,6 +70238,41 @@ class UsersApi {
|
|
|
70034
70238
|
);
|
|
70035
70239
|
}
|
|
70036
70240
|
|
|
70241
|
+
/**
|
|
70242
|
+
* Delete the external identifier for user.
|
|
70243
|
+
*
|
|
70244
|
+
* @param {String} userId User ID
|
|
70245
|
+
* @param {String} authorityName Authority Name
|
|
70246
|
+
* @param {String} externalKey External Key
|
|
70247
|
+
*/
|
|
70248
|
+
deleteUserExternalidAuthorityNameExternalKey(userId, authorityName, externalKey) {
|
|
70249
|
+
// verify the required parameter 'userId' is set
|
|
70250
|
+
if (userId === undefined || userId === null) {
|
|
70251
|
+
throw 'Missing the required parameter "userId" when calling deleteUserExternalidAuthorityNameExternalKey';
|
|
70252
|
+
}
|
|
70253
|
+
// verify the required parameter 'authorityName' is set
|
|
70254
|
+
if (authorityName === undefined || authorityName === null) {
|
|
70255
|
+
throw 'Missing the required parameter "authorityName" when calling deleteUserExternalidAuthorityNameExternalKey';
|
|
70256
|
+
}
|
|
70257
|
+
// verify the required parameter 'externalKey' is set
|
|
70258
|
+
if (externalKey === undefined || externalKey === null) {
|
|
70259
|
+
throw 'Missing the required parameter "externalKey" when calling deleteUserExternalidAuthorityNameExternalKey';
|
|
70260
|
+
}
|
|
70261
|
+
|
|
70262
|
+
return this.apiClient.callApi(
|
|
70263
|
+
'/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}',
|
|
70264
|
+
'DELETE',
|
|
70265
|
+
{ 'userId': userId,'authorityName': authorityName,'externalKey': externalKey },
|
|
70266
|
+
{ },
|
|
70267
|
+
{ },
|
|
70268
|
+
{ },
|
|
70269
|
+
null,
|
|
70270
|
+
['PureCloud OAuth'],
|
|
70271
|
+
['application/json'],
|
|
70272
|
+
['application/json']
|
|
70273
|
+
);
|
|
70274
|
+
}
|
|
70275
|
+
|
|
70037
70276
|
/**
|
|
70038
70277
|
* Remove a routing language from a user
|
|
70039
70278
|
*
|
|
@@ -70695,6 +70934,61 @@ class UsersApi {
|
|
|
70695
70934
|
);
|
|
70696
70935
|
}
|
|
70697
70936
|
|
|
70937
|
+
/**
|
|
70938
|
+
* Get the external identifiers for a user.
|
|
70939
|
+
*
|
|
70940
|
+
* @param {String} userId User ID
|
|
70941
|
+
*/
|
|
70942
|
+
getUserExternalid(userId) {
|
|
70943
|
+
// verify the required parameter 'userId' is set
|
|
70944
|
+
if (userId === undefined || userId === null) {
|
|
70945
|
+
throw 'Missing the required parameter "userId" when calling getUserExternalid';
|
|
70946
|
+
}
|
|
70947
|
+
|
|
70948
|
+
return this.apiClient.callApi(
|
|
70949
|
+
'/api/v2/users/{userId}/externalid',
|
|
70950
|
+
'GET',
|
|
70951
|
+
{ 'userId': userId },
|
|
70952
|
+
{ },
|
|
70953
|
+
{ },
|
|
70954
|
+
{ },
|
|
70955
|
+
null,
|
|
70956
|
+
['PureCloud OAuth'],
|
|
70957
|
+
['application/json'],
|
|
70958
|
+
['application/json']
|
|
70959
|
+
);
|
|
70960
|
+
}
|
|
70961
|
+
|
|
70962
|
+
/**
|
|
70963
|
+
* Get the external identifier of user for an authority.
|
|
70964
|
+
* Authority name and external key are case sensitive.
|
|
70965
|
+
* @param {String} userId User ID
|
|
70966
|
+
* @param {String} authorityName Authority Name
|
|
70967
|
+
*/
|
|
70968
|
+
getUserExternalidAuthorityName(userId, authorityName) {
|
|
70969
|
+
// verify the required parameter 'userId' is set
|
|
70970
|
+
if (userId === undefined || userId === null) {
|
|
70971
|
+
throw 'Missing the required parameter "userId" when calling getUserExternalidAuthorityName';
|
|
70972
|
+
}
|
|
70973
|
+
// verify the required parameter 'authorityName' is set
|
|
70974
|
+
if (authorityName === undefined || authorityName === null) {
|
|
70975
|
+
throw 'Missing the required parameter "authorityName" when calling getUserExternalidAuthorityName';
|
|
70976
|
+
}
|
|
70977
|
+
|
|
70978
|
+
return this.apiClient.callApi(
|
|
70979
|
+
'/api/v2/users/{userId}/externalid/{authorityName}',
|
|
70980
|
+
'GET',
|
|
70981
|
+
{ 'userId': userId,'authorityName': authorityName },
|
|
70982
|
+
{ },
|
|
70983
|
+
{ },
|
|
70984
|
+
{ },
|
|
70985
|
+
null,
|
|
70986
|
+
['PureCloud OAuth'],
|
|
70987
|
+
['application/json'],
|
|
70988
|
+
['application/json']
|
|
70989
|
+
);
|
|
70990
|
+
}
|
|
70991
|
+
|
|
70698
70992
|
/**
|
|
70699
70993
|
* Deprecated; will be revived with new contract
|
|
70700
70994
|
*
|
|
@@ -71304,6 +71598,40 @@ class UsersApi {
|
|
|
71304
71598
|
);
|
|
71305
71599
|
}
|
|
71306
71600
|
|
|
71601
|
+
/**
|
|
71602
|
+
* Get the user associated with external identifier.
|
|
71603
|
+
* Authority name and external key are case sensitive.
|
|
71604
|
+
* @param {String} authorityName Authority Name
|
|
71605
|
+
* @param {String} externalKey External Key
|
|
71606
|
+
* @param {Object} opts Optional parameters
|
|
71607
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
71608
|
+
*/
|
|
71609
|
+
getUsersExternalidAuthorityNameExternalKey(authorityName, externalKey, opts) {
|
|
71610
|
+
opts = opts || {};
|
|
71611
|
+
|
|
71612
|
+
// verify the required parameter 'authorityName' is set
|
|
71613
|
+
if (authorityName === undefined || authorityName === null) {
|
|
71614
|
+
throw 'Missing the required parameter "authorityName" when calling getUsersExternalidAuthorityNameExternalKey';
|
|
71615
|
+
}
|
|
71616
|
+
// verify the required parameter 'externalKey' is set
|
|
71617
|
+
if (externalKey === undefined || externalKey === null) {
|
|
71618
|
+
throw 'Missing the required parameter "externalKey" when calling getUsersExternalidAuthorityNameExternalKey';
|
|
71619
|
+
}
|
|
71620
|
+
|
|
71621
|
+
return this.apiClient.callApi(
|
|
71622
|
+
'/api/v2/users/externalid/{authorityName}/{externalKey}',
|
|
71623
|
+
'GET',
|
|
71624
|
+
{ 'authorityName': authorityName,'externalKey': externalKey },
|
|
71625
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
71626
|
+
{ },
|
|
71627
|
+
{ },
|
|
71628
|
+
null,
|
|
71629
|
+
['PureCloud OAuth'],
|
|
71630
|
+
['application/json'],
|
|
71631
|
+
['application/json']
|
|
71632
|
+
);
|
|
71633
|
+
}
|
|
71634
|
+
|
|
71307
71635
|
/**
|
|
71308
71636
|
* Get current user details.
|
|
71309
71637
|
* This request is not valid when using the Client Credentials OAuth grant.
|
|
@@ -72693,7 +73021,7 @@ class UtilitiesApi {
|
|
|
72693
73021
|
/**
|
|
72694
73022
|
* Utilities service.
|
|
72695
73023
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
72696
|
-
* @version
|
|
73024
|
+
* @version 215.0.0
|
|
72697
73025
|
*/
|
|
72698
73026
|
|
|
72699
73027
|
/**
|
|
@@ -72804,7 +73132,7 @@ class VoicemailApi {
|
|
|
72804
73132
|
/**
|
|
72805
73133
|
* Voicemail service.
|
|
72806
73134
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
72807
|
-
* @version
|
|
73135
|
+
* @version 215.0.0
|
|
72808
73136
|
*/
|
|
72809
73137
|
|
|
72810
73138
|
/**
|
|
@@ -73526,7 +73854,7 @@ class WebChatApi {
|
|
|
73526
73854
|
/**
|
|
73527
73855
|
* WebChat service.
|
|
73528
73856
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
73529
|
-
* @version
|
|
73857
|
+
* @version 215.0.0
|
|
73530
73858
|
*/
|
|
73531
73859
|
|
|
73532
73860
|
/**
|
|
@@ -74077,7 +74405,7 @@ class WebDeploymentsApi {
|
|
|
74077
74405
|
/**
|
|
74078
74406
|
* WebDeployments service.
|
|
74079
74407
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
74080
|
-
* @version
|
|
74408
|
+
* @version 215.0.0
|
|
74081
74409
|
*/
|
|
74082
74410
|
|
|
74083
74411
|
/**
|
|
@@ -74604,7 +74932,7 @@ class WebMessagingApi {
|
|
|
74604
74932
|
/**
|
|
74605
74933
|
* WebMessaging service.
|
|
74606
74934
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
74607
|
-
* @version
|
|
74935
|
+
* @version 215.0.0
|
|
74608
74936
|
*/
|
|
74609
74937
|
|
|
74610
74938
|
/**
|
|
@@ -74650,7 +74978,7 @@ class WidgetsApi {
|
|
|
74650
74978
|
/**
|
|
74651
74979
|
* Widgets service.
|
|
74652
74980
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
74653
|
-
* @version
|
|
74981
|
+
* @version 215.0.0
|
|
74654
74982
|
*/
|
|
74655
74983
|
|
|
74656
74984
|
/**
|
|
@@ -74796,7 +75124,7 @@ class WorkforceManagementApi {
|
|
|
74796
75124
|
/**
|
|
74797
75125
|
* WorkforceManagement service.
|
|
74798
75126
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
74799
|
-
* @version
|
|
75127
|
+
* @version 215.0.0
|
|
74800
75128
|
*/
|
|
74801
75129
|
|
|
74802
75130
|
/**
|
|
@@ -82120,7 +82448,7 @@ class WorkforceManagementApi {
|
|
|
82120
82448
|
* </pre>
|
|
82121
82449
|
* </p>
|
|
82122
82450
|
* @module purecloud-platform-client-v2/index
|
|
82123
|
-
* @version
|
|
82451
|
+
* @version 215.0.0
|
|
82124
82452
|
*/
|
|
82125
82453
|
class platformClient {
|
|
82126
82454
|
constructor() {
|