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 SearchApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Search service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class SearchApi {
|
|
|
24
24
|
* Search gkn documentation using the q64 value returned from a previous search
|
|
25
25
|
*
|
|
26
26
|
* @param {String} q64 q64
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
getDocumentationGknSearch(q64) {
|
|
30
|
+
getDocumentationGknSearch(q64, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'q64' is set
|
|
30
34
|
if (q64 === undefined || q64 === null) {
|
|
31
35
|
throw 'Missing the required parameter "q64" when calling getDocumentationGknSearch';
|
|
@@ -41,7 +45,8 @@ class SearchApi {
|
|
|
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 SearchApi {
|
|
|
49
54
|
* Search documentation using the q64 value returned from a previous search
|
|
50
55
|
*
|
|
51
56
|
* @param {String} q64 q64
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
52
59
|
*/
|
|
53
|
-
getDocumentationSearch(q64) {
|
|
60
|
+
getDocumentationSearch(q64, opts) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
|
|
54
63
|
// verify the required parameter 'q64' is set
|
|
55
64
|
if (q64 === undefined || q64 === null) {
|
|
56
65
|
throw 'Missing the required parameter "q64" when calling getDocumentationSearch';
|
|
@@ -66,7 +75,8 @@ class SearchApi {
|
|
|
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
|
|
|
@@ -76,6 +86,7 @@ class SearchApi {
|
|
|
76
86
|
* @param {String} q64 q64
|
|
77
87
|
* @param {Object} opts Optional parameters
|
|
78
88
|
* @param {Array.<String>} opts.expand expand
|
|
89
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
79
90
|
*/
|
|
80
91
|
getGroupsSearch(q64, opts) {
|
|
81
92
|
opts = opts || {};
|
|
@@ -95,7 +106,8 @@ class SearchApi {
|
|
|
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
|
|
|
@@ -105,6 +117,7 @@ class SearchApi {
|
|
|
105
117
|
* @param {String} q64 q64
|
|
106
118
|
* @param {Object} opts Optional parameters
|
|
107
119
|
* @param {Array.<String>} opts.expand Provides more details about a specified resource
|
|
120
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
108
121
|
*/
|
|
109
122
|
getLocationsSearch(q64, opts) {
|
|
110
123
|
opts = opts || {};
|
|
@@ -124,7 +137,8 @@ class SearchApi {
|
|
|
124
137
|
null,
|
|
125
138
|
['PureCloud OAuth'],
|
|
126
139
|
['application/json'],
|
|
127
|
-
['application/json']
|
|
140
|
+
['application/json'],
|
|
141
|
+
opts['customHeaders']
|
|
128
142
|
);
|
|
129
143
|
}
|
|
130
144
|
|
|
@@ -135,6 +149,7 @@ class SearchApi {
|
|
|
135
149
|
* @param {Object} opts Optional parameters
|
|
136
150
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
137
151
|
* @param {Boolean} opts.profile profile (default to true)
|
|
152
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
138
153
|
*/
|
|
139
154
|
getSearch(q64, opts) {
|
|
140
155
|
opts = opts || {};
|
|
@@ -154,7 +169,8 @@ class SearchApi {
|
|
|
154
169
|
null,
|
|
155
170
|
['PureCloud OAuth'],
|
|
156
171
|
['application/json'],
|
|
157
|
-
['application/json']
|
|
172
|
+
['application/json'],
|
|
173
|
+
opts['customHeaders']
|
|
158
174
|
);
|
|
159
175
|
}
|
|
160
176
|
|
|
@@ -165,6 +181,7 @@ class SearchApi {
|
|
|
165
181
|
* @param {Object} opts Optional parameters
|
|
166
182
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
167
183
|
* @param {Boolean} opts.profile profile (default to true)
|
|
184
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
168
185
|
*/
|
|
169
186
|
getSearchSuggest(q64, opts) {
|
|
170
187
|
opts = opts || {};
|
|
@@ -184,7 +201,8 @@ class SearchApi {
|
|
|
184
201
|
null,
|
|
185
202
|
['PureCloud OAuth'],
|
|
186
203
|
['application/json'],
|
|
187
|
-
['application/json']
|
|
204
|
+
['application/json'],
|
|
205
|
+
opts['customHeaders']
|
|
188
206
|
);
|
|
189
207
|
}
|
|
190
208
|
|
|
@@ -194,6 +212,7 @@ class SearchApi {
|
|
|
194
212
|
* @param {String} q64 q64
|
|
195
213
|
* @param {Object} opts Optional parameters
|
|
196
214
|
* @param {Array.<String>} opts.expand expand
|
|
215
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
197
216
|
*/
|
|
198
217
|
getTelephonyProvidersEdgesSitesSearch(q64, opts) {
|
|
199
218
|
opts = opts || {};
|
|
@@ -213,7 +232,8 @@ class SearchApi {
|
|
|
213
232
|
null,
|
|
214
233
|
['PureCloud OAuth'],
|
|
215
234
|
['application/json'],
|
|
216
|
-
['application/json']
|
|
235
|
+
['application/json'],
|
|
236
|
+
opts['customHeaders']
|
|
217
237
|
);
|
|
218
238
|
}
|
|
219
239
|
|
|
@@ -224,6 +244,7 @@ class SearchApi {
|
|
|
224
244
|
* @param {Object} opts Optional parameters
|
|
225
245
|
* @param {Array.<String>} opts.expand expand
|
|
226
246
|
* @param {Object} opts.integrationPresenceSource integrationPresenceSource
|
|
247
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
227
248
|
*/
|
|
228
249
|
getUsersSearch(q64, opts) {
|
|
229
250
|
opts = opts || {};
|
|
@@ -243,7 +264,8 @@ class SearchApi {
|
|
|
243
264
|
null,
|
|
244
265
|
['PureCloud OAuth'],
|
|
245
266
|
['application/json'],
|
|
246
|
-
['application/json']
|
|
267
|
+
['application/json'],
|
|
268
|
+
opts['customHeaders']
|
|
247
269
|
);
|
|
248
270
|
}
|
|
249
271
|
|
|
@@ -253,6 +275,7 @@ class SearchApi {
|
|
|
253
275
|
* @param {String} q64 q64
|
|
254
276
|
* @param {Object} opts Optional parameters
|
|
255
277
|
* @param {Array.<String>} opts.expand expand
|
|
278
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
256
279
|
*/
|
|
257
280
|
getVoicemailSearch(q64, opts) {
|
|
258
281
|
opts = opts || {};
|
|
@@ -272,7 +295,8 @@ class SearchApi {
|
|
|
272
295
|
null,
|
|
273
296
|
['PureCloud OAuth'],
|
|
274
297
|
['application/json'],
|
|
275
|
-
['application/json']
|
|
298
|
+
['application/json'],
|
|
299
|
+
opts['customHeaders']
|
|
276
300
|
);
|
|
277
301
|
}
|
|
278
302
|
|
|
@@ -280,8 +304,12 @@ class SearchApi {
|
|
|
280
304
|
* Search resources.
|
|
281
305
|
*
|
|
282
306
|
* @param {Object} body Search request options
|
|
307
|
+
* @param {Object} opts Optional parameters
|
|
308
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
283
309
|
*/
|
|
284
|
-
postConversationsCustomattributesSearch(body) {
|
|
310
|
+
postConversationsCustomattributesSearch(body, opts) {
|
|
311
|
+
opts = opts || {};
|
|
312
|
+
|
|
285
313
|
// verify the required parameter 'body' is set
|
|
286
314
|
if (body === undefined || body === null) {
|
|
287
315
|
throw 'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';
|
|
@@ -297,7 +325,8 @@ class SearchApi {
|
|
|
297
325
|
body,
|
|
298
326
|
['PureCloud OAuth'],
|
|
299
327
|
['application/json'],
|
|
300
|
-
['application/json']
|
|
328
|
+
['application/json'],
|
|
329
|
+
opts['customHeaders']
|
|
301
330
|
);
|
|
302
331
|
}
|
|
303
332
|
|
|
@@ -305,8 +334,12 @@ class SearchApi {
|
|
|
305
334
|
* Search conversations
|
|
306
335
|
*
|
|
307
336
|
* @param {Object} body Search request options
|
|
337
|
+
* @param {Object} opts Optional parameters
|
|
338
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
308
339
|
*/
|
|
309
|
-
postConversationsParticipantsAttributesSearch(body) {
|
|
340
|
+
postConversationsParticipantsAttributesSearch(body, opts) {
|
|
341
|
+
opts = opts || {};
|
|
342
|
+
|
|
310
343
|
// verify the required parameter 'body' is set
|
|
311
344
|
if (body === undefined || body === null) {
|
|
312
345
|
throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
|
|
@@ -322,7 +355,8 @@ class SearchApi {
|
|
|
322
355
|
body,
|
|
323
356
|
['PureCloud OAuth'],
|
|
324
357
|
['application/json'],
|
|
325
|
-
['application/json']
|
|
358
|
+
['application/json'],
|
|
359
|
+
opts['customHeaders']
|
|
326
360
|
);
|
|
327
361
|
}
|
|
328
362
|
|
|
@@ -330,9 +364,13 @@ class SearchApi {
|
|
|
330
364
|
* Search all documents
|
|
331
365
|
*
|
|
332
366
|
* @param {Object} body Search request options
|
|
367
|
+
* @param {Object} opts Optional parameters
|
|
368
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
333
369
|
* postDocumentationAllSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
334
370
|
*/
|
|
335
|
-
postDocumentationAllSearch(body) {
|
|
371
|
+
postDocumentationAllSearch(body, opts) {
|
|
372
|
+
opts = opts || {};
|
|
373
|
+
|
|
336
374
|
// verify the required parameter 'body' is set
|
|
337
375
|
if (body === undefined || body === null) {
|
|
338
376
|
throw 'Missing the required parameter "body" when calling postDocumentationAllSearch';
|
|
@@ -348,7 +386,8 @@ class SearchApi {
|
|
|
348
386
|
body,
|
|
349
387
|
['PureCloud OAuth'],
|
|
350
388
|
['application/json'],
|
|
351
|
-
['application/json']
|
|
389
|
+
['application/json'],
|
|
390
|
+
opts['customHeaders']
|
|
352
391
|
);
|
|
353
392
|
}
|
|
354
393
|
|
|
@@ -356,8 +395,12 @@ class SearchApi {
|
|
|
356
395
|
* Search gkn documentation
|
|
357
396
|
*
|
|
358
397
|
* @param {Object} body Search request options
|
|
398
|
+
* @param {Object} opts Optional parameters
|
|
399
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
359
400
|
*/
|
|
360
|
-
postDocumentationGknSearch(body) {
|
|
401
|
+
postDocumentationGknSearch(body, opts) {
|
|
402
|
+
opts = opts || {};
|
|
403
|
+
|
|
361
404
|
// verify the required parameter 'body' is set
|
|
362
405
|
if (body === undefined || body === null) {
|
|
363
406
|
throw 'Missing the required parameter "body" when calling postDocumentationGknSearch';
|
|
@@ -373,7 +416,8 @@ class SearchApi {
|
|
|
373
416
|
body,
|
|
374
417
|
['PureCloud OAuth'],
|
|
375
418
|
['application/json'],
|
|
376
|
-
['application/json']
|
|
419
|
+
['application/json'],
|
|
420
|
+
opts['customHeaders']
|
|
377
421
|
);
|
|
378
422
|
}
|
|
379
423
|
|
|
@@ -381,8 +425,12 @@ class SearchApi {
|
|
|
381
425
|
* Search documentation
|
|
382
426
|
*
|
|
383
427
|
* @param {Object} body Search request options
|
|
428
|
+
* @param {Object} opts Optional parameters
|
|
429
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
384
430
|
*/
|
|
385
|
-
postDocumentationSearch(body) {
|
|
431
|
+
postDocumentationSearch(body, opts) {
|
|
432
|
+
opts = opts || {};
|
|
433
|
+
|
|
386
434
|
// verify the required parameter 'body' is set
|
|
387
435
|
if (body === undefined || body === null) {
|
|
388
436
|
throw 'Missing the required parameter "body" when calling postDocumentationSearch';
|
|
@@ -398,7 +446,8 @@ class SearchApi {
|
|
|
398
446
|
body,
|
|
399
447
|
['PureCloud OAuth'],
|
|
400
448
|
['application/json'],
|
|
401
|
-
['application/json']
|
|
449
|
+
['application/json'],
|
|
450
|
+
opts['customHeaders']
|
|
402
451
|
);
|
|
403
452
|
}
|
|
404
453
|
|
|
@@ -406,8 +455,12 @@ class SearchApi {
|
|
|
406
455
|
* Search groups
|
|
407
456
|
*
|
|
408
457
|
* @param {Object} body Search request options
|
|
458
|
+
* @param {Object} opts Optional parameters
|
|
459
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
409
460
|
*/
|
|
410
|
-
postGroupsSearch(body) {
|
|
461
|
+
postGroupsSearch(body, opts) {
|
|
462
|
+
opts = opts || {};
|
|
463
|
+
|
|
411
464
|
// verify the required parameter 'body' is set
|
|
412
465
|
if (body === undefined || body === null) {
|
|
413
466
|
throw 'Missing the required parameter "body" when calling postGroupsSearch';
|
|
@@ -423,7 +476,8 @@ class SearchApi {
|
|
|
423
476
|
body,
|
|
424
477
|
['PureCloud OAuth'],
|
|
425
478
|
['application/json'],
|
|
426
|
-
['application/json']
|
|
479
|
+
['application/json'],
|
|
480
|
+
opts['customHeaders']
|
|
427
481
|
);
|
|
428
482
|
}
|
|
429
483
|
|
|
@@ -431,8 +485,12 @@ class SearchApi {
|
|
|
431
485
|
* Search locations
|
|
432
486
|
*
|
|
433
487
|
* @param {Object} body Search request options
|
|
488
|
+
* @param {Object} opts Optional parameters
|
|
489
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
434
490
|
*/
|
|
435
|
-
postLocationsSearch(body) {
|
|
491
|
+
postLocationsSearch(body, opts) {
|
|
492
|
+
opts = opts || {};
|
|
493
|
+
|
|
436
494
|
// verify the required parameter 'body' is set
|
|
437
495
|
if (body === undefined || body === null) {
|
|
438
496
|
throw 'Missing the required parameter "body" when calling postLocationsSearch';
|
|
@@ -448,7 +506,8 @@ class SearchApi {
|
|
|
448
506
|
body,
|
|
449
507
|
['PureCloud OAuth'],
|
|
450
508
|
['application/json'],
|
|
451
|
-
['application/json']
|
|
509
|
+
['application/json'],
|
|
510
|
+
opts['customHeaders']
|
|
452
511
|
);
|
|
453
512
|
}
|
|
454
513
|
|
|
@@ -458,6 +517,7 @@ class SearchApi {
|
|
|
458
517
|
* @param {Object} body Search request options
|
|
459
518
|
* @param {Object} opts Optional parameters
|
|
460
519
|
* @param {Boolean} opts.profile profile (default to true)
|
|
520
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
461
521
|
*/
|
|
462
522
|
postSearch(body, opts) {
|
|
463
523
|
opts = opts || {};
|
|
@@ -477,7 +537,8 @@ class SearchApi {
|
|
|
477
537
|
body,
|
|
478
538
|
['PureCloud OAuth'],
|
|
479
539
|
['application/json'],
|
|
480
|
-
['application/json']
|
|
540
|
+
['application/json'],
|
|
541
|
+
opts['customHeaders']
|
|
481
542
|
);
|
|
482
543
|
}
|
|
483
544
|
|
|
@@ -487,6 +548,7 @@ class SearchApi {
|
|
|
487
548
|
* @param {Object} body Search request options
|
|
488
549
|
* @param {Object} opts Optional parameters
|
|
489
550
|
* @param {Boolean} opts.profile profile (default to true)
|
|
551
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
490
552
|
*/
|
|
491
553
|
postSearchSuggest(body, opts) {
|
|
492
554
|
opts = opts || {};
|
|
@@ -506,7 +568,8 @@ class SearchApi {
|
|
|
506
568
|
body,
|
|
507
569
|
['PureCloud OAuth'],
|
|
508
570
|
['application/json'],
|
|
509
|
-
['application/json']
|
|
571
|
+
['application/json'],
|
|
572
|
+
opts['customHeaders']
|
|
510
573
|
);
|
|
511
574
|
}
|
|
512
575
|
|
|
@@ -514,8 +577,12 @@ class SearchApi {
|
|
|
514
577
|
* Search resources.
|
|
515
578
|
*
|
|
516
579
|
* @param {Object} body Search request options
|
|
580
|
+
* @param {Object} opts Optional parameters
|
|
581
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
517
582
|
*/
|
|
518
|
-
postSpeechandtextanalyticsTranscriptsSearch(body) {
|
|
583
|
+
postSpeechandtextanalyticsTranscriptsSearch(body, opts) {
|
|
584
|
+
opts = opts || {};
|
|
585
|
+
|
|
519
586
|
// verify the required parameter 'body' is set
|
|
520
587
|
if (body === undefined || body === null) {
|
|
521
588
|
throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';
|
|
@@ -531,7 +598,8 @@ class SearchApi {
|
|
|
531
598
|
body,
|
|
532
599
|
['PureCloud OAuth'],
|
|
533
600
|
['application/json'],
|
|
534
|
-
['application/json']
|
|
601
|
+
['application/json'],
|
|
602
|
+
opts['customHeaders']
|
|
535
603
|
);
|
|
536
604
|
}
|
|
537
605
|
|
|
@@ -539,8 +607,12 @@ class SearchApi {
|
|
|
539
607
|
* Search resources.
|
|
540
608
|
*
|
|
541
609
|
* @param {Object} body Search request options
|
|
610
|
+
* @param {Object} opts Optional parameters
|
|
611
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
542
612
|
*/
|
|
543
|
-
postTeamsSearch(body) {
|
|
613
|
+
postTeamsSearch(body, opts) {
|
|
614
|
+
opts = opts || {};
|
|
615
|
+
|
|
544
616
|
// verify the required parameter 'body' is set
|
|
545
617
|
if (body === undefined || body === null) {
|
|
546
618
|
throw 'Missing the required parameter "body" when calling postTeamsSearch';
|
|
@@ -556,7 +628,8 @@ class SearchApi {
|
|
|
556
628
|
body,
|
|
557
629
|
['PureCloud OAuth'],
|
|
558
630
|
['application/json'],
|
|
559
|
-
['application/json']
|
|
631
|
+
['application/json'],
|
|
632
|
+
opts['customHeaders']
|
|
560
633
|
);
|
|
561
634
|
}
|
|
562
635
|
|
|
@@ -564,8 +637,12 @@ class SearchApi {
|
|
|
564
637
|
* Search sites
|
|
565
638
|
*
|
|
566
639
|
* @param {Object} body Search request options
|
|
640
|
+
* @param {Object} opts Optional parameters
|
|
641
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
567
642
|
*/
|
|
568
|
-
postTelephonyProvidersEdgesSitesSearch(body) {
|
|
643
|
+
postTelephonyProvidersEdgesSitesSearch(body, opts) {
|
|
644
|
+
opts = opts || {};
|
|
645
|
+
|
|
569
646
|
// verify the required parameter 'body' is set
|
|
570
647
|
if (body === undefined || body === null) {
|
|
571
648
|
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';
|
|
@@ -581,7 +658,8 @@ class SearchApi {
|
|
|
581
658
|
body,
|
|
582
659
|
['PureCloud OAuth'],
|
|
583
660
|
['application/json'],
|
|
584
|
-
['application/json']
|
|
661
|
+
['application/json'],
|
|
662
|
+
opts['customHeaders']
|
|
585
663
|
);
|
|
586
664
|
}
|
|
587
665
|
|
|
@@ -589,8 +667,12 @@ class SearchApi {
|
|
|
589
667
|
* Search users
|
|
590
668
|
*
|
|
591
669
|
* @param {Object} body Search request options
|
|
670
|
+
* @param {Object} opts Optional parameters
|
|
671
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
592
672
|
*/
|
|
593
|
-
postUsersSearch(body) {
|
|
673
|
+
postUsersSearch(body, opts) {
|
|
674
|
+
opts = opts || {};
|
|
675
|
+
|
|
594
676
|
// verify the required parameter 'body' is set
|
|
595
677
|
if (body === undefined || body === null) {
|
|
596
678
|
throw 'Missing the required parameter "body" when calling postUsersSearch';
|
|
@@ -606,7 +688,8 @@ class SearchApi {
|
|
|
606
688
|
body,
|
|
607
689
|
['PureCloud OAuth'],
|
|
608
690
|
['application/json'],
|
|
609
|
-
['application/json']
|
|
691
|
+
['application/json'],
|
|
692
|
+
opts['customHeaders']
|
|
610
693
|
);
|
|
611
694
|
}
|
|
612
695
|
|
|
@@ -614,9 +697,13 @@ class SearchApi {
|
|
|
614
697
|
* Search users as conversation targets
|
|
615
698
|
*
|
|
616
699
|
* @param {Object} body Search request options
|
|
700
|
+
* @param {Object} opts Optional parameters
|
|
701
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
617
702
|
* postUsersSearchConversationTarget is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
618
703
|
*/
|
|
619
|
-
postUsersSearchConversationTarget(body) {
|
|
704
|
+
postUsersSearchConversationTarget(body, opts) {
|
|
705
|
+
opts = opts || {};
|
|
706
|
+
|
|
620
707
|
// verify the required parameter 'body' is set
|
|
621
708
|
if (body === undefined || body === null) {
|
|
622
709
|
throw 'Missing the required parameter "body" when calling postUsersSearchConversationTarget';
|
|
@@ -632,7 +719,8 @@ class SearchApi {
|
|
|
632
719
|
body,
|
|
633
720
|
['PureCloud OAuth'],
|
|
634
721
|
['application/json'],
|
|
635
|
-
['application/json']
|
|
722
|
+
['application/json'],
|
|
723
|
+
opts['customHeaders']
|
|
636
724
|
);
|
|
637
725
|
}
|
|
638
726
|
|
|
@@ -640,9 +728,13 @@ class SearchApi {
|
|
|
640
728
|
* Search manage queue member
|
|
641
729
|
*
|
|
642
730
|
* @param {Object} body Search request options
|
|
731
|
+
* @param {Object} opts Optional parameters
|
|
732
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
643
733
|
* postUsersSearchQueuemembersManage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
644
734
|
*/
|
|
645
|
-
postUsersSearchQueuemembersManage(body) {
|
|
735
|
+
postUsersSearchQueuemembersManage(body, opts) {
|
|
736
|
+
opts = opts || {};
|
|
737
|
+
|
|
646
738
|
// verify the required parameter 'body' is set
|
|
647
739
|
if (body === undefined || body === null) {
|
|
648
740
|
throw 'Missing the required parameter "body" when calling postUsersSearchQueuemembersManage';
|
|
@@ -658,7 +750,8 @@ class SearchApi {
|
|
|
658
750
|
body,
|
|
659
751
|
['PureCloud OAuth'],
|
|
660
752
|
['application/json'],
|
|
661
|
-
['application/json']
|
|
753
|
+
['application/json'],
|
|
754
|
+
opts['customHeaders']
|
|
662
755
|
);
|
|
663
756
|
}
|
|
664
757
|
|
|
@@ -666,8 +759,12 @@ class SearchApi {
|
|
|
666
759
|
* Search users assigned to teams
|
|
667
760
|
*
|
|
668
761
|
* @param {Object} body Search request options
|
|
762
|
+
* @param {Object} opts Optional parameters
|
|
763
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
669
764
|
*/
|
|
670
|
-
postUsersSearchTeamsAssign(body) {
|
|
765
|
+
postUsersSearchTeamsAssign(body, opts) {
|
|
766
|
+
opts = opts || {};
|
|
767
|
+
|
|
671
768
|
// verify the required parameter 'body' is set
|
|
672
769
|
if (body === undefined || body === null) {
|
|
673
770
|
throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
|
|
@@ -683,7 +780,8 @@ class SearchApi {
|
|
|
683
780
|
body,
|
|
684
781
|
['PureCloud OAuth'],
|
|
685
782
|
['application/json'],
|
|
686
|
-
['application/json']
|
|
783
|
+
['application/json'],
|
|
784
|
+
opts['customHeaders']
|
|
687
785
|
);
|
|
688
786
|
}
|
|
689
787
|
|
|
@@ -691,8 +789,12 @@ class SearchApi {
|
|
|
691
789
|
* Search voicemails
|
|
692
790
|
*
|
|
693
791
|
* @param {Object} body Search request options
|
|
792
|
+
* @param {Object} opts Optional parameters
|
|
793
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
694
794
|
*/
|
|
695
|
-
postVoicemailSearch(body) {
|
|
795
|
+
postVoicemailSearch(body, opts) {
|
|
796
|
+
opts = opts || {};
|
|
797
|
+
|
|
696
798
|
// verify the required parameter 'body' is set
|
|
697
799
|
if (body === undefined || body === null) {
|
|
698
800
|
throw 'Missing the required parameter "body" when calling postVoicemailSearch';
|
|
@@ -708,7 +810,8 @@ class SearchApi {
|
|
|
708
810
|
body,
|
|
709
811
|
['PureCloud OAuth'],
|
|
710
812
|
['application/json'],
|
|
711
|
-
['application/json']
|
|
813
|
+
['application/json'],
|
|
814
|
+
opts['customHeaders']
|
|
712
815
|
);
|
|
713
816
|
}
|
|
714
817
|
|