purecloud-platform-client-v2 224.0.0 → 226.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +227 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +486 -342
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +82 -81
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +121 -120
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -359
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class SCIMApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SCIM service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -31,7 +31,7 @@ class SCIMApi {
|
|
|
31
31
|
opts = opts || {};
|
|
32
32
|
|
|
33
33
|
// verify the required parameter 'userId' is set
|
|
34
|
-
if (userId === undefined || userId === null) {
|
|
34
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
35
35
|
throw 'Missing the required parameter "userId" when calling deleteScimUser';
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -60,7 +60,7 @@ class SCIMApi {
|
|
|
60
60
|
opts = opts || {};
|
|
61
61
|
|
|
62
62
|
// verify the required parameter 'userId' is set
|
|
63
|
-
if (userId === undefined || userId === null) {
|
|
63
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
64
64
|
throw 'Missing the required parameter "userId" when calling deleteScimV2User';
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -91,7 +91,7 @@ class SCIMApi {
|
|
|
91
91
|
opts = opts || {};
|
|
92
92
|
|
|
93
93
|
// verify the required parameter 'groupId' is set
|
|
94
|
-
if (groupId === undefined || groupId === null) {
|
|
94
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
95
95
|
throw 'Missing the required parameter "groupId" when calling getScimGroup';
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -144,7 +144,7 @@ class SCIMApi {
|
|
|
144
144
|
*/
|
|
145
145
|
getScimResourcetype(resourceType) {
|
|
146
146
|
// verify the required parameter 'resourceType' is set
|
|
147
|
-
if (resourceType === undefined || resourceType === null) {
|
|
147
|
+
if (resourceType === undefined || resourceType === null || resourceType === '') {
|
|
148
148
|
throw 'Missing the required parameter "resourceType" when calling getScimResourcetype';
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -189,7 +189,7 @@ class SCIMApi {
|
|
|
189
189
|
*/
|
|
190
190
|
getScimSchema(schemaId) {
|
|
191
191
|
// verify the required parameter 'schemaId' is set
|
|
192
|
-
if (schemaId === undefined || schemaId === null) {
|
|
192
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
193
193
|
throw 'Missing the required parameter "schemaId" when calling getScimSchema';
|
|
194
194
|
}
|
|
195
195
|
|
|
@@ -268,7 +268,7 @@ class SCIMApi {
|
|
|
268
268
|
opts = opts || {};
|
|
269
269
|
|
|
270
270
|
// verify the required parameter 'userId' is set
|
|
271
|
-
if (userId === undefined || userId === null) {
|
|
271
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
272
272
|
throw 'Missing the required parameter "userId" when calling getScimUser';
|
|
273
273
|
}
|
|
274
274
|
|
|
@@ -327,7 +327,7 @@ class SCIMApi {
|
|
|
327
327
|
opts = opts || {};
|
|
328
328
|
|
|
329
329
|
// verify the required parameter 'groupId' is set
|
|
330
|
-
if (groupId === undefined || groupId === null) {
|
|
330
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
331
331
|
throw 'Missing the required parameter "groupId" when calling getScimV2Group';
|
|
332
332
|
}
|
|
333
333
|
|
|
@@ -384,7 +384,7 @@ class SCIMApi {
|
|
|
384
384
|
*/
|
|
385
385
|
getScimV2Resourcetype(resourceType) {
|
|
386
386
|
// verify the required parameter 'resourceType' is set
|
|
387
|
-
if (resourceType === undefined || resourceType === null) {
|
|
387
|
+
if (resourceType === undefined || resourceType === null || resourceType === '') {
|
|
388
388
|
throw 'Missing the required parameter "resourceType" when calling getScimV2Resourcetype';
|
|
389
389
|
}
|
|
390
390
|
|
|
@@ -429,7 +429,7 @@ class SCIMApi {
|
|
|
429
429
|
*/
|
|
430
430
|
getScimV2Schema(schemaId) {
|
|
431
431
|
// verify the required parameter 'schemaId' is set
|
|
432
|
-
if (schemaId === undefined || schemaId === null) {
|
|
432
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
433
433
|
throw 'Missing the required parameter "schemaId" when calling getScimV2Schema';
|
|
434
434
|
}
|
|
435
435
|
|
|
@@ -508,7 +508,7 @@ class SCIMApi {
|
|
|
508
508
|
opts = opts || {};
|
|
509
509
|
|
|
510
510
|
// verify the required parameter 'userId' is set
|
|
511
|
-
if (userId === undefined || userId === null) {
|
|
511
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
512
512
|
throw 'Missing the required parameter "userId" when calling getScimV2User';
|
|
513
513
|
}
|
|
514
514
|
|
|
@@ -566,7 +566,7 @@ class SCIMApi {
|
|
|
566
566
|
opts = opts || {};
|
|
567
567
|
|
|
568
568
|
// verify the required parameter 'groupId' is set
|
|
569
|
-
if (groupId === undefined || groupId === null) {
|
|
569
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
570
570
|
throw 'Missing the required parameter "groupId" when calling patchScimGroup';
|
|
571
571
|
}
|
|
572
572
|
// verify the required parameter 'body' is set
|
|
@@ -600,7 +600,7 @@ class SCIMApi {
|
|
|
600
600
|
opts = opts || {};
|
|
601
601
|
|
|
602
602
|
// verify the required parameter 'userId' is set
|
|
603
|
-
if (userId === undefined || userId === null) {
|
|
603
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
604
604
|
throw 'Missing the required parameter "userId" when calling patchScimUser';
|
|
605
605
|
}
|
|
606
606
|
// verify the required parameter 'body' is set
|
|
@@ -634,7 +634,7 @@ class SCIMApi {
|
|
|
634
634
|
opts = opts || {};
|
|
635
635
|
|
|
636
636
|
// verify the required parameter 'groupId' is set
|
|
637
|
-
if (groupId === undefined || groupId === null) {
|
|
637
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
638
638
|
throw 'Missing the required parameter "groupId" when calling patchScimV2Group';
|
|
639
639
|
}
|
|
640
640
|
// verify the required parameter 'body' is set
|
|
@@ -668,7 +668,7 @@ class SCIMApi {
|
|
|
668
668
|
opts = opts || {};
|
|
669
669
|
|
|
670
670
|
// verify the required parameter 'userId' is set
|
|
671
|
-
if (userId === undefined || userId === null) {
|
|
671
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
672
672
|
throw 'Missing the required parameter "userId" when calling patchScimV2User';
|
|
673
673
|
}
|
|
674
674
|
// verify the required parameter 'body' is set
|
|
@@ -752,7 +752,7 @@ class SCIMApi {
|
|
|
752
752
|
opts = opts || {};
|
|
753
753
|
|
|
754
754
|
// verify the required parameter 'groupId' is set
|
|
755
|
-
if (groupId === undefined || groupId === null) {
|
|
755
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
756
756
|
throw 'Missing the required parameter "groupId" when calling putScimGroup';
|
|
757
757
|
}
|
|
758
758
|
// verify the required parameter 'body' is set
|
|
@@ -786,7 +786,7 @@ class SCIMApi {
|
|
|
786
786
|
opts = opts || {};
|
|
787
787
|
|
|
788
788
|
// verify the required parameter 'userId' is set
|
|
789
|
-
if (userId === undefined || userId === null) {
|
|
789
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
790
790
|
throw 'Missing the required parameter "userId" when calling putScimUser';
|
|
791
791
|
}
|
|
792
792
|
// verify the required parameter 'body' is set
|
|
@@ -820,7 +820,7 @@ class SCIMApi {
|
|
|
820
820
|
opts = opts || {};
|
|
821
821
|
|
|
822
822
|
// verify the required parameter 'groupId' is set
|
|
823
|
-
if (groupId === undefined || groupId === null) {
|
|
823
|
+
if (groupId === undefined || groupId === null || groupId === '') {
|
|
824
824
|
throw 'Missing the required parameter "groupId" when calling putScimV2Group';
|
|
825
825
|
}
|
|
826
826
|
// verify the required parameter 'body' is set
|
|
@@ -854,7 +854,7 @@ class SCIMApi {
|
|
|
854
854
|
opts = opts || {};
|
|
855
855
|
|
|
856
856
|
// verify the required parameter 'userId' is set
|
|
857
|
-
if (userId === undefined || userId === null) {
|
|
857
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
858
858
|
throw 'Missing the required parameter "userId" when calling putScimV2User';
|
|
859
859
|
}
|
|
860
860
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class ScriptsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Scripts service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class ScriptsApi {
|
|
|
27
27
|
*/
|
|
28
28
|
getScript(scriptId) {
|
|
29
29
|
// verify the required parameter 'scriptId' is set
|
|
30
|
-
if (scriptId === undefined || scriptId === null) {
|
|
30
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
31
31
|
throw 'Missing the required parameter "scriptId" when calling getScript';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -57,11 +57,11 @@ class ScriptsApi {
|
|
|
57
57
|
opts = opts || {};
|
|
58
58
|
|
|
59
59
|
// verify the required parameter 'scriptId' is set
|
|
60
|
-
if (scriptId === undefined || scriptId === null) {
|
|
60
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
61
61
|
throw 'Missing the required parameter "scriptId" when calling getScriptPage';
|
|
62
62
|
}
|
|
63
63
|
// verify the required parameter 'pageId' is set
|
|
64
|
-
if (pageId === undefined || pageId === null) {
|
|
64
|
+
if (pageId === undefined || pageId === null || pageId === '') {
|
|
65
65
|
throw 'Missing the required parameter "pageId" when calling getScriptPage';
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -90,7 +90,7 @@ class ScriptsApi {
|
|
|
90
90
|
opts = opts || {};
|
|
91
91
|
|
|
92
92
|
// verify the required parameter 'scriptId' is set
|
|
93
|
-
if (scriptId === undefined || scriptId === null) {
|
|
93
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
94
94
|
throw 'Missing the required parameter "scriptId" when calling getScriptPages';
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -219,7 +219,7 @@ class ScriptsApi {
|
|
|
219
219
|
opts = opts || {};
|
|
220
220
|
|
|
221
221
|
// verify the required parameter 'scriptId' is set
|
|
222
|
-
if (scriptId === undefined || scriptId === null) {
|
|
222
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
223
223
|
throw 'Missing the required parameter "scriptId" when calling getScriptsPublishedDivisionviewVariables';
|
|
224
224
|
}
|
|
225
225
|
|
|
@@ -279,7 +279,7 @@ class ScriptsApi {
|
|
|
279
279
|
opts = opts || {};
|
|
280
280
|
|
|
281
281
|
// verify the required parameter 'scriptId' is set
|
|
282
|
-
if (scriptId === undefined || scriptId === null) {
|
|
282
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
283
283
|
throw 'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptId';
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -309,11 +309,11 @@ class ScriptsApi {
|
|
|
309
309
|
opts = opts || {};
|
|
310
310
|
|
|
311
311
|
// verify the required parameter 'scriptId' is set
|
|
312
|
-
if (scriptId === undefined || scriptId === null) {
|
|
312
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
313
313
|
throw 'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdPage';
|
|
314
314
|
}
|
|
315
315
|
// verify the required parameter 'pageId' is set
|
|
316
|
-
if (pageId === undefined || pageId === null) {
|
|
316
|
+
if (pageId === undefined || pageId === null || pageId === '') {
|
|
317
317
|
throw 'Missing the required parameter "pageId" when calling getScriptsPublishedScriptIdPage';
|
|
318
318
|
}
|
|
319
319
|
|
|
@@ -342,7 +342,7 @@ class ScriptsApi {
|
|
|
342
342
|
opts = opts || {};
|
|
343
343
|
|
|
344
344
|
// verify the required parameter 'scriptId' is set
|
|
345
|
-
if (scriptId === undefined || scriptId === null) {
|
|
345
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
346
346
|
throw 'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdPages';
|
|
347
347
|
}
|
|
348
348
|
|
|
@@ -374,7 +374,7 @@ class ScriptsApi {
|
|
|
374
374
|
opts = opts || {};
|
|
375
375
|
|
|
376
376
|
// verify the required parameter 'scriptId' is set
|
|
377
|
-
if (scriptId === undefined || scriptId === null) {
|
|
377
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
378
378
|
throw 'Missing the required parameter "scriptId" when calling getScriptsPublishedScriptIdVariables';
|
|
379
379
|
}
|
|
380
380
|
|
|
@@ -403,7 +403,7 @@ class ScriptsApi {
|
|
|
403
403
|
opts = opts || {};
|
|
404
404
|
|
|
405
405
|
// verify the required parameter 'uploadId' is set
|
|
406
|
-
if (uploadId === undefined || uploadId === null) {
|
|
406
|
+
if (uploadId === undefined || uploadId === null || uploadId === '') {
|
|
407
407
|
throw 'Missing the required parameter "uploadId" when calling getScriptsUploadStatus';
|
|
408
408
|
}
|
|
409
409
|
|
|
@@ -432,7 +432,7 @@ class ScriptsApi {
|
|
|
432
432
|
opts = opts || {};
|
|
433
433
|
|
|
434
434
|
// verify the required parameter 'scriptId' is set
|
|
435
|
-
if (scriptId === undefined || scriptId === null) {
|
|
435
|
+
if (scriptId === undefined || scriptId === null || scriptId === '') {
|
|
436
436
|
throw 'Missing the required parameter "scriptId" when calling postScriptExport';
|
|
437
437
|
}
|
|
438
438
|
|
|
@@ -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 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -439,7 +439,7 @@ class SearchApi {
|
|
|
439
439
|
opts = opts || {};
|
|
440
440
|
|
|
441
441
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
442
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
442
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
443
443
|
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
|
|
444
444
|
}
|
|
445
445
|
|
|
@@ -5,7 +5,7 @@ class SettingsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Settings service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -67,7 +67,7 @@ class SettingsApi {
|
|
|
67
67
|
*/
|
|
68
68
|
deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
|
|
69
69
|
// verify the required parameter 'agentId' is set
|
|
70
|
-
if (agentId === undefined || agentId === null) {
|
|
70
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
71
71
|
throw 'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -172,7 +172,7 @@ class SettingsApi {
|
|
|
172
172
|
*/
|
|
173
173
|
getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
|
|
174
174
|
// verify the required parameter 'agentId' is set
|
|
175
|
-
if (agentId === undefined || agentId === null) {
|
|
175
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
176
176
|
throw 'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';
|
|
177
177
|
}
|
|
178
178
|
|
|
@@ -271,7 +271,7 @@ class SettingsApi {
|
|
|
271
271
|
*/
|
|
272
272
|
patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
|
|
273
273
|
// verify the required parameter 'agentId' is set
|
|
274
|
-
if (agentId === undefined || agentId === null) {
|
|
274
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
275
275
|
throw 'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';
|
|
276
276
|
}
|
|
277
277
|
// verify the required parameter 'body' is set
|
|
@@ -325,7 +325,7 @@ class SettingsApi {
|
|
|
325
325
|
*/
|
|
326
326
|
putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
|
|
327
327
|
// verify the required parameter 'agentId' is set
|
|
328
|
-
if (agentId === undefined || agentId === null) {
|
|
328
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
329
329
|
throw 'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';
|
|
330
330
|
}
|
|
331
331
|
// verify the required parameter 'body' is set
|