purecloud-platform-client-v2 249.0.0 → 250.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 +34 -3
- package/dist/node/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +10600 -2242
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
- package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
- package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
- package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
- package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
- package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
- package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
- package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
- package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class LicenseApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* License service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class LicenseApi {
|
|
|
24
24
|
* Get PureCloud license definition.
|
|
25
25
|
*
|
|
26
26
|
* @param {String} licenseId ID
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
getLicenseDefinition(licenseId) {
|
|
30
|
+
getLicenseDefinition(licenseId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'licenseId' is set
|
|
30
34
|
if (licenseId === undefined || licenseId === null || licenseId === '') {
|
|
31
35
|
throw 'Missing the required parameter "licenseId" when calling getLicenseDefinition';
|
|
@@ -41,15 +45,20 @@ class LicenseApi {
|
|
|
41
45
|
null,
|
|
42
46
|
['PureCloud OAuth'],
|
|
43
47
|
['application/json'],
|
|
44
|
-
['application/json']
|
|
48
|
+
['application/json'],
|
|
49
|
+
opts['customHeaders']
|
|
45
50
|
);
|
|
46
51
|
}
|
|
47
52
|
|
|
48
53
|
/**
|
|
49
54
|
* Get all PureCloud license definitions available for the organization.
|
|
50
55
|
*
|
|
56
|
+
* @param {Object} opts Optional parameters
|
|
57
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
51
58
|
*/
|
|
52
|
-
getLicenseDefinitions() {
|
|
59
|
+
getLicenseDefinitions(opts) {
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
|
|
53
62
|
|
|
54
63
|
return this.apiClient.callApi(
|
|
55
64
|
'/api/v2/license/definitions',
|
|
@@ -61,7 +70,8 @@ class LicenseApi {
|
|
|
61
70
|
null,
|
|
62
71
|
['PureCloud OAuth'],
|
|
63
72
|
['application/json'],
|
|
64
|
-
['application/json']
|
|
73
|
+
['application/json'],
|
|
74
|
+
opts['customHeaders']
|
|
65
75
|
);
|
|
66
76
|
}
|
|
67
77
|
|
|
@@ -69,8 +79,12 @@ class LicenseApi {
|
|
|
69
79
|
* Deprecated - no alternative required. This operation will always return 'true' for requested toggles
|
|
70
80
|
*
|
|
71
81
|
* @param {String} featureName featureName
|
|
82
|
+
* @param {Object} opts Optional parameters
|
|
83
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
72
84
|
*/
|
|
73
|
-
getLicenseToggle(featureName) {
|
|
85
|
+
getLicenseToggle(featureName, opts) {
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
|
|
74
88
|
// verify the required parameter 'featureName' is set
|
|
75
89
|
if (featureName === undefined || featureName === null || featureName === '') {
|
|
76
90
|
throw 'Missing the required parameter "featureName" when calling getLicenseToggle';
|
|
@@ -86,7 +100,8 @@ class LicenseApi {
|
|
|
86
100
|
null,
|
|
87
101
|
['PureCloud OAuth'],
|
|
88
102
|
['application/json'],
|
|
89
|
-
['application/json']
|
|
103
|
+
['application/json'],
|
|
104
|
+
opts['customHeaders']
|
|
90
105
|
);
|
|
91
106
|
}
|
|
92
107
|
|
|
@@ -94,8 +109,12 @@ class LicenseApi {
|
|
|
94
109
|
* Get licenses for specified user.
|
|
95
110
|
*
|
|
96
111
|
* @param {String} userId ID
|
|
112
|
+
* @param {Object} opts Optional parameters
|
|
113
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
97
114
|
*/
|
|
98
|
-
getLicenseUser(userId) {
|
|
115
|
+
getLicenseUser(userId, opts) {
|
|
116
|
+
opts = opts || {};
|
|
117
|
+
|
|
99
118
|
// verify the required parameter 'userId' is set
|
|
100
119
|
if (userId === undefined || userId === null || userId === '') {
|
|
101
120
|
throw 'Missing the required parameter "userId" when calling getLicenseUser';
|
|
@@ -111,7 +130,8 @@ class LicenseApi {
|
|
|
111
130
|
null,
|
|
112
131
|
['PureCloud OAuth'],
|
|
113
132
|
['application/json'],
|
|
114
|
-
['application/json']
|
|
133
|
+
['application/json'],
|
|
134
|
+
opts['customHeaders']
|
|
115
135
|
);
|
|
116
136
|
}
|
|
117
137
|
|
|
@@ -121,6 +141,7 @@ class LicenseApi {
|
|
|
121
141
|
* @param {Object} opts Optional parameters
|
|
122
142
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
123
143
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
144
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
124
145
|
*/
|
|
125
146
|
getLicenseUsers(opts) {
|
|
126
147
|
opts = opts || {};
|
|
@@ -136,7 +157,8 @@ class LicenseApi {
|
|
|
136
157
|
null,
|
|
137
158
|
['PureCloud OAuth'],
|
|
138
159
|
['application/json'],
|
|
139
|
-
['application/json']
|
|
160
|
+
['application/json'],
|
|
161
|
+
opts['customHeaders']
|
|
140
162
|
);
|
|
141
163
|
}
|
|
142
164
|
|
|
@@ -145,6 +167,7 @@ class LicenseApi {
|
|
|
145
167
|
*
|
|
146
168
|
* @param {Object} opts Optional parameters
|
|
147
169
|
* @param {Array.<String>} opts.body The roleIds to use while inferring licenses
|
|
170
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
148
171
|
*/
|
|
149
172
|
postLicenseInfer(opts) {
|
|
150
173
|
opts = opts || {};
|
|
@@ -160,7 +183,8 @@ class LicenseApi {
|
|
|
160
183
|
opts['body'],
|
|
161
184
|
['PureCloud OAuth'],
|
|
162
185
|
['application/json'],
|
|
163
|
-
['application/json']
|
|
186
|
+
['application/json'],
|
|
187
|
+
opts['customHeaders']
|
|
164
188
|
);
|
|
165
189
|
}
|
|
166
190
|
|
|
@@ -169,6 +193,7 @@ class LicenseApi {
|
|
|
169
193
|
*
|
|
170
194
|
* @param {Object} opts Optional parameters
|
|
171
195
|
* @param {Array.<String>} opts.body The permissions to use while inferring licenses
|
|
196
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
172
197
|
* postLicenseInferPermissions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
173
198
|
*/
|
|
174
199
|
postLicenseInferPermissions(opts) {
|
|
@@ -185,7 +210,8 @@ class LicenseApi {
|
|
|
185
210
|
opts['body'],
|
|
186
211
|
['PureCloud OAuth'],
|
|
187
212
|
['application/json'],
|
|
188
|
-
['application/json']
|
|
213
|
+
['application/json'],
|
|
214
|
+
opts['customHeaders']
|
|
189
215
|
);
|
|
190
216
|
}
|
|
191
217
|
|
|
@@ -194,6 +220,7 @@ class LicenseApi {
|
|
|
194
220
|
*
|
|
195
221
|
* @param {Object} opts Optional parameters
|
|
196
222
|
* @param {Object} opts.body The license assignments to update.
|
|
223
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
197
224
|
*/
|
|
198
225
|
postLicenseOrganization(opts) {
|
|
199
226
|
opts = opts || {};
|
|
@@ -209,7 +236,8 @@ class LicenseApi {
|
|
|
209
236
|
opts['body'],
|
|
210
237
|
['PureCloud OAuth'],
|
|
211
238
|
['application/json'],
|
|
212
|
-
['application/json']
|
|
239
|
+
['application/json'],
|
|
240
|
+
opts['customHeaders']
|
|
213
241
|
);
|
|
214
242
|
}
|
|
215
243
|
|
|
@@ -217,8 +245,12 @@ class LicenseApi {
|
|
|
217
245
|
* Deprecated. No alternative required - this endpoint has no effect
|
|
218
246
|
*
|
|
219
247
|
* @param {String} featureName featureName
|
|
248
|
+
* @param {Object} opts Optional parameters
|
|
249
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
220
250
|
*/
|
|
221
|
-
postLicenseToggle(featureName) {
|
|
251
|
+
postLicenseToggle(featureName, opts) {
|
|
252
|
+
opts = opts || {};
|
|
253
|
+
|
|
222
254
|
// verify the required parameter 'featureName' is set
|
|
223
255
|
if (featureName === undefined || featureName === null || featureName === '') {
|
|
224
256
|
throw 'Missing the required parameter "featureName" when calling postLicenseToggle';
|
|
@@ -234,7 +266,8 @@ class LicenseApi {
|
|
|
234
266
|
null,
|
|
235
267
|
['PureCloud OAuth'],
|
|
236
268
|
['application/json'],
|
|
237
|
-
['application/json']
|
|
269
|
+
['application/json'],
|
|
270
|
+
opts['customHeaders']
|
|
238
271
|
);
|
|
239
272
|
}
|
|
240
273
|
|
|
@@ -243,6 +276,7 @@ class LicenseApi {
|
|
|
243
276
|
*
|
|
244
277
|
* @param {Object} opts Optional parameters
|
|
245
278
|
* @param {Array.<String>} opts.body The user IDs to fetch.
|
|
279
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
246
280
|
*/
|
|
247
281
|
postLicenseUsers(opts) {
|
|
248
282
|
opts = opts || {};
|
|
@@ -258,7 +292,8 @@ class LicenseApi {
|
|
|
258
292
|
opts['body'],
|
|
259
293
|
['PureCloud OAuth'],
|
|
260
294
|
['application/json'],
|
|
261
|
-
['application/json']
|
|
295
|
+
['application/json'],
|
|
296
|
+
opts['customHeaders']
|
|
262
297
|
);
|
|
263
298
|
}
|
|
264
299
|
|
|
@@ -5,7 +5,7 @@ class LocationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Locations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class LocationsApi {
|
|
|
24
24
|
* Delete a location
|
|
25
25
|
*
|
|
26
26
|
* @param {String} locationId Location ID
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteLocation(locationId) {
|
|
30
|
+
deleteLocation(locationId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'locationId' is set
|
|
30
34
|
if (locationId === undefined || locationId === null || locationId === '') {
|
|
31
35
|
throw 'Missing the required parameter "locationId" when calling deleteLocation';
|
|
@@ -41,7 +45,8 @@ class LocationsApi {
|
|
|
41
45
|
null,
|
|
42
46
|
['PureCloud OAuth'],
|
|
43
47
|
['application/json'],
|
|
44
|
-
['application/json']
|
|
48
|
+
['application/json'],
|
|
49
|
+
opts['customHeaders']
|
|
45
50
|
);
|
|
46
51
|
}
|
|
47
52
|
|
|
@@ -51,6 +56,7 @@ class LocationsApi {
|
|
|
51
56
|
* @param {String} locationId Location ID
|
|
52
57
|
* @param {Object} opts Optional parameters
|
|
53
58
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
59
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
54
60
|
*/
|
|
55
61
|
getLocation(locationId, opts) {
|
|
56
62
|
opts = opts || {};
|
|
@@ -70,7 +76,8 @@ class LocationsApi {
|
|
|
70
76
|
null,
|
|
71
77
|
['PureCloud OAuth'],
|
|
72
78
|
['application/json'],
|
|
73
|
-
['application/json']
|
|
79
|
+
['application/json'],
|
|
80
|
+
opts['customHeaders']
|
|
74
81
|
);
|
|
75
82
|
}
|
|
76
83
|
|
|
@@ -78,8 +85,12 @@ class LocationsApi {
|
|
|
78
85
|
* Get sublocations for location ID.
|
|
79
86
|
*
|
|
80
87
|
* @param {String} locationId Location ID
|
|
88
|
+
* @param {Object} opts Optional parameters
|
|
89
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
81
90
|
*/
|
|
82
|
-
getLocationSublocations(locationId) {
|
|
91
|
+
getLocationSublocations(locationId, opts) {
|
|
92
|
+
opts = opts || {};
|
|
93
|
+
|
|
83
94
|
// verify the required parameter 'locationId' is set
|
|
84
95
|
if (locationId === undefined || locationId === null || locationId === '') {
|
|
85
96
|
throw 'Missing the required parameter "locationId" when calling getLocationSublocations';
|
|
@@ -95,7 +106,8 @@ class LocationsApi {
|
|
|
95
106
|
null,
|
|
96
107
|
['PureCloud OAuth'],
|
|
97
108
|
['application/json'],
|
|
98
|
-
['application/json']
|
|
109
|
+
['application/json'],
|
|
110
|
+
opts['customHeaders']
|
|
99
111
|
);
|
|
100
112
|
}
|
|
101
113
|
|
|
@@ -107,6 +119,7 @@ class LocationsApi {
|
|
|
107
119
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
108
120
|
* @param {Array.<String>} opts.id id
|
|
109
121
|
* @param {Object} opts.sortOrder Sort order
|
|
122
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
110
123
|
*/
|
|
111
124
|
getLocations(opts) {
|
|
112
125
|
opts = opts || {};
|
|
@@ -122,7 +135,8 @@ class LocationsApi {
|
|
|
122
135
|
null,
|
|
123
136
|
['PureCloud OAuth'],
|
|
124
137
|
['application/json'],
|
|
125
|
-
['application/json']
|
|
138
|
+
['application/json'],
|
|
139
|
+
opts['customHeaders']
|
|
126
140
|
);
|
|
127
141
|
}
|
|
128
142
|
|
|
@@ -132,6 +146,7 @@ class LocationsApi {
|
|
|
132
146
|
* @param {String} q64 q64
|
|
133
147
|
* @param {Object} opts Optional parameters
|
|
134
148
|
* @param {Array.<String>} opts.expand Provides more details about a specified resource
|
|
149
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
135
150
|
*/
|
|
136
151
|
getLocationsSearch(q64, opts) {
|
|
137
152
|
opts = opts || {};
|
|
@@ -151,7 +166,8 @@ class LocationsApi {
|
|
|
151
166
|
null,
|
|
152
167
|
['PureCloud OAuth'],
|
|
153
168
|
['application/json'],
|
|
154
|
-
['application/json']
|
|
169
|
+
['application/json'],
|
|
170
|
+
opts['customHeaders']
|
|
155
171
|
);
|
|
156
172
|
}
|
|
157
173
|
|
|
@@ -160,8 +176,12 @@ class LocationsApi {
|
|
|
160
176
|
*
|
|
161
177
|
* @param {String} locationId Location ID
|
|
162
178
|
* @param {Object} body Location
|
|
179
|
+
* @param {Object} opts Optional parameters
|
|
180
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
163
181
|
*/
|
|
164
|
-
patchLocation(locationId, body) {
|
|
182
|
+
patchLocation(locationId, body, opts) {
|
|
183
|
+
opts = opts || {};
|
|
184
|
+
|
|
165
185
|
// verify the required parameter 'locationId' is set
|
|
166
186
|
if (locationId === undefined || locationId === null || locationId === '') {
|
|
167
187
|
throw 'Missing the required parameter "locationId" when calling patchLocation';
|
|
@@ -181,7 +201,8 @@ class LocationsApi {
|
|
|
181
201
|
body,
|
|
182
202
|
['PureCloud OAuth'],
|
|
183
203
|
['application/json'],
|
|
184
|
-
['application/json']
|
|
204
|
+
['application/json'],
|
|
205
|
+
opts['customHeaders']
|
|
185
206
|
);
|
|
186
207
|
}
|
|
187
208
|
|
|
@@ -189,8 +210,12 @@ class LocationsApi {
|
|
|
189
210
|
* Create a location
|
|
190
211
|
*
|
|
191
212
|
* @param {Object} body Location
|
|
213
|
+
* @param {Object} opts Optional parameters
|
|
214
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
192
215
|
*/
|
|
193
|
-
postLocations(body) {
|
|
216
|
+
postLocations(body, opts) {
|
|
217
|
+
opts = opts || {};
|
|
218
|
+
|
|
194
219
|
// verify the required parameter 'body' is set
|
|
195
220
|
if (body === undefined || body === null) {
|
|
196
221
|
throw 'Missing the required parameter "body" when calling postLocations';
|
|
@@ -206,7 +231,8 @@ class LocationsApi {
|
|
|
206
231
|
body,
|
|
207
232
|
['PureCloud OAuth'],
|
|
208
233
|
['application/json'],
|
|
209
|
-
['application/json']
|
|
234
|
+
['application/json'],
|
|
235
|
+
opts['customHeaders']
|
|
210
236
|
);
|
|
211
237
|
}
|
|
212
238
|
|
|
@@ -214,8 +240,12 @@ class LocationsApi {
|
|
|
214
240
|
* Search locations
|
|
215
241
|
*
|
|
216
242
|
* @param {Object} body Search request options
|
|
243
|
+
* @param {Object} opts Optional parameters
|
|
244
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
217
245
|
*/
|
|
218
|
-
postLocationsSearch(body) {
|
|
246
|
+
postLocationsSearch(body, opts) {
|
|
247
|
+
opts = opts || {};
|
|
248
|
+
|
|
219
249
|
// verify the required parameter 'body' is set
|
|
220
250
|
if (body === undefined || body === null) {
|
|
221
251
|
throw 'Missing the required parameter "body" when calling postLocationsSearch';
|
|
@@ -231,7 +261,8 @@ class LocationsApi {
|
|
|
231
261
|
body,
|
|
232
262
|
['PureCloud OAuth'],
|
|
233
263
|
['application/json'],
|
|
234
|
-
['application/json']
|
|
264
|
+
['application/json'],
|
|
265
|
+
opts['customHeaders']
|
|
235
266
|
);
|
|
236
267
|
}
|
|
237
268
|
|
|
@@ -5,7 +5,7 @@ class LogCaptureApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* LogCapture service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class LogCaptureApi {
|
|
|
24
24
|
* Disable browser log capture for the user
|
|
25
25
|
*
|
|
26
26
|
* @param {String} userId The id of the user to disable browser log capture
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteDiagnosticsLogcaptureBrowserUser(userId) {
|
|
30
|
+
deleteDiagnosticsLogcaptureBrowserUser(userId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'userId' is set
|
|
30
34
|
if (userId === undefined || userId === null || userId === '') {
|
|
31
35
|
throw 'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';
|
|
@@ -41,7 +45,8 @@ class LogCaptureApi {
|
|
|
41
45
|
null,
|
|
42
46
|
['PureCloud OAuth'],
|
|
43
47
|
['application/json'],
|
|
44
|
-
['application/json']
|
|
48
|
+
['application/json'],
|
|
49
|
+
opts['customHeaders']
|
|
45
50
|
);
|
|
46
51
|
}
|
|
47
52
|
|
|
@@ -49,8 +54,12 @@ class LogCaptureApi {
|
|
|
49
54
|
* Gets status of async download execution
|
|
50
55
|
*
|
|
51
56
|
* @param {String} jobId Job ID
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
52
59
|
*/
|
|
53
|
-
getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId) {
|
|
60
|
+
getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId, opts) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
|
|
54
63
|
// verify the required parameter 'jobId' is set
|
|
55
64
|
if (jobId === undefined || jobId === null || jobId === '') {
|
|
56
65
|
throw 'Missing the required parameter "jobId" when calling getDiagnosticsLogcaptureBrowserEntriesDownloadJob';
|
|
@@ -66,7 +75,8 @@ class LogCaptureApi {
|
|
|
66
75
|
null,
|
|
67
76
|
['PureCloud OAuth'],
|
|
68
77
|
['application/json'],
|
|
69
|
-
['application/json']
|
|
78
|
+
['application/json'],
|
|
79
|
+
opts['customHeaders']
|
|
70
80
|
);
|
|
71
81
|
}
|
|
72
82
|
|
|
@@ -74,8 +84,12 @@ class LogCaptureApi {
|
|
|
74
84
|
* Get log capture configuration for the user
|
|
75
85
|
*
|
|
76
86
|
* @param {String} userId The id of the user to get browser log capture configuration
|
|
87
|
+
* @param {Object} opts Optional parameters
|
|
88
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
77
89
|
*/
|
|
78
|
-
getDiagnosticsLogcaptureBrowserUser(userId) {
|
|
90
|
+
getDiagnosticsLogcaptureBrowserUser(userId, opts) {
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
|
|
79
93
|
// verify the required parameter 'userId' is set
|
|
80
94
|
if (userId === undefined || userId === null || userId === '') {
|
|
81
95
|
throw 'Missing the required parameter "userId" when calling getDiagnosticsLogcaptureBrowserUser';
|
|
@@ -91,7 +105,8 @@ class LogCaptureApi {
|
|
|
91
105
|
null,
|
|
92
106
|
['PureCloud OAuth'],
|
|
93
107
|
['application/json'],
|
|
94
|
-
['application/json']
|
|
108
|
+
['application/json'],
|
|
109
|
+
opts['customHeaders']
|
|
95
110
|
);
|
|
96
111
|
}
|
|
97
112
|
|
|
@@ -100,6 +115,7 @@ class LogCaptureApi {
|
|
|
100
115
|
*
|
|
101
116
|
* @param {Object} opts Optional parameters
|
|
102
117
|
* @param {Boolean} opts.includeExpired Include expired users with log captures still available for search or download (default to false)
|
|
118
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
103
119
|
*/
|
|
104
120
|
getDiagnosticsLogcaptureBrowserUsers(opts) {
|
|
105
121
|
opts = opts || {};
|
|
@@ -115,7 +131,8 @@ class LogCaptureApi {
|
|
|
115
131
|
null,
|
|
116
132
|
['PureCloud OAuth'],
|
|
117
133
|
['application/json'],
|
|
118
|
-
['application/json']
|
|
134
|
+
['application/json'],
|
|
135
|
+
opts['customHeaders']
|
|
119
136
|
);
|
|
120
137
|
}
|
|
121
138
|
|
|
@@ -124,6 +141,7 @@ class LogCaptureApi {
|
|
|
124
141
|
*
|
|
125
142
|
* @param {Object} opts Optional parameters
|
|
126
143
|
* @param {Object} opts.body
|
|
144
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
127
145
|
*/
|
|
128
146
|
postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(opts) {
|
|
129
147
|
opts = opts || {};
|
|
@@ -139,7 +157,8 @@ class LogCaptureApi {
|
|
|
139
157
|
opts['body'],
|
|
140
158
|
['PureCloud OAuth'],
|
|
141
159
|
['application/json'],
|
|
142
|
-
['application/json']
|
|
160
|
+
['application/json'],
|
|
161
|
+
opts['customHeaders']
|
|
143
162
|
);
|
|
144
163
|
}
|
|
145
164
|
|
|
@@ -150,6 +169,7 @@ class LogCaptureApi {
|
|
|
150
169
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
151
170
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
152
171
|
* @param {Object} opts.body
|
|
172
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
153
173
|
*/
|
|
154
174
|
postDiagnosticsLogcaptureBrowserEntriesQuery(opts) {
|
|
155
175
|
opts = opts || {};
|
|
@@ -165,7 +185,8 @@ class LogCaptureApi {
|
|
|
165
185
|
opts['body'],
|
|
166
186
|
['PureCloud OAuth'],
|
|
167
187
|
['application/json'],
|
|
168
|
-
['application/json']
|
|
188
|
+
['application/json'],
|
|
189
|
+
opts['customHeaders']
|
|
169
190
|
);
|
|
170
191
|
}
|
|
171
192
|
|
|
@@ -175,6 +196,7 @@ class LogCaptureApi {
|
|
|
175
196
|
* @param {String} userId The id of the user to enable browser log capture
|
|
176
197
|
* @param {Object} opts Optional parameters
|
|
177
198
|
* @param {Object} opts.body
|
|
199
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
178
200
|
*/
|
|
179
201
|
postDiagnosticsLogcaptureBrowserUser(userId, opts) {
|
|
180
202
|
opts = opts || {};
|
|
@@ -194,7 +216,8 @@ class LogCaptureApi {
|
|
|
194
216
|
opts['body'],
|
|
195
217
|
['PureCloud OAuth'],
|
|
196
218
|
['application/json'],
|
|
197
|
-
['application/json']
|
|
219
|
+
['application/json'],
|
|
220
|
+
opts['customHeaders']
|
|
198
221
|
);
|
|
199
222
|
}
|
|
200
223
|
|